/* FIL-ITALIA unified readability v4 */
:root{--fil-v4-nav:94px;--fil-v4-green:#07864a;--fil-v4-bright:#28cf79;--fil-v4-dark:#03140e;--fil-v4-text:#f4fff8;--fil-v4-muted:#c8ded3}

@media(min-width:901px){
  html body.fil-final-site .navbar.fil-final-navbar{
    height:var(--fil-v4-nav)!important;min-height:var(--fil-v4-nav)!important;
    display:grid!important;grid-template-columns:170px minmax(520px,1fr) auto!important;
    align-items:center!important;gap:16px!important;padding:0 24px!important;
    background:#fff!important;border-bottom:1px solid rgba(7,134,74,.16)!important;
    box-shadow:0 10px 32px rgba(2,27,18,.11)!important;color:#17392b!important;
  }
  html body.fil-final-site .fil-final-brand{height:var(--fil-v4-nav)!important;width:170px!important;min-width:170px!important;display:flex!important;align-items:center!important;gap:10px!important}
  html body.fil-final-site .fil-final-brand img{width:48px!important;height:48px!important;flex:0 0 48px!important}
  html body.fil-final-site .fil-final-brand-copy strong{font-size:.98rem!important;color:#0c4a31!important}
  html body.fil-final-site .fil-final-brand-copy small{font-size:.52rem!important;display:block!important}
  html body.fil-final-site .navbar.fil-final-navbar .nav-links,
  html body.fil-final-site.mobile-menu-open .navbar.fil-final-navbar .nav-links,
  html body.fil-final-site .navbar.fil-final-navbar .nav-links.active{
    height:var(--fil-v4-nav)!important;min-height:var(--fil-v4-nav)!important;max-height:var(--fil-v4-nav)!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(11px,1vw,18px)!important;
    padding:0!important;margin:0!important;position:static!important;background:transparent!important;
  }
  html body.fil-final-site .navbar.fil-final-navbar .nav-links a{
    height:var(--fil-v4-nav)!important;min-height:var(--fil-v4-nav)!important;display:inline-flex!important;align-items:center!important;
    color:#20382e!important;font-size:12px!important;font-weight:900!important;line-height:1!important;letter-spacing:.01em!important;
  }
  html body.fil-final-site .fil-final-actions{
    height:var(--fil-v4-nav)!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;
  }
  html body.fil-final-site .fil-global-socials,
  html body.fil-final-site .fil-final-actions .language-switch,
  html body.fil-final-site .fil-final-auth{
    height:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
  }
  html body.fil-final-site .fil-global-socials .home-nav-social,
  html body.fil-final-site .fil-final-actions .language-switch button{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;margin:0!important;transform:none!important;
  }
  html body.fil-final-site .fil-global-socials .home-nav-social svg{width:18px!important;height:18px!important}
  html body.fil-final-site .fil-final-actions .language-switch button{font-size:10.5px!important;color:#173c2d!important;border-color:#b9d1c4!important}
  html body.fil-final-site .fil-final-auth a,
  html body.fil-final-site .fil-final-actions .home-auth-link{height:44px!important;min-height:44px!important;padding:0 15px!important;font-size:11.5px!important}
  html body.fil-final-site .navbar.fil-final-navbar .mobile-menu-button,
  html body.fil-final-site .navbar.fil-final-navbar .home-nav-left{display:none!important}
}

@media(min-width:901px) and (max-width:1250px){
  html body.fil-final-site .navbar.fil-final-navbar{grid-template-columns:132px minmax(450px,1fr) auto!important;gap:9px!important;padding:0 12px!important}
  html body.fil-final-site .fil-final-brand{width:132px!important;min-width:132px!important}
  html body.fil-final-site .fil-final-brand img{width:42px!important;height:42px!important;flex-basis:42px!important}
  html body.fil-final-site .fil-final-brand-copy small{display:none!important}
  html body.fil-final-site .fil-final-brand-copy strong{font-size:.8rem!important}
  html body.fil-final-site .navbar.fil-final-navbar .nav-links{gap:8px!important}
  html body.fil-final-site .navbar.fil-final-navbar .nav-links a{font-size:10.8px!important}
  html body.fil-final-site .fil-global-socials .home-nav-social,
  html body.fil-final-site .fil-final-actions .language-switch button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  html body.fil-final-site .fil-final-auth a,
  html body.fil-final-site .fil-final-actions .home-auth-link{padding:0 10px!important;font-size:10px!important}
}

/* All public pages: clearer text and calmer spacing */
html body.fil-public-body,
html body[data-gallery-category],
html body[data-album-id]{color:var(--fil-v4-text)!important;background:radial-gradient(circle at 88% 8%,rgba(223,53,80,.15),transparent 28%),radial-gradient(circle at 8% 82%,rgba(40,207,121,.14),transparent 30%),linear-gradient(135deg,#020b08,#06291d 58%,#071711)!important}
html body.fil-public-body .players-page,
html body[data-gallery-category] .players-page,
html body[data-album-id] .players-page{width:min(1220px,calc(100% - 44px))!important;padding:56px 0 88px!important}
html body.fil-public-body .players-page>h1,
html body[data-gallery-category] .players-page>h1,
html body[data-album-id] .players-page>h1{font-size:clamp(3.2rem,6vw,5.8rem)!important;line-height:.9!important;color:#fff!important;letter-spacing:-.045em!important}
html body.fil-public-body .players-page>.page-subtitle,
html body[data-gallery-category] .players-page>.page-subtitle,
html body[data-album-id] .players-page>.page-subtitle{max-width:820px!important;color:var(--fil-v4-muted)!important;font-size:1.08rem!important;line-height:1.65!important}
html body.fil-public-body .players-list-link,
html body[data-gallery-category] .players-list-link,
html body[data-album-id] .players-list-link{min-height:46px!important;padding:0 20px!important;font-size:.82rem!important;background:var(--fil-v4-green)!important;color:#fff!important}

html body.fil-page-players .fil-roster-card-copy strong,
html body.fil-page-staff .fil-staff-profile-copy strong,
html body.fil-page-events .fil-event-tile-copy strong,
html body.fil-page-gallery .fil-media-copy strong{font-size:1.42rem!important;line-height:1.08!important}
html body.fil-page-players .fil-roster-card-copy span,
html body.fil-page-staff .fil-staff-profile-copy span,
html body.fil-page-events .fil-event-tile-copy span{font-size:.9rem!important;line-height:1.4!important;color:#e0eee7!important}
html body.fil-page-news .fil-news-final-copy h3{font-size:1.45rem!important}
html body.fil-page-news .fil-news-final-copy p{font-size:1rem!important;line-height:1.58!important;color:#e0eee7!important}

/* HOME: guaranteed high contrast on the light hero panel */
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-shell{
  background:#f4f8f5!important;
  border:1px solid #d9e7df!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-copy{
  background:linear-gradient(145deg,#ffffff 0%,#eef6f1 100%)!important;
  color:#102d21!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-copy::before{
  background:linear-gradient(90deg,rgba(24,190,101,.14),rgba(24,190,101,0))!important;
  opacity:1!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-eyebrow{
  background:#ffffff!important;
  border:1px solid #bfd8ca!important;
  color:#0b5838!important;
  box-shadow:0 12px 30px rgba(8,75,48,.10)!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-title,
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-title span,
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-title strong{
  color:#102d21!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero #homeHeroLine2{
  color:#07864a!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero #homeHeroLine4{
  color:#d72f49!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero #homeHeroDescription{
  color:#29483a!important;
  font-weight:700!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-note{
  color:#173d2c!important;
  font-weight:800!important;
  opacity:1!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-button{
  background:#07864a!important;
  border-color:#07864a!important;
  color:#ffffff!important;
  box-shadow:0 10px 24px rgba(7,134,74,.18)!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-button.secondary{
  background:#ffffff!important;
  border-color:#9fc8b2!important;
  color:#0b5838!important;
  box-shadow:none!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-value-item{
  background:#ffffff!important;
  border-color:#d4e5dc!important;
  color:#173d2c!important;
}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-value-item strong{color:#0b5838!important}
html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-value-item p{color:#456456!important}

@media(max-width:900px){
  html body.fil-final-site .navbar.fil-final-navbar{height:76px!important;min-height:76px!important}
  html body.fil-public-body .players-page,html body[data-gallery-category] .players-page,html body[data-album-id] .players-page{width:calc(100% - 24px)!important;padding-top:36px!important}
  html body.fil-public-body .players-page>h1,html body[data-gallery-category] .players-page>h1,html body[data-album-id] .players-page>h1{font-size:clamp(2.6rem,12vw,4.6rem)!important}
  html body.fil-public-body .players-page>.page-subtitle,html body[data-gallery-category] .players-page>.page-subtitle,html body[data-album-id] .players-page>.page-subtitle{font-size:1rem!important}
  html body.fil-final-site[data-horizontal-ready="true"] #top.home-hero .home-hero-copy{background:linear-gradient(145deg,#ffffff,#eef6f1)!important}
}
