/* Shared header geometry and controls: used verbatim on every page */
body > header{position:absolute!important;z-index:999!important;left:0;right:0;top:0;color:#111;background:transparent}
body > header .nav{width:min(1240px,calc(100% - 96px));margin:0 auto;height:100px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(17,17,17,.10)}
body > header .brand{font-weight:800;font-size:19px;line-height:1.12;letter-spacing:-.055em;white-space:nowrap;color:inherit}
body > header .brand small{display:block;font-size:9px;letter-spacing:.25em;font-weight:700;margin-top:7px}
body > header .links{display:flex;gap:clamp(12px,2vw,30px);align-items:center;font-size:12px;font-weight:700;margin-left:auto}
body > header .links a{white-space:nowrap}
body > header .navcta{padding:13px 19px;border:1px solid rgba(17,17,17,.16);border-radius:50px;background:rgba(255,255,255,.46);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body > header .season-toggle{display:inline-flex;align-items:center;gap:4px;padding:5px;border:1px solid rgba(17,17,17,.12);border-radius:999px;background:rgba(255,255,255,.46);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);flex-shrink:0}
body > header .season-chip{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:#111;padding:10px 14px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;cursor:pointer;transition:background .25s ease,color .25s ease,transform .25s ease}
body > header .season-chip svg{width:15px;height:15px;flex:none;stroke:currentColor;color:currentColor}
body > header .season-chip.is-active{background:#111;color:#fff}
body > header .season-chip[data-season-choice="winter"].is-active{background:#055e81;color:#fff}
body > header .language-dropdown{width:75px;height:44px;padding:0 12px;gap:0;display:block;position:relative;flex-shrink:0;border:1px solid rgba(17,17,17,.12);border-radius:999px;background:rgba(255,255,255,.46);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#111}
body > header .language-dropdown select{position:absolute;inset:0;width:100%;max-width:none;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;z-index:2;appearance:none}
body > header .language-code{position:absolute;left:15px;top:50%;transform:translateY(-50%);pointer-events:none;font:800 11px Manrope,Arial,sans-serif;line-height:1;letter-spacing:.04em;color:#111}
body > header .language-chevron{position:absolute;right:13px;top:50%;transform:translateY(-50%);width:15px;height:15px;pointer-events:none;color:#111}
body > header .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-season="winter"] > header{color:#fff}
body[data-season="winter"] > header .nav{border-bottom-color:rgba(255,255,255,.16)}
body[data-season="winter"] > header .navcta{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.18);color:#fff}
body[data-season="winter"] > header .season-toggle,body[data-season="winter"] > header .language-dropdown{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.18);color:#fff}
body[data-season="winter"] > header .season-chip{color:#fff}
body[data-season="winter"] > header .season-chip.is-active{background:#fff;color:#055e81}
body[data-season="winter"] > header .season-chip[data-season-choice="winter"].is-active{background:#fff;color:#055e81}
body[data-season="winter"] > header .language-code,body[data-season="winter"] > header .language-chevron{color:#fff}
@media(max-width:1000px){
 body > header .nav{width:calc(100% - 44px);height:78px;gap:12px;border-bottom-color:rgba(17,17,17,.10)}
 body > header .brand{font-size:16px;position:relative;z-index:1003;margin-right:auto}
 body > header .links,body > header .season-toggle,body > header .language-dropdown{display:none!important}
 body > header .cm-menu-button{color:inherit;border-color:rgba(17,17,17,.22);background:rgba(255,255,255,.25)}
 body[data-season="winter"] > header .nav{border-bottom-color:rgba(255,255,255,.16)}
 body[data-season="winter"] > header .cm-menu-button{border-color:rgba(255,255,255,.4);background:rgba(0,0,0,.18)}
 body.cm-menu-open > header .season-toggle{display:flex!important;position:fixed;left:7vw;bottom:76px;z-index:1005;background:#fff;color:#111;border:1px solid #e2e8e5}
 body.cm-menu-open > header .language-dropdown{display:flex!important;position:fixed;right:7vw;bottom:81px;z-index:1005;background:#fff;color:#111;border:1px solid #e2e8e5}
 body.cm-menu-open > header .season-chip{color:#111!important}
 body.cm-menu-open > header .season-chip.is-active{background:#111!important;color:#fff!important}
 body.cm-menu-open > header .language-code,body.cm-menu-open > header .language-chevron{color:#111!important}
}
@media(max-width:390px){body.cm-menu-open > header .season-toggle{left:18px}body.cm-menu-open > header .language-dropdown{right:18px}}

/* Canonical page-independent header styles, loaded last to override local page styles. */
body > header,body > header *{box-sizing:border-box}
body > header{font-family:Manrope,Arial,sans-serif!important;font-size:initial!important;line-height:normal!important}
body > header .nav{padding:0!important;max-width:none!important;flex-direction:row!important;flex-wrap:nowrap!important;box-sizing:border-box!important}
body > header .brand{display:block!important;flex:0 0 auto!important;text-decoration:none!important;text-transform:none!important}
body > header .brand small{line-height:1.15!important}
body > header .links{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;line-height:normal!important}
body > header .links a{font-size:12px!important;font-weight:700!important;letter-spacing:normal!important;text-decoration:none!important;color:inherit!important}
body > header .links .navcta{font-size:12px!important;font-weight:700!important}
body > header .season-toggle{margin:0!important;min-height:0!important;box-sizing:border-box!important}
body > header .season-chip{min-width:0!important;line-height:normal!important;white-space:nowrap!important}
body > header .language-dropdown{margin:0!important;box-sizing:border-box!important}
@media(max-width:1000px){
body > header .nav{height:78px!important;width:calc(100% - 44px)!important}
body > header .links{display:none!important}
body > header .brand{font-size:16px!important}
}

/* v3 - header uniforme: l'header e' sempre sovrapposto al contenuto, quindi il primo blocco deve lasciargli spazio */
body > header ~ main > section.lead:first-child{padding-top:156px}
@media(max-width:1000px){body > header ~ main > section.lead:first-child{padding-top:132px}}
/* leggibilita' dell'header su foto scure: velo chiaro identico in alto */
/* v3 - misure identiche del logo su tutte le pagine */
body > header .brand,body > header .brand small{line-height:1.12}
body > header .cm-menu-button,body > header .language-dropdown{font-family:Manrope,Arial,sans-serif;font-size:11px;font-weight:800}
@media(max-width:440px){body > header .brand small{font-size:7px}}
/* v3 - pagine con intestazione su fondo bianco: l'header resta scuro anche in modalita' Inverno */
body[data-season="winter"]:has(main > section.lead:first-child) > header{color:#111}
body[data-season="winter"]:has(main > section.lead:first-child) > header .nav{border-bottom-color:rgba(17,17,17,.10)}
body[data-season="winter"]:has(main > section.lead:first-child) > header .navcta{border-color:rgba(17,17,17,.16);background:rgba(255,255,255,.46);color:#111}
body[data-season="winter"]:has(main > section.lead:first-child) > header .season-toggle,body[data-season="winter"]:has(main > section.lead:first-child) > header .language-dropdown{border-color:rgba(17,17,17,.12);background:rgba(255,255,255,.46);color:#111}
body[data-season="winter"]:has(main > section.lead:first-child) > header .season-chip{color:#111}
body[data-season="winter"]:has(main > section.lead:first-child) > header .season-chip.is-active,body[data-season="winter"]:has(main > section.lead:first-child) > header .season-chip[data-season-choice="winter"].is-active{background:#055e81;color:#fff}
body[data-season="winter"]:has(main > section.lead:first-child) > header .language-code,body[data-season="winter"]:has(main > section.lead:first-child) > header .language-chevron{color:#111}
@media(max-width:1000px){body[data-season="winter"]:has(main > section.lead:first-child) > header .nav{border-bottom-color:rgba(17,17,17,.10)}body[data-season="winter"]:has(main > section.lead:first-child) > header .cm-menu-button{border-color:rgba(17,17,17,.22);background:rgba(255,255,255,.25);color:#111}}
/* v4 - stessi font e ombre della home su tutte le pagine */
body > header button,body > header select,body > header input{font-family:Manrope,Arial,sans-serif}
body > header .season-toggle{box-shadow:0 10px 28px rgba(0,0,0,.12)}
body > header .language-dropdown{box-shadow:0 10px 28px rgba(0,0,0,.08);align-items:center}
body[data-season="winter"] > header .season-toggle{box-shadow:0 10px 28px rgba(0,0,0,.16)}
body[data-season="winter"] > header .language-dropdown{box-shadow:0 10px 28px rgba(0,0,0,.14)}
body[data-season="winter"]:has(main > section.lead:first-child) > header .season-toggle,body[data-season="winter"]:has(main > section.lead:first-child) > header .language-dropdown{box-shadow:0 10px 28px rgba(0,0,0,.08)}
@media(max-width:1000px){body > header .cm-menu-button{font-family:Manrope,Arial,sans-serif}}
body > header .language-dropdown select{background:transparent;border:0;border-radius:0;font:800 11px Manrope,Arial,sans-serif;letter-spacing:.02em}
body > header .language-dropdown select option{background:#fff;color:#111;font:800 11px Manrope,Arial,sans-serif;letter-spacing:.02em}
body > header .cm-menu-button,body > header .cm-menu-button span{cursor:pointer}
@media(max-width:1000px){body > header .language-code{font-size:10px;left:11px;line-height:10px;letter-spacing:.04em}}
@media(max-width:540px){body > header .language-code{left:9px}}
body > header .language-code{margin:0}

/* v6 - header negativo (testo bianco) per pagine con hero scuro: attivare con <body data-header="negative"> */
body[data-header="negative"] > header{color:#fff}
body[data-header="negative"] > header .nav{border-bottom-color:rgba(255,255,255,.16)}
body[data-header="negative"] > header .navcta{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.18);color:#fff}
body[data-header="negative"] > header .season-toggle,body[data-header="negative"] > header .language-dropdown{border-color:rgba(255,255,255,.22);background:rgba(0,0,0,.18);color:#fff}
body[data-header="negative"] > header .season-chip{color:#fff}
body[data-header="negative"] > header .season-chip.is-active,body[data-header="negative"] > header .season-chip[data-season-choice="winter"].is-active{background:#fff;color:#055e81}
body[data-header="negative"] > header .language-code,body[data-header="negative"] > header .language-chevron{color:#fff}
body[data-header="negative"] > header .season-toggle{box-shadow:0 10px 28px rgba(0,0,0,.16)}
body[data-header="negative"] > header .language-dropdown{box-shadow:0 10px 28px rgba(0,0,0,.14)}
@media(max-width:1000px){body[data-header="negative"] > header .nav{border-bottom-color:rgba(255,255,255,.16)}body[data-header="negative"] > header .cm-menu-button{border-color:rgba(255,255,255,.4);background:rgba(0,0,0,.18);color:#fff}}
/* v6 - header negativo: con il menu mobile aperto il pannello e' chiaro, quindi si torna ai colori scuri */
@media(max-width:1000px){
 body[data-header="negative"].cm-menu-open > header .cm-menu-button{color:#111;border-color:rgba(17,17,17,.22);background:rgba(255,255,255,.6)}
 body[data-header="negative"].cm-menu-open > header .season-toggle,body[data-header="negative"].cm-menu-open > header .language-dropdown{background:#fff;color:#111;border:1px solid #e2e8e5}
 body[data-header="negative"].cm-menu-open > header .season-chip{color:#111!important}
 body[data-header="negative"].cm-menu-open > header .season-chip.is-active{background:#111!important;color:#fff!important}
 body[data-header="negative"].cm-menu-open > header .language-code,body[data-header="negative"].cm-menu-open > header .language-chevron{color:#111!important}
}

/* v7 - header positivo (testo nero) per pagine con hero chiaro: <body data-header="positive"> resta scuro anche in Inverno */
body[data-header="positive"] > header{color:#111}
body[data-header="positive"] > header .nav{border-bottom-color:rgba(17,17,17,.10)}
body[data-header="positive"] > header .navcta{border-color:rgba(17,17,17,.16);background:rgba(255,255,255,.46);color:#111}
body[data-header="positive"] > header .season-toggle,body[data-header="positive"] > header .language-dropdown{border-color:rgba(17,17,17,.12);background:rgba(255,255,255,.46);color:#111}
body[data-header="positive"] > header .season-chip{color:#111}
body[data-header="positive"] > header .season-chip.is-active{background:#111;color:#fff}
body[data-header="positive"] > header .season-chip[data-season-choice="winter"].is-active{background:#055e81;color:#fff}
body[data-header="positive"] > header .language-code,body[data-header="positive"] > header .language-chevron{color:#111}
body[data-header="positive"] > header .season-toggle{box-shadow:0 10px 28px rgba(0,0,0,.12)}
body[data-header="positive"] > header .language-dropdown{box-shadow:0 10px 28px rgba(0,0,0,.08)}
@media(max-width:1000px){body[data-header="positive"] > header .nav{border-bottom-color:rgba(17,17,17,.10)}body[data-header="positive"] > header .cm-menu-button{border-color:rgba(17,17,17,.22);background:rgba(255,255,255,.25);color:#111}
 body[data-header="positive"].cm-menu-open > header .season-toggle,body[data-header="positive"].cm-menu-open > header .language-dropdown{background:#fff;color:#111;border:1px solid #e2e8e5}
 body[data-header="positive"].cm-menu-open > header .season-chip{color:#111!important}
 body[data-header="positive"].cm-menu-open > header .season-chip.is-active{background:#111!important;color:#fff!important}
 body[data-header="positive"].cm-menu-open > header .language-code,body[data-header="positive"].cm-menu-open > header .language-chevron{color:#111!important}}

/* Lingue come sigle nel menu mobile */
.lang-codes{display:none}
@media(max-width:1000px){
 html body.cm-menu-open > header .language-dropdown{display:none!important}
 html body.cm-menu-open > header .lang-codes{display:flex;align-items:center;gap:16px;position:fixed;left:7vw;bottom:calc(30px + env(safe-area-inset-bottom,0px));z-index:1005;margin:0;padding:0;border:0;background:none;box-shadow:none}
 body > header .lang-code-btn{appearance:none;border:0;background:transparent;margin:0;padding:6px 0;font:800 12px Manrope,Arial,sans-serif;letter-spacing:.06em;line-height:1;color:#7d8a87;cursor:pointer;transition:color .2s}
 body > header .lang-code-btn:hover{color:#4b5856}
 body > header .lang-code-btn.is-active{color:#111}
 body > header .lang-code-btn:focus-visible{outline:2px solid #055e81;outline-offset:3px;border-radius:3px}
}
@media(max-width:390px){html body.cm-menu-open > header .lang-codes{left:18px}}
