/* animazione2d.it — magazine pop/cartoon */
:root {
  --bg: #EFEBE4;
  --paper: #FFFFFF;
  --ink: #1B1A17;
  --mute: #5F594F;
  --line: #D9D2C5;
  --or: #FF5A1F;
  --yel: #FFD23F;
  --sky: #5BC8F5;
  --pink: #FF8FB8;
  --mint: #6FD49A;
  --lil: #B9A4FF;
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --max: 1220px;
  --gut: 16px;
  --r: 20px;
  --sh: 5px 5px 0 var(--ink);
}
@media (min-width: 760px) { :root { --gut: 32px; } }
@media (min-width: 1100px) { :root { --gut: 48px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- elementi base ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-or { background: var(--or); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-yel { background: var(--yel); }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.icon-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.icon-btn.btn-or { background: var(--or); }
.tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 4px 11px 3px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--c, var(--yel)); color: var(--ink); font: 600 11px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
a.tag:hover { filter: brightness(1.05); }
.meta { font-size: 13px; color: var(--mute); margin: 8px 0 0; }
.dek { color: var(--mute); font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
.kicker { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0; }

/* copertine segnaposto: colore pop, retino e cavallo in filigrana */
.cover { position: relative; display: block; width: 100%; height: 100%; background-color: var(--bg); background-image: radial-gradient(rgba(27,26,23,.13) 1.4px, transparent 1.6px); background-size: 12px 12px; }
.cover.white { --bg: #fff !important; }
.cover-horse { position: absolute; right: 10%; bottom: 12%; width: 30%; max-width: 130px; opacity: .22; transform: rotate(-4deg); }
.thumb { display: block; aspect-ratio: 16 / 10; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); margin-bottom: 14px; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover .thumb, .fest-lead:hover .thumb { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

/* ---------- testata ---------- */
.site-head { position: sticky; top: 0; z-index: 40; padding: 14px 0 10px; background: rgba(239,235,228,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 2.5px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, padding .2s ease; }
.site-head.is-stuck { border-bottom-color: var(--ink); box-shadow: 0 4px 0 rgba(27,26,23,.08); padding: 10px 0 8px; }
.site-head.is-stuck .mobile-nav { padding-top: 10px; }
html { scroll-padding-top: 130px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { height: 34px; width: auto; }
@media (min-width: 760px) { .logo img { height: 42px; } }
.head-nav { display: none; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.head-nav > a { padding: 8px 0; border-bottom: 2px solid transparent; }
.head-nav > a:hover { border-color: var(--or); }
@media (min-width: 1000px) { .head-nav { display: flex; } }
.sec-menu { position: relative; }
.sec-menu summary { list-style: none; cursor: pointer; padding: 8px 0; display: flex; align-items: center; gap: 8px; }
.sec-menu summary::-webkit-details-marker { display: none; }
.sec-menu summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-3px); }
.sec-menu-panel { position: absolute; z-index: 30; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }
.sec-menu-panel a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.sec-menu-panel a:hover { background: var(--bg); }
.sec-menu-panel i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--c); }
.head-actions { display: flex; gap: 10px; align-items: center; }
.head-actions .btn { display: none; }
@media (min-width: 560px) { .head-actions .btn { display: inline-flex; } }
.mobile-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 6px; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a { flex: 0 0 auto; padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

/* ---------- slider ---------- */
.hero { padding-top: 14px; }
.slider { overflow: hidden; }
.slider-track { --side: max(var(--gut), calc((100vw - var(--max)) / 2)); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 30px 0 18px var(--side); scroll-padding-left: var(--side); }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track::after { content: ''; flex: 0 0 1px; }
.slide { position: relative; flex: 0 0 min(86vw, 1060px); scroll-snap-align: start; display: grid; gap: 20px; padding: 14px; background: var(--bg); border: 2.5px solid var(--ink); border-radius: 28px; box-shadow: 7px 7px 0 var(--ink); }
.slide-img { display: block; aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.slide-txt { display: flex; flex-direction: column; gap: 14px; padding: 0 6px 8px; }
.slide-meta { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; font-weight: 500; }
.slide h2 { font: 400 clamp(28px, 4.2vw, 50px)/1.02 var(--serif); margin: 0; letter-spacing: -.005em; }
.slide .dek { color: var(--ink); font-size: 16px; margin: 0; }
.slide .btn { align-self: flex-start; margin-top: 6px; }
@media (min-width: 860px) { .slide { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: 20px 44px 20px 20px; } .slide-img { aspect-ratio: 4 / 3.1; } }
@media (max-width: 859px) { .slide-img { aspect-ratio: 16 / 9; } }
.burst { position: absolute; z-index: 2; top: -24px; left: -14px; width: 104px; height: 104px; display: grid; place-items: center; transform: rotate(-10deg); background: var(--ink); clip-path: polygon(50% 0%, 59% 13%, 75% 7%, 76% 23%, 93% 25%, 86% 40%, 100% 50%, 86% 60%, 93% 75%, 76% 77%, 75% 93%, 59% 87%, 50% 100%, 41% 87%, 25% 93%, 24% 77%, 7% 75%, 14% 60%, 0% 50%, 14% 40%, 7% 25%, 24% 23%, 25% 7%, 41% 13%); }
.burst::before { content: ''; position: absolute; inset: 3px; background: var(--yel); clip-path: inherit; }
.burst span { position: relative; font: 800 10.5px/1.05 var(--head); text-transform: uppercase; text-align: center; letter-spacing: .02em; }
.slider-ctrl { display: flex; align-items: center; gap: 18px; padding-top: 10px; }
.counter { margin: 0; font-size: 14px; color: var(--mute); white-space: nowrap; }
.counter b { font: 800 22px var(--head); color: var(--ink); }
.bars { flex: 1; display: flex; gap: 8px; align-items: center; }
.bars span { width: 44px; height: 8px; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bars span.on { width: 110px; background: var(--or); outline: 1.5px solid var(--ink); }
@media (max-width: 560px) { .bars span { width: 18px; } .bars span.on { width: 44px; } }

/* ---------- blocchi home ---------- */
.block { padding-top: 64px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 3px solid var(--ink); }
.sec-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font: 800 clamp(28px, 4vw, 44px)/1 var(--head); letter-spacing: -.03em; text-transform: uppercase; }
.doodle { width: 34px; height: 34px; transform: rotate(-8deg); flex: 0 0 auto; }
.doodle.wide { width: 54px; height: 20px; }
.more { font-weight: 500; font-size: 14px; white-space: nowrap; padding: 10px 0; }
.more:hover { color: var(--or); }
.dateline { margin: 0; font: italic 400 20px var(--serif); color: var(--mute); display: none; }
.dateline::first-letter { text-transform: uppercase; }
@media (min-width: 700px) { .dateline { display: block; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card h3 { font: 400 22px/1.12 var(--serif); margin: 10px 0 0; }
.card h3 a:hover { color: var(--or); }
.card-g h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; }
.card-g .thumb { aspect-ratio: 16 / 9.5; }
.card-s h3 { font: 400 15px/1.35 var(--sans); }
.card-s .thumb { aspect-ratio: 16 / 9; }
.card-text h3 { font-size: 26px; line-height: 1.08; }
.card-list { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.card-list h3 { font-size: 21px; }

.front { display: grid; gap: 34px; }
.front-sub { display: grid; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.front-mid, .front-side { display: grid; gap: 28px; align-content: start; }
@media (min-width: 640px) { .front-sub { grid-template-columns: 1fr 1fr; } .front-mid { grid-template-columns: 1fr 1fr; } .front-side { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .front { grid-template-columns: 1.65fr 1fr .62fr; gap: 0; }
  .front > div { padding: 0 26px; border-left: 1px solid var(--line); }
  .front > div:first-child { padding-left: 0; border-left: 0; }
  .front > div:last-child { padding-right: 0; }
  .front-mid, .front-side { grid-template-columns: 1fr; }
}

.picks { display: grid; gap: 20px 24px; }
@media (min-width: 640px) { .picks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .picks { grid-template-columns: repeat(4, 1fr); } }
.card-round { flex-direction: row; align-items: center; gap: 14px; }
.round-thumb { flex: 0 0 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.round-thumb .cover-horse { right: 18%; bottom: 20%; width: 60%; opacity: .3; }
.card-round > div { display: flex; flex-direction: column; min-width: 0; }
.card-round h3 { font-size: 18px; line-height: 1.15; margin-top: 7px; }
.btn-bar { display: flex; width: 100%; margin-top: 28px; }

.rev { display: grid; gap: 30px; }
.feature { display: grid; gap: 18px; padding: 22px; background: var(--or); color: #fff; border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: 7px 7px 0 var(--ink); }
.feature .kicker { color: #fff; }
.feature h3 { font: 400 clamp(28px, 3vw, 34px)/1.05 var(--serif); margin: 10px 0; }
.feature h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.feature p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.feature-img { display: block; aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
@media (min-width: 700px) { .feature { grid-template-columns: 1.15fr 1fr; align-items: center; } .feature-img { aspect-ratio: 4 / 5; } }
@media (min-width: 640px) and (max-width: 999px) { .rev { grid-template-columns: 1fr 1fr; } .feature { grid-column: 1 / -1; order: -1; } }
@media (min-width: 1000px) { .rev { grid-template-columns: 1fr 2fr 1fr; align-items: start; } }

.fest { display: grid; gap: 30px; }
.fest-lead { display: grid; gap: 22px; align-items: center; }
.fest-lead > div { display: flex; flex-direction: column; }
.fest-lead .thumb { margin: 0; aspect-ratio: 4 / 3; }
.fest-lead h3 { font: 400 clamp(28px, 3vw, 36px)/1.05 var(--serif); margin: 12px 0 0; }
.fest-lead h3 a:hover, .card-list h3 a:hover { color: var(--or); }
.fest-list { display: grid; gap: 18px; align-content: start; }
@media (min-width: 700px) { .fest-lead { grid-template-columns: 1fr 1.1fr; } }
@media (min-width: 1000px) { .fest { grid-template-columns: 2fr 1fr; } .fest-list { padding-left: 26px; border-left: 1px solid var(--line); } }

.sec-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .sec-grid { grid-template-columns: repeat(4, 1fr); } }
.sec-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; min-height: 150px; background: var(--c); border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.sec-tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.sec-tile b { font: 800 22px/1 var(--head); letter-spacing: -.02em; }
.sec-tile span { font-size: 13px; line-height: 1.4; flex: 1; }
.sec-tile em { font-style: normal; font-weight: 600; font-size: 13px; }
@media (max-width: 480px) { .sec-tile span { display: none; } .sec-tile { min-height: 96px; } }

/* ---------- newsletter e piede ---------- */
.nl-wrap { padding-top: 72px; }
.nl { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 48px 22px; background: var(--yel); border: 3px solid var(--ink); border-radius: 32px; box-shadow: 8px 8px 0 var(--ink); }
.nl-title { margin: 0; font: 800 clamp(30px, 5vw, 54px)/1.05 var(--head); letter-spacing: -.03em; }
.nl-title em { font: italic 400 1.12em var(--serif); letter-spacing: 0; }
.nl-form { width: 100%; max-width: 520px; display: grid; gap: 12px; }
.nl-input { display: flex; gap: 6px; padding: 5px 5px 5px 20px; background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); }
.nl-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 16px var(--sans); background: transparent; color: var(--ink); }
.nl-input .btn { box-shadow: none; }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; line-height: 1.45; }
.nl-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex: 0 0 auto; }
.site-foot { padding-top: 56px; padding-bottom: 40px; }
.foot-box { display: grid; gap: 24px; padding: 30px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.logo.small img { height: 34px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; font-weight: 500; }
.foot-nav a { padding: 6px 0; }
.foot-nav a:hover { color: var(--or); }
.foot-secs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal { margin: 0; font-size: 12px; line-height: 1.55; color: var(--mute); }

/* ---------- pagine elenco ---------- */
.page-head { padding-top: 40px; }
.page-head h1 { display: inline-block; margin: 0; padding: 10px 22px 12px; font: 800 clamp(38px, 7vw, 84px)/1 var(--head); letter-spacing: -.035em; text-transform: uppercase; background: var(--c, var(--yel)); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-1deg); }
.lede { max-width: 640px; margin: 22px 0 0; font: italic 400 24px/1.3 var(--serif); color: var(--mute); }
.page-head .meta { margin-top: 10px; }
.page-head .btn { margin: 18px 10px 0 0; }
.grid { display: grid; gap: 40px 28px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.pager { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 56px; }
.pager a, .pager span { min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
.pager span { background: var(--ink); color: #fff; }
.pager a:hover { background: var(--yel); }

/* ---------- articolo ---------- */
.story-head { max-width: calc(860px + var(--gut) * 2); padding-top: 40px; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--mute); }
.story-head h1 { margin: 18px 0 16px; font: 400 clamp(36px, 6vw, 68px)/1.02 var(--serif); letter-spacing: -.01em; }
.standfirst { margin: 0; font: italic 400 clamp(20px, 2.4vw, 26px)/1.35 var(--serif); color: var(--mute); }
.story-figure { margin: 34px auto 0; max-width: 1060px; aspect-ratio: 16 / 7; border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.story-figure .cover-horse { width: 16%; opacity: .25; }
@media (max-width: 640px) { .story-figure { aspect-ratio: 16 / 10; } }
.story-body { max-width: 700px; margin: 0 auto; padding-top: 48px; font-size: 18px; line-height: 1.75; }
.story-body > p:first-child::first-letter { float: left; margin: 8px 12px 0 0; padding: 4px 12px 8px; font: 800 3.4em/0.8 var(--head); color: var(--ink); background: var(--yel); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.story-body h2 { margin: 1.8em 0 .5em; font: 800 clamp(24px, 3vw, 30px)/1.12 var(--head); letter-spacing: -.02em; }
.story-body h3 { margin: 1.5em 0 .3em; font: 600 20px/1.3 var(--sans); }
.story-body ul, .story-body ol { padding-left: 1.3em; }
.story-body li { margin: .4em 0; }
.story-body li::marker { color: var(--or); font-weight: 700; }
.story-body strong { font-weight: 600; }
.story-body blockquote { margin: 2em 0; padding: 22px 26px; background: var(--sky); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); }
.story-body blockquote p { margin: .3em 0; font: italic 400 24px/1.3 var(--serif); }
.story-body a { text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 3px solid var(--ink); }
.tags span { padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 13px; }
.byline { font-size: 13px; color: var(--mute); }

/* ---------- ricerca e archivio ---------- */
.search input { width: 100%; max-width: 760px; margin-top: 26px; padding: 16px 22px; font: 400 20px var(--sans); color: var(--ink); background: var(--paper); border: 2.5px solid var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink); outline: 0; }
.years { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.years a { padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 600; box-shadow: 2px 2px 0 var(--ink); }
.years a:hover { background: var(--yel); }
.arch { margin-bottom: 48px; scroll-margin-top: 20px; }
.arch h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); font: 800 clamp(36px, 5vw, 56px)/1 var(--head); letter-spacing: -.03em; }
.arch h2 small { font: 500 15px var(--sans); color: var(--mute); letter-spacing: 0; }
.arch ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .arch ul { columns: 2; column-gap: 40px; } }
.arch li { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.arch li a { flex: 1 1 60%; }
.arch li a:hover { color: var(--or); }
.arch-date { flex: 0 0 92px; font-size: 13px; color: var(--mute); }
.arch-sec { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--ink); background: var(--c); }

/* fori della carta da animazione (registro Acme): asole vicino ai bordi, foro tondo al centro */
.pegs { position: absolute; z-index: 1; top: 6%; left: 0; width: 100%; height: auto; fill: var(--ink); opacity: .9; }
.pegs rect, .pegs circle { stroke: rgba(255,255,255,.55); stroke-width: 2; }
.story-figure .pegs { top: 7%; }

/* ---------- banner consenso ---------- */
.cc { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px 22px 18px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 24px; box-shadow: 7px 7px 0 var(--ink); transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.cc.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
@media (min-width: 640px) { .cc { left: 24px; bottom: 24px; } }
.cc-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font: 400 28px/1 var(--sans); color: var(--ink); cursor: pointer; border-radius: 50%; }
.cc-x:hover { background: var(--bg); }
.cc-title { margin: 0 40px 8px 0; font: 800 22px/1.15 var(--head); letter-spacing: -.02em; }
.cc-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mute); }
.cc-desc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
.cc-panel { display: grid; gap: 10px; margin-top: 16px; }
.cc-panel[hidden] { display: none; }
.cc-cat { display: grid; gap: 4px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--bg); cursor: pointer; }
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-cat-desc { font-size: 13px; line-height: 1.45; color: var(--mute); }
.cc-switch { position: relative; flex: 0 0 auto; width: 48px; height: 28px; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-switch i { position: absolute; inset: 0; border: 2px solid var(--ink); border-radius: 99px; background: #fff; transition: background .2s ease; pointer-events: none; }
.cc-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform .2s ease; }
.cc-switch input:checked + i { background: var(--mint); }
.cc-switch input:checked + i::after { transform: translateX(20px); }
.cc-switch input:disabled + i { opacity: .55; }
.cc-switch input:focus-visible + i { outline: 3px solid var(--or); outline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
@media (min-width: 420px) { .cc-actions { grid-template-columns: repeat(3, 1fr); } }
.cc-actions .btn { width: 100%; min-height: 46px; padding: 10px 12px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }
.cc:focus { outline: none; }
.cc-actions .btn[hidden] { display: none; }
.foot-nav button { padding: 6px 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.foot-nav button:hover { color: var(--or); }
/* contenuti esterni bloccati finché non c'è il consenso */
.consent-embed { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--bg); box-shadow: var(--sh); }
.consent-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent-embed .consent-ph { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 20px; text-align: center; font-size: 14px; }
.consent-embed.is-on .consent-ph { display: none; }
/* pagine legali */
.legal-doc { padding-top: 24px; }
.legal-doc h2 { font-size: 24px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; line-height: 1.45; }
.legal-doc th, .legal-doc td { padding: 10px 12px; border: 1.5px solid var(--ink); text-align: left; vertical-align: top; }
.legal-doc th { background: var(--yel); font-weight: 600; }
.legal-doc .updated { font-size: 14px; color: var(--mute); }
@media (max-width: 640px) { .legal-doc table { display: block; overflow-x: auto; } }

/* ---------- immagini degli articoli ---------- */
.cover.has-img { background: #fff; }
.cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .pegs { z-index: 2; }
.cover.has-img .pegs { fill: var(--bg-page, #EFEBE4); opacity: 1; }
.cover.has-img .pegs rect, .cover.has-img .pegs circle { stroke: var(--ink); stroke-width: 2.5; }
.story-fig { margin: 0; }
.story-fig .credit { max-width: 1060px; margin: 18px auto 0; text-align: right; }
.credit { font-size: 12px; line-height: 1.45; color: var(--mute); }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.credits-list { list-style: none; padding: 0; }
.credits-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.credits-list li > a { font-weight: 600; }
