 @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 
/* =======================
   FLP – Styles (HTML+CSS)
   ======================= */

:root {
  --bg: #ffffff;
  --text: #0f172a;          /* slate-900 */
  --muted: #64748b;         /* slate-500 */
  --primary: #cc0a27;       /* rosso caldo */
  --primary-contrast: #ffffff;
  --accent: #f59e0b;        /* ambra come accento */
  --border: #e5e7eb;
  --card: #f8fafc;          /* slate-50 */
  --shadow: 0 12px 28px rgba(0,0,0,.08);
  --radius: 14px;
}


*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

h1,h2,h3,h4,h5 { font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
img{ max-width: 100%; display: block;}
.schede{ max-width: 100%; display: block;border-radius: var(--radius);}
a { color: inherit; text-decoration: none!important; }
a:hover {color: #013366;}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
header a{color: #f1683a!important;font-weight: bold;}




.logosinistra{
  display: flex;
  justify-content: flex-start;
}


.fullright,nav{
  top: 12px;
  display: flex;
  justify-content: flex-end;
  position:sticky;
}




/* Spacing scale */
:root{
  --space-1: clamp(4px, 0.5vw, 6px);
  --space-2: clamp(8px, 1vw, 12px);
  --space-3: clamp(12px, 1.5vw, 16px);
  --space-4: clamp(16px, 2vw, 24px);
  --space-5: clamp(22px, 2.6vw, 32px);
  --space-6: clamp(28px, 3.2vw, 40px);
  --space-7: clamp(36px, 4vw, 56px);
}

/* Global vertical rhythm */
.section{padding-block: var(--space-6);}
.section--tight{padding-block: var(--space-5);}
.section--loose{padding-block: var(--space-7);}
.container{padding-inline: var(--space-3);}

:root{
  --primary:#1A456C;
  --primary-900:#0d2e4e;
  --accent:#FBCD39;
  --text:#0f172a;
  --muted:#475569;
  --border:#e5e7eb;
  --bg:#ffffff;
  --card:#ffffff;
  --card-bg:#f8fafc;
  --footer:#0c1b2e;
  --footer-ink:#cbd5e1;
  --radius:14px;
  --shadow:0 12px 28px rgba(0,0,0,.08);
}


*,
*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4,{font-family:Barlow, sans-serif;}
p{color:#013366;}

.hamburger{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:-9999px}
.skip-link:focus{left:16px;top:16px;background:var(--primary);color:#fff;padding:8px 12px;border-radius:8px;z-index:1000}


/* =======================
   Badge System
   ======================= */

.badge{background:var(--primary);color:#fff!important;padding:8px 12px;border-radius:8px;border-bottom:none!important; text-transform: capitalize;}
.button{display:inline-block;font-weight:700;border-radius:10px;padding:10px 14px;border:2px solid transparent;}
.button--primary{background:var(--accent);color:#fff;border-color:var(--accent);}
.button--ghost{background:transparent;color:#fff;border-color:var(--primary)}
.button--ghost2{background:transparent;color:var(--primary);border-color:var(--primary)}
.header__cta{justify-self:end}
.brand-underline{height:8px;background:linear-gradient(90deg,#76A9F8 0%,#AED2FB 100%)}

.button--reserved {
color: #fff !important;
}

.button--primary{color:#fff!important;}




/* =======================
   FLP – SLIDER
   ======================= */

 body{
    font-family: Poppins;
    background-color: #fff;
    color:#000;
    margin: 0;
    font-size: 12px;
    overflow-x: hidden;
 }

a{
    text-decoration: none;
    color:#000;
}

header{
    width: 1140px;
    max-width: 80%;
    margin:auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

header a{
    margin-right: 40px;

}

.carousel{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin-top: -50px;
    position: relative;
}

.carousel .list .item{
    position: absolute;
    inset: 0 0 0 0;
}

.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #f1683a;
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #013366;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: #013366;
    color: #eee;
}

/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}


/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0;
    animation: none;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    animation: none;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}






/* Hero */
.hero{color:#000;position:relative;overflow:hidden}
.heroslider{background:linear-gradient(135deg,#1A456C 0%, #306295 100%);color:#fff;position:relative;overflow:hidden}
.hero__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:center;min-height: clamp(420px, 52vh, 560px);padding:28px 30px;}
.hero__title{font-size:clamp(28px,5vw,44px);line-height:1.18;margin:0 0 8px}
.hero__subtitle{margin:0 0 16px;color:#e3eeff}
.hero__actions .button{margin-right:8px}
.hero__right{display:flex;justify-content:center}
.hero__wave{width:100%; max-width:520px; transform:translateY(20px);}

/* Intro */
.intro{background:#fff;padding-left: 18px;}
.intro__inner{padding:28px 0; font-size: 16px;}
.intro h2{margin:0 0 10px;color:var(--primary)}
.intro p{margin:0;color:var(--muted)}

/* Services */
.section-head h2{margin:0 0 16px;text-align:center;color:var(--primary)}
.cards{display:grid;gap:var(--space-4)}
.cards--services{grid-template-columns:repeat(3,1fr)}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px; box-shadow:var(--shadow);padding:var(--space-4)}
.card__icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e6eef8;color:#0b2542;font-size:20px}
.card h3{margin:10px 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted)}

/* News */
.news{background:var(--card-bg); padding-block: var(--space-6);}
.cards--news{grid-template-columns:repeat(3,1fr)}
.card__media{height:180px;border-radius:10px;background:linear-gradient(135deg,#e5eefc 0%, #c6dcfb 100%)}
.card__link{display:block}
.card__body{padding:12px 6px 0}
.meta{display:inline-block;color:#64748b;font-size:13px;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px}

/* CTA band */
.cta-band{background:linear-gradient(135deg,#123459 0%, #1A456C 100%);color:#fff}
.cta-band__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding: 28px;}
.cta-band h2{}

/* Contacts */
.contacts .contacts__grid{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--space-4);padding:var(--space-6) 0}
.list{list-style:none;padding:0;margin:0}
.list li + li{margin-top:10px}
.contact__form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;display:grid;gap:12px}
.contact__form label{display:grid;gap:6px;font-weight:600}
.contact__form input,.contact__form textarea{padding:12px;border:1px solid var(--border);border-radius:10px;font:inherit}

/* Footer */
.site-footer{background:var(--footer);color:var(--footer-ink);margin-top:26px}
.footer__top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:20px;padding:28px 0}
.site-footer h3,.site-footer h4{margin:0 0 10px;color:#e2e8f0}
.site-footer p{margin:0;color:var(--footer-ink)}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li+li{margin-top:8px}
.site-footer a{color:var(--footer-ink)}
.footer__bar{border-top:1px solid rgba(255,255,255,.14);}
.footer__bar__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.footer__bar__inner a{margin-left:14px}

/* Responsive */
@media (max-width: 1024px){
  .cards--services{grid-template-columns:repeat(2,1fr)}
  .cards--news{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 820px){
  .header__bar{grid-template-columns:auto 1fr auto;gap:12px}
  .nav__toggle{display:inline-block}
  
  
  
  
  .hero__inner{grid-template-columns:1fr}
  .contacts .contacts__grid{grid-template-columns:1fr}
  .footer__top{grid-template-columns:1fr 1fr}
}
@media (max-width: 560px){
  .cards--services{grid-template-columns:1fr}
  .cards--news{grid-template-columns:1fr}
  .footer__top{grid-template-columns:1fr}
}

/* Slider 2 blue*/
.slider{position:relative}
.slides{position:relative;min-height:280px}
.slide{position:absolute;inset:0;opacity:0;pointer-events:none}
.slide.is-active{position:relative;opacity:1;pointer-events:auto}
.slider__nav{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:space-between;pointer-events:none}
.slider__btn{pointer-events:auto;border:0;border-radius:999px;width:40px;height:40px;background:rgba(255,255,255,.25);color:#fff;font-size:20px;display:grid;place-items:center;backdrop-filter: blur(2px)}
.slider__btn:hover{background:rgba(255,255,255,.35)}
.slider__dots{position:absolute;left:0;right:0;bottom:-22px;display:flex;gap:8px;justify-content:center}
.slider__dot{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.45);border:0}
.slider__dot[aria-selected="true"]{background:#fff}

/* Optional visual spacing preference */
.opt-br{display:none}
@media (min-width: 1100px){ .opt-br{display:inline} }
body.spacious p{line-height:1.75}


/* Spacing refinements */
.section-head{margin-bottom:10px}
.section-head h2{margin:0 0 22px}
.cards{gap:22px}
.card{padding:18px}
.intro__inner{padding:36px 0}
.news .section-head h2{margin-bottom:18px}





/* Hero */
.hero { padding: 26px 0 6px; }
.hero__grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 22px; }
.hero__side { display: grid; gap: 14px; }

/* Blocks */
.block { padding: 34px 0; }
.block--news { background: #fff; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.block__head h2 { margin: 0; font-size: 24px; }
.more { color: var(--primary); font-weight: 700; }

.cards { display: grid; gap: 18px; }
.cards--grid4 { grid-template-columns: repeat(4, 1fr); }
.cards--grid3 { grid-template-columns: repeat(3, 1fr); }

.card a { display: block; }
.card__body { padding: 12px 14px 16px; }
.card .meta { color: var(--muted); font-size: 14px; }
.card h3 { margin: 6px 0; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }





/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card--overlay { position: relative; display: block; }
.card--overlay img { height: 100%; width: 100%; object-fit: cover; border-radius: var(--radius); }
.card__overlay {
  position: absolute; inset: auto 16px 16px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,.68));
  padding: 18px; border-radius: 12px; color: #fff;
}
.card__overlay h3 { margin: 8px 0 6px; font-size: clamp(18px, 3.4vw, 26px); line-height: 1.2; }
.card__overlay p { margin: 0; color: #e5e7eb; }


/* Spacing refinements */
.section-head{margin-bottom:10px}
.section-head h2{margin:0 0 22px}
.cards{gap:22px}
.card{padding:18px}
.intro__inner{padding:36px 0}
.news .section-head h2{margin-bottom:18px}



.pill {
  display: inline-block; background: var(--primary); color: var(--primary-contrast);
  padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2px;
}

.mini {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center;
  padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  height: 165px;
}
.mini img { height: 90px; width: 120px; object-fit: cover; border-radius: 10px; }
.mini p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }




.mega__inner {
  background: #fff; border-top: 2px solid var(--primary);
  box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
  padding: 18px;
}



.mega__feature { grid-column: 1 / span 1; }
.mega__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }
.mega__cols--3 { grid-template-columns: repeat(3, 1fr); }
.mega__cols--4 { grid-template-columns: repeat(4, 1fr); }
.mega__banner .banner,
.mega__cta .cta { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; height: 100%; }
.mega__banner img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.banner__body { padding-top: 10px; }
.columns-2 { columns: 2; column-gap: 18px; }




/* Topbar */
.topbar { background: #111; color: #fff; font-size: 14px; padding-left: 140px;padding-right: 120px; z-index: 99;}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 0;
}
nav.topbar__nav a{color: #fff;}


/* Youtube */
.container--grid-youtube{
 
  gap: 15px; /* Aggiunge una spaziatura di 20px tra i div */
 }

  .video1{width: 33%; display: inline-block;}
  .video2{width: 33%; display: inline-block;}
  .video3{width: 33%; display: inline-block;}




/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; margin-top: 22px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 30px; }
.footer__grid ul,li, a {font-size: 14px;}

.site-footer h3 { color: #e2e8f0; margin-top: 0; font-size: 24px;}
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 14px 0; font-size: 14px;
}
.footer__legal__nav a { margin-left: 14px; color: #cbd5e1; }

/* Social (using fallback glyphs) */
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; background: #1e293b;
  margin-right: 8px;
}



/* === FLP News & Multimedia Accents === */

/* Emphasize the News block without affecting other cards */
#flp-news.block--news {
  background: linear-gradient(180deg, #fff 0%, #fff7d6 100%);
  box-shadow: 0 6px 24px rgba(245, 186, 24, 0.18);
  border-radius: 16px;
  margin-block: var(--space-6);
  padding-block: calc(var(--space-6) + 8px);
}
#flp-news .block__head h2::before{
  content: "FLP NEWS";
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #8a6100;
  background: #fde68a;
  border: 1px solid #f3c950;
  padding: 3px 8px;
  margin-right: 10px;
  border-radius: 9999px;
}

/* FLP TV section */
.flptv { padding-block: var(--space-6); }
.flptv__grid { 
  display: grid; 
  gap: 18px; 
  grid-template-columns: 1.8fr 1fr; 
  align-items: start;
}
.flptv__player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.flptv__player iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.flptv__thumbs {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
.flptv__thumb {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: var(--card-bg, #f8fafc);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
}
.flptv__thumb img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}
.flptv__thumb span {
  font-weight: 600;
}
.flptv__thumb:focus-visible, .flptv__thumb:hover {
  outline: 2px solid var(--primary, #f4c01f);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 900px){
  .flptv__grid { grid-template-columns: 1fr; }
  .flptv__thumbs { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .flptv__thumb { grid-template-columns: 1fr; }
  .flptv__thumb img { height: 120px; }
}




.ultime-notizie{
  display:grid;
  grid-template-columns: 1.25fr 1fr 1.15fr;
  gap:24px;
  align-items:start;
  border:none;
  padding:18px;
}
.col{min-width:0}
.col-center{border-left:1px solid var(--border);border-right:1px solid var(--border);padding-inline:18px}

.media{display:block;}
.media img{display:block;width:100%;height:auto;}

.kicker{
  display:inline-block;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:.8rem;
  color:var(--accent-orange);
  margin-bottom:6px;
}

.headline{margin:0}
.headline.xl{font-size: clamp(1.35rem, 1.9vw, 1.9rem); font-weight: 900; line-height:1.1;}
.headline.lg{font-size: clamp(1.1rem, 1.5vw, 1.45rem); font-weight: 900; line-height:1.18;}
.headline.md{font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 800; line-height:1.2;}

.story{display:block}
.story .content{padding-top:10px}

.list .list-item + .list-item{margin-top:14px}
.dot{
  border:0;
  border-top: 2px dotted var(--dots);
  margin:14px 0;
}
.big-sep{ margin:18px 0; }

.excerpt{color:#013366; margin:10px 0 0 0; font-size: .98rem;}
.sub{list-style:square; margin:10px 0 0 18px; padding:0}
.sub li::marker{color:var(--accent-red)}
.sub a{color:inherit; text-decoration:none; font-weight:600}
.sub a:hover{text-decoration:underline}

/* Hover affordance su headline */
.headline a{ color:inherit; text-decoration:none }
.headline a:hover{ text-decoration:underline }

/* Responsive */
@media (max-width: 1100px){
  .ultime-notizie{
    grid-template-columns: 1fr 1fr;
  }
  .col-right{border-top:1px solid var(--border); padding-top:16px; grid-column: span 2;}
  .col-center{border-right:0}
}
@media (max-width: 700px){
  .ultime-notizie{ grid-template-columns: 1fr; }
  .col-center, .col-right{ border:0; padding:0 }
}


.centrato{
 text-align: left;
  align-items: center;
  padding-left: 24px;
}

.centrato2{
  text-align: left;
  align-items: center;
  padding-top: 30px;
  padding-left: 24px;
  color: #013366;
  font-weight: 900;
}

.centrato3{
  margin: 0 auto;
  text-align: left;
  padding-left: 154px;
  color: #013366;
  font-weight: 900;
}

.centrato4{
  text-align: left;
  align-items: center;
  padding-top: 30px;
  padding-left: 60px;
  color: #013366;
  font-weight: 900;
}

.centrato5{
  text-align: left;
  align-items: center;
  padding-top: 30px;
  padding-left: 24px;
  color: #013366;
  font-weight: 900;
  font-size: 24px;
}


.topbar__nav{
 justify-content: space-between;
}


.topbar__nav a{
  padding: 8px;
  text-decoration: none;
}

.topbar__nav a:hover{
  color:#ccc;
}


.button--reserved {
  background: var(--primary);
  color: #fff;
  border-radius:8px;border-bottom:none!important; text-transform: capitalize;
}


/* =======================
   FONT
   ======================= */
.barlow-thin {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.barlow-extralight {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.barlow-light {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.barlow-regular {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-semibold {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-extrabold {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.barlow-black {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.barlow-thin-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.barlow-extralight-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.barlow-light-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.barlow-regular-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.barlow-medium-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.barlow-semibold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.barlow-bold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.barlow-extrabold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.barlow-black-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: italic;
}


.striscia{
  background: linear-gradient(180deg, #fff 0%, #fff7d6 100%);
  box-shadow: 0 6px 24px rgba(245, 186, 24, 0.18);
}



/* ==== FLP header + topbar + overlay from HTML v15 ==== */
/* --- FLP header hamburger FULL overlay (2025-10-30 v15) --- */
:root{
  --flp-maxw: 1320px;
  --flp-header-h: 68px;
}
/* header layer above overlay */
header.flp-header{ position: sticky; top: 0; z-index: 10002; background: transparent; color: #111; }
header.flp-header, header.flp-header *{ box-sizing: border-box; }

/* 3 columns: logo | toggle | CTA */
header.flp-header .flp-header-inner{
  max-width: var(--flp-maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  column-gap: 32px;
  height: var(--flp-header-h);
}

/* LOGO: ensure visible and aligned */
#flp-header-logo{
  position: static !important;
  display: flex !important;
  align-items: center !important;
  height: var(--flp-header-h) !important;
  line-height: 0 !important;
  margin: 0 !important;
}
#flp-header-logo img{ height: 42px; width: auto; display: block; }

/* hide inline nav (links moved to overlay) */
header.flp-header > .flp-header-inner > nav{ display: none !important; }

/* CTA on right */
.flp-header-actions{ display: flex; align-items: center; gap: 14px; white-space: nowrap; flex-wrap: nowrap; }

/* HAMBURGER: same height as header, lines centered vertically */
#flp-menu-toggle{
  width: 56px; height: var(--flp-header-h);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; padding: 0; cursor: pointer; position: relative;
  color: #c0baba; /* white lines on dark topbar */
}
#flp-menu-toggle .line{
  position: absolute; left: 50%; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease, top .25s ease, background-color .2s ease;
}
#flp-menu-toggle .line:nth-child(2){ top: 50%; transform: translate(-50%,-50%); }
#flp-menu-toggle .line:nth-child(1){ top: calc(50% - 8px); }
#flp-menu-toggle .line:nth-child(3){ top: calc(50% + 8px); }
/* when open -> X white */
#flp-menu-toggle[aria-expanded="true"]{ color: #c4b2b2 !important; }

/* OVERLAY full-screen under header (so logo + X stay visible) */
#flp-menu-panel{
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(10,10,10,0.98);
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px);
  color: #000;
  display: none; /* GSAP controls visibility */
}
/* Panel nav multi-level styling */
#flp-menu-panel .flp-panel-nav{
  width: 100vw;
  height: calc(100vh - var(--flp-header-h));
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

#flp-menu-panel .flp-panel-nav > a{
  display: block;
  text-decoration: none;
  color: #891313;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: .01em;
  line-height: 1.15;
  padding: 8px 0;
}

#flp-menu-panel .flp-panel-nav > a:hover{
  text-decoration: underline;
}

.flp-panel-group{
  width: 100%;
  max-width: 760px;
}

.flp-panel-parent{
  width: 100%;
  background: none;
  border: none;
  color: #952929;
  font: inherit;
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 40px);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.flp-panel-chevron{
  font-size: 0.8em;
  opacity: 0.7;
}

.flp-panel-submenu{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .25s ease;
}

.flp-panel-group.is-open .flp-panel-submenu{
  max-height: 600px;
  opacity: 1;
}

.flp-panel-submenu a{
  display: block;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: clamp(16px, 2.6vw, 22px);
  padding: 3px 0;
}

.flp-panel-submenu a:hover{
  text-decoration: underline;
}

@media (max-width: 900px){
  #flp-header-logo img{ height: 36px; }
}
/* --- end v15 --- */

/* === alignment patch v3 (from HTML) === */
alignment patch v3 (menu in topbar sticky) */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10002;
}

/* single-row layout: logo | hamburger | CTA | social | links */
.topbar .container{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: nowrap;
}

#flp-header-logo{
  position: static !important;
  left: auto;
  top: auto !important;
  z-index: auto;
}
#flp-header-logo img{height:42px;width:auto;display:block;}

.topbar .topbar__cta{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.topbar .topbar__cta .nav__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .social{
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar nav.topbar__nav{
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  margin-left: auto;
}

.social-sidebar{
  position: fixed;
  right:12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(11,14,20,0.95); /* barra scura per contrasto su ogni sezione */
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

/* force vertical stack of icons */
.social-sidebar .social{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Override generic .social a circles: keep pure Font Awesome icons */
.social-sidebar .social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #fff;
}
.social-sidebar .social a:hover{
  color: #f5f5f5;
}

@media (max-width: 900px){
  .social-sidebar{
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .social-sidebar .social a{
    margin: 0 0 8px 0;
  }
}



/* === FLP WP override: ensure topbar over slider and sticky-like === */
.topbar{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
}

/* Prevent slider from covering topbar */
.carousel{
  position: relative;
  z-index: 0;
}



/* === FLP WP final override: topbar sticky + slider attaccato senza gap === */
.topbar{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10002;
}

body{
  padding-top: 0;
}

/* lo slider parte subito sotto la topbar */
.carousel{
  margin-top: 0;
}


/* === FLP WP hero override: remove section padding on slider wrapper === */
.flp-hero{
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}


/* === FLP WP hard override: zero gap between topbar and slider === */
body{
  padding-top: 0 !important;
}

.flp-hero{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.carousel{
  margin-top: 0 !important;
}

/* === FLP WP overlay fix: pannello hamburger completamente fuori dal flusso === */
#flp-menu-panel{
  position: fixed !important;
  inset: 0 !important;
  z-index: 11000 !important;
  display: none;
}

#flp-menu-panel[hidden]{
  display: none !important;
}

/* === OFFCANVAS MENU FLP – pannello sinistra, frecce e X === */

#flp-menu-panel{
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(15, 23, 42, 0.55); /* overlay scuro */
  display: none; /* GSAP controlla la visibilità */
}

#flp-menu-panel[hidden]{
  display: none;
}

/* Contenitore nav come pannello bianco a sinistra */
#flp-menu-panel .flp-panel-nav{
  position: absolute;
  top: 0;
  left: 0;
  width: min(420px, 100vw);
  height: 100vh;
  margin: 0;
  padding: 80px 32px 32px;
  background: #ffffff;
  color: #111827;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  box-shadow: 12px 0 30px rgba(15,23,42,0.25);
}

/* X di chiusura dentro il pannello */
#flp-menu-panel .flp-menu-close{
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#flp-menu-panel .flp-menu-close__line{
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

#flp-menu-panel .flp-menu-close__line--1{ transform: rotate(45deg); }
#flp-menu-panel .flp-menu-close__line--2{ transform: rotate(-45deg); }

/* Link top-level semplici */
#flp-menu-panel .flp-panel-nav > a{
  display: block;
  width: 100%;
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 0;
}

/* Gruppi con sottomenu */
#flp-menu-panel .flp-panel-group{
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

/* Titolo gruppo */
#flp-menu-panel .flp-panel-parent{
  width: 100%;
  background: none;
  border: none;
  color: #111827;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  cursor: pointer;
}

/* Freccia apertura/chiusura sottomenu */
#flp-menu-panel .flp-panel-chevron{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  opacity: 0.8;
}

#flp-menu-panel .flp-panel-chevron::before{
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform-origin: center;
  transition: transform .2s ease;
  transform: rotate(-45deg); /* freccia verso destra (>) */
}

/* aperto: freccia verso il basso (v) */
#flp-menu-panel .flp-panel-group.is-open .flp-panel-chevron::before{
  transform: rotate(45deg);
}

/* Sottomenu */
#flp-menu-panel .flp-panel-submenu{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .25s ease, opacity .25s ease;
  padding-top: 4px;
}

#flp-menu-panel .flp-panel-group.is-open .flp-panel-submenu{
  max-height: 600px;
  opacity: 1;
}

#flp-menu-panel .flp-panel-submenu a{
  display: block;
  text-decoration: none;
  color: #374151;
  font-weight: 400;
  font-size: 14px;
  padding: 2px 0;
}

#flp-menu-panel .flp-panel-submenu a:hover{
  text-decoration: underline;
}

/* Mobile: pannello a tutta larghezza */
@media (max-width: 768px){
  #flp-menu-panel .flp-panel-nav{
    width: 100vw;
    box-shadow: none;
  }
}
