/* ORTHYNE layout fluido per schermi grandi (02/12/2026, richiesta di Fulvio: usare tutto lo schermo su PC e tablet, qualsiasi sezione).
   Solo da 1100 px in su: i contenitori centrali crescono con lo schermo (fino a 2240 px) invece di fermarsi a 1100-1280 px.
   Telefono e tablet stretto invariati. Caricato per ultimo in ogni pagina. */
:root{--wd:min(2240px,calc(100vw - 7rem))}
@media (min-width:1100px){
html{--wd:min(2240px,calc(100vw - 6rem))}
html body .wrap,html body main.acc,html body .top,html body .top .wrap,html body.pd .wrap,html body .mkv,html body .mkvid,
html body main.wrap,html body .cm-promise,html body.pd.c70 .cm-quick-inner,html body.pd.c70 .cm-promise,html body.cm-page .cm-shell,html body.cm-page main.cm-shell,
html body.market-v3 .cm-quick,html body.market-v3 .cm-promise,html body.pd.c70 .c70-top .c70-bar,html body .top.mks-top .mks-bar,html body.pd.c70 .mkh-strip,
html body main.acc:has(#cx-in:not([hidden])),html body .cxw30-in,html body .sm66-in,.at71-in,.mk-top,.mk main,.mk-foot,.cm-audio .cm-audio-inner,.cm-musica .cm-audio .cm-audio-inner,
.c138-cred,#mi-app,.ra,.mw-in,.top-inner,main,.o2-sez,.piani.u2,.u2-testo,.u2-note,.top.mks-top .mks-bar,.gx-wrap{max-width:var(--wd)!important}
html body main.acc:not(:has(#cx-in)){max-width:var(--wd)!important}
.wrap{width:min(var(--wd),100% - 32px)!important}
html body.cine:not(#c1):not(#c2):not(#c3) .top .wrap,
html body.cine:not(#c1):not(#c2):not(#c3) .h3o,html body.cine:not(#c1):not(#c2):not(#c3) .h3o-faq,
html body:not(#c1):not(#c2):not(#c3) .cine-menu .cm-testa,html body:not(#c1):not(#c2):not(#c3) .cine-menu ul,html body:not(#c1):not(#c2):not(#c3) .cine-menu .cm-piede{max-width:var(--wd)!important}
html body:not(#c1):not(#c2):not(#c3) .cine-griglia{width:min(var(--wd),100% - 40px)!important}
html body:not(#c1):not(#c2):not(#c3) .cine-sez .cine-cont{width:min(var(--wd),100% - 48px)!important}
html.sc-on body:not(#c1):not(#c2):not(#c3) .cine-sez.sc-frame .cine-cont{width:min(var(--wd),100% - 48px)!important}
}
@media (min-width:1100px){
.o3-sez,html body.cine:not(#c1):not(#c2):not(#c3) .h3-fine,html body:not(#c1):not(#c2):not(#c3) .h3-fine,html body:not(#c1):not(#c2):not(#c3) .wrap,html body.cine:not(#c1):not(#c2):not(#c3) .wrap,html body:not(#c1):not(#c2):not(#c3) .cine-apre .cine-apre-testo{max-width:var(--wd)!important}
html body:not(#c1):not(#c2):not(#c3) .cine-apre .cine-apre-testo{max-width:1100px!important}
}
@media (min-width:1100px){
html body.pd.c70 .mkv-fs{min-height:clamp(340px,26vw,540px)!important;max-height:560px}
html body.pd.c70 .mkv-fs a{max-width:min(620px,45%)}
}
/* testi lunghi: la pagina usa tutto lo schermo ma le righe di testo restano leggibili */
@media (min-width:1100px){
main>p,main>ul,main>ol,main>blockquote,article>p,article>ul,article>ol,.u2-testo>p,.u2-testo>ul,.u2-testo>ol,.u2-testo>h2,.u2-testo>h3,section.legale p,section.legale li{max-width:112ch}
}
/* pagine di testo (privacy, termini, guide): colonna centrata e leggibile, non un filo a sinistra con il resto vuoto */
@media (min-width:1100px){
html body:not(#c1):not(#c2):not(#c3) .wrap:has(>h1+p:not([class])){max-width:min(1080px,var(--wd))!important;margin-inline:auto!important}
html body .wrap:has(>h1+p:not([class])) p,html body .wrap:has(>h1+p:not([class])) li{max-width:none!important}
}

/* ---- Movimento (02/12/2026, Fulvio: tutto fermo e statico non va bene) ----
   Passaggio tra pagine con dissolvenza e scorrimento morbido (Chrome/Edge/Android: View Transitions tra documenti dello stesso sito),
   entrata della pagina e dei blocchi mentre si scorre. Tutto spento con «riduci movimento». */
@view-transition{navigation:auto}
@keyframes ofPgIn{from{opacity:0;transform:translateY(18px) scale(.995)}to{opacity:1;transform:none}}
@keyframes ofPgOut{from{opacity:1}to{opacity:0;transform:translateY(-8px)}}
@keyframes ofRiv{from{opacity:0;transform:translateY(34px) scale(.985)}to{opacity:1;transform:none}}
::view-transition-old(root){animation:ofPgOut .2s ease both}
::view-transition-new(root){animation:ofPgIn .42s cubic-bezier(.2,.7,.2,1) both}
@media (prefers-reduced-motion:no-preference){
body>main,body>.wrap,body>div.wrap,main.wrap,main.acc{animation:ofPgIn .55s cubic-bezier(.2,.7,.2,1) backwards}
@supports (animation-timeline:view()){
main>section,main .piani,.wrap>section,.mkv>section,.mkv .mkv-fa,.o2-sez>*,.u2-testo,.mk8-ese,.c70-sez,.cm-promise,.mk-top~section,.piani.u2>*{animation:ofRiv linear backwards;animation-timeline:view();animation-range:entry 0% entry 38%}
}
}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}

/* 02/12: le animazioni non lasciano mai un transform sull'elemento a fine corsa (un transform, anche identita, rende l'elemento il riferimento dei figli position:fixed e li sposta) */
