/*
Theme Name: Alcobar v2
Description: Bar-and-life magazine theme for alcobar85.xyz. Warm paper, oxblood and brass, Gloock headlines over Onest text; dark "At the bar" band for drinks coverage.
Version: 2.5.3
Author: Alcobar
Text Domain: alcobar
*/

/* ---------- tokens ---------- */
:root {
	--bg: #fbf7f1;
	--bg-2: #f2eadf;
	--card: #ffffff;
	--ink: #1e1714;
	--ink-2: #4a3f39;
	--muted: #75685f;
	--line: #e4d9ca;
	--strong: #1e1714;
	--accent: #8e2433;        /* oxblood */
	--accent-text: #8e2433;
	--on-accent: #ffffff;
	--brass: #b0802f;         /* decorative only (marks, rules) */
	--panel: #22161a;         /* bar band, header, footer */
	--panel-2: #2e1f24;
	--on-panel: #f6efe6;
	--on-panel-2: #cbbdb1;
	--panel-accent: #e5a1aa;
	--focus: #8e2433;
	--display: "Gloock", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--text: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;
	--wrap: 1240px;
	--r: 6px;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #151112; --bg-2: #1e181a; --card: #1b1517; --ink: #f3ece3; --ink-2: #d6cabe; --muted: #a8998c; --line: #352b2d; --strong: #f3ece3;
		--accent: #e57f8c; --accent-text: #ee9aa4; --on-accent: #151112; --brass: #d6a656; --panel: #0e0a0b; --panel-2: #1a1214;
		--on-panel: #f3ece3; --on-panel-2: #bfb2a6; --panel-accent: #ee9aa4; --focus: #ee9aa4;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #151112; --bg-2: #1e181a; --card: #1b1517; --ink: #f3ece3; --ink-2: #d6cabe; --muted: #a8998c; --line: #352b2d; --strong: #f3ece3;
	--accent: #e57f8c; --accent-text: #ee9aa4; --on-accent: #151112; --brass: #d6a656; --panel: #0e0a0b; --panel-2: #1a1214;
	--on-panel: #f3ece3; --on-panel-2: #bfb2a6; --panel-accent: #ee9aa4; --focus: #ee9aa4;
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--ink); color: var(--bg); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

/* ---------- shared ---------- */
.eyebrow { font: 600 .74rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eyebrow--light { color: var(--on-panel-2); }
.eyebrow--light::after { background: rgba(255, 255, 255, .16); }
.label { display: inline-block; margin-bottom: .5rem; font: 600 .7rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
a.label:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta { margin-top: .65rem; font: 400 .8rem/1.4 var(--text); color: var(--muted); font-variant-numeric: tabular-nums; }
.more { font: 600 .86rem/1 var(--text); color: var(--accent-text); display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }

.story__title { font-family: var(--display); font-weight: 400; letter-spacing: -.005em; line-height: 1.16; color: var(--ink); }
.story__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.story__title a:hover { background-size: 100% 1px; }
.story__dek { margin-top: .5rem; font: 400 .95rem/1.55 var(--text); color: var(--ink-2); }
.story--std .story__title { font-size: 1.32rem; }
.story--feature .story__title { font-size: clamp(1.55rem, 1.15rem + .9vw, 2rem); line-height: 1.1; }
.story--feature .story__dek { font-size: 1.02rem; }
.story--brief .story__title { font-size: 1.12rem; line-height: 1.22; }
.story--brief .meta { margin-top: .3rem; }
.story--lead .story__title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.04; letter-spacing: -.012em; }
.story--lead .story__dek { font-size: 1.1rem; max-width: 56ch; margin-top: .9rem; }
.story--lead .meta { margin-top: 1rem; }

/* Featured images */
.story__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); margin-bottom: 14px; border-radius: var(--r); }
.story__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story:hover .story__media img { transform: scale(1.04); }
.story--lead .story__media { aspect-ratio: 16 / 9; margin-bottom: 22px; }
.article__media { margin: 30px 0 0; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: var(--bg-2); border-radius: var(--r); }
.article__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Small thumbnails: rail rows, ranked list, prev/next, bar list */
.minirow { display: grid; grid-template-columns: 1fr; gap: 0; }
.minirow:has(.minirow__media) { grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.minirow__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); border-radius: var(--r); }
.minirow__media img, .ranked__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ranked li:has(.ranked__media) { grid-template-columns: 2.1rem 1fr 84px; }
.ranked__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); align-self: start; border-radius: var(--r); }
.prevnext__item { display: flex; gap: 16px; align-items: center; }
.prevnext__item--next { flex-direction: row-reverse; }
.prevnext__img { flex: none; width: 104px; height: 78px; object-fit: cover; display: block; border-radius: var(--r); }
.prevnext__txt { display: block; }

/* Reading progress */
.readbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.readbar span { display: block; height: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); }

/* Static pages */
.sechead--page .sechead__title { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); }
.article--page .article__grid { padding-top: 44px; }

/* Save for later */
.byline__actions { display: inline-flex; gap: 8px; margin-left: auto; }
.byline__actions .byline__copy { margin-left: 0; }
.js-save[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.iconbtn--saved { position: relative; }
.iconbtn__count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--brass); color: #1e1714; font: 700 .66rem/17px var(--text); text-align: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
.saved__clear { background: none; border: 0; cursor: pointer; padding: 0; }
.saved .grid3:empty { display: none; }

/* ---------- header ---------- */
.hdr { background: var(--panel); color: var(--on-panel); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 76px; }
.hdr__date { font: 400 .8rem/1.2 var(--text); color: var(--on-panel-2); letter-spacing: .02em; }
.logo { justify-self: center; display: inline-flex; align-items: center; gap: .45rem; font: 400 2.05rem/1 var(--display); letter-spacing: -.01em; color: var(--on-panel); }
.logo__mark { flex: none; color: var(--on-panel); }
.hdr__tools { justify-self: end; display: flex; gap: 2px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--on-panel); cursor: pointer; }
.iconbtn:hover { background: rgba(255, 255, 255, .1); }
.iconbtn[aria-expanded="true"] { background: var(--on-panel); color: var(--panel); }
.iconbtn--menu { display: none; justify-self: start; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; } :root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ico-sun { display: block; } :root:not([data-theme="light"]) .ico-moon { display: none; } }

.drawer { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 18px 22px; background: var(--panel); }
.drawer .searchform { max-width: 720px; margin-inline: auto; }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.drawer__list li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer__list a { flex: 1; padding: .85rem 0; font: 400 1.25rem/1.2 var(--display); }
.drawer__list span { align-self: center; font: .8rem var(--text); color: var(--on-panel-2); }
.drawer__extra { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font: 500 .9rem var(--text); color: var(--on-panel-2); }

.secnav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.secnav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.secnav ul::-webkit-scrollbar { display: none; }
.secnav a { display: block; position: relative; padding: 1rem .85rem .95rem; font: 500 .9rem/1 var(--text); color: var(--ink-2); white-space: nowrap; }
.secnav a:hover { color: var(--ink); }
.secnav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.secnav a[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -1px; height: 2px; background: var(--accent); }

.searchform { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.searchform:focus-within { border-color: var(--ink); }
.searchform input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 1rem/1 var(--text); padding: .85rem 1.1rem; outline: 0; }
.searchform input::placeholder { color: var(--muted); }
.searchform button { margin: 4px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); cursor: pointer; font: 600 .88rem/1 var(--text); padding: 0 1.15rem; }
.searchform button:hover { filter: brightness(1.1); }
.drawer .searchform { border-color: transparent; }

/* ---------- home ---------- */
.intro__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-block: 48px 8px; }
.intro__title { font: 400 clamp(1.75rem, 1.1rem + 2vw, 2.75rem)/1.12 var(--display); letter-spacing: -.01em; color: var(--ink-2); }
.intro__brand { color: var(--ink); }
.intro__domain { color: var(--accent-text); }
.intro__topics { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font: 400 .85rem/1.4 var(--text); color: var(--muted); }
.intro__topics a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--ink); }
.hero__list .eyebrow { margin-bottom: 4px; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.ranked li { counter-increment: rk; display: grid; grid-template-columns: 2.1rem 1fr; gap: 8px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ranked li:last-child { border-bottom: 0; }
.ranked li::before { content: counter(rk); font: 400 1.6rem/1 var(--display); color: var(--brass); }
.hero__list--plain .story { padding-block: 20px; border-bottom: 1px solid var(--line); }
.hero__list--plain .story:first-child { padding-top: 0; }
.hero__list--plain .story:last-child { border-bottom: 0; }

/* "At the bar" — drinks band */
.bar { margin-top: 64px; padding-block: 56px 48px; background: var(--panel); color: var(--on-panel); }
.bar__head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 28px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.bar__kicker { grid-column: 1 / -1; font: 600 .72rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.bar__title { font: 400 clamp(2.2rem, 1.5rem + 2vw, 3.2rem)/1 var(--display); }
.bar__title a:hover { color: var(--panel-accent); }
.bar__desc { justify-self: end; max-width: 46ch; color: var(--on-panel-2); font-size: .98rem; text-align: right; }
.bar__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
.bar .story__title, .bar .story__title a { color: var(--on-panel); }
.bar .story__dek, .bar .meta { color: var(--on-panel-2); }
.bar .story__media { background: var(--panel-2); }
.bar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.bar__list li { padding-block: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bar__list li:first-child { padding-top: 0; }
.bar__list a { font: 400 1.22rem/1.2 var(--display); color: var(--on-panel); }
.bar__list a:hover { color: var(--panel-accent); }
.bar__list span { display: block; margin-top: 6px; font-size: .8rem; color: var(--on-panel-2); }
.bar .minirow__media { background: var(--panel-2); }
.bar__note { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--on-panel-2); }
.bar__note span { padding: .2rem .5rem; border: 1px solid var(--brass); border-radius: 4px; color: var(--brass); font-weight: 700; font-size: .75rem; letter-spacing: .04em; }
.bar__note a { color: var(--on-panel); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }

.block { margin-top: 64px; }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--ink); }
.block__title { font: 400 1.9rem/1.1 var(--display); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.grid3--top { margin-top: 40px; }
.grid4 .story__dek, .grid3 .story__dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grid4 .story:not(.has-media), .grid3 .story:not(.has-media) { padding-top: 16px; border-top: 1px solid var(--line); }

/* Section shelves */
.shelf { padding-top: 40px; border-top: 1px solid var(--ink); }
.shelf__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title more" "desc desc"; gap: 6px 24px; margin-bottom: 28px; }
.shelf__title { grid-area: title; font: 400 clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem)/1 var(--display); }
.shelf__title a:hover { color: var(--accent-text); }
.shelf__desc { grid-area: desc; max-width: 70ch; font-size: .95rem; color: var(--ink-2); }
.shelf__head .more { grid-area: more; align-self: end; }
.shelf__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.shelf__grid .story__dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shelf__grid .story--feature .story__media { aspect-ratio: 16 / 10; }

.manifesto { margin-top: 80px; background: var(--bg-2); border-top: 1px solid var(--line); }
.manifesto__in { padding-block: 64px; }
.manifesto .eyebrow--light { color: var(--muted); }
.manifesto .eyebrow--light::after { background: var(--line); }
.manifesto__text { margin-top: 20px; max-width: 40ch; font: 400 clamp(1.45rem, 1rem + 1.4vw, 2.1rem)/1.3 var(--display); color: var(--ink); }
.manifesto__text a { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.manifesto__text a:hover { color: var(--accent-text); }
.manifesto__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font: 600 .95rem var(--text); }
.manifesto__links a { color: var(--accent-text); }

/* ---------- list pages ---------- */
.sechead { border-bottom: 1px solid var(--line); }
.sechead .wrap { padding-block: 40px 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font: 500 .8rem/1.4 var(--text); color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.sechead__title { font: 400 clamp(2.4rem, 1.5rem + 3vw, 4.2rem)/1 var(--display); letter-spacing: -.012em; }
.sechead__dek { margin-top: 14px; max-width: 60ch; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); }
.sechead__count { margin-top: 16px; font: 500 .82rem/1 var(--text); color: var(--muted); }
.sechead__search { max-width: 640px; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { padding: .5rem .9rem; border: 1px solid var(--line); background: var(--card); font: 500 .85rem/1 var(--text); color: var(--ink-2); border-radius: 999px; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.hero--section { margin-top: 36px; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 48px; font: 500 .9rem/1 var(--text); }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pager .dots { border-color: transparent; background: none; }
.empty { padding-block: 40px; font-size: 1.1rem; color: var(--ink-2); }
.chips--left { justify-content: flex-start; }

/* ---------- article ---------- */
.article__head { max-width: 920px; padding-block: 40px 0; }
.article__title { font: 400 clamp(2.2rem, 1.4rem + 2.8vw, 3.8rem)/1.05 var(--display); letter-spacing: -.012em; }
.article__dek { margin-top: 18px; font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 26px; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 400 .88rem/1.4 var(--text); color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; }
.byline a:hover { color: var(--accent-text); }
.byline__sep { color: var(--line); }
.byline__copy { margin-left: auto; padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; font: 600 .8rem/1 var(--text); }
.byline__copy:hover { border-color: var(--ink); }

.article__grid { display: grid; grid-template-columns: minmax(0, 700px) 290px; justify-content: space-between; gap: 72px; padding-block: 40px 0; }
.article__grid--single { grid-template-columns: minmax(0, 700px); }
.article__rail { min-width: 0; }
.rail { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.rail__title { margin-bottom: 8px; font: 600 .72rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rail__title a { color: var(--accent-text); }
.railtoc { margin-bottom: 36px; }
.railtoc__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.railtoc__list a { display: block; margin-left: -1px; padding: .45rem 0 .45rem 14px; border-left: 2px solid transparent; font: 400 .9rem/1.35 var(--text); color: var(--muted); }
.railtoc__list a:hover { color: var(--ink); }
.railtoc__list a[aria-current] { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.rail__list { list-style: none; margin: 0; padding: 0; }
.rail__list li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.rail__list .minirow:has(.minirow__media) { grid-template-columns: 76px 1fr; }
.rail__list a { display: block; font: 400 1.02rem/1.25 var(--display); }
.rail__list a:hover { color: var(--accent-text); }
.rail__list span { display: block; margin-top: 5px; font: .78rem var(--text); color: var(--muted); }

.contents { margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; background: var(--card); }
.contents summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font: 600 .78rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.contents summary::-webkit-details-marker { display: none; }
.contents summary::after { content: "+"; font: 400 1.4rem/1 var(--text); }
.contents[open] summary::after { content: "–"; }
.contents ol { margin: 12px 0 0; padding-left: 1.2rem; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
.contents li { padding-block: .25rem; }
.contents--inline { display: none; }

.prose { font: 400 1.12rem/1.75 var(--text); color: var(--ink); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: 1.12em; line-height: 1.6; }
.prose > p:first-child::first-letter { float: left; font: 400 3.6em/.82 var(--display); margin: .06em .1em 0 0; color: var(--accent-text); }
.prose h2 { margin-top: 2em; font: 400 1.95rem/1.15 var(--display); scroll-margin-top: 76px; }
.prose h3 { margin-top: 1.8em; font: 600 1.22rem/1.3 var(--text); letter-spacing: -.01em; }
.prose h4 { margin-top: 1.5em; font: 600 1rem/1.3 var(--text); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose ul li::marker { color: var(--brass); }
.prose ol li::marker { color: var(--accent-text); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--brass); font: 400 1.45rem/1.4 var(--display); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.prose img { display: block; height: auto; border-radius: var(--r); }
.prose figure { margin-inline: 0; }
.prose figcaption { margin-top: .5em; font-size: .85rem; color: var(--muted); }
.prose code { font: .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-2); padding: .12em .38em; border-radius: 4px; }
.prose pre { overflow-x: auto; background: var(--bg-2); padding: 1em; font-size: .9rem; border-radius: var(--r); }
.prose pre code { background: none; padding: 0; }
.prose .tbl { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .65em .75em; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; border-bottom: 1px solid var(--ink); }
.prose .wp-block-table, .prose .wp-block-image { margin-inline: 0; }
.prose .takeaways { margin-block: 2em; padding: 22px 26px 24px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: var(--r); }
.prose .takeaways h2 { margin: 0 0 .6em; font: 600 .76rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prose .takeaways p, .prose .takeaways ul { margin: 0 0 .8em; font-size: 1.02rem; line-height: 1.6; }
.prose .takeaways ul { margin: 0; padding-left: 1.2em; }
.prose .takeaways li + li { margin-top: .45em; }
.prose .faq { margin-top: 2.4em; }
.prose .faq h3 { margin-top: 1.2em; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.1rem; }
.prose .faq h3::before { content: "Q."; margin-right: .4em; font-family: var(--display); font-weight: 400; color: var(--accent-text); }
.prose .faq h3 + p { color: var(--ink-2); }
.prose > p:first-child:has(> strong:only-child)::first-letter, .prose > p:first-child:has(> a:first-child)::first-letter { float: none; font: inherit; margin: 0; color: inherit; }

.article__foot { margin-top: 44px; }
.aboutbox { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.aboutbox p + p { margin-top: .5rem; }
.aboutbox__title { font: 600 .74rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.aboutbox a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.prevnext__item { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font: 400 1.12rem/1.25 var(--display); transition: border-color .15s; }
.prevnext__item:hover { border-color: var(--ink); }
.prevnext__item--next { grid-column: 2; text-align: right; }
.prevnext__item span span, .prevnext__txt > span { display: block; margin-bottom: 6px; font: 600 .7rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.elsewhere { margin-bottom: 12px; }

mark { background: transparent; color: inherit; box-shadow: inset 0 -.4em 0 color-mix(in srgb, var(--brass) 35%, transparent); }

/* ---------- footer ---------- */
.foot { background: var(--panel); color: var(--on-panel-2); font-size: .92rem; line-height: 1.6; }
main + .foot { margin-top: 80px; }
.home main + .foot { margin-top: 0; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 36px; }
.logo--foot { justify-self: start; font-size: 2.1rem; margin-bottom: 16px; }
.foot__brand p { max-width: 46ch; }
.foot__brand p + p { margin-top: 10px; }
.foot__brand a:not(.logo) { color: var(--on-panel); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.foot__col h2, .foot__h { margin-bottom: 12px; font: 600 .72rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--on-panel); }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { padding-block: .22rem; }
.foot__col a:hover, .foot__legal a:hover { color: var(--panel-accent); }
.foot__drink { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.foot__drink strong { margin-right: .5rem; padding: .15rem .45rem; border: 1px solid var(--brass); border-radius: 4px; color: var(--brass); font-size: .74rem; }
.foot__directory:empty { display: none; }
.foot .estate-contact { padding: 14px 0 !important; text-align: left !important; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem !important; opacity: 1 !important; }
.foot .estate-contact a { color: var(--on-panel); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }


/* ---------- section colours (v2.1) ---------- */
[data-sec] { --sec: var(--sec-l, var(--accent)); }
[data-sec="drinks"]   { --sec-l: #8e2433; --sec-d: #e98a96; }
[data-sec="reading"]  { --sec-l: #2c4c7c; --sec-d: #93b3e3; }
[data-sec="money"]    { --sec-l: #2b6549; --sec-d: #83c9a6; }
[data-sec="tech"]     { --sec-l: #1c636b; --sec-d: #7cc6ce; }
[data-sec="life"]     { --sec-l: #8a5312; --sec-d: #e2ac62; }
[data-sec="games"]    { --sec-l: #683a77; --sec-d: #c9a0d8; }
[data-sec="business"] { --sec-l: #475262; --sec-d: #afbac8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [data-sec] { --sec: var(--sec-d, var(--accent)); } }
:root[data-theme="dark"] [data-sec] { --sec: var(--sec-d, var(--accent)); }

.label[data-sec] { color: var(--sec); }
.label[data-sec]::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em; border-radius: 2px; background: var(--sec); vertical-align: .02em; }
.shelf { position: relative; }
.shelf::before { content: ""; position: absolute; top: -2px; left: 0; width: 72px; height: 3px; background: var(--sec, var(--accent)); }
.shelf__title a:hover, .shelf__rows a:hover { color: var(--sec); }
.sechead[data-sec] { background: color-mix(in srgb, var(--sec) 6%, var(--bg)); box-shadow: inset 0 3px 0 var(--sec); }
.sechead[data-sec] .sechead__count { color: var(--sec); }
.readbar[data-sec] span { background: var(--sec); }
.article[data-sec] .prose > p:first-child::first-letter { color: var(--sec); }
.article[data-sec] .railtoc__list a[aria-current] { border-left-color: var(--sec); }
.article[data-sec] .rail__title a { color: var(--sec); }

/* Section shelf, list variant: lead story + headline rows on a full-bleed tint */
.shelf--list::before { top: 0; }
.shelf--list { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); padding-bottom: 48px; }
.shelf--list .story__media { background: var(--bg); }
.shelf__split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; }
.shelf__split .story--feature .story__media { aspect-ratio: 16 / 10; }
.shelf__rows { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.shelf__rows li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.shelf__rows li:first-child { padding-top: 0; }
.shelf__rows li:last-child { border-bottom: 0; }
.shelf__rows .minirow:has(.minirow__media) { grid-template-columns: 120px 1fr; gap: 16px; }
.shelf__rows .minirow__media { aspect-ratio: 4 / 3; }
.shelf__rows a { display: block; font: 400 1.2rem/1.22 var(--display); }
.shelf__rows span { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }

/* Section index tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 20px 20px 18px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--sec, var(--ink)); border-radius: var(--r); }
.tile__name { font: 400 1.45rem/1.12 var(--display); color: var(--ink); }
a.tile__name:hover { color: var(--sec); }
.tile__count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile__latest { margin-top: auto; padding-top: 14px; font-size: .9rem; line-height: 1.38; }
.tile__latest span { display: block; margin-bottom: 4px; font: 600 .66rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--sec); }
.tile__latest a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tile--search { justify-content: space-between; gap: 16px; background: var(--panel); border-color: var(--panel); border-top-color: var(--brass); }
.tile--search .tile__name { color: var(--on-panel); }
.tile--search .searchform { border-color: transparent; }

/* Side story (section page): text left, square thumbnail right */
.story--side.has-media { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; align-items: start; }
.story--side .story__media { order: 2; margin: 0; aspect-ratio: 1; }
.story--side .story__title { font-size: 1.2rem; line-height: 1.2; }
.story--side .story__dek { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Reading tools */
:root[data-size="l"] .prose { font-size: 1.24rem; }
:root[data-size="xl"] .prose { font-size: 1.38rem; }
.byline__size span { font: 400 1rem/1 var(--display); letter-spacing: -.02em; }
.byline__size small { font-size: .7em; }
:root[data-size] .byline__size { border-color: var(--ink); }
.totop { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--panel); color: var(--on-panel); box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.totop:hover { background: var(--accent); color: var(--on-accent); }


/* ---------- v2.2 ---------- */
/* Search filter chips */
.chips--filter a { display: inline-flex; align-items: center; gap: .4em; }
.chips--filter a span { font-size: .78em; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips a[aria-current] span { color: inherit; opacity: .75; }

/* Static pages: side menu + About facts */
.pagenav__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.pagenav__list a { display: block; margin-left: -1px; padding: .5rem 0 .5rem 14px; border-left: 2px solid transparent; font-size: .94rem; color: var(--ink-2); }
.pagenav__list a:hover { color: var(--ink); }
.pagenav__list a[aria-current] { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.pagenav__contact { margin-top: 32px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.pagenav__contact a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 36px; border-block: 1px solid var(--line); }
.glance div { padding: 16px 16px 14px 0; }
.glance div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.glance dt { font: 600 .68rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 6px 0 0; font: 400 1.6rem/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.glance dd a { color: var(--accent-text); }

/* Bar measures converter */
.measure { margin-top: 40px; padding: 22px 24px 20px; background: var(--panel); color: var(--on-panel); border-radius: var(--r); border-top: 3px solid var(--brass); }
.measure__title { font: 400 1.5rem/1.1 var(--display); color: var(--on-panel); }
.measure__note { margin-top: 6px; font-size: .9rem; color: var(--on-panel-2); }
.measure__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.measure__field { display: grid; gap: 6px; font: 600 .68rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--on-panel-2); }
.measure__field input, .measure__field select { min-width: 0; width: 9.5rem; height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--on-panel); font: 500 1rem/1 var(--text); letter-spacing: 0; text-transform: none; color-scheme: dark; }
.measure__field input:focus-visible, .measure__field select:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.measure__out { display: block; margin-top: 16px; font: 400 1.45rem/1.25 var(--display); color: var(--on-panel); font-variant-numeric: tabular-nums; }
.measure__ref { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: var(--on-panel-2); }
.sectools { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-top: 48px; }
.sectools .measure { margin-top: 0; }
.sectools__note { font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.sectools__note strong { display: inline-block; margin-right: .5rem; padding: .1rem .45rem; border: 1px solid var(--brass); border-radius: 4px; color: var(--accent-text); font-size: .74rem; }
.sectools__note a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1020px) { .sectools { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.glance { grid-template-columns: 1fr 1fr; }
	.glance div:nth-child(3) { padding-left: 0; border-left: 0; }
	.glance div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.measure { padding: 18px; }
	.measure__field input, .measure__field select { width: 100%; }
	.measure__row { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Leading title-heading links, kept as a reference line */
.prose > p.prose__covers { line-height: 1.5; margin: 0 0 1.4em; padding: 10px 14px; border-left: 3px solid var(--brass); background: var(--card); font-size: .9rem; color: var(--ink-2); }
.prose > p.prose__covers::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.prose > .prose__covers + p::first-letter { float: left; font: 400 3.6em/.82 var(--display); margin: .06em .1em 0 0; color: var(--sec, var(--accent-text)); }

/* FAQ accordion */
.prose .faq__item { border-top: 1px solid var(--line); }
.prose .faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.prose .faq__item + .faq__item { margin-top: 0; }
.prose .faq summary { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; cursor: pointer; list-style: none; }
.prose .faq summary::-webkit-details-marker { display: none; }
.prose .faq summary::after { content: "+"; margin-left: auto; flex: none; font: 400 1.5rem/1 var(--text); color: var(--muted); transition: transform .2s; }
.prose .faq details[open] > summary::after { transform: rotate(45deg); }
.prose .faq summary h3 { margin: 0; padding: 0; border: 0; font-size: 1.08rem; line-height: 1.4; }
.prose .faq summary h3::before { content: "Q."; margin-right: .45em; font-family: var(--display); font-weight: 400; color: var(--sec, var(--accent-text)); }
.prose .faq summary:hover h3 { color: var(--sec, var(--accent-text)); }
.prose .faq__a { padding: 0 0 18px 0; color: var(--ink-2); }
.prose .faq__a > * + * { margin-top: .8em; }

/* ---------- v2.5 finish ---------- */
.prose h2 .hanchor { margin-left: .35em; font: 400 .7em/1 var(--text); color: var(--muted); text-decoration: none; opacity: 0; transition: opacity .15s; }
.prose .takeaways h2 .hanchor, .prose .faq > h2 .hanchor { display: none; }
.prose h2:hover .hanchor, .prose h2 .hanchor:focus-visible { opacity: 1; }
.prose h2 .hanchor:hover { color: var(--sec, var(--accent-text)); }
.prose h2 .hanchor.is-copied { opacity: 1; color: var(--sec, var(--accent-text)); }
.prose h2 .hanchor.is-copied::after { content: " copied"; font-size: .8em; }
@media (hover: none) { .prose h2 .hanchor { display: none; } }
::selection { background: color-mix(in srgb, var(--brass) 38%, transparent); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.story__media, .minirow__media, .ranked__media, .article__media { background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 6h20l-8.6 10.2V25h4.6v2H10v-2h4.6v-8.8z' fill='%23b0802f' fill-opacity='.28'/%3E%3C/svg%3E") center / 34px no-repeat; }
.article__media { background-size: 64px; }
.bar .story__media, .bar .minirow__media { background-color: var(--panel-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.story__media, .minirow__media, .ranked__media, .article__media, .prevnext__img) img, :root:not([data-theme="light"]) .prevnext__img { filter: brightness(.9) contrast(1.04); } }
:root[data-theme="dark"] :is(.story__media, .minirow__media, .ranked__media, .article__media) img, :root[data-theme="dark"] .prevnext__img { filter: brightness(.9) contrast(1.04); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.grid4 { gap: 32px 20px; }
	.grid4 .story__title { font-size: 1.14rem; }
	.article__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; }
	.foot__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid4 .story__title { font-size: 1.25rem; }
}
@media (max-width: 1020px) {
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shelf__split { grid-template-columns: 1fr; gap: 28px; }
	.secnav ul { justify-content: flex-start; }
	.intro__in { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 0; }
	.hero { grid-template-columns: 1fr; gap: 28px; }
	.bar__head { grid-template-columns: 1fr; }
	.bar__desc { justify-self: start; text-align: left; }
	.bar__grid { grid-template-columns: 1fr; gap: 32px; }
	.shelf__grid { grid-template-columns: 1fr 1fr; }
	.shelf__grid .story:first-child { grid-column: 1 / -1; }
	.grid3 { grid-template-columns: 1fr 1fr; }
	.article__grid { grid-template-columns: 1fr; gap: 40px; }
	.railtoc { display: none; }
	.contents--inline { display: block; }
	.rail { position: static; max-height: none; overflow: visible; }
}
@media (max-width: 760px) {
	.hdr__in { grid-template-columns: auto 1fr auto; min-height: 62px; gap: 8px; }
	.hdr__date { display: none; }
	.iconbtn--menu { display: inline-grid; }
	.logo { justify-self: start; font-size: 1.6rem; }
	.logo__mark { width: 22px; height: 22px; }
	.iconbtn--saved { display: none; }
}
@media (max-width: 640px) {
	.wrap { padding-inline: 18px; }
	/* phones: grid cards become compact rows (thumbnail right) so lists stay scannable */
	.grid4 .story--std.has-media, .grid3 .story--std.has-media, .shelf__grid .story--std.has-media { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; align-items: start; padding-top: 16px; border-top: 1px solid var(--line); }
	.grid4 .story--std .story__media, .grid3 .story--std .story__media, .shelf__grid .story--std .story__media { order: 2; margin: 0; aspect-ratio: 1; }
	.grid4 .story--std .story__title, .grid3 .story--std .story__title, .shelf__grid .story--std .story__title { font-size: 1.14rem; line-height: 1.22; }
	.grid4 .story--std .story__dek, .grid3 .story--std .story__dek, .shelf__grid .story--std .story__dek { display: none; }
	.story--side.has-media { grid-template-columns: minmax(0, 1fr) 88px; gap: 14px; }
	.story--side .story__dek { display: none; }
	.tiles { grid-template-columns: 1fr; }
	.shelf__rows .minirow:has(.minirow__media) { grid-template-columns: 88px 1fr; }
	:root[data-size="l"] .prose { font-size: 1.16rem; }
	:root[data-size="xl"] .prose { font-size: 1.28rem; }
	.totop { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
	.secnav a { padding: .9rem .6rem .85rem; font-size: .86rem; }
	.secnav a[aria-current="page"]::after { left: .6rem; right: .6rem; }
	.hero { margin-top: 24px; padding-top: 22px; }
	.story--lead .story__media { margin-inline: -18px; border-radius: 0; }
	.article__media { margin-inline: -18px; width: auto; aspect-ratio: 16 / 9; border-radius: 0; }
	.grid4, .grid3, .shelf__grid { grid-template-columns: 1fr; gap: 18px; }
	.shelf__grid .story--feature { margin-bottom: 8px; }
	.shelf__head { grid-template-columns: 1fr; grid-template-areas: "title" "desc" "more"; }
	.shelf__head .more { justify-self: start; margin-top: 6px; }
	.bar { margin-top: 48px; padding-block: 40px; }
	.block { margin-top: 48px; }
	.drawer__list { grid-template-columns: 1fr; }
	.sechead .wrap { padding-block: 28px; }
	.prose { font-size: 1.06rem; }
	.prose h2 { font-size: 1.6rem; }
	.prevnext { grid-template-columns: 1fr; }
	.prevnext__item--next { grid-column: auto; text-align: left; flex-direction: row; }
	.prevnext__img { width: 84px; height: 64px; }
	.ranked li:has(.ranked__media) { grid-template-columns: 2rem 1fr 72px; }
	.byline__copy { margin-left: 0; }
	.byline__actions { margin-left: 0; width: 100%; }
	.foot__top { grid-template-columns: 1fr 1fr; gap: 30px; }
	.manifesto__in { padding-block: 48px; }
}
@media print {
	@page { margin: 18mm 16mm; }
	.hdr, .secnav, .drawer, .readbar, .totop, .article__rail, .prevnext, .elsewhere, .byline__actions, .contents, .crumbs, .measure, .foot, .skip, .hanchor { display: none !important; }
	:root { --bg: #fff; --ink: #000; --ink-2: #222; --muted: #555; --line: #ccc; --card: #fff; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.wrap { max-width: none; padding: 0; }
	.article__grid { display: block; padding: 0; }
	.article__title { font-size: 26pt; }
	.article__media { aspect-ratio: auto; max-height: 70mm; margin-top: 8mm; }
	.prose { font-size: 11pt; line-height: 1.55; }
	.prose a[href^="http"]:not([href*="alcobar85.xyz"])::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
	.prose h2, .prose h3 { break-after: avoid; }
	.prose li, .prose .takeaways, .prose blockquote { break-inside: avoid; }
	.faq details { display: block; } .faq details > * { display: block !important; }
	.article__foot::after { content: "Printed from Alcobar (alcobar85.xyz)"; display: block; margin-top: 8mm; font-size: 9pt; color: #555; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.tile--search .searchform { flex-direction: column; border-radius: 12px; }
.tile--search .searchform input { padding: .8rem .9rem .5rem; }
.tile--search .searchform button { padding: .7rem 1rem; border-radius: 8px; }
.chips a[data-sec]::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .45em; border-radius: 2px; background: var(--sec); vertical-align: .05em; }
@media (max-width: 640px) {
	.grid4 > .story:first-child, .grid3 > .story:first-child { border-top: 0; padding-top: 0; }
	.tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
	.tile { padding: 14px 14px 12px; }
	.tile__name { font-size: 1.15rem; }
	.tile__latest { display: none; }
	.tile--search { gap: 10px; }
	.tile--search .tile__name { font-size: 1.05rem; }
	.tile--search .searchform input { font-size: .9rem; padding: .65rem .7rem .4rem; }
	.tile--search .searchform button { padding: .55rem .7rem; }
}
.hero--section { border-top: 0; padding-top: 8px; }
.foot__col a[data-sec]::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .55em; border-radius: 2px; background: var(--sec-d); vertical-align: .05em; }
.article[data-sec] .prose > p.prose__covers::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
@media (max-width: 640px) {
	.byline { gap: 4px 14px; }
	.byline__sep { display: none; }
}
