/**
 * @package Unimedia stage
 * @author Unimedia
 * @copyright Copyright (c) 2025 Unimedia
 */
:root {
 --maincolor:#144686;
 --titlecolor:#114da7;
 --bg:#0f172a;
 /* slate-900 */
 --surface:#111827;
 /* gray-900 */
--card: #0b1220;
/* deep card */
--text: #e5e7eb;
/* gray-200 */
--muted: #94a3b8;
/* slate-400 */
--brand: #22c55e;
/* emerald-500 */
--brand-2: #38bdf8;
/* sky-400 */
--ring: rgba(56, 189, 248, .35);
--shadow: 0 10px 25px rgba(86, 88, 94, 0.35), 0 2px 8px rgba(84, 176, 230, 0.3);
--radius: 18px;
}
 @font-face {
    font-family: 'ubuntu-regular';
    src: url('ubuntu-regular-webfont.woff2') format('woff2'),
         url('ubuntu-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* main styles */
html {font-size: 112.5%; font-family: 'Segoe UI', 'ubuntu-regular', Arial, sans-serif; line-height: 1.5; color: #222; background: #fff; }
body {font-size:1rem; line-height: 1.5;}

/* Tipografia titoli */
h1, h2, h3, h4 { font-family: 'Segoe UI', 'Ubuntu', Arial, sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 0.5em;  }


@media (min-width: 1200px) {
  h1 {font-size: 2.5rem; margin-top: 1.5rem;}
  h2 {font-size: 2rem; margin-top: 1.2rem;}
  h3 {font-size: 1.5rem; margin-top: 1rem;}
  h4 {font-size: 1.2rem; margin-top: 0.8rem;}
}

.imfs1{font-size:calc(1rem + 1vw)}
.imfs2{font-size:calc(1rem + 1.5vw)}
.imfs3{font-size:calc(1rem + 2vw)}
.imfs4{font-size:calc(1rem + 2.5vw)}
.imfs5{font-size:calc(1rem + 3vw)}
.text-shad-full{text-shadow: 1px 1px 3px #000, -1px -1px 3px #000;}

.skip-link {
  position: absolute;
  z-index: 900;
  top: -40px;
  left: 0;
  background: #141414;
  color: #f7faff !important;
  padding: 8px;
  transition: top 0.3s;
}
.skip-link:focus {top: 0;}
.skip-link a{color: #FFFFFF !important;}

.featured-article-badge {display:none !important;}
.admin .card-body {border: 1px solid red;}
.menu-complex .card{
background-color: transparent;
}

/* Stile predefinito per il focus - sostituire i colori */
:focus {
  outline: 3px solid #f5f102; /* Colore  */
  outline-offset: 3px; /* Distanza dal bordo dell'elemento */
  box-shadow: 0 0 8px #f00202; /* Ombra opzionale */
}

/* Stile specifico per pulsanti 
button:focus {
  background-color: #4CAF50;
  color: white;
}*/

/* Stile per link */
a:focus {
  border-bottom: 1px solid currentcolor; 
  padding-bottom: 3px; /* Distanza tra il testo e la linea */
  /*color: #4CAF50;*/
}

.webagency a{border:none!important;}
.webagency img{display:inline-block; margin-right:7px; margin-top:8px;}

.maincolor {color: var(--maincolor);}
.maincolor-bg {background: #ffffff;}
.titlecolor {color:#783B08;}


.titolo {font-family: 'ubuntu-regular', cursive; line-height:1.2; font-size:2.25rem; padding: 1px 30px 16px 30px; width:100%;}
.titolo h1{font-family: 'ubuntu-regular', cursive; line-height:1.2; font-size:2.5rem; padding: 1px 30px 16px 30px; width:100%;}
.titolo h2{font-family: 'ubuntu-regular', cursive; line-height:1.2; font-size:2rem; padding: 1px 30px 16px 30px; width:100%;}
.text-bord-black {text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;}

/* General overrides */
.mainmenu {background-color: #144686; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); padding: 6px 10px; position: relative; z-index: 1000; 
}
.im-menu-container {align-items: center; justify-content: space-between;}

/*#sp-component {margin-top:-10px;} /*a causa override tpl page title line 63*/
#sp-main-body {padding:0px!important; min-height: 70vh;}
#sp-main-body > div.row {margin-left: -18px !important; margin-right: -18px !important;}
.categories-list {margin-top: 50px;}
/*.article-header {padding-top: 50px;}*/
/*.page-boxed #sp-main-body {max-width: 1460px; margin: 0 auto; padding: 20px 20px 0;}*/
.page-boxed .im-component {max-width: 1460px; margin: 0 auto; padding: 20px 20px 0;}
.view-archive .im-component {max-width: 1460px; margin: 0 auto; padding: 60px 20px 0;}
.page-boxed-sm .im-component {max-width: 900px; margin: 0 auto; padding: 20px 20px 0;}
.page-boxed #sp-component {margin-top: 10px;}
.archivio a {color: var(--maincolor) !important; font-size: 1.2rem; font-weight: bold;}

/* menu main */
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {line-height: 3 !important; font-size: 1.1rem !important; color: #ffffff;}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item {line-height:2;width:100%; padding: 0 20px; font-size: 1.1rem;}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {font-size: 1.1rem;}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover {background-color: #166499;}
.sp-megamenu-parent > li.active > a {background: #166499;}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {padding: 0;}

.sp-sign-in {color: #ffffff;}
.sp-sign-in:hover {color: #ffffff;}
.burger-icon {padding: 8px 0;}
.burger-icon>span{background-color:#fff}

#sp-header-sticky.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s;
}
.site-slogan .sl1,
.site-slogan .sl2,
.site-slogan .sl3,
.site-slogan .sl4,
.site-slogan .sl5 {
    display: inline-block; font-weight: bold;
}
.site-slogan .sl1 {color: #1c1ea1; }
.site-slogan .sl2 {color: #09770f; }
.site-slogan .sl3 {color: #1c1ea1; }
.site-slogan .sl4 {color: #a11c1c; }
.site-slogan .sl5 {color: #09770f; }

.site-slogan {font-size:calc(1.9rem + 0.77vw); font-weight: bold; color: #1c1ea1;}
.site-descript {font-size: 1rem;}
.sticky-header-placeholder{display:block;width:100%;height:0}
#sp-top-bar{transition:all .3s}
.logos{padding:10px 0;width:100%;display:flex;align-items:center;justify-content:space-between} 
.logo-left,.logo-right{flex:0 0 auto}
.sitename{flex:1;text-align:center}

.logo-left img, .logo-right img {
    height: 90px;  /* Desktop */
}
/* top-bar Mobile */
@media (max-width: 992px) {
    .logos{max-height:60px}
    .logo-left img, .logo-right img{height:60px}
    .site-slogan{font-size:1rem}
    .site-descript{display: none;}
}
@media (max-width: 768px) {
    .logos{max-height:50px}
    .logo-left img, .logo-right img{height:30px}
    .site-slogan{font-size:1rem}
}

.container {max-width: 1400px;}
.container-no-padd {max-width: 1400px; padding-left: 0; padding-right: 0; margin: 0 auto;}
.view-archive-container {max-width: 1420px; padding: 20px; margin: 0 auto;}
.elastic-container {width: 90%; margin: 0 auto;}
.anyma {opacity:0;} /*hidden class 4 animations*/
.intextimg-left {float: left; margin: 7px 15px 15px 0px;}
.intextimg-right {float: right;; margin: 7px 0px 15px 15px;}
i {margin-right:15px;}

/*.offcanvas-menu .offcanvas-inner .sp-module ul > li a{line-height: 2;}*/
.offcanvas-menu {color: #ffffff; background-color: #144686;}
.offcanvas-menu a{color: #ffffff!important; }
.offcanvas-menu .menu-child a{color: #fff!important; }
.offcanvas-menu span{color: #ffffff!important; }
.offcanvas-active .burger-icon > span{color: #ffffff!important; }
.offcanvas-active .burger-icon > span{background-color: #ffffff!important; }


.offcanvas-menu .offcanvas-inner ul.menu > li {line-height: 2.3 !important;}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {padding: 0 11px!important;}


/* #jcemediabox-popup-iframe {max-width:80%!important;} */
#jcemediabox-popup-iframe .page-header h1{display:none!important;} 

/*#sp-main-body {padding:0px!important;}*/
#sp-main-body.fixstycky {padding-top:150px!important;}
.article-details .article-full-image {margin-bottom: 0px!important;}
.article-list .article {padding: 0 !important;}

 .bord {border:1px solid red;}
 .bordv {border:1px solid green;}
 .coming-soon body {background-size:contain;}
 #coming-soon-countdown {color:#ff5c26;}

.colbox > [class*='col-'] {margin-bottom:15px; margin-top:15px;} 

/* divs */
.img-content-left { float:left; margin: 5px 20px 20px 0px; }
.img-content-right {float:right; margin:5px 0px 20px 20px; }
.img-bg {background-repeat: no-repeat; background-size:cover;}
.img-bordered {border: 1px solid; border-spacing:4px; padding:8px;}

.bgheaderswap  {
	background-position: center center!important; 
	background-repeat: no-repeat!important; 
	background-size:cover!important; 
	width:100%; padding: 8vw 20px; height: 100% !important;
	display: grid;
	align-content: center;
	}

/*.nophone {}	hide on phone 768*/
.d-grid {display:grid;}
.col-vspacer {padding-bottom:40px; padding-top:40px;}
.spacer {display:block; width:100%; clear:both; height:30px;}
.spacer-mini {display:block; width:100%; clear:both; height:15px;}
.bigspacer {display:block; width:100%; clear:both; height:60px;}
.inbox-space-30 {display:block; width:100%; clear:both; height:30px;}
.inbox-space-100 {display:block; width:100%; clear:both; height:100px;}
.section-header {padding: 30px 20px; width:100%; clear:both; letter-spacing: 2px;}
.pad100 {padding-bottom: 100px; padding-top: 100px;}
.listnone {list-style:none;}



/* GTC unimedia */
.sitesize {max-width: 1400px; margin: 0 auto;}
.pagesize {max-width: 1400px; margin: 0 auto;}
.boxed-content {max-width:1400px;margin:0 auto;display: block;}

.gtc441, .gtc421, .gtc331, .gtc321, .gtc221, .gtc211, .gtc7x5, .gtc5x7, .gtc4x8, .gtc8x4, .gtc4x7x1, .gtc2x10 {display: grid;}
@media (min-width:576px){
    .gtc441{grid-template-columns:1fr}
    .gtc421{grid-template-columns:1fr}
    .gtc321{grid-template-columns:1fr}
    .gtc331{grid-template-columns:1fr}
    .gtc221{grid-template-columns:1fr}
    .gtc211{grid-template-columns:1fr}
    .gtc7x5{grid-template-columns:1fr}
    .gtc5x7{grid-template-columns:1fr}
    .gtc4x8{grid-template-columns:1fr}
    .gtc8x4{grid-template-columns:1fr}
    .gtc4x7x1{grid-template-columns:1fr}
    .gtc2x10{grid-template-columns:1fr}
  }

@media (min-width:768px){
  .gtc421{grid-template-columns:1fr 1fr}
  .gtc441{grid-template-columns:1fr 1fr 1fr 1fr}
  .gtc321{grid-template-columns:1fr 1fr}
  .gtc331{grid-template-columns:1fr}
  .gtc221{grid-template-columns:1fr 1fr}
}
@media (min-width:992px){
  .gtc421{grid-template-columns:1fr 1fr}
  .gtc441{grid-template-columns:1fr 1fr 1fr 1fr}
  .gtc321{grid-template-columns:1fr 1fr}
  .gtc221{grid-template-columns:1fr 1fr}
  .gtc331{grid-template-columns:1fr 1fr 1fr}
  .gtc7x5{grid-template-columns:7fr 5fr}
  .gtc5x7{grid-template-columns:5fr 7fr}
  .gtc4x8{grid-template-columns:4fr 8fr}
  .gtc8x4{grid-template-columns:8fr 4fr;}
  .gtc4x7x1{grid-template-columns:4fr 7fr 1fr;}
  .gtc2x10{grid-template-columns:2fr 10fr;}
}

@media (min-width:1200px){
    .gtc421{grid-template-columns:1fr 1fr 1fr 1fr}
    .gtc211{grid-template-columns:1fr 1fr}
    .gtc321{grid-template-columns:1fr 1fr 1fr}
    .gtc331{grid-template-columns:1fr 1fr 1fr}
    .gtc7x5{grid-template-columns:7fr 5fr}
    
  }

@media (min-width: 1400px) {}
/* end GTC unimedia */

/* Alineamenti */
.allign-v{align-items:center!important;}
.allign-h{justify-content:center!important; }

.gap-0{grid-gap:0!important;}
.gap-15, .gap15{grid-gap:15px;}
.gap-30, .gap30{grid-gap:30px;}
.gap-60, .gap60{grid-gap:60px;}
.colgap-15 {column-gap: 15px;}
.colgap-30 {column-gap: 30px;}
.colgap-100 {column-gap: 100px;}

.nomargin {margin: 0 !important; --bs-gutter-x: 0rem !important;}

.d-flex-v{display:flex;flex-direction:row;flex-wrap:wrap;}
.d-auto{display:table;width:auto;}
.alignv{display: grid; align-items:center!important;}
.alignh{display: grid; justify-content:center!important; }
.alignvh {display: grid; justify-content:center!important; align-items:center!important;}

.px1{padding-left: 1rem; padding-right: 1rem;}
.px3{padding-left: 3rem; padding-right: 3rem;}
.py3{padding-top: 3rem; padding-bottom: 3rem;}
.py5{padding-top: 5rem; padding-bottom: 5rem;}
.py8{padding-top: 8rem; padding-bottom: 8rem;}

.all-reverse div:nth-child(2){grid-column-start:1;grid-row-start:1;}
/* end GTC unimedia */
/*  header-hero-content */
  .bgheader-hero {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  width: 100%;
  padding: 8vw 20px;
  height: 100% !important;
  display: grid;
  align-content: center;
}
.header-hero-content {
  padding: 0;
  background-color: #ffffffcf;
  width: 100%;
  width: fit-content;
  display: block;
  margin: 0 auto;
  transform: skew(-20deg);
  -webkit-transform: skew(-20deg);
  -moz-transform: skew(-20deg);
  -ms-transform: skew(-20deg);
  -o-transform: skew(-20deg);
}

/* typography*/


.href { border: 0; height: 1px;
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
margin: 15px 5px 15px 5px;
}

.href-color { border: 0; height: 1px; width: 90%;
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(39, 13, 182, 0.75), rgba(0,0,0,0)); 
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(39, 13, 182, 0.75), rgba(0,0,0,0)); 
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(39, 13, 182, 0.75), rgba(0,0,0,0)); 
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(39, 13, 182, 0.75), rgba(0,0,0,0)); 
margin: 15px 5px 15px 5px;
}

/* Allignments and boxes */
.allign-v{align-items:center!important;}
.allign-h{justify-content:center!important; }

.gap-0{grid-gap:0!important;}
.gap-15{grid-gap:15px;}
.gap-30{grid-gap:30px;}
.colgap-15 {column-gap: 15px;}
.colgap-30 {column-gap: 30px;}
.nomargin {margin: 0 !important; --bs-gutter-x: 0rem !important;}

.nextgrid > div {display: grid !important;}
.d-flex-v{display:flex;flex-direction:row;flex-wrap:wrap;}
.d-auto{display:table;width:auto;}
.alignv{display: grid; align-items:center!important;}
.alignh{display: grid; justify-content:center!important; }
.alignvh {display: grid; justify-content:center!important; align-items:center!important;}
.bord{border:1px solid red}
.bord2{border:1px solid green}
.automargin {margin: 0 auto;}
.spacer15 {display: block; clear: both; }

.centro {margin: 0 auto;}
.alligned-v {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-content: center;
  align-content: center; /*v- allineato*/
}

.alligned-o {
	-webkit-justify-content: center;
	justify-content: center;
}

 
/* colors and text */

.txt-upper {text-transform: uppercase;}

.txt-white {color:#FFF;}

.txt-shadow {text-shadow: 1px 2px 0px #000;}
.heading {padding: 60px 20px;}

.nolist li {list-style:none;}


.star-separator i{margin: 0 15px;}
.privacy a {color: var(--maincolor); text-decoration: underline;}
.privacy .card a{text-decoration: none; }
.privacy .card {color: var(--maincolor); }
.privacy .card i{width:60px;float:left}
.privacy .card em{width:60px;float:left; margin-right: 15px;}


/* Top Menu con img*/
#sp-header .logo a, .logo a, #sp-header .logo a {
cursor: default !important;
pointer-events: none; text-decoration: none; color: currentColor; 
user-select: none; -webkit-touch-callout: none;}

.sp-menu-item a{font-size:1rem;}
/* Dropdown Menu */
/* Aggiungi supporto focus */
.sp-has-child:focus-within .sp-dropdown{display:block}

/* Assicurati che i link siano focalizzabili */
.sp-dropdown a{display:block;padding:8px 16px}

.sp-dropdown a:focus{outline:2px solid #06c}


#sp-header {border-bottom: 1px solid #20202f;}
#sp-header.header-sticky {
    position: fixed;
    z-index: 1030!important; /*down x see sp gallery*/
}
.imglinks .sp-dropdown {width:auto!important; margin-right:-185%;}
.imglinks .sp-dropdown li.sp-menu-item {width:210px; border: 1px solid #0e1064; padding-left: 4px;}
.sp-megamenu-parent .sp-dropdown.sp-dropdown-main {top: 95%;}

.imglinks .sp-dropdown img:hover {opacity: 0.5; filter: alpha(opacity=50);}
.imglinks .sp-dropdown li span:hover {color:#202020;}
.imglinks .sp-dropdown span {margin-left:3px;}

.imglinks ul.sp-dropdown-items {display:flex;}
.imglinks li {margin:0px 5px; }

.offcanvas-menu .menu-toggler {width: 100%; text-align: right;}/*copriamo spazio tastino*/

/* custom blocks */ 
.icon {text-align:center;}
.icon.mini img{width:130px; height:130px; display:inline; margin-bottom:30px; margin-top:15px;}

/* slider  */

/*  homepage */
.home-events li {list-style: none;}
.home-events ul {padding-left: 0;}

.view-featured .item-title {display:none;}
.homepage .container-fluid {padding-left:0px!important; padding-right:0px!important;}
.homepage #sp-main-body {padding-top:0px!important;}

.amica-main{background:radial-gradient(1200px 600px at 85% -10%,#38bdf826,transparent 60%),radial-gradient(800px 400px at 10% 10%,#22c55e1f,transparent 60%),var(--bg);color:var(--text);line-height:1.6}
.home .hero{position:relative;padding:120px 0 140px}
.home .hero-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.home .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-2);background:#38bdf81f;border:1px solid #38bdf840;padding:6px 10px;border-radius:999px}
.home .hero h1{font-size:clamp(32px,4vw,52px);line-height:1.1;margin:16px 0 14px}

.home .cta{display:flex;gap:12px;margin-top:22px}
.home .btn{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;font-weight:600;border:1px solid transparent;text-decoration:none}
.home .btn-primary{background:linear-gradient(135deg,var(--brand),#034d1e);color:#fff;box-shadow:0 7px 20px #22c55e40}
.home .btn-primary:focus-visible{outline:2px solid var(--ring);outline-offset:3px}
.home .btn-ghost{background:#94a3b814;color:var(--text);border-color:#e9ebee33;box-shadow:0 7px 20px #22c55e40}
.home .badge{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#fff;background:#22c55e38;border:1px solid #22c55e47;padding:8px 15px;border-radius:999px}
.home .stat{background:#02061799;border:1px solid #94a3b826;border-radius:14px;padding:14px}
.home .stat b{font-size:22px}
.home .section{padding:100px 0}
.home .section h2{font-size:clamp(22px,3vw,34px);line-height:1.2;margin:0 0 14px}
.home .muted{color:var(--muted)}
.home .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home .card{border:1px solid #4c80ca26;border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.home .card h3{margin:6px 0;color:var(--titlecolor)}
#pilastri h2{color:var(--titlecolor)}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}
.chip{border:1px solid #94a3b833;background-color:#94a3b814;padding:8px 12px;border-radius:999px}
#attivita .chip{border:1px solid #94a3b8c4}
.labs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lab{position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid #94a3b826}
.lab img{width:100%;height:300px;object-fit:cover;display:block;filter:saturate(1.05)}
.lab .label{position:absolute;left:12px;bottom:12px;background:#0000008c;backdrop-filter:blur(6px);padding:8px 12px;border-radius:999px;border:1px solid #fff3; font-size: 1.2rem;}

.join{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}
.price{display:flex;align-items:baseline;gap:8px;font-weight:700;font-size:40px}
.note{font-size:14px;color:var(--muted)}
.home .list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home .item{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;border:1px solid #94a3b826;background:#02061799}
.hero-home { height: 35vw; min-height: 400px; }

@media (max-width: 900px) {
.home .section{padding:30px 0}
.home .hero{position:relative;padding:30px 0}
.home .hero-wrap{grid-template-columns:1fr}
.home .events,.join{grid-template-columns:1fr}
.home .grid-3,.labs{grid-template-columns:1fr}

}
@media (max-width: 768px) {
    .hero-home {min-height: 88vh; }
}

/*  mod home-events */
.home-events .mod-articles-item-content {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 1.5rem;
    align-items: start;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.home-events .article-intro-image {
    grid-row: 1 / 5;
    position: sticky;
    top: 1rem;
}

.home-events .article-intro-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Contenuto testuale nella colonna di destra */
.home-events .mod-articles-title,
.home-events .mod-articles-item-content h2,
.home-events .mod-articles-item-content h3,
.home-events .mod-articles-item-content .py-5,
.home-events .readmore {
    grid-column: 2;
}

/* Stili per la lista */
.home-events .mod-articles-items {list-style: none; padding: 0; margin: 0;}

.home-events .mod-articles-items li {margin-bottom: 2rem;}

/* Stile per la scrollbar */
.home-events .mod-articles-item-content::-webkit-scrollbar {
    width: 6px;
}

.home-events .mod-articles-item-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.home-events .mod-articles-item-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.home-events .mod-articles-item-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Stili aggiuntivi per il contenuto */
.home-events h3 a{color: rgb(119, 11, 11) !important;}
.home-events h2 {color: var(--maincolor)}
.home-events .mod-articles-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.home-events .mod-articles-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.home-events .mod-articles-title a:hover {
    color: var(--maincolor);
}

.home-events .readmore {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.home-events .readmore a {
    color: var(--maincolor);
    text-decoration: none;
    font-weight: 500;
}

.home-events .readmore a:hover {
    text-decoration: underline;
}

/* Mobile: layout a colonna singola */
@media (max-width: 768px) {
    .home-events .mod-articles-item-content {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: visible;
        gap: 1rem;
    }
    
    .home-events .article-intro-image {
        grid-row: auto;
        grid-column: 1;
        order: -1;
        position: static;
    }
    
    .home-events .mod-articles-title,
    .home-events .mod-articles-item-content h2,
    .home-events .mod-articles-item-content h3,
    .home-events .mod-articles-item-content .py-5,
    .home-events .readmore {
        grid-column: 1;
    }
}

/*  chi siamo */
.chisiamo .article-full-image {padding-top:90px;background:#ffffff; text-align: center;}

.chisiamo .article-full-image {padding-top:90px;background:#ffffff;}

#team .card-title {text-align: center;}
#team .card-text {text-align: center; color:#002040;}

/* contatti */
.contact .info-card {margin: 20px 0;}
.form-group {margin-bottom: 10px;}
.cntfmod-invia{padding:10px 40px;font-weight:700;margin-top:20px}
/* Hours */
.hours{background:var(--maincolor);color:#fff;border-radius:15px;padding:2rem;margin-top:2rem}
.hours-title{font-size:1.5rem;font-weight:600;margin-bottom:1.5rem;display:flex;align-items:center;gap:.8rem}
.hours-list{list-style:none}
.hours-list li{display:flex;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid rgba(255,255,255,.2)}
.hours-list li:last-child{border-bottom:none}
.day{font-weight:500}
.time{font-weight:300}
.closed{color:rgba(255,255,255,.6);font-style:italic}
.info-cards{display:flex;flex-direction:column;gap:2rem}
.info-card{background:var(--light);border-radius:15px;padding:2rem;box-shadow:0 10px 30px #0000001a;border:1px solid #eee;transition:all .3s ease}
.info-card:hover{box-shadow:0 15px 35px #00000026}
.card-icon{font-size:2.5rem;color:var(--primary);margin-bottom:1.5rem}
.card-title{font-size:1.5rem;font-weight:600;color:var(--dark);margin-bottom:1rem}
.card-info{list-style:none}
.card-info li{margin-bottom:.8rem;display:flex;align-items:flex-start;gap:1rem}
.info-icon{color:var(--primary);font-size:1.2rem;margin-top:.3rem;min-width:20px}
.info-text{color:var(--gray)}
.highlight{color:var(--dark);font-weight:600}

/* blog */
.pagenavigation {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}
.pagenavigation a {margin:5px; background-color: #144686; border-color: #144686; padding: 8px 20px;}
.com-content-category-blog__pagination {padding-top: 1rem;}

/* Gallery  */
.gallery-page h1 {color: rgb(133, 7, 7);}
.gallery-page .im-component > h2:first-child {display: none;}
.gallery-page .im-component > h3:first-of-type {display: none;}
.gallery-page h2:first-of-type {display: none;}
.gallery-page h3:first-of-type {display: none;}
.gallery-page .pagination {padding-bottom: 30px;}
.gallery-page .header-hero-content {padding-bottom: 0;}
.gallery-page #sp-main-body {
  max-width: 1460px;
  margin: 0 auto;
  padding: 20px 20px 0;}
.jg-gallery {margin: 0 0 2em 0;}
.jg-image > .jg-image-thumbnail.boxed {padding: 0.2rem;}
/*.jg-image > .jg-image-thumbnail.boxed a > img{}*/
.jg-images[class*=" columns-"] > .jg-image > .jg-image-thumbnail > a {padding-bottom: 218px;}
.jg-image > .jg-image-caption {font-size: 1.32rem;}

/* // Featured elements */
 
/*  FOOTER  */

#sp-footer a {color: #ffffff;}
#sp-footer {background-color: #144686;}
.imfooter {color: #ffffff; background-color: #144686; font-size: 1rem;}
.imfooter a{color: #ffffff; }
.imfooter li{list-style: none; line-height: 2;}
.footer-title {position: relative; margin-bottom: 1.5rem; padding-bottom: 0.8rem;}
.footer-title::after{content:'';position:absolute;bottom:0;left:0;width:50px;height:3px;background:#9a9a9b}
.footer-logo {display: grid; justify-content: end;}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ffffff;
}

/*   uniblog gtc  */
.view-category.uniblog #sp-main-body {padding-top: 1px !important;}
.view-category.uniblog .readmore a {color: #3b35db;}
.edit.item-page * {color: #000000 !important;}
.media-browser-item-info {color: #000000 !important;}

.imblog-item-box img {width: 100%; height: auto; max-height: 220px; margin: 0 auto;}
.uniblog-view .container-component {
    background-image: linear-gradient(12deg, rgba(193, 193, 193,0.05) 0%, rgba(193, 193, 193,0.05) 2%,rgba(129, 129, 129,0.05) 2%, rgba(129, 129, 129,0.05) 27%,rgba(185, 185, 185,0.05) 27%, rgba(185, 185, 185,0.05) 66%,rgba(83, 83, 83,0.05) 66%, rgba(83, 83, 83,0.05) 100%),linear-gradient(321deg, rgba(240, 240, 240,0.05) 0%, rgba(240, 240, 240,0.05) 13%,rgba(231, 231, 231,0.05) 13%, rgba(231, 231, 231,0.05) 34%,rgba(139, 139, 139,0.05) 34%, rgba(139, 139, 139,0.05) 71%,rgba(112, 112, 112,0.05) 71%, rgba(112, 112, 112,0.05) 100%),linear-gradient(236deg, rgba(189, 189, 189,0.05) 0%, rgba(189, 189, 189,0.05) 47%,rgba(138, 138, 138,0.05) 47%, rgba(138, 138, 138,0.05) 58%,rgba(108, 108, 108,0.05) 58%, rgba(108, 108, 108,0.05) 85%,rgba(143, 143, 143,0.05) 85%, rgba(143, 143, 143,0.05) 100%),linear-gradient(96deg, rgba(53, 53, 53,0.05) 0%, rgba(53, 53, 53,0.05) 53%,rgba(44, 44, 44,0.05) 53%, rgba(44, 44, 44,0.05) 82%,rgba(77, 77, 77,0.05) 82%, rgba(77, 77, 77,0.05) 98%,rgba(8, 8, 8,0.05) 98%, rgba(8, 8, 8,0.05) 100%),linear-gradient(334deg, hsl(247,0%,2%),hsl(247,0%,2%));
}
.imblog-page {padding-top: 7px; padding-bottom: 50px;}
.boxed {max-width: 1600px; margin: 0 auto;}
.footer-size {max-width: 1600px; margin: 0 auto;}
.imblog-item-box {border: 1px solid #bb9c9c85; padding: 5px !important;}
.imblog-item-box .item-content{padding: 5px !important;}
.uniblog .article-header h1{color: var(--brand-cl);}
.uniblog .article-header h2 a{color: #783B08;}
.article-details.uniblog {max-width: 1320px; margin: 0 auto; padding: 60px 20px;}
.imblog-item-box .item-content h2{font-size: 1.1rem; font-weight: bold; color: var(--brand-cl);}
.item-page.uniblog-view {max-width: 1320px;
    width: 100%; padding-top: 60px;
    padding-right: var(--gutter-x,.5em);
    padding-left: var(--gutter-x,.5em);
    margin-right: auto;
    margin-left: auto;
}
.imblog3d .article-header {display: none;}
.sp-megamenu-parent .sp-dropdown.sp-dropdown-mega .sp-dropdown-inner {background: #d3d3e3 !important;}
.mega-m-box {background: #fff;}
.m-caption {text-align: center; margin-top: 1%; font-size: 1.3rem; font-weight: bold; background: #0d0a79; color: #fff;}


/* effetti */
.ef-zoomin img {
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.ef-zoomin img:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1);}

@media (max-width: 1400px){
	
}

@media (max-width: 1200px){
	.imglinks .sp-dropdown li.sp-menu-item {width:165px;}
	.sp-menu-item a{font-size:16px;}	
	.container {max-width:1200px;}
}
	
@media (min-width: 993px){
	.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a.phonelinks {display:none!important;} 
  .columns2 {
    column-count: 2;
    column-gap: 40px;
	}
}
@media (max-width: 992px){
.img-content-left, .img-content-right {float:none; margin: 0 auto; display:block; padding-bottom:20px; }
.footer-logo {justify-content: center;}
#sp-header .logo {height: auto; margin: 10px 0px;}	
#sp-header {height: 90px;}
#offcanvas-toggler {line-height: 95px;}
.inbox-space-30 {height:5px;}
.inbox-space-100 {height:5px;}
.d-grid {margin: 5px 0px;}
.uniblog .col-md-12 .readmore {padding: 8px; margin-top: 5px;}/*blog  1 col*/
.pad100 {padding-bottom: 70px; padding-top: 70px;}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a.phonelinks {display: inline-block;}
.reverse{-webkit-flex-direction:row-reverse;flex-direction:row-reverse}
.columns2{column-count: 1}
}
@media (max-width: 768px){
ul li a{line-height: 2.5 !important;}    
.pad100 {padding-bottom: 30px; padding-top: 30px;}
.intextimg-left, .intextimg-right {float: none; margin: 0 auto; padding-bottom: 20px;}
.article-details p {text-align:  inherit; }
.view-category .uniblog .col-md-12 .article-intro-image {float: none; margin: 0 auto;}
.uniblog .col-md-12 .article {display: block;}
.uniblog .col-md-12 .readmore {display: none;}
.nophone {display:none; clear:both;}	
.footer-legal li {line-height: 2;}
.bigspacer {height: 10px;}
.mobile-nopadd {margin-left: -20px; margin-right: -20px;}
.gallery-page .header-hero-content {padding: 50px 0 0;}
}

@media (max-width: 576px){
	.card-body {padding:0.05rem;}
	.chisiamo .article-full-image {padding-top:30px;background:#ffffff;}
	.cat-event-head {margin-bottom: 20px; margin-top: 0px;}
	.m-day-title h1{font-size: 1.67rem; }
	.speasyimagegallery-image-content {display:none;}
}

@media (max-width:768px) {
    .mobile-reverse div:nth-child(2){grid-column-start:1;grid-row-start:1;}
    .hero-content img{max-width: 290px;}
    .hero-background{height: auto; padding-bottom: 40px;}
    .img-bg-hero{padding: 50px 20px;}
    .hide-on-mobile{display: none;}
    .row { flex-direction: column; margin-left: 0; margin-right: 0; }
    .col { padding: 0 0 16px 0; }
    .px3{padding-left: 1.5rem; padding-right: 1.5rem;}
    .py3{padding-top: 1.5rem; padding-bottom: 1.5rem;}
    .py5{padding-top: 1.5rem; padding-bottom: 1.5rem;}
    .py8{padding-top: 1.5rem; padding-bottom: 1.5rem;}
}

/* cards */
.section-title{text-align:center;font-size:2.5rem;color:#2c3e50;margin-bottom:3rem;font-weight:700;position:relative;padding-bottom:1rem}.section-title::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:100px;height:4px;background:#3498db;border-radius:2px}.organi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}.organo-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,0.1);transition:all 0.3s ease;border:1px solid #eaeaea;height:100%;display:flex;flex-direction:column}.organo-card:hover{transform:translateY(-10px);box-shadow:0 20px 40px rgba(0,0,0,0.15)}.organiz .card-header{padding:1.5rem;background:#144686;color:white;display:flex;align-items:center}.letter-badge{width:50px;height:50px;background:white;color:#166499;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:bold;margin-right:1rem;flex-shrink:0}.card-title h4 mt-2{margin-top:4px;margin-bottom:0!important}.card-body{padding:1.5rem;flex-grow:1;display:flex;flex-direction:column}.card-content{font-size:1.1rem;color:#555;margin-bottom:1.5rem;flex-grow:1}.statuto-link{display:inline-flex;align-items:center;color:#082fa2;text-decoration:underline;font-weight:500;margin-top:auto;transition:color 0.2s ease}.statuto-link:hover{color:#2980b9;text-decoration:underline}.statuto-link svg{margin-right:0.5rem;width:16px;height:16px}
@media(max-width:768px){.section-title{font-size:2rem;margin-bottom:2rem}.organi-grid{grid-template-columns:1fr;gap:1.5rem}.card-header{padding:1.2rem}.card-title h4 mt-2{font-size:1.3rem}.letter-badge{width:40px;height:40px;font-size:1.2rem}.card-body{padding:1.2rem}.card-content{font-size:1rem}}
@media(max-width:480px){.section-title{font-size:1.8rem}.card-header{flex-direction:column;text-align:center}.letter-badge{margin-right:0;margin-bottom:0.5rem}}
/* end cards */
/* team members */
.team-member{background:white;border-radius:16px;overflow:hidden;box-shadow:0 15px 35px rgba(0,0,0,0.1);transition:all 0.4s ease;height:100%;border:1px solid #eaeaea}.team-member:hover{transform:translateY(-5px);box-shadow:0 20px 40px rgba(0,0,0,0.15)}.member-image-container{position:relative;overflow:hidden;height:320px;display:none}.member-image{width:100%;height:100%;object-fit:cover}.member-info{padding:1.8rem;text-align:center}.member-name{font-size:1.5rem;font-weight:700;color:#2c3e50;margin-bottom:0.5rem}.role-badge{display:inline-block;padding:0.4rem 1rem;border-radius:50px;font-size:0.85rem;font-weight:600;margin-bottom:1.2rem}.role-presidente{background:#e74c3c;color:white}.role-membro{background:#144686;color:white}.contact-info{display:flex;flex-direction:column;gap:0.8rem;margin:1rem 0}.contact-item{display:flex;align-items:center;justify-content:center;color:#555;font-size:0.95rem}.contact-item i{margin-right:0.6rem;color:#2B84BF;width:20px;text-align:center}.member-bio{color:#666;font-size:0.95rem;margin-top:1rem;line-height:1.7}.divider{height:1px;background:#eaeaea;margin:3rem 0;border:none}.team-intro{text-align:center;max-width:800px;margin:0 auto 4rem;color:#555;font-size:1.2rem}.president-row{margin-bottom:3rem}
.team-members p{line-height: 1.5;}
/* end team */
/* modulistica */
/*.documents-container{max-width:1400px;margin:0 auto;padding:0 1rem}*/
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #eaeaea;
    margin-bottom: 2rem;
    height: 100%;
}
.category-card:hover{box-shadow:0 20px 40px rgba(0,0,0,.15)}
.category-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}
.category-icon {
    font-size: 2rem;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-title{font-size:1.5rem;font-weight:600;margin:0;padding:0 7px}
.documents-list{padding:0}
.document-item{border-bottom:1px solid #eee;padding:1.2rem 1.5rem;display:flex;align-items:center;transition:background-color .2s ease}
.document-item:last-child{border-bottom:none}
.document-item:hover{background-color:#f8f9fa}
.document-icon{font-size:1.8rem;margin-right:1rem;flex-shrink:0}
.doc-word{color:#2b579a}
.doc-pdf{color:#d71920}
.doc-online{color:#057a0a}
.document-info{flex-grow:1}
.document-title{font-weight:600;color:#2c3e50;margin-bottom:.3rem;font-size:1.1rem}
.document-description{color:#666;font-size:.9rem}
.document-size{color:#888;font-size:.85rem;margin-right:.5rem;margin-left:1rem}
.download-btn{background:#144686;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:6px;font-weight:600;display:flex;align-items:center;gap:.5rem;transition:all .2s ease;font-size:.9rem;margin: 0 10px;}
.download-btn:hover{background:#2980b9}
a.download-btn:hover{color:#fff}
a.online-btn:hover{color:#fff}
.online-btn{background:#057a0a;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:6px;font-weight:600;display:flex;align-items:center;gap:.5rem;transition:all .2s ease;font-size:.9rem;margin: 0 10px;}
.online-btn:hover{background:#045c08}
@media (max-width: 768px) {
.category-header{padding:1.2rem}
.category-icon{width:50px;height:50px;font-size:1.5rem}
.category-title{font-size:1.3rem}
.document-item{padding:1rem;flex-direction:column;align-items:flex-start;gap:.8rem}
.download-container{width:100%;display:flex;justify-content:flex-end}
.document-info{width:100%}
.download-btn {padding:.6rem 1.8rem;}
}