/* FIL-ITALIA final public fixes: one visual system, no legacy collisions */
:root{--fil-green:#0d7f49;--fil-green-bright:#18b765;--fil-dark:#06150f;--fil-dark-2:#0a2a1d;--fil-red:#d92f45;--fil-cream:#f6f5ef;--fil-line:rgba(13,127,73,.18)}

/* HOME NAVBAR: approved reference, readable at laptop size */
@media(min-width:961px){
  body.home-reference-navbar-ready .navbar.home-reference-navbar,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .navbar.home-reference-navbar{
    height:88px!important;min-height:88px!important;
    grid-template-columns:minmax(190px,230px) minmax(0,1fr) auto!important;
    column-gap:clamp(16px,2vw,30px)!important;padding:0 clamp(22px,3vw,48px)!important;
  }
  body.home-reference-navbar-ready .home-reference-brand{min-width:190px!important;gap:12px!important}
  body.home-reference-navbar-ready .home-reference-brand img{width:50px!important;height:50px!important}
  body.home-reference-navbar-ready .home-reference-brand strong{font-size:1.05rem!important}
  body.home-reference-navbar-ready .home-reference-brand small{display:block!important;font-size:.55rem!important}
  body.home-reference-navbar-ready .nav-links,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .nav-links{height:88px!important;min-height:88px!important;max-height:88px!important;gap:clamp(12px,1.25vw,22px)!important}
  body.home-reference-navbar-ready .nav-links a,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .nav-links a{min-height:88px!important;font-size:clamp(.62rem,.73vw,.79rem)!important;letter-spacing:.035em!important}
  body.home-reference-navbar-ready .home-auth-link{height:44px!important;min-height:44px!important;padding:0 15px!important;font-size:.72rem!important}
  body.home-reference-navbar-ready .home-nav-social{width:34px!important;height:34px!important}
}
@media(min-width:961px) and (max-width:1180px){
  body.home-reference-navbar-ready .navbar.home-reference-navbar,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .navbar.home-reference-navbar{grid-template-columns:165px minmax(0,1fr) auto!important;padding:0 14px!important;column-gap:10px!important}
  body.home-reference-navbar-ready .home-reference-brand{min-width:165px!important}
  body.home-reference-navbar-ready .home-reference-brand small{display:none!important}
  body.home-reference-navbar-ready .nav-links,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .nav-links{gap:9px!important}
  body.home-reference-navbar-ready .nav-links a,
  body.fil-concept2.home-reference-navbar-ready[data-horizontal-ready="true"] .nav-links a{font-size:.57rem!important}
  body.home-reference-navbar-ready .language-switch button{display:none!important}
  body.home-reference-navbar-ready .home-nav-social{width:30px!important;height:30px!important}
}

/* HOME HERO: never leave the left half empty */
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-shell{display:grid!important;grid-template-columns:minmax(430px,.92fr) minmax(500px,1.08fr)!important;align-items:stretch!important;gap:22px!important;padding:24px!important;min-height:560px!important;background:linear-gradient(135deg,#f7f7f2 0%,#eef7f0 100%)!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-copy{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:4!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-width:0!important;padding:24px 12px 24px 28px!important;color:#11251b!important;background:transparent!important;transform:none!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-eyebrow,
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-title,
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-copy>p,
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-actions{display:flex!important;visibility:visible!important;opacity:1!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-title{flex-direction:column!important;font-size:clamp(2.8rem,4.6vw,5.4rem)!important;line-height:.91!important;max-width:650px!important;margin:24px 0 18px!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-copy>p{display:block!important;max-width:650px!important;font-size:clamp(1rem,1.35vw,1.22rem)!important;line-height:1.55!important;color:#40534a!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-visual{display:flex!important;min-width:0!important;visibility:visible!important;opacity:1!important}
body.fil-concept2[data-horizontal-ready="true"] #top .home-player-frame{min-height:430px!important}
@media(max-width:960px){body.fil-concept2[data-horizontal-ready="true"] #top .home-hero-shell{display:flex!important;flex-direction:column!important;min-height:0!important;padding:12px!important}.home-hero-copy{padding:20px!important}}

/* SHARED STANDALONE NAVBAR FOR GALLERY CATEGORIES AND ALBUMS */
body[data-gallery-category],body[data-album-id]{margin:0;background:radial-gradient(circle at 85% 8%,rgba(217,47,69,.2),transparent 25%),linear-gradient(135deg,var(--fil-dark),var(--fil-dark-2) 60%,#081b14);color:#fff;min-height:100vh}
body[data-gallery-category] .background-logo,body[data-album-id] .background-logo{position:fixed!important;inset:88px 0 0!important;background:url('images/logo.png') center/44vw auto no-repeat!important;opacity:.035!important;pointer-events:none!important}
body[data-gallery-category] .navbar,body[data-album-id] .navbar{height:88px!important;min-height:88px!important;padding:0 clamp(22px,3vw,48px)!important;display:grid!important;grid-template-columns:minmax(190px,230px) minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid var(--fil-line)!important;box-shadow:0 10px 32px rgba(0,0,0,.15)!important;position:sticky!important;top:0!important;z-index:1000!important}
body[data-gallery-category] .logo-area,body[data-album-id] .logo-area{display:flex!important;align-items:center!important;gap:12px!important;color:#123226!important;text-decoration:none!important}
body[data-gallery-category] .nav-logo,body[data-album-id] .nav-logo{width:50px!important;height:50px!important;object-fit:contain!important}
body[data-gallery-category] .logo-text,body[data-album-id] .logo-text{font-size:1.05rem!important;font-weight:900!important}
body[data-gallery-category] .mobile-menu-button,body[data-album-id] .mobile-menu-button{display:none!important}
body[data-gallery-category] .nav-links,body[data-album-id] .nav-links{display:flex!important;position:static!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:clamp(12px,1.25vw,22px)!important;width:auto!important;height:88px!important;padding:0!important;background:transparent!important;transform:none!important;opacity:1!important;visibility:visible!important}
body[data-gallery-category] .nav-links a,body[data-album-id] .nav-links a{display:flex!important;align-items:center!important;min-height:88px!important;padding:0!important;color:#17261f!important;font-size:clamp(.62rem,.73vw,.79rem)!important;font-weight:900!important;text-transform:uppercase!important;white-space:nowrap!important;text-decoration:none!important}
body[data-gallery-category] .nav-links a[href*="account"],body[data-album-id] .nav-links a[href*="account"]{display:none!important}
body[data-gallery-category] .language-switch,body[data-album-id] .language-switch{display:flex!important;gap:7px!important;align-items:center!important}
body[data-gallery-category] .language-switch button,body[data-album-id] .language-switch button{width:34px!important;height:34px!important;border-radius:50%!important;border:1px solid rgba(13,127,73,.2)!important;background:#fff!important;color:#17412f!important;font-weight:900!important}
body[data-gallery-category] .players-page,body[data-album-id] .players-page{position:relative!important;z-index:2!important;max-width:1280px!important;margin:0 auto!important;padding:70px 30px 90px!important;background:transparent!important;color:#fff!important}
body[data-gallery-category] .players-page h1,body[data-album-id] .players-page h1{margin:0 0 16px!important;font-size:clamp(3.4rem,7vw,7rem)!important;line-height:.86!important;color:#fff!important;text-transform:uppercase!important;text-shadow:none!important}
body[data-gallery-category] .page-subtitle,body[data-album-id] .page-subtitle{max-width:820px!important;margin:20px 0 42px!important;padding:0!important;background:transparent!important;color:rgba(255,255,255,.72)!important;font-size:1.05rem!important}
body[data-gallery-category] .players-list-link,body[data-album-id] .players-list-link{display:inline-flex!important;padding:13px 20px!important;border-radius:999px!important;background:var(--fil-green-bright)!important;color:#062116!important;font-weight:900!important;text-decoration:none!important}
body[data-gallery-category] #galleryAlbumsGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
body[data-gallery-category] #galleryAlbumsGrid .gallery-card,body[data-gallery-category] #galleryAlbumsGrid>*{min-width:0!important}
body[data-album-id] #albumImagesGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body[data-album-id] #albumImagesGrid img{width:100%!important;aspect-ratio:4/3!important;object-fit:cover!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 20px 50px rgba(0,0,0,.25)!important}
body[data-gallery-category] footer,body[data-album-id] footer{background:#020a07!important;color:#fff!important}
@media(max-width:960px){body[data-gallery-category] .navbar,body[data-album-id] .navbar{height:76px!important;min-height:76px!important;display:flex!important;padding:0 10px!important}body[data-gallery-category] .mobile-menu-button,body[data-album-id] .mobile-menu-button{display:grid!important;order:-1!important}body[data-gallery-category] .nav-links,body[data-album-id] .nav-links{display:none!important;position:fixed!important;top:84px!important;left:10px!important;right:10px!important;height:auto!important;padding:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;background:#fff!important;border-radius:16px!important}body[data-gallery-category].mobile-menu-open .nav-links,body[data-album-id].mobile-menu-open .nav-links{display:grid!important}body[data-gallery-category] .nav-links a,body[data-album-id] .nav-links a{min-height:48px!important;justify-content:center!important}body[data-gallery-category] .language-switch,body[data-album-id] .language-switch{margin-left:auto!important}body[data-gallery-category] .logo-text,body[data-album-id] .logo-text{display:none!important}body[data-gallery-category] #galleryAlbumsGrid,body[data-album-id] #albumImagesGrid{grid-template-columns:1fr!important}}

/* NEWS: strict chronological and balanced grid */
body.fil-page-news #allNewsGrid{max-width:1280px!important;margin:0 auto!important}
body.fil-page-news .fil-news-layout{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr)!important;gap:24px!important;align-items:stretch!important}
body.fil-page-news .fil-news-lead{min-height:560px!important}
body.fil-page-news .fil-news-side{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body.fil-page-news .fil-news-tile{min-height:0!important;height:100%!important}
body.fil-page-news .fil-news-more{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;margin-top:24px!important}
body.fil-page-news .fil-news-card-v1{height:100%!important;min-height:330px!important}
@media(max-width:900px){body.fil-page-news .fil-news-layout{grid-template-columns:1fr!important}body.fil-page-news .fil-news-side{grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important}body.fil-page-news .fil-news-more{grid-template-columns:1fr 1fr!important}}
@media(max-width:620px){body.fil-page-news .fil-news-side,body.fil-page-news .fil-news-more{grid-template-columns:1fr!important}}
