/* ==========================================================================
   blog-nuovo.css — blog di myscraper.it («La redazione»), pubblicato il 18/10/2026.
   Direzione: rivista digitale chiara e calda. Carta avorio, inchiostro caldo,
   Newsreader per la lettura (misura ~70 caratteri), Inter per l'interfaccia.
   I colori del marchio (ciano, viola, verde) segnano categorie e accenti.
   Menu e footer restano quelli del sito (partials): qui se ne adatta l'aspetto.
   Animazioni solo su transform/opacity; con movimento ridotto tutto è fermo.
   ========================================================================== */

/* Fallback metrico per Newsreader: limita lo spostamento del testo al cambio di carattere. */
@font-face {
  font-family: 'Newsreader Fallback';
  src: local('Georgia');
  size-adjust: 90.7%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Newsreader Display Fallback';
  src: local('Georgia');
  font-weight: 500 700;
  size-adjust: 107%;
  ascent-override: 84%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root {
  --bn-paper: #FAF7F2;
  --bn-paper-2: #F3EEE6;
  --bn-paper-3: #ECE5DA;
  --bn-card: #FFFFFF;
  --bn-ink: #1B1814;
  --bn-ink-2: #39342D;
  --bn-muted: #645C51;
  --bn-line: rgba(27, 24, 20, .10);
  --bn-line-2: rgba(27, 24, 20, .17);
  --bn-violet: #7C4DFF;
  --bn-violet-ink: #5A35D0;
  --bn-cyan: #00E5FF;
  --bn-green: #00E676;
  --bn-navy: #0C1222;
  --bn-navy-2: #141B30;
  --bn-serif: 'Newsreader', 'Newsreader Fallback', Georgia, 'Times New Roman', serif;
  --bn-serif-d: 'Newsreader', 'Newsreader Display Fallback', Georgia, 'Times New Roman', serif;
  --bn-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --bn-r: 18px;
  --bn-sh-1: 0 1px 2px rgba(40, 30, 15, .05), 0 2px 8px -3px rgba(40, 30, 15, .07);
  --bn-sh-2: 0 2px 4px rgba(40, 30, 15, .04), 0 18px 40px -16px rgba(40, 30, 15, .20);
  --bn-ease: cubic-bezier(.2, .8, .2, 1);
  --bn-nav: 64px;
  /* tono di categoria (sovrascritto da .bn-t-*) */
  --tone: #00C2DB; --tone-ink: #00697F; --tone-tint: #E2F6F9;
}
.bn-t-cyan   { --tone: #00C2DB; --tone-ink: #00697F; --tone-tint: #E2F6F9; }
.bn-t-green  { --tone: #00C96A; --tone-ink: #0A7340; --tone-tint: #E3F5EA; }
.bn-t-blue   { --tone: #448AFF; --tone-ink: #2453BE; --tone-tint: #E7EEFC; }
.bn-t-violet { --tone: #7C4DFF; --tone-ink: #5A35D0; --tone-tint: #EEE9FD; }
.bn-t-orange { --tone: #FF8A3D; --tone-ink: #9C4500; --tone-tint: #FDEEE2; }

/* ---------- Base ---------- */
body.bn-page { background: var(--bn-paper); color: var(--bn-ink); font-family: var(--bn-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.bn-page main { display: block; overflow-x: clip; padding-top: var(--bn-nav); }
.bn-page main:focus { outline: none; }
.bn-page main ul, .bn-page main ol { list-style: none; }
.bn-page main img { max-width: 100%; height: auto; display: block; }
.bn-page [id] { scroll-margin-top: 96px; }
.bn-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bn-ic { width: 18px; height: 18px; flex: none; }
.bn-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bn-wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.bn-page :focus-visible { outline: 3px solid var(--bn-violet); outline-offset: 3px; border-radius: 6px; }
.bn-page main [hidden] { display: none !important; }
.bn-skip {
  position: fixed; left: 16px; top: -64px; z-index: 1200; padding: 10px 16px; border-radius: 12px;
  background: var(--bn-ink); color: #fff; font: 600 14px/20px var(--bn-sans); text-decoration: none; transition: top .2s;
}
.bn-skip:focus { top: 12px; }
.bn-link { color: var(--bn-violet-ink); font: inherit; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; }
.bn-link .bn-ic { width: 16px; height: 16px; transition: transform .25s var(--bn-ease); }

/* ---------- Menu del sito: struttura invariata, superficie chiara e calda ---------- */
.bn-page #nav { background: rgba(250, 247, 242, .72); border-bottom: 1px solid transparent; -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: background .3s, box-shadow .3s, border-color .3s, transform .3s; }
.bn-page #nav.bn-scrolled { background: rgba(250, 247, 242, .92); border-bottom-color: var(--bn-line); }
.bn-page .nav-logo, .bn-page .nav-logo a { color: var(--bn-ink) !important; letter-spacing: -.02em; }
.bn-page #nav .logo-icon { box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); }
.bn-page .nav-links a { color: var(--bn-ink-2); }
.bn-page .nav-links a:hover { color: var(--bn-ink); }
.bn-page .nav-links a[href="/prezzi"] { color: var(--bn-violet-ink) !important; }
.bn-page .nav-dropdown-menu { background: rgba(255, 255, 255, .98); border-color: var(--bn-line); box-shadow: var(--bn-sh-2); }
.bn-page .mega-left { background: #F6F2EB; border-right-color: var(--bn-line); }
.bn-page .mega-label, .bn-page .mega-desc, .bn-page .ndm-text span { color: var(--bn-muted); }
.bn-page .mega-right a { color: var(--bn-ink) !important; }
.bn-page .mega-right a:hover { background: rgba(27, 24, 20, .045); }
.bn-page .ndm-text strong { color: var(--bn-ink); }
.bn-page .nav-auth { border-left-color: var(--bn-line); }
.bn-page .nav-login { color: var(--bn-ink) !important; border-color: var(--bn-line-2); border-radius: 999px; }
.bn-page .nav-login:hover { background: rgba(27, 24, 20, .04); }
.bn-page .nav-cta { background: var(--bn-ink) !important; color: #fff !important; border-radius: 999px; }
.bn-page .nav-cta:hover { opacity: 1; box-shadow: 0 10px 22px -10px rgba(124, 77, 255, .7); }
.bn-page .nav-account-btn { background: #fff; border-color: var(--bn-line-2); color: var(--bn-ink) !important; }
.bn-page .nav-hamburger span { background: var(--bn-ink); }
.bn-page .nav-mobile-overlay { top: var(--bn-nav); padding-top: 20px; background: rgba(250, 247, 242, .985); border-top: 1px solid var(--bn-line); }
.bn-page .nav-mobile-overlay a { color: var(--bn-ink); border-bottom-color: var(--bn-line); }
.bn-page .nav-mobile-overlay a:hover { color: var(--bn-violet-ink); }
.bn-page .nav-mobile-overlay .nav-auth { border-top-color: var(--bn-line); }
.bn-page #nav a:focus-visible, .bn-page #nav button:focus-visible, .bn-page .nav-mobile-overlay a:focus-visible { outline: 3px solid var(--bn-violet); outline-offset: 2px; border-radius: 8px; }

/* ---------- Footer del sito: stessi contenuti, superficie chiara ---------- */
.bn-page footer { background: var(--bn-paper-2); border-top: 1px solid var(--bn-line); color: var(--bn-ink); }
.bn-page footer .nav-logo { color: var(--bn-ink); }
.bn-page .footer-brand p, .bn-page .footer-col a, .bn-page .footer-hours, .bn-page .footer-bottom p,
.bn-page .footer-bottom-links a, .bn-page .footer-bottom-links button { color: var(--bn-muted); }
.bn-page .footer-col h4 { color: var(--bn-ink); }
.bn-page .footer-col a:hover, .bn-page .footer-bottom-links a:hover, .bn-page .footer-bottom-links button:hover { color: var(--bn-violet-ink); }
.bn-page .footer-col a[href="/blog/"] { color: var(--bn-ink); font-weight: 600; }
.bn-page .footer-contact-link { color: var(--bn-muted) !important; }
.bn-page .footer-contact-link:hover { color: var(--bn-violet-ink) !important; }
.bn-page .footer-hours { border-top-color: var(--bn-line); }
.bn-page .footer-hours strong, .bn-page .trust-made-in strong { color: var(--bn-ink); }
.bn-page .footer-trust { border-color: var(--bn-line); }
.bn-page .trust-made-in { color: var(--bn-ink-2); }
.bn-page .trust-badge { background: rgba(255, 255, 255, .6); border-color: var(--bn-line); color: var(--bn-ink-2); }
.bn-page .trust-badge.gdpr, .bn-page .trust-badge.uptime { display: none; }
.bn-page .footer-bottom { border-top: 0; padding-top: 4px; }
.bn-page footer a:focus-visible, .bn-page footer button:focus-visible { outline: 3px solid var(--bn-violet); outline-offset: 2px; border-radius: 6px; }

/* ---------- Elementi comuni ---------- */
.bn-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px; border-radius: 999px;
  background: var(--tone-tint); color: var(--tone-ink); font: 600 12.5px/1.2 var(--bn-sans); letter-spacing: .01em; text-decoration: none;
}
.bn-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tone) 22%, transparent); }
.bn-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 500 13px/1.4 var(--bn-sans); color: var(--bn-muted); }
.bn-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.bn-crumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 11px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.bn-crumbs a { color: var(--bn-muted); text-decoration: none; }
.bn-crumbs [aria-current] { color: var(--bn-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.bn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15.5px/1.2 var(--bn-sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .35s var(--bn-ease), box-shadow .35s var(--bn-ease), background-color .2s, color .2s;
}
.bn-btn:active { transform: scale(.97); }
.bn-btn .bn-ic { width: 17px; height: 17px; transition: transform .3s var(--bn-ease); }
.bn-btn-ink { background: var(--bn-ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(27, 24, 20, .7); }
.bn-btn-line { background: transparent; color: var(--bn-ink); box-shadow: inset 0 0 0 1.5px var(--bn-line-2); }
.bn-btn-light { background: #fff; color: var(--bn-ink); }
.bn-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .34); }
.bn-sec-k { font: 700 12px/1.2 var(--bn-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bn-muted); margin-bottom: 14px; }
.bn-sec-t { font: 600 clamp(28px, 3.2vw, 40px)/1.12 var(--bn-serif-d); letter-spacing: -.015em; color: var(--bn-ink); font-variation-settings: "opsz" 48; }

/* ---------- Barra di avanzamento della lettura ---------- */
.bn-progress { position: fixed; left: 0; right: 0; top: var(--bn-nav); height: 3px; z-index: 999; pointer-events: none; }
.bn-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--bn-violet), var(--bn-cyan)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   ARTICOLO
   ========================================================================== */
.bn-head { max-width: 1180px; margin: 0 auto; padding: 40px 40px 0; display: grid; grid-template-columns: 236px minmax(0, 1fr); column-gap: 64px; }
.bn-head .bn-crumbs { grid-column: 1 / -1; margin-bottom: 44px; }
.bn-head-in { grid-column: 1 / -1; display: grid; grid-template-columns: 236px minmax(0, 1fr); column-gap: 64px; align-items: start; }
.bn-head-in .bn-chip { grid-column: 1; grid-row: 1; justify-self: start; margin-top: 14px; }
.bn-h1 { grid-column: 2; grid-row: 1 / span 2; font: 600 clamp(40px, 5.2vw, 66px)/1.04 var(--bn-serif-d); letter-spacing: -.022em; color: var(--bn-ink); max-width: 18ch; text-wrap: balance; font-variation-settings: "opsz" 72; }
.bn-dek { grid-column: 2; font: 400 clamp(20px, 1.9vw, 24px)/1.5 var(--bn-serif); color: var(--bn-ink-2); max-width: 40em; margin-top: 22px; text-wrap: pretty; font-variation-settings: "opsz" 20; }
.bn-byline { grid-column: 1; grid-row: 2; display: grid; gap: 14px; margin-top: 22px; align-self: start; }
.bn-by { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--bn-sans); color: var(--bn-ink); }
.bn-by img { width: 28px; height: 28px; border-radius: 8px; box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); }
.bn-meta { display: grid; gap: 8px; font: 500 13.5px/1.35 var(--bn-sans); color: var(--bn-muted); }
.bn-meta-i { display: inline-flex; align-items: center; gap: 8px; }
.bn-meta-i .bn-ic { width: 15px; height: 15px; color: var(--tone-ink); }
.bn-cover { grid-column: 1 / -1; margin: 48px 0 0; border-radius: 24px; overflow: hidden; background: var(--tone-tint); box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); aspect-ratio: 1200 / 630; }
.bn-cover img { width: 100%; height: 100%; object-fit: cover; }

.bn-grid { max-width: 1180px; margin: 0 auto; padding: 64px 40px 40px; display: grid; grid-template-columns: 236px minmax(0, 820px); column-gap: 64px; }
.bn-side { grid-column: 1; grid-row: 1 / span 2; }
.bn-side-in { position: sticky; top: calc(var(--bn-nav) + 32px); display: grid; gap: 28px; max-height: calc(100vh - var(--bn-nav) - 56px); overflow: auto; padding: 2px 6px 8px 2px; scrollbar-width: thin; }
.bn-toc-t, .bn-share-t { font: 700 11.5px/1.2 var(--bn-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bn-muted); margin-bottom: 12px; }
.bn-toc ol { counter-reset: toc; display: grid; }
.bn-toc li { counter-increment: toc; }
.bn-toc a {
  position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 2px; padding: 7px 0 7px 14px; border-left: 2px solid var(--bn-line);
  font: 500 13.5px/1.42 var(--bn-sans); color: var(--bn-muted); text-decoration: none; transition: color .25s, border-color .25s;
}
.bn-toc a::before { content: counter(toc, decimal-leading-zero); font: 600 11.5px/1.7 var(--bn-sans); font-variant-numeric: tabular-nums; color: var(--bn-muted); }
.bn-toc a.is-on { color: var(--bn-ink); font-weight: 600; border-left-color: var(--tone); }
.bn-toc a.is-on::before { color: var(--tone-ink); opacity: 1; }

.bn-share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-sh {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; padding: 0 11px; border-radius: 999px;
  background: var(--bn-card); color: var(--bn-ink-2); border: 0; box-shadow: inset 0 0 0 1px var(--bn-line-2); cursor: pointer; text-decoration: none;
  font: 600 13px/1 var(--bn-sans); transition: transform .25s var(--bn-ease), color .2s, box-shadow .2s;
}
.bn-sh .bn-ic { width: 17px; height: 17px; }
.bn-sh.is-ok { color: #0A7340; box-shadow: inset 0 0 0 1.5px rgba(10, 115, 64, .45); }
.bn-share-ok { min-height: 18px; margin-top: 8px; font: 500 12.5px/1.4 var(--bn-sans); color: #0A7340; }
.bn-side .bn-sh-l { display: none; }
.bn-side .bn-sh[data-copy] .bn-sh-l { display: inline; }

/* Indice su telefono e tablet */
.bn-tocbar { display: none; }

/* ---------- Corpo dell'articolo: la lettura ---------- */
.bn-body { grid-column: 2; min-width: 0; font: 400 21px/1.72 var(--bn-serif); color: var(--bn-ink); counter-reset: sez; font-variation-settings: "opsz" 18; hanging-punctuation: first; }
.bn-body > * { max-width: 600px; }
.bn-body > .bn-shot:not(.bn-shot-tall):not(.bn-shot-lr), .bn-body > .bn-table-wide { max-width: none; }
/* .bn-shot-lr: schermata con sorgente piccola (max 900 px), larga quanto il testo per restare nitida su schermi 2x */
.bn-body p { margin: 0 0 1.12em; text-wrap: pretty; }
.bn-body strong { font-weight: 600; color: var(--bn-ink); }
.bn-body em { font-style: italic; }
.bn-body a:not([class]) { color: var(--bn-violet-ink); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(90, 53, 208, .38); text-underline-offset: 3.5px; transition: text-decoration-color .2s, color .2s; }
.bn-lede { font-size: 1.12em; line-height: 1.66; color: var(--bn-ink); }
.bn-lede::first-letter { float: left; font: 600 4.3em/.8 var(--bn-serif-d); margin: .065em .1em 0 -.02em; color: var(--tone-ink); font-variation-settings: "opsz" 72; }
.bn-alias { display: block; position: relative; top: -96px; height: 0; }
.bn-body h2 {
  counter-increment: sez; font: 600 clamp(27px, 2.5vw, 34px)/1.18 var(--bn-serif-d); letter-spacing: -.012em; color: var(--bn-ink);
  margin: 2.1em 0 .62em; text-wrap: balance; font-variation-settings: "opsz" 40;
}
.bn-body h2::before {
  content: counter(sez, decimal-leading-zero); display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font: 700 12px/1 var(--bn-sans); letter-spacing: .12em; color: var(--tone-ink); font-variant-numeric: tabular-nums;
}
.bn-body h2::after { content: ''; display: block; width: 0; }
.bn-body h3 { font: 700 19.5px/1.35 var(--bn-sans); letter-spacing: -.01em; color: var(--bn-ink); margin: 1.9em 0 .5em; }
.bn-body ul, .bn-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.bn-body ul { list-style: none; }
.bn-body ul > li { position: relative; }
.bn-body ul > li::before { content: ''; position: absolute; left: -1.05em; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--tone); transform: rotate(45deg); }
.bn-page .bn-body ol { counter-reset: passo; padding-left: 2.15em; }
.bn-body ol > li { position: relative; counter-increment: passo; }
.bn-body ol > li::before {
  content: counter(passo); position: absolute; left: -2.15em; top: calc((1.72em - 26px) / 2); width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tone-tint); color: var(--tone-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 35%, transparent);
  font: 700 13px/1 var(--bn-sans); font-variant-numeric: tabular-nums;
}
.bn-body li { margin: 0 0 .55em; padding-left: .2em; }

/* In breve */
.bn-brief { margin: 1.6em 0 2em; padding: 24px 28px 22px; border-radius: var(--bn-r); background: var(--bn-card); box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); position: relative; overflow: hidden; }
.bn-brief::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--tone), color-mix(in srgb, var(--tone) 30%, transparent)); }
.bn-brief-t { margin: 0 0 12px !important; font: 700 12px/1.2 var(--bn-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tone-ink); }
.bn-body .bn-brief ul { padding: 0; margin: 0; display: grid; gap: 10px; }
.bn-body .bn-brief li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0; padding: 0; font: 500 16.5px/1.55 var(--bn-sans); color: var(--bn-ink-2); }
.bn-body .bn-brief li::before { display: none; }
.bn-brief .bn-ic { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--tone-ink); background: var(--tone-tint); }

/* Riquadri consiglio / attenzione */
.bn-note { margin: 1.7em 0; padding: 20px 24px 18px; border-radius: 16px; font: 400 17px/1.62 var(--bn-sans); }
.bn-note p { margin: 0 !important; }
.bn-note .bn-note-t { display: flex; align-items: center; gap: 9px; margin-bottom: 8px !important; font: 700 12.5px/1.2 var(--bn-sans); letter-spacing: .1em; text-transform: uppercase; }
.bn-note-t .bn-ic { width: 18px; height: 18px; }
.bn-note-tip { background: #EAF6EF; box-shadow: inset 3px 0 0 #12A05C; color: #173A28; }
.bn-note-tip .bn-note-t { color: #0A6B3C; }
.bn-note-warn { background: #FCF1E1; box-shadow: inset 3px 0 0 #D98A12; color: #43300E; }
.bn-note-warn .bn-note-t { color: #8A4E00; }
.bn-note a:not([class]) { color: inherit !important; text-decoration-color: currentColor !important; font-weight: 600; }
.bn-note strong { color: inherit !important; }

/* Citazione d'esempio */
.bn-quote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--tone); }
.bn-quote p { margin: 0 !important; font: italic 400 1.18em/1.55 var(--bn-serif); color: var(--bn-ink-2); font-variation-settings: "opsz" 28; }

/* Schermate dell'app */
.bn-shot { margin: 1.9em 0 2.1em; }
.bn-shot-f { border-radius: 16px; overflow: hidden; background: #0E1117; box-shadow: var(--bn-sh-2), 0 0 0 1px rgba(27, 24, 20, .12); }
.bn-shot img { width: 100%; }
.bn-shot figcaption { margin-top: 12px; font: 500 13.5px/1.5 var(--bn-sans); color: var(--bn-muted); }
.bn-shot-tall { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: end; }
.bn-shot-tall figcaption { margin: 0 0 6px; font-size: 14.5px; }
@media (max-width: 640px) {
  .bn-shot { margin-left: -16px; margin-right: -16px; }
  .bn-shot-f { border-radius: 0; }
  .bn-shot figcaption { padding: 0 16px; }
  .bn-shot-tall { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; justify-items: center; gap: 12px; }
  .bn-shot-tall .bn-shot-f { width: min(280px, 80vw); border-radius: 14px; }
  .bn-shot-tall figcaption { padding: 0; text-align: center; }
}

/* Tabelle */
.bn-table { margin: 1.8em 0 2em; border-radius: 16px; background: var(--bn-card); box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); overflow-x: auto; -webkit-overflow-scrolling: touch;
  background-image: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)), linear-gradient(to left, #fff 30%, rgba(255,255,255,0)), radial-gradient(farthest-side at 0 50%, rgba(27,24,20,.14), transparent), radial-gradient(farthest-side at 100% 50%, rgba(27,24,20,.14), transparent);
  background-position: left center, right center, left center, right center; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
.bn-table:focus-visible { outline-offset: 2px; }
.bn-table-wide table { min-width: 620px; }
.bn-body .bn-table-hint { display: none; }
.bn-table table { width: 100%; min-width: 0; border-collapse: collapse; font: 400 15px/1.5 var(--bn-sans); color: var(--bn-ink-2); }
.bn-table caption { caption-side: top; text-align: left; padding: 16px 20px 6px; font: 700 14px/1.4 var(--bn-sans); color: var(--bn-ink); }
.bn-table th, .bn-table td { padding: 11px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--bn-line); }
.bn-table thead th { border-top: 0; padding-top: 10px; font: 700 11.5px/1.3 var(--bn-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bn-muted); }
.bn-table tbody th { font-weight: 600; color: var(--bn-ink); }
.bn-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bn-table tfoot th, .bn-table tfoot td { border-top: 1.5px solid var(--bn-ink); font-weight: 700; color: var(--bn-ink); }

/* Domande frequenti */
.bn-faq { margin: .4em 0 2em; border-top: 1px solid var(--bn-line-2); }
.bn-faq-i { border-bottom: 1px solid var(--bn-line-2); }
.bn-faq-i summary { list-style: none; display: grid; grid-template-columns: 1fr 30px; align-items: center; gap: 18px; padding: 19px 2px; cursor: pointer; font: 600 17.5px/1.42 var(--bn-sans); color: var(--bn-ink); }
.bn-faq-i summary::-webkit-details-marker { display: none; }
.bn-faq-i summary .bn-ic { width: 30px; height: 30px; padding: 7px; border-radius: 50%; color: var(--tone-ink); background: var(--tone-tint); transition: transform .35s var(--bn-ease), background-color .2s; }
.bn-faq-i[open] summary .bn-ic { transform: rotate(45deg); }
.bn-faq-a { padding: 0 48px 18px 2px; }
.bn-faq-a p { margin: 0 !important; font-size: 18.5px; line-height: 1.66; color: var(--bn-ink-2); }
@supports (interpolate-size: allow-keywords) {
  .bn-page { interpolate-size: allow-keywords; }
  .bn-faq-i::details-content { height: 0; overflow: clip; transition: height .38s var(--bn-ease), content-visibility .38s allow-discrete; }
  .bn-faq-i[open]::details-content { height: auto; }
}

/* Invito al prodotto */
.bn-invite { margin: 3.2em 0 2.4em; padding: 32px 34px 28px; border-radius: 24px; background: var(--bn-card); box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); position: relative; overflow: hidden; isolation: isolate; }
.bn-invite::after { content: ''; position: absolute; z-index: -1; right: -90px; top: -110px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 22%, transparent), transparent 68%); }
.bn-invite-k { margin: 0 0 10px !important; font: 700 12px/1.3 var(--bn-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tone-ink); }
.bn-body .bn-invite-t { margin: 0 0 10px; font: 600 29px/1.18 var(--bn-serif-d); letter-spacing: -.012em; counter-increment: none; font-variation-settings: "opsz" 36; }
.bn-body .bn-invite-t::before { display: none; }
.bn-invite > p:not([class]) { margin: 0 0 20px !important; font: 400 16.5px/1.6 var(--bn-sans); color: var(--bn-ink-2); max-width: 56ch; }
.bn-invite-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-invite-n { margin: 16px 0 0 !important; font: 500 13px/1.45 var(--bn-sans); color: var(--bn-muted); }

/* Nota della redazione */
.bn-endnote { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 0 8px; border-top: 1px solid var(--bn-line-2); margin-top: 1em; }
.bn-endnote img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); }
.bn-endnote p { margin: 0 !important; font: 400 15px/1.6 var(--bn-sans); color: var(--bn-muted); }
.bn-endnote .bn-endnote-t { font-weight: 700; color: var(--bn-ink); margin-bottom: 4px !important; }
.bn-share-end { display: none; }

/* Correlati */
.bn-related { background: var(--bn-paper-2); border-top: 1px solid var(--bn-line); padding: 76px 0 88px; }
.bn-related .bn-sec-t { margin-bottom: 30px; }
.bn-related-all { margin-top: 28px; font: 15px/1.4 var(--bn-sans); }

/* ---------- Schede articolo ---------- */
.bn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bn-card { position: relative; border-radius: var(--bn-r); background: var(--bn-card); box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); transition: transform .45s var(--bn-ease), box-shadow .45s var(--bn-ease), opacity .35s var(--bn-ease); }
.bn-card-a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.bn-card-img { aspect-ratio: 1200 / 630; overflow: hidden; border-radius: var(--bn-r) var(--bn-r) 0 0; background: var(--tone-tint); }
.bn-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bn-ease); }
.bn-card-tx { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.bn-card-tx .bn-chip { align-self: flex-start; }
.bn-card-t { font: 600 22px/1.24 var(--bn-serif-d); letter-spacing: -.01em; color: var(--bn-ink); text-wrap: balance; font-variation-settings: "opsz" 28; }
.bn-card-s { font: 400 15px/1.55 var(--bn-sans); color: var(--bn-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bn-card-m { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; font: 500 13px/1.4 var(--bn-sans); color: var(--bn-muted); }
.bn-card-a:focus-visible { outline-offset: 4px; border-radius: var(--bn-r); }

/* ==========================================================================
   INDICE DEL BLOG
   ========================================================================== */
.bn-mast { padding: 44px 0 40px; position: relative; isolation: isolate; }
.bn-mast::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 92% 8%, rgba(124, 77, 255, .09), transparent 70%), radial-gradient(45% 55% at 78% 92%, rgba(0, 229, 255, .08), transparent 70%);
}
.bn-mast .bn-crumbs { margin-bottom: 40px; }
.bn-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 600 13px/1.3 var(--bn-sans); color: var(--bn-muted); }
.bn-kicker span { padding: 5px 11px; border-radius: 999px; background: var(--bn-ink); color: #fff; font-weight: 700; letter-spacing: .04em; }
.bn-mast-t { font: 600 clamp(42px, 5vw, 72px)/1.02 var(--bn-serif-d); letter-spacing: -.024em; color: var(--bn-ink); max-width: 22ch; text-wrap: balance; font-variation-settings: "opsz" 72; }
.bn-mast-t em { font-style: italic; font-weight: 500; color: var(--bn-violet-ink); }
.bn-mast-d { margin-top: 22px; max-width: 40em; font: 400 clamp(19px, 1.8vw, 22px)/1.55 var(--bn-serif); color: var(--bn-ink-2); text-wrap: pretty; }
.bn-search { position: relative; display: flex; align-items: center; max-width: 620px; margin-top: 30px; }
.bn-search > .bn-ic { position: absolute; left: 20px; width: 20px; height: 20px; color: var(--bn-muted); pointer-events: none; }
.bn-search input {
  width: 100%; height: 58px; padding: 0 92px 0 52px; border-radius: 999px; border: 0; background: var(--bn-card); color: var(--bn-ink);
  box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line-2); font: 500 16.5px/1 var(--bn-sans); transition: box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.bn-search input::placeholder { color: #736A5E; }
.bn-search input::-webkit-search-cancel-button { display: none; }
.bn-search input:focus { outline: none; box-shadow: var(--bn-sh-2), inset 0 0 0 2px var(--bn-violet); }
.bn-search-x { position: absolute; right: 52px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bn-paper-2); color: var(--bn-ink-2); display: grid; place-items: center; cursor: pointer; }
.bn-search-x .bn-ic { width: 16px; height: 16px; }
.bn-kbd { position: absolute; right: 18px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 7px; display: grid; place-items: center; font: 600 12px/1 var(--bn-sans); color: var(--bn-muted); background: var(--bn-paper); box-shadow: inset 0 0 0 1px var(--bn-line-2), 0 1px 0 var(--bn-line-2); }
.bn-mast-n { margin-top: 18px; font: 500 13.5px/1.4 var(--bn-sans); color: var(--bn-muted); }
/* Sommario degli argomenti (solo schermi larghi: sotto ci sono i filtri) */
.bn-topics { display: none; }
/* (gli argomenti da 1024 px: vedi «Tablet e tocco» in fondo) */

.bn-feat { padding: 20px 0 64px; }
.bn-hero-card { border-radius: 28px; background: var(--bn-card); box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); transition: transform .5s var(--bn-ease), box-shadow .5s var(--bn-ease); }
.bn-hero-a { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: stretch; color: inherit; text-decoration: none; border-radius: inherit; }
.bn-hero-img { min-height: 340px; overflow: hidden; border-radius: 28px 0 0 28px; background: var(--tone-tint); }
.bn-hero-img picture { display: block; height: 100%; }
.bn-page .bn-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--bn-ease); }
.bn-hero-tx { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 40px 44px; }
.bn-hero-t { font: 600 clamp(30px, 3.1vw, 42px)/1.1 var(--bn-serif-d); letter-spacing: -.018em; color: var(--bn-ink); text-wrap: balance; font-variation-settings: "opsz" 56; }
.bn-hero-s { font: 400 18.5px/1.55 var(--bn-serif); color: var(--bn-ink-2); }
.bn-hero-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font: 700 15px/1 var(--bn-sans); color: var(--bn-violet-ink); }
.bn-hero-go .bn-ic { transition: transform .3s var(--bn-ease); }

.bn-all { padding: 8px 0 80px; }
.bn-all-head { display: grid; gap: 22px; margin-bottom: 18px; }
.bn-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-f {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bn-card); color: var(--bn-ink-2); box-shadow: inset 0 0 0 1px var(--bn-line-2); font: 600 14.5px/1 var(--bn-sans);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--bn-ease);
}
.bn-f i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.bn-f-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--bn-paper-2); color: var(--bn-muted); font: 700 11.5px/1 var(--bn-sans); font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s; }
.bn-f[aria-pressed="true"] { background: var(--bn-ink); color: #fff; box-shadow: none; }
.bn-f[aria-pressed="true"] .bn-f-n { background: rgba(255, 255, 255, .16); color: #fff; }
.bn-count { min-height: 20px; margin: 4px 0 18px; font: 500 14px/1.4 var(--bn-sans); color: var(--bn-muted); }
.bn-card.is-out { display: none; }
.bn-card mark, .bn-hero-card mark { background: color-mix(in srgb, var(--bn-cyan) 32%, #fff); color: inherit; border-radius: 3px; padding: 0 1px; }
.bn-empty { padding: 48px 0 24px; font: 400 17px/1.6 var(--bn-sans); color: var(--bn-ink-2); }
.bn-empty-t { font: 600 26px/1.2 var(--bn-serif-d); color: var(--bn-ink); margin-bottom: 8px; }

.bn-path { padding: 80px 0; background: var(--bn-paper-2); border-top: 1px solid var(--bn-line); border-bottom: 1px solid var(--bn-line); }
.bn-path .bn-sec-t { margin-bottom: 34px; max-width: 22ch; }
.bn-path-l { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.bn-path-l a {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; height: 100%; padding: 22px 20px 18px; border-radius: 18px; background: var(--bn-card);
  box-shadow: var(--bn-sh-1), inset 0 0 0 1px var(--bn-line); color: inherit; text-decoration: none; transition: transform .4s var(--bn-ease), box-shadow .4s var(--bn-ease);
}
.bn-path-n { font: 600 34px/1 var(--bn-serif-d); color: var(--bn-violet-ink); font-variant-numeric: lining-nums; }
.bn-path-k { font: 700 11.5px/1.3 var(--bn-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bn-muted); }
.bn-path-t { font: 600 17px/1.3 var(--bn-serif-d); color: var(--bn-ink); }
.bn-path-l .bn-ic { color: var(--bn-muted); transition: transform .3s var(--bn-ease), color .3s; }

.bn-final { background: var(--bn-navy); color: #E6E9F2; padding: 84px 0; position: relative; overflow: hidden; isolation: isolate; }
.bn-final::before { content: ''; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(124, 77, 255, .28), transparent 70%); }
.bn-final::after { content: ''; position: absolute; z-index: -1; inset: auto auto -60% -10%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(0, 229, 255, .14), transparent 70%); }
.bn-final-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.bn-final-t { font: 600 clamp(36px, 4.4vw, 58px)/1.04 var(--bn-serif-d); letter-spacing: -.022em; color: #fff; margin-bottom: 16px; font-variation-settings: "opsz" 64; }
.bn-final p { font: 400 18px/1.6 var(--bn-sans); color: #C3C9D8; max-width: 44ch; margin-bottom: 26px; }
.bn-final .bn-final-n { margin: 16px 0 0; font-size: 13.5px; color: #A9B1C3; }
.bn-prod-t { font: 700 12px/1.2 var(--bn-sans); letter-spacing: .14em; text-transform: uppercase; color: #A9B1C3; margin-bottom: 14px; }
.bn-prod ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.bn-prod a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font: 600 15px/1.3 var(--bn-sans); }
.bn-prod a .bn-ic { width: 16px; height: 16px; color: #8F98AE; transition: transform .3s var(--bn-ease), color .3s; }
.bn-final :focus-visible { outline-color: var(--bn-cyan); }

/* ---------- Comparsa allo scorrimento ---------- */
.js [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--bn-ease), transform .7s var(--bn-ease); }
.js [data-rv].is-in { opacity: 1; transform: none; }

/* ---------- Bolla della chat: si fa da parte se copre il testo ---------- */
.bn-chat-hide .msc-bubble:not(:focus-visible) { opacity: 0 !important; transform: scale(.85) !important; pointer-events: none; }
.bn-chat-hide .msc-widget:not(:focus-within) { pointer-events: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .bn-head, .bn-grid { column-gap: 48px; grid-template-columns: 212px minmax(0, 1fr); }
  .bn-head-in { column-gap: 48px; grid-template-columns: 212px minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .bn-wrap { padding: 0 28px; }
  .bn-head { display: block; padding: 28px 28px 0; max-width: 656px; }
  .bn-head .bn-crumbs { margin-bottom: 30px; }
  .bn-head-in { display: block; }
  .bn-head-in .bn-chip { margin: 0 0 18px; }
  .bn-h1 { max-width: 20ch; }
  .bn-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
  .bn-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .bn-cover { margin-top: 32px; border-radius: 20px; }
  .bn-grid { display: block; padding: 28px 28px 32px; max-width: 656px; }
  .bn-side { display: none; }
  .bn-body > * { max-width: none; }
  .bn-page [id] { scroll-margin-top: 140px; }
  .bn-alias { top: -140px; }
  .bn-tocbar { display: block; position: sticky; top: var(--bn-nav); z-index: 60; margin: 0 -28px 28px; padding: 10px 28px; background: rgba(250, 247, 242, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bn-line); }
  .bn-tocbar[hidden] { display: none; }
  .bn-tocbar-b { width: 100%; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--bn-card); box-shadow: inset 0 0 0 1px var(--bn-line-2); color: var(--bn-ink); font: 600 14.5px/1.2 var(--bn-sans); cursor: pointer; text-align: left; }
  .bn-tocbar-l { flex: none; }
  .bn-tocbar-c { flex: 1; min-width: 0; color: var(--bn-muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-tocbar-c:not(:empty)::before { content: '· '; }
  .bn-tocbar-b::after { content: ''; width: 7px; height: 7px; margin: -3px 4px 0 auto; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform .25s; flex: none; }
  .bn-tocbar-b[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 4px; }
  .bn-tocsheet { position: absolute; left: 16px; right: 16px; top: calc(100% + 6px); max-height: min(70vh, 520px); overflow: auto; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); }
  .bn-tocsheet[hidden] { display: none; }
  .bn-tocsheet ol { counter-reset: toc2; }
  .bn-tocsheet li { counter-increment: toc2; }
  .bn-tocsheet a { display: grid; grid-template-columns: 30px 1fr; padding: 11px 12px; border-radius: 10px; color: var(--bn-ink-2); text-decoration: none; font: 500 15px/1.4 var(--bn-sans); }
  .bn-tocsheet a::before { content: counter(toc2, decimal-leading-zero); font: 700 12px/1.9 var(--bn-sans); color: var(--bn-muted); }
  .bn-tocsheet a.is-on { background: var(--bn-paper-2); color: var(--bn-ink); }
  .bn-share-end { display: block; margin-top: 26px; }
  .bn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bn-hero-a { grid-template-columns: 1fr; }
  .bn-hero-img { border-radius: 28px 28px 0 0; min-height: 0; aspect-ratio: 1200 / 630; }
  .bn-hero-tx { padding: 28px 30px 32px; }
  .bn-final-in { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 1023px) {
  .bn-path-l { grid-template-columns: 1fr; }
  .bn-path-l a { grid-template-columns: 46px 1fr auto; grid-template-rows: auto auto; align-items: center; padding: 16px 18px; gap: 2px 12px; }
  .bn-path-n { grid-row: 1 / span 2; font-size: 28px; }
  .bn-path-k { grid-column: 2; }
  .bn-path-t { grid-column: 2; }
  .bn-path-l .bn-ic { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 640px) {
  :root { --bn-r: 16px; }
  .bn-wrap { padding: 0 16px; }
  .bn-head { padding: 22px 16px 0; }
  .bn-head .bn-crumbs { margin-bottom: 24px; }
  .bn-head .bn-crumbs li:last-child { display: none; } /* il titolo è subito sotto: le briciole restano su una riga */
  .bn-crumbs [aria-current] { max-width: 24ch; }
  .bn-h1 { font-size: clamp(33px, 9.4vw, 42px); line-height: 1.07; letter-spacing: -.02em; }
  .bn-dek { font-size: 19px; margin-top: 16px; }
  .bn-cover { margin: 26px -16px 0; border-radius: 0; box-shadow: none; }
  .bn-grid { padding: 18px 16px 24px; }
  .bn-tocbar { margin: 0 -16px 22px; padding: 8px 16px; }
  .bn-tocsheet { left: 8px; right: 8px; }
  .bn-body { font-size: 18.5px; line-height: 1.68; }
  .bn-lede { font-size: 1.08em; }
  .bn-lede::first-letter { font-size: 3.6em; }
  .bn-body h2 { font-size: 26px; margin-top: 1.9em; }
  .bn-brief { padding: 20px 18px 18px; margin: 1.4em 0 1.7em; }
  .bn-body .bn-brief li { font-size: 15.5px; }
  .bn-note { padding: 17px 18px 16px; font-size: 16px; }
  .bn-quote { padding-left: 18px; }
  .bn-table { margin-left: -16px; margin-right: -16px; border-radius: 0; }
  .bn-table table { font-size: 14px; }
  .bn-table-wide table { min-width: 620px; }
  .bn-body .bn-table-hint { display: block; margin: -1.4em 0 1.6em; font: 600 12.5px/1.4 var(--bn-sans); color: var(--bn-muted); text-align: right; }
  .bn-table thead th { font-size: 10.5px; letter-spacing: .05em; }
  .bn-table th, .bn-table td { padding: 10px 14px; }
  .bn-faq-i summary { font-size: 16.5px; padding: 16px 0; gap: 12px; }
  .bn-faq-a { padding-right: 8px; }
  .bn-faq-a p { font-size: 17.5px; }
  .bn-invite { padding: 24px 20px 22px; border-radius: 20px; }
  .bn-body .bn-invite-t { font-size: 25px; }
  .bn-invite-cta .bn-btn { flex: 1 1 100%; }
  .bn-related { padding: 56px 0 64px; }
  .bn-cards { grid-template-columns: 1fr; gap: 18px; }
  .bn-mast { padding: 26px 0 30px; }
  .bn-mast .bn-crumbs { margin-bottom: 30px; }
  .bn-mast-t { font-size: clamp(40px, 11.5vw, 54px); }
  .bn-mast-d { font-size: 18.5px; margin-top: 18px; }
  .bn-search { margin-top: 26px; }
  .bn-search input { height: 54px; font-size: 16px; padding-right: 56px; }
  .bn-kbd { display: none; }
  .bn-search-x { right: 12px; }
  .bn-feat { padding: 8px 0 48px; }
  .bn-hero-card { border-radius: 22px; }
  .bn-hero-img { border-radius: 22px 22px 0 0; }
  .bn-hero-tx { padding: 22px 20px 26px; gap: 12px; }
  .bn-hero-s { font-size: 17px; }
  .bn-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .bn-filters::-webkit-scrollbar { display: none; }
  .bn-f { flex: none; }
  .bn-path { padding: 56px 0; }
  .bn-final { padding: 60px 0; }
  .bn-prod ul { grid-template-columns: 1fr; }
  .bn-invite-cta .bn-btn-light, .bn-invite-cta .bn-btn-ghost { flex: 1 1 100%; }
}

/* ==========================================================================
   Tablet e tocco (19/10/2026)
   ========================================================================== */
/* Effetti al passaggio del mouse solo dove c'è un mouse: al tocco restavano
   «appiccicati» (schede e pulsanti sollevati, righe evidenziate dopo un tocco). */
@media (hover: hover) {
  .bn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .bn-link:hover .bn-ic { transform: translateX(3px); }
  a.bn-chip:hover { background: color-mix(in srgb, var(--tone-tint) 70%, var(--tone) 12%); }
  .bn-crumbs a:hover { color: var(--bn-ink); text-decoration: underline; text-underline-offset: 3px; }
  .bn-btn:hover { transform: translateY(-2px); }
  .bn-btn:hover .bn-ic { transform: translateX(3px); }
  .bn-btn-ink:hover { box-shadow: 0 14px 28px -12px rgba(90, 53, 208, .55); }
  .bn-btn-line:hover { box-shadow: inset 0 0 0 1.5px rgba(27, 24, 20, .34); background: rgba(255, 255, 255, .6); }
  .bn-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
  .bn-toc a:hover { color: var(--bn-ink); }
  .bn-sh:hover { color: var(--bn-ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(27, 24, 20, .32); }
  .bn-body a:not([class]):hover { text-decoration-color: currentColor; color: #44259F; }
  .bn-table tbody tr:hover { background: rgba(27, 24, 20, .025); }
  .bn-faq-i summary:hover .bn-ic { background: color-mix(in srgb, var(--tone-tint) 70%, var(--tone) 18%); }
  .bn-card:hover { transform: translateY(-4px); box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); }
  .bn-card:hover .bn-card-img img { transform: scale(1.035); }
  .bn-card:hover .bn-card-t { color: #2B2620; }
  .bn-topics a:hover .bn-topics-n { color: var(--tone-ink); }
  .bn-topics a:hover .bn-topics-c { transform: translateX(-3px); }
  .bn-hero-card:hover { transform: translateY(-4px); }
  .bn-page .bn-hero-card:hover .bn-hero-img img { transform: scale(1.03); }
  .bn-hero-card:hover .bn-hero-go .bn-ic { transform: translateX(4px); }
  .bn-f:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(27, 24, 20, .32); }
  .bn-path-l a:hover { transform: translateY(-3px); box-shadow: var(--bn-sh-2), inset 0 0 0 1px var(--bn-line); }
  .bn-path-l a:hover .bn-ic { transform: translateX(4px); color: var(--bn-violet-ink); }
  .bn-prod a:hover .bn-ic { transform: translateX(4px); color: var(--bn-cyan); }
  .bn-tocsheet a:hover { background: var(--bn-paper-2); color: var(--bn-ink); }
}
/* Al tocco: risposta immediata alla pressione, senza il riquadro grigio del sistema. */
@media (hover: none) {
  .bn-card-a, .bn-hero-a, .bn-path-l a, .bn-f, .bn-sh, .bn-btn, .bn-faq-i summary, .bn-tocbar-b, .bn-tocsheet a, .bn-toc a, .bn-prod a, .bn-topics a { -webkit-tap-highlight-color: transparent; }
  .bn-card-a:active, .bn-hero-a:active { opacity: .86; } /* le schede hanno già la transizione della comparsa */
  .bn-path-l a { transition-duration: .18s; }
  .bn-path-l a:active { transform: scale(.98); }
  .bn-f:active, .bn-sh:active { transform: scale(.95); }
  .bn-faq-i summary:active .bn-ic, .bn-tocbar-b:active { background: var(--bn-paper-2); }
  .bn-tocsheet a:active, .bn-toc a:active { color: var(--bn-ink); background: var(--bn-paper-2); }
}
/* Aree di tocco di almeno 44 px (dito): briciole e categoria con area estesa
   invisibile (l'impaginazione non cambia), pulsanti e voci d'indice più alti. */
@media (pointer: coarse) {
  .bn-crumbs a, .bn-head-in a.bn-chip { position: relative; }
  .bn-crumbs a::after { content: ''; position: absolute; inset: -14px -9px; }
  .bn-head-in a.bn-chip::after { content: ''; position: absolute; inset: -10px -6px; }
  .bn-sh { min-width: 44px; height: 44px; }
  .bn-f { height: 44px; }
  .bn-toc a { min-height: 44px; align-content: center; }
  .bn-toc a::before { line-height: 1.42; }
  .bn-tocsheet a { min-height: 46px; align-content: center; }
  .bn-tocsheet a::before { line-height: 1.4; }
  .bn-related-all .bn-link, .bn-empty .bn-link { min-height: 44px; }
  .bn-prod a { min-height: 46px; }
  /* niente scorciatoia «/» da tastiera sui touch: il campo si allarga, la X è da 44 px */
  .bn-kbd { display: none; }
  .bn-search input { padding-right: 56px; }
  .bn-search-x { right: 7px; width: 44px; height: 44px; }
}

/* Indice laterale: si scorre da solo senza trascinare la pagina; se con la condivisione
   non entra in altezza (tablet in orizzontale, 768-834 px), la condivisione va in fondo
   all'articolo (classe messa da blog-nuovo.js). */
.bn-side-in { overscroll-behavior: contain; }
@media (min-width: 1024px) {
  .bn-side-tight .bn-side .bn-share { display: none; }
  .bn-side-tight .bn-share-end { display: block; margin-top: 26px; }
  /* data dell'articolo nella colonna stretta: va a capo intera, non spezzata in due colonne */
  .bn-byline .bn-meta-i time { white-space: nowrap; }
  .bn-byline .bn-meta-i { align-items: flex-start; }
  .bn-byline .bn-meta-i .bn-ic { margin-top: 1.5px; }
}

/* Indice del blog, 1024-1179 px (iPad orizzontale, iPad Pro verticale): gli argomenti
   compaiono già da 1024 (prima metà testata vuota), percorso di lettura più arioso. */
@media (min-width: 1024px) {
  .bn-mast-t { font-size: clamp(42px, 4.2vw, 60px); }
  .bn-mast-g { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 64px; align-items: end; }
  .bn-topics { display: block; padding: 22px 8px 6px 26px; border-left: 1px solid var(--bn-line-2); margin-bottom: 4px; }
  .bn-topics-t { margin-bottom: 8px; font: 700 11.5px/1.2 var(--bn-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bn-muted); }
  .bn-topics a { display: grid; grid-template-columns: 14px 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--bn-line); color: var(--bn-ink); text-decoration: none; }
  .bn-topics li:last-child a { border-bottom: 0; }
  .bn-topics i { grid-row: 1 / span 2; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px var(--tone-tint); }
  .bn-topics-n { font: 600 18px/1.3 var(--bn-serif-d); letter-spacing: -.005em; transition: color .2s; }
  .bn-topics-d { grid-column: 2; font: 500 12.5px/1.4 var(--bn-sans); color: var(--bn-muted); }
  .bn-topics-c { grid-column: 3; grid-row: 1 / span 2; align-self: center; font: 600 12px/1 var(--bn-sans); color: var(--tone-ink); font-variant-numeric: tabular-nums; transition: transform .3s var(--bn-ease); }
  .bn-topics a:focus-visible { outline: 2px solid var(--bn-violet); outline-offset: 2px; border-radius: 6px; }
}
@media (min-width: 1024px) and (max-width: 1179px) {
  .bn-mast-g { grid-template-columns: minmax(0, 1fr) 290px; column-gap: 44px; }
  .bn-topics { padding-left: 22px; }
  .bn-path-l { gap: 12px; }
  .bn-path-l a { padding: 20px 16px 16px; }
  .bn-path-k { letter-spacing: .07em; }
  .bn-path-t { font-size: 16.5px; }
}

/* Tablet verticale (641-1023 px): due colonne di schede. L'ultima scheda rimasta da sola
   (i 3 «Continua a leggere», o un filtro con un numero dispari di guide) occupa tutta la
   riga in orizzontale, invece di lasciare mezza riga vuota. L'illustrazione resta intera
   (contain): il fondo della cella è lo stesso colore carta dei bordi delle copertine. */
@media (min-width: 641px) and (max-width: 1023px) {
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) { grid-column: 1 / -1; }
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) .bn-card-a { display: grid; grid-template-columns: calc(50% - 10px) minmax(0, 1fr); align-items: stretch; }
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) .bn-card-img { position: relative; aspect-ratio: auto; height: 100%; border-radius: var(--bn-r) 0 0 var(--bn-r); background: rgb(239 234 228); }
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) .bn-card-img::before { content: ''; display: block; padding-top: 52.5%; }
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) .bn-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .bn-card:where(.bn-cards > .bn-card:nth-child(odd of .bn-card:not(.is-out)):nth-last-child(1 of .bn-card:not(.is-out)), .bn-cards-3 > .bn-card:nth-child(3):last-child) .bn-card-tx { justify-content: center; padding: 24px 28px; }
  /* indice a scomparsa: su tablet usa l'altezza disponibile (12 voci senza scorrere) */
  .bn-tocsheet { max-height: max(min(70vh, 520px), min(calc(100vh - var(--bn-nav) - 96px), 760px)); max-height: max(min(70dvh, 520px), min(calc(100dvh - var(--bn-nav) - 96px), 760px)); overscroll-behavior: contain; } /* mai più basso di prima (telefoni in orizzontale) */
}

/* ---------- Movimento ridotto: tutto fermo ---------- */
@media (prefers-reduced-motion: reduce) {
  .bn-page *, .bn-page *::before, .bn-page *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
  .bn-card:hover, .bn-hero-card:hover, .bn-btn:hover, .bn-path-l a:hover, .bn-sh:hover, .bn-f:hover { transform: none; }
  .bn-card:hover .bn-card-img img, .bn-page .bn-hero-card:hover .bn-hero-img img { transform: none; }
  .bn-page .msc-bubble { animation: none !important; }
  html:has(.bn-page) { scroll-behavior: auto; }
}
@media print {
  .bn-progress, .bn-side, .bn-tocbar, .bn-share-end, .bn-invite, .bn-related, #nav, .nav-mobile-overlay, footer, .msc-widget { display: none !important; }
  .bn-page main { padding-top: 0; }
  .bn-grid { display: block; }
}
