/* COR Design System — 27 novembre 2026
   Adattatore dei sei master sulle pagine online originali.
   I motori interattivi originali sono preservati; guide-layout.css definisce il master delle guide. */
:root {
 --ds-brand-950:#04383d;--ds-brand-900:#06454b;--ds-brand-800:#075b62;--ds-brand-700:#087179;
 --ds-ink:#172b2c;--ds-text:#385052;--ds-muted:#5d7072;--ds-line:#d9e2df;
 --ds-paper:#faf8f3;--ds-white:#fff;--ds-soft:#f0f4f1;--ds-warm:#f3e7dd;--ds-accent:#a9583d;
 --ds-space-1:4px;--ds-space-2:8px;--ds-space-3:12px;--ds-space-4:16px;--ds-space-6:24px;
 --ds-space-8:32px;--ds-space-12:48px;--ds-space-16:64px;--ds-space-24:96px;
 --ds-radius-card:18px;--ds-radius-control:10px;--ds-container:1240px;--ds-reading:68ch;--ds-sidebar:280px;
 --ds-font:"Segoe UI Variable",Aptos,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --ds-display:"Segoe UI Variable Display","Aptos Display","Segoe UI",sans-serif;
 --ds-h1:clamp(36px,4.375vw,64px);--ds-h2:clamp(28px,2.5vw,36px);--ds-h3:24px;
 --ds-sticky-offset:112px;
}
body[data-cor-ds] {font-family:var(--ds-font);--cor-muted:var(--ds-muted)}
body[data-cor-ds] main h1 {font-family:var(--ds-display)!important;font-size:var(--ds-h1)!important;line-height:1.08!important;letter-spacing:-.035em!important;text-align:start!important;text-wrap:balance}
body[data-cor-ds][data-cor-master="M1"]:is(.home) main h1{font-size:clamp(40px,5.6vw,80px)!important;line-height:1.04!important}
body[data-cor-ds][data-cor-guide] main h1{font-size:clamp(36px,4.2vw,56px)!important}
body[data-cor-ds] main :is(h2,h3){font-family:var(--ds-display)}
body[data-cor-ds] main :is(.article-section>h2,.section-head h2,.cor-journey>h2,.cor-cv-update>h2,.cor-cv-publications>h2){font-size:var(--ds-h2)!important;line-height:1.2!important;letter-spacing:-.025em}
body[data-cor-ds] main :is(.article-section>h3,.cor-journey-item h3,.cor-priority-services h3){font-size:var(--ds-h3)!important;line-height:1.25!important}
body[data-cor-ds] #main :is(.article-section>p,.article-section>ul,.article-section>ol,.cor-priority-services p){max-width:var(--ds-reading)!important;font-size:18px!important;line-height:1.65!important}
body[data-cor-ds] #main :is(.article-section>p,.cor-priority-services p){color:var(--ds-text)}
body[data-cor-ds] #main :is(.lead,.v3-detail .lead){font-size:20px!important;line-height:1.55!important;max-width:var(--ds-reading)}
body[data-cor-ds] :is(.breadcrumbs,.cor-ds-breadcrumb){font-size:14px!important;line-height:1.5!important;color:var(--ds-muted)!important}
body[data-cor-ds] :is(.breadcrumbs,.cor-ds-breadcrumb) a{color:var(--ds-brand-800)!important;text-underline-offset:3px}
body[data-cor-ds] :is(.breadcrumbs,.cor-ds-breadcrumb) a:hover{text-decoration:underline}
body[data-cor-ds] main [id]{scroll-margin-top:var(--ds-sticky-offset)}
body[data-cor-ds] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ds-brand-700)!important;outline-offset:4px!important}
body[data-cor-ds] .button {min-height:48px;border-radius:var(--ds-radius-control)!important}
body[data-cor-ds] :is(.cor-journey-grid,.cor-directory-grid,.cor-guide-blocks){gap:var(--ds-space-8)}
body[data-cor-ds] :is(.cor-card,.cor-guide-link,.cor-guide-blocks>.article-section){border-radius:var(--ds-radius-card)!important}
body[data-cor-ds] .cor-section-nav details{border-radius:var(--ds-radius-card)}
body[data-cor-ds] .cor-section-nav summary{min-height:48px}
body[data-cor-ds] .v3-detail {padding-top:32px!important;padding-bottom:32px!important}
body[data-cor-ds][data-cor-guide] .guide-answer{font-size:20px!important;line-height:1.55!important;max-width:var(--ds-reading)}
body[data-cor-ds][data-cor-guide] main#contenuto :is(.care>p,.care li,.questions details p){font-size:18px!important;line-height:1.65!important;max-width:var(--ds-reading)}
body[data-cor-ds][data-cor-guide] main#contenuto :is(.care>h2,.questions>h2){font-size:var(--ds-h2)!important;line-height:1.2!important}
body[data-cor-ds][data-cor-guide] main#contenuto #illustrazione>p.cor-avviso-didattico{font-size:14px!important;line-height:1.5!important;color:var(--ds-text)!important;text-align:left!important;padding:12px 16px!important}
body[data-cor-ds][data-cor-guide] main figcaption{font-size:16px!important;line-height:1.5!important;text-align:left!important}
body[data-cor-ds][data-cor-guide] :is(.cor-disclaimer-footer,.care-note,.guide-review,.guide-sources){font-size:14px!important;line-height:1.5!important}
.cor-ds-breadcrumb {display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0}
.cor-ds-breadcrumb a{min-height:32px;display:inline-flex;align-items:center}
.cor-ds-breadcrumb span{display:inline-flex;align-items:center}
.cor-ds-guide-path{padding:24px;margin:32px 0;border:1px solid var(--ds-line);border-radius:var(--ds-radius-card);background:var(--ds-soft);color:var(--ds-text);font-size:16px;line-height:1.5}
.cor-ds-guide-path p{margin:0 0 8px}
.cor-ds-guide-path a{display:inline-flex;align-items:center;min-height:44px;color:var(--ds-brand-800);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.cor-ds-library-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.65fr) auto;gap:16px;align-items:end;padding:24px;margin:24px 0 16px;background:var(--ds-white);border:1px solid var(--ds-line);border-radius:var(--ds-radius-card)}
.cor-ds-library-search label{display:block;font-size:16px;line-height:1.5;font-weight:650;color:var(--ds-ink)}
.cor-ds-library-search :is(input,select){display:block;width:100%;min-height:48px;margin-top:8px;padding:10px 12px;border:1px solid var(--ds-muted);border-radius:var(--ds-radius-control);background:#fff;color:var(--ds-ink);font:400 16px/1.5 var(--ds-font);box-sizing:border-box}
.cor-ds-library-search button{min-height:48px;padding:10px 16px;border:1px solid var(--ds-brand-800);border-radius:var(--ds-radius-control);background:var(--ds-white);color:var(--ds-brand-800);font:600 16px/1.5 var(--ds-font);cursor:pointer}
.cor-ds-library-status{font-size:16px;line-height:1.5;color:var(--ds-muted);margin:0 0 24px}
body[data-cor-ds] #argomenti-illustrati [hidden]{display:none!important}
.cor-ds-profile-toc{margin-block:0 32px}
.cor-ds-profile-toc nav{padding:24px;background:var(--ds-soft);border:1px solid var(--ds-line);border-radius:var(--ds-radius-card)}
.cor-ds-profile-toc strong{display:block;margin-bottom:12px;font-size:18px;line-height:1.5}
.cor-ds-profile-toc ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px 24px}
.cor-ds-profile-toc li{padding:0;margin:0}
.cor-ds-profile-toc a{display:inline-flex;min-height:44px;align-items:center;color:var(--ds-brand-800);font-size:16px;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
@media(min-width:1001px){
 body[data-cor-ds] .v3-detail{gap:56px!important}
 body[data-cor-ds] .wrap:not(.v3-hero):not(.cor-ds-preserve-width){max-width:var(--ds-container)}
 body[data-cor-ds] .cor-page-tools{width:44px!important;right:6px!important}
 body[data-cor-ds] .cor-page-tools__back{display:none!important}
 body[data-cor-ds] .cor-page-tools__top{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;justify-content:center!important}
 body[data-cor-ds] .cor-page-tools__top span{display:none!important}
 body[data-cor-ds] .cor-page-tools__top svg{display:block!important;width:20px!important;height:20px!important;stroke:currentColor!important;stroke-width:2!important}
}
@media(max-width:760px){
 :root{--ds-h1:clamp(36px,8.8vw,40px);--ds-h2:28px;--ds-sticky-offset:96px}
 body[data-cor-ds] main h1{overflow-wrap:break-word}
 body[data-cor-ds][data-cor-guide] main h1{font-size:var(--ds-h1)!important}
 body[data-cor-ds] #main :is(.lead,.v3-detail .lead){font-size:18px!important;line-height:1.6!important}
 body[data-cor-ds] .v3-detail{padding-top:24px!important;padding-bottom:24px!important}
 .cor-ds-library-search{grid-template-columns:1fr;padding:20px;gap:16px}
 .cor-ds-profile-toc ul{display:block}
 .cor-ds-profile-toc nav,.cor-ds-guide-path{padding:20px}
 .cor-ds-breadcrumb{margin-bottom:16px}
}
@media(prefers-reduced-motion:reduce){body[data-cor-ds] *{scroll-behavior:auto!important}}
@media print{.cor-ds-library-search,.cor-ds-library-status,.cor-ds-profile-toc,.cor-page-tools{display:none!important}}

@media(min-width:1001px){body[data-cor-ds]:is([data-cor-master="M2"],[data-cor-master="M6"]) .v3-detail{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important;align-items:center}}

.cor-ds-entry-cta{margin:16px 0 24px}
