:root{--blue:#6793a8;--blue-dark:#3f7188;--blue-pale:#eaf1f4;--ink:#3f4143;--muted:#686b6d;--cream:#f5f0eb;--white:#fff;--radius:1.6rem;--shadow:0 18px 45px rgba(48,68,77,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;background:#fff}a{color:var(--blue-dark);text-underline-offset:.2em}a:hover{color:#27586e}.skip-link{position:absolute;left:.75rem;top:-5rem;background:#111;color:#fff;padding:.7rem 1rem;z-index:9999}.skip-link:focus{top:.75rem}.site-header{padding:.75rem 0}.navbar{background:var(--blue-pale);margin:0 .75rem;border-radius:1.5rem}.navbar-brand img{width:150px;height:auto;mix-blend-mode:multiply}.nav-link{font-weight:700;text-transform:uppercase;letter-spacing:.035em;color:var(--blue-dark)}.nav-link:focus-visible,.btn:focus-visible,a:focus-visible{outline:3px solid #ffbf47;outline-offset:3px}.hero-panel{background:var(--cream);border-radius:var(--radius);box-shadow:var(--shadow)}h1,h2,h3{line-height:1.12;font-weight:750;letter-spacing:-.025em}h1{font-size:clamp(2.4rem,7vw,5rem);max-width:12ch}.lead{font-size:clamp(1.1rem,2vw,1.35rem);max-width:60ch}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--blue-dark);font-weight:800;font-size:.78rem}.eyebrow.light{color:#fff}.hero-image{min-height:360px;background:linear-gradient(90deg,var(--cream) 0%,transparent 25%),url('../img/poster-menu-amico.png') center 35%/cover no-repeat}.btn{border-radius:999px;padding:.72rem 1.2rem;font-weight:750}.btn-primary{--bs-btn-bg:var(--blue-dark);--bs-btn-border-color:var(--blue-dark);--bs-btn-hover-bg:#285e76;--bs-btn-hover-border-color:#285e76}.blue-panel{background:var(--blue);color:#fff;border-radius:var(--radius)}.blue-panel h2{font-size:clamp(1.9rem,5vw,3.2rem)}.section-heading h2,.page-hero h1{font-size:clamp(2.1rem,6vw,4rem)}.principle-card,.post-card,.content-panel{background:var(--cream);padding:1.6rem;border-radius:var(--radius);box-shadow:var(--shadow)}.principle-card>span{display:inline-grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:var(--blue);color:#fff;font-weight:800}.principle-card h3{font-size:1.7rem;margin-top:1.2rem}.post-card h2,.post-card h3{font-size:clamp(1.4rem,3vw,2rem)}.post-card h2 a,.post-card h3 a{text-decoration:none;color:var(--ink)}.post-card h2 a:hover,.post-card h3 a:hover{text-decoration:underline}.page-hero{padding-top:5rem!important;padding-bottom:3rem!important}.article-wrap{max-width:850px}.article-wrap header{padding:2rem 0 2.5rem}.article-body{font-size:1.12rem}.article-body h2{margin-top:2.5rem}.article-note{margin-top:3rem;padding:1.25rem;border-left:5px solid var(--blue);background:var(--blue-pale)}.site-footer .footer-panel{background:var(--blue-pale);border-radius:var(--radius);padding:2rem}.site-footer img{mix-blend-mode:multiply}.site-footer a{display:inline-block;margin:.2rem 0}.admin-body{background:#f5f7f8}.admin-header{background:#fff;border-bottom:1px solid #dce3e6}.admin-logo{font-size:1.4rem;font-weight:800;text-decoration:none;color:var(--blue-dark)}.admin-logo span{font-size:.8rem;font-weight:500}.auth-card,.editor-card{max-width:1100px;background:#fff;border-radius:var(--radius);padding:clamp(1.4rem,5vw,3rem);box-shadow:var(--shadow)}.auth-card{max-width:520px}.form-control,.form-select,.input-group-text{padding:.7rem;border-radius:.75rem}.table>:not(caption)>*>*{padding:1rem}.content-panel h2:not(:first-child){margin-top:2.2rem}

/* Layout pubblico full frame con margini fluidi su ogni schermo. */
body:not(.admin-body){--page-gutter:clamp(1rem,3.2vw,4.5rem)}
body:not(.admin-body) .site-header .container,
body:not(.admin-body) #contenuto .container,
body:not(.admin-body) .site-footer .container{width:100%;max-width:none;padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
body:not(.admin-body) #contenuto .article-wrap{max-width:none}
body:not(.admin-body) #contenuto .article-wrap>.article-body,
body:not(.admin-body) #contenuto .article-wrap>.author-card,
body:not(.admin-body) #contenuto .article-wrap>.article-note{width:min(100%,1050px)}
.admin-logo{display:flex;align-items:center;gap:.5rem}.admin-logo img{width:105px;height:auto;mix-blend-mode:multiply}.admin-nav{display:flex;flex-wrap:wrap;gap:1rem}.admin-nav a{font-weight:700;text-decoration:none}.admin-preview{display:block;width:100%;height:150px;object-fit:cover;border-radius:1rem}.home-box{overflow:hidden;background:var(--cream);border-radius:var(--radius);box-shadow:var(--shadow)}.home-box img{display:block;width:100%;height:220px;object-fit:cover}.carousel-control-prev,.carousel-control-next{width:3.2rem;height:3.2rem;top:auto;bottom:1rem;border-radius:50%;background:var(--blue-dark)}.carousel-control-prev{left:auto;right:4.8rem}.carousel-control-next{right:1rem}
@media (max-width:991.98px){.navbar-collapse{padding:1rem 0}.hero-image{min-height:300px}.hero-panel h1{font-size:clamp(2.3rem,12vw,4rem)}.admin-header .container{justify-content:center!important}.admin-nav{width:100%;justify-content:center}}
.hero-image{background:var(--cream);overflow:hidden}.hero-image img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover}
@media (min-width:992px){.site-header{padding:1rem}.navbar{margin:0 auto;max-width:1320px}.navbar-brand img{width:190px}.hero-image{min-height:570px}.hero-image img{min-height:570px}.hero .hero-panel{min-height:570px}}
.visual-toolbar{display:flex;flex-wrap:wrap;gap:.35rem;padding:.6rem;background:var(--blue-pale);border:1px solid #ced4da;border-bottom:0;border-radius:.8rem .8rem 0 0}.visual-toolbar button{border:1px solid #b8c8cf;background:#fff;border-radius:.45rem;padding:.4rem .65rem;font-weight:650}.visual-toolbar button:hover{background:#f7fafb}.visual-editor{min-height:420px;padding:1rem;background:#fff;border:1px solid #ced4da;border-radius:0 0 .8rem .8rem;overflow:auto}.visual-editor:focus{outline:3px solid rgba(63,113,136,.25);border-color:var(--blue-dark)}.visual-editor img{max-width:100%;height:auto}.visual-editor iframe,.article-body iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;margin:1.5rem 0}.article-body img{max-width:100%;height:auto;border-radius:1rem}.article-body a[href$=".pdf"]{display:inline-block;padding:.7rem 1rem;background:var(--blue-pale);border-radius:.6rem;font-weight:700}
.social-image-preview{display:grid;place-items:center;aspect-ratio:1;background:#fff;border:1px dashed var(--blue);border-radius:.8rem;overflow:hidden;color:var(--muted);text-align:center;padding:1rem}.social-image-preview img{width:100%;height:100%;object-fit:cover}
.analytics-card,.analytics-chart-card{background:#fff;border-radius:1rem;padding:1.3rem;box-shadow:var(--shadow)}.analytics-card span{display:block;color:var(--muted);font-size:.85rem}.analytics-card strong{display:block;color:var(--blue-dark);font-size:clamp(1.8rem,4vw,3rem);line-height:1.1}.analytics-chart-card h2{font-size:1.5rem}.chart-wrap{width:100%;overflow:hidden;margin-top:1rem}.chart-wrap canvas{display:block;width:100%;height:440px}.analytics-legend{display:flex;flex-wrap:wrap;gap:1rem;font-size:.82rem}.analytics-legend span::before{content:'';display:inline-block;width:.7rem;height:.7rem;margin-right:.35rem;border-radius:.15rem}.analytics-legend .visits::before{background:#3f7188}.analytics-legend .unique::before{background:#77a9bc}.analytics-legend .duration::before{background:#d8a24b}
.user-avatar{border-radius:50%;object-fit:cover}.author-profile{display:flex;align-items:center;gap:2rem}.author-profile>img,.author-card img{border-radius:50%;object-fit:cover}.author-card{display:grid;grid-template-columns:88px 1fr;gap:1.25rem;align-items:center;margin-top:3rem;padding:1.35rem 1.5rem;background:var(--blue-pale);border-radius:1.2rem}.author-card-photo{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:var(--blue);color:#fff;font-family:Georgia,serif;font-size:2.3rem}.author-card-photo img{width:88px;height:88px}.author-card .eyebrow{margin-bottom:.25rem}.author-card h2{font-size:1.5rem;margin-bottom:.35rem}.author-card p:not(.eyebrow){margin-bottom:.55rem}.author-card .arrow-link{font-size:.9rem}.article-byline{font-weight:700}.article-byline a{color:var(--blue-dark)}
.noscript-notice{padding:1rem;background:#fff0bf;color:#332700;text-align:center}.cookie-settings-link{padding:0;border:0;background:none;color:var(--blue-dark);text-decoration:underline;text-underline-offset:.2em}.consent-open{overflow:hidden}.consent-layer{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:1rem;background:rgba(21,37,44,.72);backdrop-filter:blur(5px)}.consent-layer[hidden]{display:none}.consent-dialog{width:min(680px,100%);max-height:calc(100svh - 2rem);overflow:auto;padding:clamp(1.4rem,5vw,2.5rem);background:#fff;border-radius:1.4rem;box-shadow:0 28px 80px rgba(0,0,0,.3)}.consent-dialog h2{font-size:clamp(2rem,6vw,3.2rem)}.consent-options{display:grid;gap:.75rem;padding:1rem;margin:1.2rem 0;background:var(--blue-pale);border-radius:.8rem}.consent-options label{display:flex;align-items:center;gap:.65rem;font-weight:700}.consent-options input{width:1.2rem;height:1.2rem}.consent-actions{display:flex;flex-wrap:wrap;gap:.65rem}.consent-actions .btn{flex:1 1 150px}
@media(max-width:575.98px){.author-profile,.author-card{grid-template-columns:1fr;display:grid;text-align:center}.author-profile>img,.author-card img{margin-inline:auto}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media (prefers-contrast:more){:root{--blue-dark:#174f69;--ink:#171717}.post-card,.principle-card{border:2px solid currentColor}}

/* Direzione editoriale: struttura ampia, hero immersiva e schede modulari. */
body{overflow-x:clip}.site-header{position:relative;z-index:20;padding:0;background:#fff;border-bottom:1px solid rgba(63,113,136,.16)}
.site-header .navbar{max-width:none;margin:0;border-radius:0;background:#fff;padding:.7rem 0}
.site-header .navbar-brand img{width:172px}
.site-header .nav-link{font-size:.82rem;color:var(--ink);padding:.75rem .65rem!important}
.site-header .nav-link:hover{color:var(--blue-dark)}
.site-header .nav-cta{background:var(--blue-dark);color:#fff!important;border-radius:999px;padding:.72rem 1.15rem!important}
.home-hero{background:var(--blue-dark)}
.hero-stage{position:relative;display:flex;align-items:center;height:calc(100svh - 105px);min-height:560px;overflow:hidden}
.hero-media,.hero-shade{position:absolute;inset:0;width:100%;height:100%}
.hero-media{object-fit:cover;filter:saturate(.75)}
.hero-shade{z-index:1;background:linear-gradient(90deg,rgba(26,64,81,.88) 0%,rgba(63,113,136,.62) 48%,rgba(35,52,59,.18) 100%)}
.hero-content{position:relative;z-index:2;color:#fff;padding-top:5rem;padding-bottom:5rem}
.hero-content h1{max-width:13ch;font-size:clamp(3rem,8vw,7.2rem);text-transform:uppercase;letter-spacing:-.055em;font-weight:850}
.hero-content .lead{font-size:clamp(1.15rem,2.2vw,1.55rem);max-width:34rem}
.hero-pill{display:inline-block;border:1px solid rgba(255,255,255,.55);border-radius:999px;padding:.45rem .9rem;font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.home-hero .carousel-control-prev,.home-hero .carousel-control-next{bottom:2rem;background:rgba(63,113,136,.9)}
.section-space{padding:clamp(4.5rem,9vw,8.5rem) 0}
.intro-section{background:#fff}
.display-title{max-width:13ch;font-size:clamp(2.6rem,6vw,5.4rem);text-transform:uppercase;letter-spacing:-.05em;font-weight:850}
.intro-copy{font-size:clamp(1.2rem,2.4vw,1.65rem);line-height:1.5}
.arrow-link{font-weight:800;text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:.2rem}
.feature-section{background:var(--blue-pale)}
.section-heading.centered{text-align:center;max-width:800px;margin-inline:auto}
.section-heading h2,.stories-section h2,.home-box-section h2{font-size:clamp(2.2rem,5vw,4.5rem);text-transform:uppercase;letter-spacing:-.045em}
.feature-card{position:relative;overflow:hidden;padding:2rem;background:#fff;border:1px solid rgba(63,113,136,.14);border-radius:1rem;box-shadow:0 14px 35px rgba(49,84,99,.08)}
.feature-card>span{display:block;color:var(--blue);font-size:3rem;font-weight:850;line-height:1}
.feature-card h3{margin-top:2.5rem;font-size:1.55rem;text-transform:uppercase}
.home-box-section{background:#fff}
.home-box,.story-card{display:flex;flex-direction:column;border-radius:1rem;box-shadow:0 18px 42px rgba(49,84,99,.1);transition:transform .25s ease,box-shadow .25s ease}
.home-box:hover,.story-card:hover{transform:translateY(-5px);box-shadow:0 24px 54px rgba(49,84,99,.16)}
.manifesto-band{background:var(--blue-dark);color:#fff}
.manifesto-band h2{max-width:1050px;margin-inline:auto;font-size:clamp(2.5rem,6vw,5.6rem);text-transform:uppercase;letter-spacing:-.05em}
.stories-section{background:var(--cream)}
.story-card{overflow:hidden;background:#fff}
.home-box img,.story-image,.post-preview{display:block;width:100%;aspect-ratio:16/10;height:auto;object-fit:cover}.home-box>div,.story-card>div:last-child{flex:1}.story-number{display:grid;place-items:center;aspect-ratio:16/10;min-height:180px;background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:rgba(255,255,255,.82);font-size:4.5rem;font-weight:300;font-family:Georgia,serif}
.story-card h3{font-size:1.65rem}.story-card h3 a{text-decoration:none;color:var(--ink)}
.post-card-media{overflow:hidden;padding:0}.post-card-content{padding:1.6rem}.post-preview{aspect-ratio:16/9}
.page-hero{padding-top:clamp(2rem,4vw,3.5rem)!important;padding-bottom:1.25rem!important}.page-hero h1{max-width:none;font-size:clamp(2.5rem,5vw,4.5rem)}.page-hero .lead{margin-bottom:0}.search-panel{padding:1rem 1.25rem}
.search-panel{padding:1.4rem;background:var(--blue-pale);border-radius:1rem}.taxonomy-line{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}.taxonomy-line a{padding:.35rem .7rem;border-radius:999px;background:var(--blue-pale);font-size:.85rem;font-weight:700;text-decoration:none}.social-editor{padding:1.4rem;background:var(--blue-pale);border-radius:1rem}.social-kit{margin-top:4rem;padding:clamp(1.4rem,5vw,2.5rem);background:var(--cream);border-radius:1.4rem}.social-kit>img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:1rem;margin:1.5rem 0}.social-copy{padding:1rem;background:#fff;border-radius:.8rem;border:1px solid rgba(63,113,136,.16)}
.seo-editor{padding:1.4rem;background:#fff;border:2px solid var(--blue-pale);border-radius:1rem}.seo-score{display:grid;place-items:center;width:4rem;height:4rem;border-radius:50%;font-weight:850;background:#e5e7e9}.seo-score.good{background:#ccebd5;color:#175c2c}.seo-score.warn{background:#fff0bf;color:#765600}.seo-score.bad{background:#f4cccc;color:#872121}.seo-preview{padding:1rem;background:#f8f9fa;border-radius:.75rem;border:1px solid #dfe3e6}.seo-preview>span{display:block;color:#46604d;font-size:.8rem}.seo-preview strong{display:block;color:#174ea6;font-size:1.15rem;font-weight:500}.seo-preview p{margin:0;color:#4d5156;font-size:.9rem}.seo-analysis{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.45rem}.seo-analysis li{position:relative;padding-left:1.5rem}.seo-analysis li::before{content:'';position:absolute;left:0;top:.55em;width:.7rem;height:.7rem;border-radius:50%;background:#adb5bd}.seo-analysis li.good::before{background:#2e9d50}.seo-analysis li.warn::before{background:#e4ac19}.seo-analysis li.bad::before{background:#d84a4a}
.site-footer{margin-top:clamp(2.5rem,5vw,5rem)!important;background:#dce9ee;padding-top:3rem}.site-footer .footer-panel{background:transparent}
.category-nav{flex-basis:100%;justify-content:center;gap:.15rem;border-top:1px solid rgba(63,113,136,.16);margin-top:.35rem;padding-top:.35rem}.category-nav .nav-link{font-size:.76rem;white-space:nowrap}.subcategory-links{display:flex;flex-wrap:wrap;gap:.65rem}.subcategory-links a{padding:.55rem .95rem;border:1px solid var(--blue);border-radius:999px;text-decoration:none;font-weight:700}.subcategory-links a.active,.subcategory-links a:hover{background:var(--blue-dark);color:#fff}.category-parent-option{margin-top:.75rem;font-weight:800}
@media (min-width:992px){.site-header{position:sticky;top:0}.site-header .navbar{padding:.35rem 0}.site-header .navbar>.container,.site-header .navbar-collapse{flex-wrap:wrap}.site-header .navbar-brand img{width:170px}.category-nav{width:100%}.page-hero h1{font-size:clamp(2.8rem,4.15vw,4rem);white-space:nowrap}.hero-content{padding-left:clamp(1rem,4vw,4rem)}.site-header .navbar-nav{gap:.2rem!important}}
@media (max-width:991.98px){.site-header .navbar{margin:0}.category-nav{border-top:1px solid rgba(63,113,136,.16);margin-top:.75rem;padding-top:.75rem}.category-nav .nav-link{font-size:.88rem}.section-space .row{margin-left:0;margin-right:0}.hero-stage{height:calc(100svh - 112px);min-height:560px;align-items:flex-end}.hero-shade{background:linear-gradient(0deg,rgba(35,62,73,.9),rgba(63,113,136,.35))}.hero-content h1{font-size:clamp(2.8rem,14vw,5.4rem)}.display-title{font-size:clamp(2.5rem,12vw,4.5rem)}.feature-card h3{margin-top:1.5rem}}
