/* Cover Decoded: dark "slide" look. Loaded only on Cover Decoded pages (preview until the owner OKs it). */
.cd-hero { margin: 28px 0 32px; padding: 36px 28px; border-radius: 10px; background:
  radial-gradient(120% 140% at 100% 0%, rgba(217,180,90,.18), transparent 55%), linear-gradient(160deg, #1d1b18, #0e0e0d);
  border: 1px solid var(--line); }
.cd-hero .kicker { display: inline-block; margin-bottom: 10px; }
.cd-hero h1 { margin: 0 0 10px; font: 700 clamp(34px, 6vw, 54px)/1.05 var(--serif); letter-spacing: -.01em; }
.cd-hero h1 span { color: var(--gold); }
.cd-hero p { margin: 0; max-width: 640px; color: var(--muted); font-size: 18px; }
.cd-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.cd-how div { border-top: 2px solid var(--gold); padding-top: 10px; }
.cd-how b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.cd-card { position: relative; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.cd-card:hover { border-color: var(--gold); transform: translateY(-2px); color: inherit; }
.cd-card img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.cd-card .cd-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.cd-card h2 { margin: 0; font: 700 21px/1.25 var(--serif); }
.cd-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.cd-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #141414; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
/* numbered symbol "slides" inside an article: <ol class="decode"> */
ol.decode { list-style: none; counter-reset: cd; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
ol.decode > li:not(:has(.sym)) { counter-increment: cd; position: relative; padding: 18px 18px 18px 74px; border-radius: 10px; background: linear-gradient(160deg, #1f1d1a, #161514); border: 1px solid var(--line); }
ol.decode > li:not(:has(.sym))::before { content: counter(cd); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #141414; font: 700 18px/1 var(--sans); }
ol.decode > li b:first-child { display: block; color: var(--gold); font: 600 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 860px) { .cd-grid, .cd-how { grid-template-columns: 1fr; } .cd-hero { padding: 26px 18px; } ol.decode > li:not(:has(.sym)) { padding: 64px 16px 16px; } ol.decode > li:not(:has(.sym))::before { top: 14px; left: 16px; } }
ol.decode > li:has(.sym) { padding: 14px; border-radius: 10px; background: linear-gradient(160deg, #1f1d1a, #161514); border: 1px solid var(--line); }
ol.decode > li:has(img.sym)::before { left: 6px; top: 6px; }
