/*
 * Blog Boosta Energia (spec 011 §13): stessa identità del comparatore (energia/layout.blade.php)
 * senza Tailwind né Alpine. CSS scritto a mano, nessuna build, mobile prima di tutto.
 * Colori AA: #5B6780 su #F4F6F9 ≈ 5,1:1; #2E5BFF su bianco ≈ 5,2:1; #C9D2E3 su #0A2351 ≈ 10:1.
 */
:root {
    --blu-notte: #0A2351;
    --blu: #2E5BFF;
    --blu-scuro: #1a4bef;
    --blu-chiaro: #F0F4FF;
    --blu-bordo: #C7D6FE;
    --grigio-chiaro: #F4F6F9;
    --grigio-blu: #5B6780;
    --bordo: #E1E6F0;
    --testo: #33405A;
    --giallo: #FFC93C;
    --giallo-scuro: #E0A800;
    --giallo-chiaro: #FFF8E1;
    --verde: #0B703D;
    --footer-testo: #C9D2E3;
    --footer-tenue: #A9B4C9;
    --ombra: 0 18px 48px -24px rgba(10, 35, 81, .45);
    --raggio: 16px;
    --raggio-btn: 14px;
    --font: Montserrat, "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Arial con le metriche di Montserrat: meno spostamenti quando arriva il font (CLS). */
@font-face {
    font-family: "Montserrat Fallback";
    src: local("Arial");
    ascent-override: 85.8%;
    descent-override: 22.2%;
    line-gap-override: 0%;
    size-adjust: 112.8%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--testo);
    background: var(--grigio-chiaro);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blu); text-underline-offset: 2px; transition: color .15s, background-color .15s, border-color .15s; }
a:hover { color: var(--blu-scuro); }
h1, h2, h3 { color: var(--blu-notte); line-height: 1.25; margin: 0; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
time { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blu-notte); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--giallo); }
[tabindex="-1"]:focus { outline: none; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: calc(760px + 32px); }
.icon { width: 1rem; height: 1rem; flex: none; }

/* Link per saltare al contenuto: visibile solo con la tastiera. */
.skip {
    position: absolute; left: 16px; top: -100px; z-index: 50;
    padding: .625rem 1rem; border-radius: 10px;
    background: var(--blu-notte); color: #fff; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; color: #fff; outline-color: var(--giallo); }

.admin-notice {
    background: var(--giallo); color: var(--blu-notte);
    font-size: .875rem; font-weight: 600; text-align: center; padding: .5rem 16px;
}
.preview-bar {
    background: var(--blu-notte); color: #fff;
    font-size: .875rem; font-weight: 700; text-align: center; padding: .625rem 16px;
    border-bottom: 3px solid var(--giallo);
}

/* ---------- Header (come il comparatore) ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--bordo); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 3.5rem; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--blu-notte); }
.brand img { height: 1.75rem; width: auto; }
.brand-tag {
    display: flex; align-items: center; gap: 4px; padding-left: 10px;
    border-left: 1px solid var(--bordo); font-size: .875rem; font-weight: 700; color: var(--blu-notte);
}
.brand-tag svg { width: 1rem; height: 1rem; color: var(--giallo-scuro); }
.btn-header {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    min-height: 2.5rem; padding: 0 .875rem; border-radius: 12px;
    background: var(--blu); color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-header:hover { background: var(--blu-scuro); color: #fff; }
.only-wide { display: none; }

.section-nav { border-top: 1px solid var(--bordo); }
.section-nav ul {
    display: flex; gap: 4px; list-style: none; overflow-x: auto; white-space: nowrap;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .75rem;
    font-size: .9375rem; font-weight: 700; color: var(--blu-notte); text-decoration: none;
    border-bottom: 3px solid transparent;
}
.section-nav li:first-child a { padding-left: 0; }
.section-nav a:hover { color: var(--blu); }
.section-nav a.is-active { border-bottom-color: var(--giallo); }

/* ---------- Breadcrumb ---------- */
.crumbs { padding-top: .75rem; }
.crumbs ol { display: flex; align-items: center; list-style: none; white-space: nowrap; overflow: hidden; font-size: .8125rem; color: var(--grigio-blu); }
.crumbs li { flex: none; display: flex; align-items: center; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs li:last-child span { overflow: hidden; text-overflow: ellipsis; }
.crumbs li + li::before { content: "›"; padding: 0 .5rem; color: var(--grigio-blu); }
.crumbs a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--grigio-blu); font-weight: 600; text-decoration: underline; text-decoration-color: var(--bordo); }
.crumbs a:hover { color: var(--blu); text-decoration-color: currentColor; }
.crumbs [aria-current] { font-weight: 600; color: var(--testo); }

/* ---------- Banner del comparatore (altezza riservata, mai fisso) ---------- */
.promo {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "text text" "btn note";
    align-items: center; gap: 10px 12px; min-height: 96px; margin-top: .75rem; padding: 12px 16px;
    background: var(--blu-notte); color: #fff; border-radius: var(--raggio);
}
.promo-text { grid-area: text; font-size: .875rem; font-weight: 600; line-height: 1.45; }
.promo-chip {
    display: inline-block; margin-right: .375rem; padding: .125rem .5rem; border-radius: 999px;
    background: var(--giallo); color: var(--blu-notte); font-size: .6875rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; line-height: 1.5;
}
.promo-note { grid-area: note; font-size: .75rem; line-height: 1.4; color: var(--footer-testo); }
.btn-yellow {
    display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
    min-height: 2.75rem; padding: 0 1.125rem; border-radius: var(--raggio-btn);
    background: var(--giallo); color: var(--blu-notte); font-size: .9375rem; font-weight: 800;
    text-decoration: none; white-space: nowrap;
}
.btn-yellow:hover { background: #ffd666; color: var(--blu-notte); }
.promo .btn-yellow { grid-area: btn; }

/* ---------- Pulsanti ---------- */
.btn-blue {
    display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
    min-height: 2.75rem; padding: 0 1.125rem; border-radius: var(--raggio-btn);
    background: var(--blu); color: #fff; font-weight: 700; text-decoration: none;
}
.btn-blue:hover { background: var(--blu-scuro); color: #fff; }
.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
    min-height: 2.75rem; padding: 0 1rem; border-radius: var(--raggio-btn);
    border: 2px solid var(--blu); color: var(--blu); background: #fff; font-weight: 700; font-size: .9375rem; text-decoration: none;
}
.btn-outline:hover { background: var(--blu-chiaro); color: var(--blu-scuro); }

/* ---------- Pagine di sezione, elenchi, redazione ---------- */
.page { padding-bottom: 3rem; }
.page-head { padding: 1.75rem 0 1.25rem; max-width: 46rem; }
.page-head h1, .article-head h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.page-intro { margin-top: .75rem; font-size: 1.0625rem; color: var(--grigio-blu); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.block-head h2 { font-size: 1.375rem; font-weight: 800; }
.more-link { font-size: .9375rem; font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; }
.empty {
    margin-top: 1rem; padding: 2rem 1.25rem; text-align: center; color: var(--grigio-blu);
    background: #fff; border: 1px dashed var(--bordo); border-radius: var(--raggio); font-weight: 600;
}

/* ---------- Card ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; }
.card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: #fff; border-radius: var(--raggio); overflow: hidden;
    border: 1px solid var(--bordo); transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--blu-bordo); box-shadow: var(--ombra); }
.card-media { aspect-ratio: 16 / 9; background: var(--blu-chiaro); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--blu-notte), var(--blu)); }
.card-placeholder svg { width: 2.5rem; height: 2.5rem; color: var(--giallo); }
.card-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1rem 1.125rem 1.125rem; }
.card-kicker { font-size: .8125rem; color: var(--grigio-blu); font-weight: 600; }
.card-kicker strong { color: var(--blu); font-weight: 700; }
.card-title { font-size: 1.125rem; font-weight: 800; line-height: 1.3; -webkit-hyphens: auto; hyphens: auto; }
.card-title a { color: var(--blu-notte); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--raggio); }
.card-title a:hover { color: var(--blu); }
.card-title a:focus-visible { outline: none; }
.card-title a:focus-visible::after { outline: 3px solid var(--blu-notte); outline-offset: -3px; }
.card-summary {
    font-size: .9375rem; line-height: 1.55; color: var(--testo);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { margin-top: auto; padding-top: .25rem; font-size: .8125rem; color: var(--grigio-blu); }

/* ---------- Paginazione ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.pager-page { font-size: .875rem; color: var(--grigio-blu); font-weight: 600; }
.pager .btn-outline svg { width: 1rem; height: 1rem; }

/* ---------- Articolo ---------- */
.sheet { margin: 1rem -16px 0; padding: 1.5rem 16px 2rem; background: #fff; }
.article-head { display: flex; flex-direction: column; gap: .75rem; }
.kicker { font-size: .8125rem; font-weight: 700; color: var(--grigio-blu); letter-spacing: .02em; text-transform: uppercase; }
.kicker strong { color: var(--blu); font-weight: 800; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--grigio-blu); font-weight: 500; }
.byline { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .875rem; color: var(--grigio-blu); }
.byline > span { white-space: nowrap; }
.byline a { font-weight: 700; }

.disclosure {
    display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.25rem; padding: .875rem 1rem;
    border-radius: 12px; font-size: .875rem; line-height: 1.55;
}
.disclosure svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .0625rem; }
.disclosure-ai { background: var(--blu-chiaro); border: 1px solid var(--blu-bordo); }
.disclosure-ai svg { color: var(--blu); }
.disclosure-ad { background: var(--giallo-chiaro); border: 1px solid #F3D88A; }
.disclosure-ad svg { color: var(--blu-notte); }
.disclosure a { font-weight: 600; }
.tag-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .875rem; }
.tag-links span { color: var(--grigio-blu); }
.tag-links a { padding: .25rem .75rem; border: 1px solid var(--blu-bordo); border-radius: 999px; background: var(--blu-chiaro); text-decoration: none; }
.tag-links a:hover { text-decoration: underline; }
.tag-index { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.tag-index a { display: block; padding: 1rem 1.25rem; border: 1px solid var(--blu-bordo); border-radius: 12px; text-decoration: none; background: #fff; }
.tag-index a:hover { border-color: var(--blu); }
.tag-index strong { display: block; font-size: 1.0625rem; }
.tag-index small { display: block; margin-top: .25rem; color: var(--grigio-blu); line-height: 1.5; }
.disclosure-note { margin-top: 1.25rem; font-size: .75rem; line-height: 1.5; color: var(--grigio-blu); }
.disclosure-note a { color: inherit; text-decoration: underline; }

.figure { margin-top: 1.5rem; }
.figure img { width: 100%; border-radius: 12px; background: var(--blu-chiaro); }
.figure figcaption { margin-top: .5rem; font-size: .8125rem; color: var(--grigio-blu); line-height: 1.45; }

.keypoints { margin-top: 1.5rem; padding: 1rem 1.125rem; background: var(--grigio-chiaro); border-left: 4px solid var(--giallo); border-radius: 0 12px 12px 0; }
.keypoints h2 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.keypoints ul { list-style: none; display: grid; gap: .5rem; }
.keypoints li { position: relative; padding-left: 1.25rem; font-weight: 600; color: var(--blu-notte); line-height: 1.5; }
.keypoints li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--blu); }

.prose { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.125rem; }
.prose h2 { font-size: 1.375rem; font-weight: 800; margin-top: 2rem; scroll-margin-top: 1rem; }
.prose ul { list-style: none; display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.375rem; }
.prose ul li::before { content: ""; position: absolute; left: .25rem; top: .68em; width: .4375rem; height: .4375rem; border-radius: 50%; background: var(--blu); }
.prose strong { color: var(--blu-notte); font-weight: 700; }
.prose a { font-weight: 600; text-decoration: underline; }
.prose .figure { margin-top: 1.75rem; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--bordo); border-radius: 12px; }
.table-wrap:focus-visible { outline-offset: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; min-width: 28rem; }
.prose caption { caption-side: top; text-align: left; padding: .75rem 1rem .25rem; font-size: .8125rem; font-weight: 600; color: var(--grigio-blu); }
.prose th, .prose td { padding: .625rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--bordo); }
.prose thead th { background: var(--blu-chiaro); color: var(--blu-notte); font-weight: 700; border-top: 0; }

.cta-inline {
    display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
    padding: 1.125rem; background: var(--blu-chiaro); border: 1px solid var(--blu-bordo); border-radius: var(--raggio);
}
.cta-inline p { font-size: 1rem; line-height: 1.55; color: var(--blu-notte); font-weight: 600; }
.cta-inline .btn-blue { text-decoration: none; }

.cta-final {
    margin-top: 2.5rem; padding: 1.5rem 1.25rem; border-radius: var(--raggio);
    background: var(--blu-notte); color: var(--footer-testo);
}
.cta-final h2 { color: #fff; font-size: 1.375rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.cta-final h2 svg { width: 1.25rem; height: 1.25rem; color: var(--giallo); }
.cta-final p { margin-top: .5rem; line-height: 1.6; }
.cta-final .btn-yellow { margin-top: 1rem; }

.sources, .corrections { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bordo); }
.sources h2, .corrections h2 { font-size: 1.125rem; font-weight: 800; }
.sources ol, .sources ul, .corrections ul { list-style: none; display: grid; gap: .625rem; margin-top: .75rem; font-size: .9375rem; line-height: 1.5; }
.sources li { padding-left: 1rem; border-left: 3px solid var(--bordo); }
.sources-sub { margin-top: 1.25rem; font-size: .9375rem; font-weight: 700; color: var(--blu-notte); }
.source-date { color: var(--grigio-blu); font-size: .875rem; }
.source-publisher { font-weight: 700; color: var(--blu-notte); }
.corrections li time { font-weight: 700; color: var(--blu-notte); }

.preferred { margin-top: 1.5rem; }
.preferred a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .9375rem; font-weight: 700; }
.preferred svg { width: 1.125rem; height: 1.125rem; color: var(--giallo-scuro); }

.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.375rem; font-weight: 800; margin-bottom: 1rem; }

/* ---------- Riquadro prodotto (etichetta prima di tutto) ---------- */
.product { background: #fff; border: 1px solid var(--bordo); border-radius: var(--raggio); overflow: hidden; font-size: .9375rem; line-height: 1.55; }
.product-label {
    padding: .5rem 1rem; background: var(--giallo-chiaro); border-bottom: 1px solid #F3D88A;
    color: var(--blu-notte); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
}
.product-body { display: grid; gap: .875rem; padding: 1rem; }
.product-media img { width: 6rem; height: 6rem; object-fit: contain; border-radius: 10px; background: var(--grigio-chiaro); }
.product-name { font-size: 1.0625rem; font-weight: 800; color: var(--blu-notte); line-height: 1.35; }
.product-brand { font-size: .8125rem; font-weight: 600; color: var(--grigio-blu); }
.product-desc { margin-top: .375rem; }
.energy { display: flex; align-items: center; gap: .625rem; margin-top: .75rem; font-size: .875rem; font-weight: 600; color: var(--blu-notte); }
.energy svg { width: 3.5rem; height: 2rem; flex: none; }
.product-price { margin-top: .75rem; font-size: 1.125rem; font-weight: 800; color: var(--blu-notte); }
.product-price-note { font-size: .8125rem; color: var(--grigio-blu); }
.product-actions { margin-top: .875rem; }
.product-note { margin-top: .625rem; font-size: .8125rem; color: var(--grigio-blu); line-height: 1.5; }

/* ---------- Autore e redazione ---------- */
.author-card { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-top: 1.25rem; padding: 1.25rem; background: #fff; border: 1px solid var(--bordo); border-radius: var(--raggio); }
.author-card img { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; }
.author-info { flex: 1 1 16rem; min-width: 0; }
.author-role { font-weight: 700; color: var(--blu); }
.author-bio { margin-top: .5rem; line-height: 1.7; }
.author-meta { margin-top: .5rem; font-size: .9375rem; color: var(--grigio-blu); }
.author-links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .5rem; }
.author-links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; font-size: .9375rem; }

.toc { margin-top: 1rem; padding: 1rem 1.125rem; background: #fff; border: 1px solid var(--bordo); border-radius: var(--raggio); }
.toc p { font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--grigio-blu); }
.toc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .25rem; }
.toc a { display: inline-flex; align-items: center; min-height: 2.5rem; font-weight: 700; font-size: .9375rem; }
.doc { margin-top: 1.5rem; }
.doc section { padding: 1.5rem 0; border-top: 1px solid var(--bordo); scroll-margin-top: 1rem; }
.doc section:first-child { border-top: 0; padding-top: 0; }
.doc h2 { font-size: 1.375rem; font-weight: 800; margin-bottom: .75rem; }
.doc p + p { margin-top: .875rem; }
.doc p { line-height: 1.7; }
.people { list-style: none; display: grid; gap: .5rem; margin-top: 1rem; }
.people li { display: flex; align-items: center; gap: .75rem; }
.people img { width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; }
.people a { font-weight: 700; }
.people span { color: var(--grigio-blu); font-size: .9375rem; }
.facts { display: grid; grid-template-columns: 1fr; gap: .125rem 1.5rem; margin: .75rem 0 0; }
.facts dt { font-size: .8125rem; font-weight: 700; color: var(--grigio-blu); text-transform: uppercase; letter-spacing: .03em; margin-top: .625rem; }
.facts dd { margin: 0; font-weight: 600; color: var(--blu-notte); }

.gone { padding: 3rem 0 4rem; text-align: center; max-width: 36rem; margin: 0 auto; }
.gone h1 { font-size: 1.75rem; font-weight: 800; }
.gone p { margin-top: .75rem; color: var(--grigio-blu); font-size: 1.0625rem; }
.gone-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Footer (blu notte come il comparatore) ---------- */
.site-footer { background: var(--blu-notte); color: var(--footer-testo); font-size: .875rem; line-height: 1.65; }
.footer-in { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer-top { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; font-size: 1rem; }
.footer-brand svg { width: 1rem; height: 1rem; color: var(--giallo); }
.footer-about { margin-top: .5rem; max-width: 36rem; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2rem; color: var(--footer-testo); text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .75rem; color: var(--footer-tenue); display: grid; gap: .25rem; }

/* ---------- Da 400 px ---------- */
@media (min-width: 400px) {
    .only-wide { display: inline; }
}

/* ---------- Da 640 px ---------- */
@media (min-width: 640px) {
    .header-row { height: 4rem; }
    .brand img { height: 2rem; }
    .promo { grid-template-columns: 1fr auto; grid-template-areas: "text btn" "note btn"; min-height: 64px; gap: 4px 20px; padding: 12px 20px; }
    .promo-text { font-size: .9375rem; }
    .page-head h1, .article-head h1 { font-size: 2.125rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
    .sheet { margin: 1.25rem 0 0; padding: 2rem 2.5rem 2.5rem; border-radius: var(--raggio); border: 1px solid var(--bordo); }
    .product-body { gap: 1.25rem; padding: 1.25rem; }
    .product-body.has-media { grid-template-columns: 6rem minmax(0, 1fr); }
    .cta-inline { flex-direction: row; align-items: center; justify-content: space-between; }
    .cta-inline .btn-blue { flex: none; }
    .cta-final { padding: 2rem; }
    .facts { grid-template-columns: max-content 1fr; }
    .facts dt { margin-top: 0; padding-top: .5rem; }
    .facts dd { padding-top: .5rem; }
}

/* ---------- Da 1024 px ---------- */
@media (min-width: 1024px) {
    .page-head h1, .article-head h1 { font-size: 2.5rem; }
    .page-head { padding-top: 2.5rem; }
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
    .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
    .footer-links { max-width: 30rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .section-nav, .promo, .cta-final, .cta-inline, .site-footer, .related, .preferred, .skip { display: none !important; }
    body { background: #fff; }
    .sheet { border: 0; padding: 0; margin: 0; }
}
