/*
 * Dispensary Open Near Me: the look in docs/DESIGN.md. The front of a licensed shop after dark and the counter inside
 * it. Label-cream pages; plain white panels for blocks of words; bottle-glass door panels with white vinyl type;
 * kraft paper, till receipts, brass and brushed steel. Light comes from the top left: every shadow falls to the
 * bottom right. Colour by job: jade open and legal, saffron time, plum laws and limits, tomato closed and refused,
 * teal delivery. Every word sits on a flat colour at 7:1 or better; materials (steel, brass, the glass's sheen) are
 * only where there are no words. Light only. Phones first (320 to 375 px), composed at 1366.
 * Type: one plain family, Source Sans 3, on one scale (docs/DESIGN.md, "Type"; the --t-… sizes below), in sentence
 * case, roman, nothing under 16 px. Figures that line up are tabular; nothing is set in a typewriter face.
 */

/* ---- The typeface: the site's own files (OFL, tools/fonts/build.py); the roman is preloaded --------------------------- */
@font-face { font-family: "DONM Sans"; src: url(../fonts/sans.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DONM Sans"; src: url(../fonts/sans-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
/* Until it arrives, the reader's own Helvetica Neue or Arial, scaled to its widths and line heights: nothing moves when it does. */
@font-face { font-family: "DONM Sans HN"; src: local("Helvetica Neue"), local("HelveticaNeue"); font-weight: 400 500; size-adjust: 92.8%; ascent-override: 110.3%; descent-override: 43.1%; line-gap-override: 0%; }
@font-face { font-family: "DONM Sans HN"; src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); font-weight: 600 800; size-adjust: 92.8%; ascent-override: 110.3%; descent-override: 43.1%; line-gap-override: 0%; }
@font-face { font-family: "DONM Sans Arial"; src: local("Arial"), local("ArialMT"); font-weight: 400 500; size-adjust: 93.9%; ascent-override: 109.1%; descent-override: 42.6%; line-gap-override: 0%; }
@font-face { font-family: "DONM Sans Arial"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 600 800; size-adjust: 92.7%; ascent-override: 110.5%; descent-override: 43.1%; line-gap-override: 0%; }

:root {
	color-scheme: light;
	/* The palette (DESIGN.md), with the deep shades words use: each "-deep" holds 7:1 on cream and on white. */
	--cream: #FAF5EA; --cream-2: #F2EADA; --white: #FFFFFF; --paper: #FFFDF7;
	--ink: #13201A; --ink-2: #303C36;
	--line: #DDD3C0; --line-2: #B9AB90;
	--glass: #123628; --glass-2: #0B261B; --glass-3: #1D4A38;
	--jade: #1F7A55; --jade-deep: #165A3E;
	--saffron: #E39B2D; --saffron-deep: #6F4C16;
	--plum: #5B2D73;
	--tomato: #C8412B; --tomato-deep: #922E1F;
	--teal: #2A7484; --teal-deep: #1F5664;
	--kraft: #C9A57A; --kraft-2: #B8925F;
	--brass: #B08537; --brass-deep: #684E20;
	--link: var(--jade-deep);
	/* Materials: no words ever sit on these. */
	--brass-metal: linear-gradient(135deg, #F3DDA3 0%, #D2AC5C 30%, #A87D31 62%, #8B6527 78%, #D9BA70 100%);
	--steel-metal: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, rgba(0, 0, 0, .035) 1px 3px), linear-gradient(135deg, #F4F6F7 0%, #D4D9DC 40%, #A9B0B5 72%, #DDE1E3 100%);
	/* One light, top left: shadows fall right and down. */
	--sh-1: 1px 2px 2px rgba(19, 32, 26, .10), 3px 6px 12px rgba(19, 32, 26, .08);
	--sh-2: 2px 3px 4px rgba(19, 32, 26, .12), 8px 14px 28px rgba(19, 32, 26, .14);
	--sh-3: 3px 5px 8px rgba(19, 32, 26, .16), 16px 26px 48px rgba(19, 32, 26, .20);
	/* The type: one family and one scale (phone, then desktop). Weights: 400 text, 600 labels and buttons, 700 h3 and
	   bold, 800 h1, h2 and big figures. Every stylesheet uses these sizes and no others. */
	--sans: "DONM Sans", "DONM Sans HN", "DONM Sans Arial", "Helvetica Neue", Arial, sans-serif;
	--t-h1: 40px;     /* a title; 60 px where it has the full width */
	--t-h1n: 40px;    /* a title in a narrow column: never under 46 px on a desktop */
	--t-h2: 32px;
	--t-h3: 25px;     /* h3 and the title of a piece */
	--t-lead: 22px;   /* the standfirst and the first paragraph */
	--t-body: 20px;   /* text, lists, answers */
	--t-small: 18px;  /* captions, notes, dates, labels, buttons, tables, the menu, the footer */
	--t-tick: 16px;   /* marks inside a drawn chart or object */
	--t-tick-s: 16px; /* the same, where 17 px cannot fit */
	--t-turn: 17px;   /* the same on a face that is turned away, so that its far end is still drawn at 16 */
	--t-big: 32px;    /* an answer or a big figure */
	--t-huge: 48px;   /* the biggest figure of a piece */
	--gut: 16px; --max: 1180px; --text: 720px;
	--hg: var(--glass); --hi: var(--cream); --ha: var(--saffron); --hr: var(--saffron); --hp: 50% 50%;
}
@media (max-width: 340px) { :root { --t-h1: 36px; --t-h1n: 36px; } }
@media (min-width: 700px) { :root { --t-h1: 48px; --t-h1n: 48px; } }
@media (min-width: 768px) { :root { --t-h2: 38px; --t-h3: 28px; --t-lead: 25px; --t-body: 21px; --t-tick: 17px; --t-big: 36px; --t-huge: 60px; --gut: 28px; } }
@media (min-width: 1100px) { :root { --t-h1: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--cream); scroll-padding-top: 16px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--t-body)/1.6 var(--sans); font-kerning: normal; font-variant-numeric: lining-nums proportional-nums; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-line: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.door :focus-visible, .lc :focus-visible, .ahead--dark :focus-visible, .lhead :focus-visible { outline-color: var(--cream); }
h1, h2, h3, h4 { margin: 1.2em 0 .5em; }
h1 { font-size: var(--t-h1); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
h4 { font-size: var(--t-body); font-weight: 700; line-height: 1.35; }
/* Titles break into lines of even length; a number keeps its unit on its line (donm_title_display() in functions.php). */
h1, h2 { text-wrap: balance; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
button, input, select, textarea { font: 400 var(--t-small)/1.3 var(--sans); }
select { text-overflow: ellipsis; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--ink); color: var(--cream); padding: 12px 16px; font: 600 var(--t-small)/1.2 var(--sans); }
.skip:focus { left: 8px; top: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- The masthead: cream bar, the door-decal mark, the name, what the site is, the menu, a brass rail under it ---- */
.mast { background: var(--cream); position: relative; z-index: 3; }
.mast::after { content: ""; display: block; height: 6px; background: linear-gradient(to bottom, #EED69A 0%, #C59A48 45%, #8E6A2A 100%); box-shadow: 0 2px 3px rgba(19, 32, 26, .22); }
.mast__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 14px; padding-bottom: 14px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; justify-self: start; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 60px; height: 60px; flex: none; filter: drop-shadow(2px 3px 2px rgba(19, 32, 26, .28)); }
.brand__word { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.brand__open { color: var(--jade-deep); }
.brand--foot .brand__open { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--jade-deep); }
.mast__indep { margin: 0; font-size: var(--t-small); line-height: 1.4; color: var(--ink); }
.mast__indep b { font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; background: var(--white); border: 1px solid var(--line-2); border-radius: 5px; box-shadow: var(--sh-1); overflow: hidden; }
.nav li { flex: 1 1 auto; }
.nav li + li { border-left: 1px solid var(--line); }
.nav a { display: block; text-align: center; padding: 13px 4px 10px; color: var(--ink); text-decoration: none; font-size: var(--t-small); font-weight: 600; line-height: 1.2; white-space: nowrap; border-bottom: 4px solid transparent; }
.nav a:hover { background: var(--cream); }
.nav a[aria-current] { border-bottom-color: var(--saffron); background: var(--cream); }
/* From 1000 px: the name and the menu on one line, and under them, on a line of its own, what the site is and is not. */
@media (min-width: 700px) {
	.brand__word { font-size: 28px; }
}
@media (min-width: 1000px) {
	.mast__row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 24px; padding-top: 14px; padding-bottom: 12px; }
	.nav { justify-self: end; }
	.mast__indep { grid-column: 1 / -1; grid-row: 2; padding-top: 10px; border-top: 1px solid var(--line-2); }
	.nav ul { background: transparent; border: 0; box-shadow: none; gap: 6px; }
	.nav li + li { border-left: 0; }
	.nav a { padding: 13px 14px 10px; border-radius: 4px 4px 0 0; }
}

/* ---- The last-call strip: bottle glass, white vinyl type, each market's last legal sale in its own time ----------- */
.lc { background: var(--glass); color: var(--white); border-bottom: 1px solid var(--glass-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 2px 4px rgba(19, 32, 26, .25); }
.lc__in { display: flex; align-items: center; gap: 14px; min-height: 50px; }
.lc__label { flex: none; margin: 0; background: var(--saffron); color: var(--ink); font: 600 var(--t-small)/1.2 var(--sans); padding: 6px 11px 7px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 1px 2px 2px rgba(0, 0, 0, .35); }
.lc__track { flex: 1; min-width: 0; display: flex; overflow: hidden; }
.lc__list { display: flex; flex: none; gap: 30px; margin: 0; padding: 0 30px 0 0; list-style: none; white-space: nowrap; }
.lc__list li { font: 400 var(--t-small)/1.2 var(--sans); }
.lc__list li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 30px 2px -18px; border-radius: 50%; background: var(--brass); vertical-align: middle; }
.lc__place { font-weight: 600; }
.lc__time { font-weight: 600; margin-left: 6px; }
.lc a { color: var(--white); text-decoration: none; }
.lc a:hover { text-decoration: underline; }
/* A phone: the label on its own line, the times running under it. */
@media (max-width: 699px) { .lc__in { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; padding-bottom: 12px; } .lc__label { align-self: flex-start; } }
@media (prefers-reduced-motion: no-preference) {
	.lc__list { animation: lc-slide 70s linear infinite; }
	.lc__track:hover .lc__list, .lc__track:focus-within .lc__list { animation-play-state: paused; }
}
@keyframes lc-slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .lc__track { overflow-x: auto; } .lc__list--again { display: none; } }
@media (prefers-reduced-motion: reduce) and (max-width: 699px) { .lc__track { scroll-snap-type: x mandatory; } .lc__list { flex: 1 0 auto; width: 100%; gap: 0; padding: 0; } .lc__list li { flex: 0 0 100%; scroll-snap-align: start; white-space: normal; } .lc__list li + li::before { display: none; } }

/* ---- Breadcrumbs ---------------------------------------------------------------------------------------------------- */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: var(--t-small); line-height: 1.45; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; } /* at the end of the line before, never at the start of one */
.crumbs a { color: inherit; }
/* On a phone an article's own name is left off the end of the trail (its title is right under it); a screen reader keeps it. */
@media (max-width: 699px) {
	.ahead .crumbs li:nth-child(n+3):last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ahead .crumbs li:nth-child(n+2):nth-last-child(2)::after { content: none; }
	.ahead__kick { display: none; } /* the trail above ends with the section already */
}

/* ---- An article's head: band, split, stack, column (parts/heads.json). --hg ground, --hi ink, --ha accent ---------- */
.ahead { color: var(--hi); }
.ahead__grid { display: grid; grid-template-columns: [full-start] minmax(var(--gut), 1fr) [main-start] minmax(0, var(--max)) [main-end] minmax(var(--gut), 1fr) [full-end]; }
.ahead__grid > * { grid-column: main; min-width: 0; position: relative; }
.ahead h1 { margin: 0; color: var(--hi); text-wrap: balance; }
.ahead__kick { margin: 0 0 14px; }
.ahead__kick a { display: inline-block; background: var(--hi); color: var(--hg); font: 600 var(--t-small)/1.2 var(--sans); padding: 6px 12px 7px; border-radius: 3px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .14), 1px 2px 3px rgba(0, 0, 0, .22); }
.ahead .crumbs { color: var(--hi); }
.ahead__dek { margin: 0; font-size: var(--t-lead); line-height: 1.5; color: var(--hi); max-width: 38em; }
.feat .donm-figure { margin: 0; }
.feat img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--hp); background: var(--glass-3); border: 5px solid var(--white); box-shadow: var(--sh-2); }
.feat figcaption { margin: 10px 0 0; font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); max-width: 46em; }

/* band: the ground behind the titles and the summary runs on under the top of the picture */
.ahead--band .ahead__grid { --lip: 44px; grid-template-rows: auto auto var(--lip) auto; }
.ahead--band .ahead__grid::before { content: ""; grid-column: full; grid-row: 1 / 4; background: var(--hg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .16); }
.ahead--band .ahead__titles { grid-row: 1; padding: 20px 0 16px; background: var(--hg); }
.ahead--band .ahead__dek { grid-row: 2; padding-bottom: 24px; background: var(--hg); }
.ahead--band .feat { grid-row: 3 / 5; }
.ahead--band .ahead__titles::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 18px; background: var(--ha); border-radius: 1px; }
@media (min-width: 700px) {
	.ahead--band .ahead__grid { --lip: 110px; }
	.ahead--band .ahead__titles { padding-top: 28px; }
	.ahead--band .ahead__dek { padding-bottom: 34px; }
	.ahead--band .feat img { border-width: 8px; }
}

/* split: the title and summary on the left half, the picture on the right half; a phone: title, picture, summary */
.ahead--split .ahead__grid { background: var(--hg); padding: 20px 0 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .16); }
.ahead--split .feat { margin: 18px 0; }
.ahead--split .feat figcaption { color: var(--hi); }
.ahead--split .ahead__dek { border-left: 6px solid var(--ha); padding-left: 14px; }
@media (min-width: 1000px) {
	.ahead--split .ahead__grid { grid-template-columns: [full-start] minmax(var(--gut), 1fr) [main-start] minmax(0, 545px) [gap-start] 50px [pic-start] minmax(0, 585px) [main-end] minmax(var(--gut), 1fr) [full-end]; grid-template-rows: 1fr auto auto 1fr; padding: 34px 0 44px; }
	.ahead--split .ahead__titles { grid-column: main-start / gap-start; grid-row: 2; }
	.ahead--split .ahead__dek { grid-column: main-start / gap-start; grid-row: 3; margin-top: 22px; }
	.ahead--split .feat { grid-column: pic-start / main-end; grid-row: 1 / 5; align-self: center; margin: 0; }
	.ahead--split .feat img { border-width: 8px; }
	.ahead--split h1 { font-size: var(--t-h1n); }
}

/* stack: the title on a slip of the ground, over the top edge of a full-width picture (21:9 on a wide screen) */
.ahead--stack .ahead__grid { padding-top: 16px; }
.ahead--stack .ahead__titles { z-index: 2; justify-self: start; max-width: 1060px; background: var(--hg); padding: 16px 18px 20px; margin-bottom: -26px; border-top: 6px solid var(--ha); border-radius: 0 0 3px 3px; box-shadow: var(--sh-2); }
.ahead--stack .feat { grid-column: full; z-index: 1; }
.ahead--stack .feat img { border: 0; border-bottom: 5px solid var(--ha); box-shadow: 0 6px 14px rgba(19, 32, 26, .18); }
.ahead--stack .feat figcaption { width: calc(100% - 2 * var(--gut)); max-width: var(--max); margin: 10px auto 0; }
.ahead--stack .ahead__dek { color: var(--ink); padding: 14px 0 6px; }
@media (min-width: 700px) {
	.ahead--stack .ahead__titles { padding: 22px 30px 28px; margin-bottom: -64px; }
}
@media (min-width: 900px) { .ahead--stack .feat img { aspect-ratio: 21 / 9; } }

/* column: a narrow, tall title column with an accent rule, beside a tall 4:3 crop; a phone: the title, the whole picture */
.ahead--column .ahead__grid { padding-top: 16px; }
.ahead--column .ahead__titles { background: var(--hg); padding: 18px 18px 22px; border-left: 8px solid var(--ha); box-shadow: var(--sh-1); }
.ahead--column .feat { margin-top: 16px; }
.ahead--column .ahead__dek { color: var(--ink); padding-top: 14px; }
@media (min-width: 1000px) {
	.ahead--column .ahead__grid { grid-template-columns: [full-start] minmax(var(--gut), 1fr) [main-start] minmax(0, 520px) [pic-start] minmax(0, 660px) [main-end] minmax(var(--gut), 1fr) [full-end]; grid-template-rows: auto auto; padding-top: 26px; }
	.ahead--column .ahead__titles { grid-column: main-start / pic-start; grid-row: 1; display: flex; flex-direction: column; justify-content: flex-end; border-left: 0; border-right: 10px solid var(--ha); padding: 30px 32px 30px; box-shadow: none; }
	.ahead--column .ahead__titles .crumbs { margin-bottom: auto; padding-bottom: 28px; }
	.ahead--column .ahead__dek { grid-column: main; grid-row: 2; padding: 20px 0 0; }
	.ahead--column .feat { grid-column: pic-start / main-end; grid-row: 1; margin: 0; }
	.ahead--column .feat img { aspect-ratio: 4 / 3; border: 0; box-shadow: 4px 8px 20px rgba(19, 32, 26, .22); }
	.ahead--column .feat figcaption { margin-left: 16px; }
	.ahead--column h1 { font-size: var(--t-h1n); }
}

/* ---- The white sheet: the byline, the text column (about 720 px), wide pieces, the side rail --------------------- */
.sheet { position: relative; background: var(--white); margin: 26px auto 0; max-width: var(--max); box-shadow: var(--sh-2); }
@media (min-width: 1236px) { .sheet { border-radius: 3px; } }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; max-width: calc(var(--text) + 2 * var(--gut)); margin: 0 auto; padding: 20px var(--gut) 16px; border-bottom: 2px solid var(--ink); }
.byline p { margin: 0; }
.byline__by { font-size: var(--t-small); font-weight: 600; line-height: 1.4; width: 100%; }
.byline__by a { color: var(--ink); }
.byline .page-meta, .byline__more { font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }
.byline time, .byline .page-meta span { white-space: nowrap; }
@media (max-width: 419px) { .byline__dot { display: none; } .byline .page-meta > span:not(.byline__dot) { display: block; } } /* the two dates stand on two lines */
.byline__more { display: flex; flex-wrap: wrap; gap: 0 18px; }
.byline__more span + span { padding-left: 18px; border-left: 1px solid var(--line-2); }
.byline__more .byline__checked { padding: 2px 10px 3px; border: 0; border-radius: 3px; background: var(--jade-deep); color: var(--cream); font-weight: 600; }

.read { display: grid; grid-template-columns: [full-start] var(--gut) [wide-start] minmax(0, 1fr) [text-start] minmax(0, var(--text)) [text-end] minmax(0, 1fr) [wide-end] var(--gut) [full-end]; padding: 26px 0 36px; }
.read > * { grid-column: text; min-width: 0; }
/* An article's own wide piece: class "wide" (or WordPress's alignwide/alignfull) runs the sheet's whole width, about
   1180 px on a desktop and edge to edge on a phone, above the rail; "inset" keeps it inside the gutters. */
.read > .wide, .read > .full, .read > .alignwide, .read > .alignfull { grid-column: full; position: relative; z-index: 2; }
.read > .wide.inset, .read > .alignwide.inset { grid-column: wide; }
.read > p, .read > ul, .read > ol, .read > dl { margin: 0 0 1em; }
.read > p:first-child, .read > .rail + p { font-size: var(--t-lead); line-height: 1.5; }
.nb { white-space: nowrap; }
.read h2 { margin: 1.55em 0 .5em; text-wrap: balance; scroll-margin-top: 20px; }
.read h2::before { content: ""; display: block; width: 46px; height: 5px; margin-bottom: 12px; background: var(--hr); border-radius: 1px; }
.read h3 { margin: 1.4em 0 .4em; text-wrap: balance; }
.read h4 { margin: 1.3em 0 .3em; }
.read ul { list-style: none; padding: 0; }
.read ul > li { position: relative; padding-left: 26px; margin: 0 0 .45em; }
.read ul > li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 10px; height: 10px; background: var(--hr); border-radius: 2px; box-shadow: 1px 1px 0 rgba(19, 32, 26, .3); }
.read ol { list-style: none; padding: 0; counter-reset: li; }
.read ol > li { position: relative; padding-left: 50px; margin: 0 0 .6em; counter-increment: li; }
.read ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .1em; min-width: 38px; text-align: center; font: 600 var(--t-small)/1.5 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line-2); border-radius: 3px; }
.read li > ul, .read li > ol { margin: .45em 0 0; }
.read blockquote { margin: 1.4em 0; padding: 18px 20px 18px 22px; background: var(--cream); border-left: 6px solid var(--plum); border-radius: 0 4px 4px 0; }
.read blockquote p:last-child { margin-bottom: 0; }
.read blockquote cite, .read blockquote footer { display: block; margin-top: 10px; font: normal 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.read hr { border: 0; border-top: 2px dashed var(--line-2); margin: 2em 0; }
.read code { font: 400 1em/1 var(--sans); background: var(--cream); padding: 1px 4px; border-radius: 3px; }
.read figure { margin: 1.5em 0; }
.read figure img { display: block; border-radius: 2px; }
.read figcaption, .read .wp-element-caption { margin-top: 8px; font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }
.read .table-title { margin: 1.6em 0 .45em; font-size: var(--t-small); font-weight: 600; line-height: 1.4; }
/* Tables: they scroll sideways in their own box on a phone, never the page */
.table-scroll, .wp-block-table { margin: 1.4em 0; overflow-x: auto; background: var(--white); border: 1px solid var(--line-2); border-radius: 4px; box-shadow: var(--sh-1); }
.wp-block-table figcaption { padding: 0 12px 10px; }
.read table, .data-table { border-collapse: collapse; width: 100%; font: 400 var(--t-small)/1.45 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
.read th, .read td { text-align: left; vertical-align: top; padding: 10px 12px; min-width: 8.5em; }
.read th { background: var(--glass); color: var(--white); font-weight: 600; line-height: 1.35; }
.read td { border-top: 1px solid var(--line); }
.read tbody tr:nth-child(even) td { background: var(--paper); }
.read td:first-child { font-weight: 600; }
.table-scroll:focus-visible { outline-offset: 2px; }

/* The side rail: an article's own minimap may use it (filter donm_reading_map); the theme draws none of its own */
.rail { display: none; }
@media (min-width: 1100px) {
	.read--rail { grid-template-columns: [full-start] var(--gut) [wide-start] minmax(0, 1fr) [text-start] minmax(0, var(--text)) [text-end] 40px [rail-start] minmax(0, 292px) [rail-end wide-end] var(--gut) [full-end]; position: relative; }
	.read--rail > .rail { display: block; position: absolute; grid-column: rail; top: 26px; right: 0; bottom: 36px; left: 0; z-index: 1; }
	.rail__in { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s; }
	/* While a wide piece crosses the rail's band (assets/js/article.js), the rail steps aside, and comes back after. */
	.rail--away .rail__in { opacity: 0; transform: translateX(14px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
	/* Without script it stays at the top of the text instead of travelling down beside it. */
	html:not(.js) .rail__in { position: static; max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .rail__in, .rail--away .rail__in { transition: none; transform: none; } }

/* The byline stands over the text column where the rail moves that column to the left. */
@media (min-width: 1100px) { .sheet:has(> .read--rail) .byline { max-width: var(--text); margin-left: max(var(--gut), calc(100% - var(--gut) - var(--text) - 332px)); padding-left: 0; padding-right: 0; } }

/* The closing "Questions people ask" section, and the closing sources slip */
.read > .qa { grid-column: full; margin: 2em 0 .6em; padding: 4px var(--gut) 10px; background: var(--cream); border-top: 6px solid var(--glass); }
.qa h2 { margin-top: 18px; }
.qa h3 { margin: 1.05em 0 .35em; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.qa h2 + h3 { border-top: 0; padding-top: 0; }
.qa__d { border-top: 1px dashed var(--line-2); }
.qa h2 + .qa__d { border-top: 0; }
.qa__d > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 10px 0; cursor: pointer; list-style: none; }
.qa__d > summary::-webkit-details-marker { display: none; }
.qa__d > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: -6px 6px 0 0; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.qa__d[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.qa__d > summary > h3 { margin: 0; padding: 0; border: 0; }
.qa__a > :first-child { margin-top: 0; }
.qa__a > :last-child { margin-bottom: 14px; }
@media (min-width: 768px) {
	.read > .qa { grid-column: text; padding: 6px 26px 14px; border: 1px solid var(--line); border-top: 6px solid var(--glass); border-radius: 4px; box-shadow: var(--sh-1); }
}
.read > .endnote { margin: 1.4em 0 0; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 3px; font-size: var(--t-small); line-height: 1.5; box-shadow: var(--sh-1); }
.endnote p { margin: 0 0 .5em; }
.endnote p:last-child { margin: 0; padding-top: .5em; border-top: 1px dashed var(--line-2); font-weight: 600; }

/* The closing lines: sources, the day the facts were checked, how it was made */
.read .endline { font-size: var(--t-small); line-height: 1.45; }
.read :not(.endline) + .endline { margin-top: 1.6em; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.endnote .endline:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* A long piece's secondary rows (donm_fold() in the plugin): on a phone behind one plain "Show all" button, on a wider
   screen always open. Printed open, so nothing is hidden without scripts; a line of script shuts it on a phone. */
.fold > summary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 8px 16px; font: 600 var(--t-small)/1.25 var(--sans); text-align: center; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 4px; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: -6px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fold[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.fold:not([open]) > summary .fold__less, .fold[open] > summary .fold__more { display: none; }
.fold > summary:hover { background: var(--cream); }
@media (max-width: 699px) { .read > .fold--piece { margin: 26px 0; } .read > .fold--piece > figure { margin: 10px 0 0 !important; } }
.read > .fold--list > ul { margin-top: 14px; }
.fold--piece > summary { justify-content: space-between; padding: 14px 18px; text-align: left; font-weight: 700; border-left-width: 8px; }
.fold--cap > summary { justify-content: flex-start; min-height: 48px; padding: 6px 0; text-align: left; color: inherit; background: none; border: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fold--cap > summary:hover { background: none; }
.fold--cap[open] > .fold__in { padding-bottom: 4px; }
@media (min-width: 700px) {
	.fold[open] > summary, .fold--key > summary { display: none; }
	@supports selector(::details-content) { .fold > summary { display: none; } .fold::details-content { content-visibility: visible; } }
}
@supports not selector(:has(*)) { .fold--key { display: none; } } /* a browser that cannot hide the rows shows them all */

/* ---- The end matter: how the guide was made (a brass-framed notice), what to read next --------------------------- */
.made { max-width: calc(var(--text) + 2 * var(--gut)); margin: 24px auto 0; padding: 0 var(--gut); }
@media (min-width: 768px) { .made { margin-top: 34px; } }
.made__card { padding: 8px; background: var(--brass-metal); border-radius: 4px; box-shadow: var(--sh-2), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .25); }
.made__card > * { background: var(--white); }
.made h2 { margin: 0; padding: 16px 18px 14px; font-size: var(--t-h3); font-weight: 700; line-height: 1.25; letter-spacing: 0; border-bottom: 2px solid var(--ink); border-radius: 2px 2px 0 0; }
.made__list { margin: 0; padding: 4px 18px 10px; border-radius: 0 0 2px 2px; }
.made__list > div { padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.made__list > div:last-child { border-bottom: 0; }
.made dt { font-size: var(--t-small); font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.made dd { margin: 0; font-size: var(--t-small); line-height: 1.45; overflow-wrap: anywhere; } /* a long web address on a narrow phone */
@media (min-width: 640px) { .made__list > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: baseline; } }

.next { margin-top: 30px; }
@media (min-width: 768px) { .next { margin-top: 44px; } }
.band-h { margin: 0 0 18px; color: var(--ink); }
.band-h::after { content: ""; display: block; margin-top: 12px; height: 5px; background: linear-gradient(to bottom, #EED69A, #B08537 55%, #86642A); border-radius: 2px; box-shadow: 1px 1px 1px rgba(19, 32, 26, .2); }

@media (min-width: 700px) { .band-h { display: flex; align-items: center; gap: 16px; } .band-h::after { flex: 1; min-width: 24px; margin-top: 8px; } }

/* ---- Poster cards ----------------------------------------------------------------------------------------------------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--next, .cards--home, .cards--list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* The homepage's grid never ends in a hole: the first card takes the spare columns. */
@media (min-width: 700px) and (max-width: 999px) { .cards--home > :first-child:nth-last-child(2n+1) { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
	.cards--home > :first-child:nth-last-child(3n+2) { grid-column: span 2; }
	.cards--home > :first-child:nth-last-child(3n+2) .card__title { font-size: var(--t-big); line-height: 1.2; }
	.cards--home > :first-child:nth-last-child(3n+1) { grid-column: 1 / -1; }
	.cards--home > :first-child:nth-last-child(3n+1) .card__link { flex-direction: row; }
	.cards--home > :first-child:nth-last-child(3n+1) .card__pic { flex: 0 0 56%; }
}
.cards--lead { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 699px) {
	.cards--next { gap: 14px; }
	/* No picture: a poster cut to a narrow strip reads as gibberish, and the title says it all. */
	.cards--next .card__pic, .cards--next .card--nopic .card__link::before { display: none; }
	.cards--next .card__body { padding: 10px 12px; gap: 6px; }
	.cards--next .card__title { font-size: var(--t-body); }
	.cards--next .card__text { display: none; }
	.cards--next .card__meta { padding-top: 6px; }
}
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); color: var(--ink); text-decoration: none; border-top: 7px solid var(--c, var(--glass)); border-radius: 3px; box-shadow: var(--sh-1); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card__link:hover { transform: translate(-1px, -3px); box-shadow: var(--sh-2); text-decoration: none; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card__pic { display: block; background: var(--glass-3); }
.card__pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; flex: 1; padding: 14px 16px 14px; }
.card__cat { background: var(--c, var(--glass)); color: var(--ci, var(--cream)); font: 600 var(--t-small)/1.2 var(--sans); padding: 4px 9px 5px; border-radius: 3px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.card__title { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; text-wrap: pretty; }
.card__text { font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: var(--t-small); line-height: 1.35; color: var(--ink-2); }
.card--nopic .card__link::before { content: ""; display: block; aspect-ratio: 16 / 9; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 14px, rgba(255, 255, 255, 0) 14px 28px), var(--c, var(--glass)); box-shadow: inset 0 -6px 10px -6px rgba(0, 0, 0, .25); }

/* Enamel plates: the sections, in their own colours */
.plates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plates a { display: inline-flex; align-items: center; gap: 9px; background: var(--c, var(--glass)); color: var(--ci, var(--cream)); font: 600 var(--t-small)/1.2 var(--sans); padding: 10px 13px 11px; border-radius: 4px; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .18), 2px 3px 5px rgba(19, 32, 26, .28); }
.plates a:hover { text-decoration: underline; }
.plates a span { font: 700 var(--t-small)/1 var(--sans); background: var(--ci, var(--cream)); color: var(--c, var(--glass)); padding: 3px 6px; border-radius: 3px; }

/* ---- The homepage --------------------------------------------------------------------------------------------------- */
.hero { padding: 22px 0 10px; }
.hero__grid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 34px; align-items: start; } }
/* The door: a brushed-steel frame round bottle glass; the decal is white vinyl on flat glass; the sheen and the brass
   push plate keep to the strip on the right, where there are no words. */
.door { position: relative; padding: 12px; border-radius: 6px; background: var(--steel-metal); box-shadow: var(--sh-3), inset 0 1px 0 #FFFFFF, inset 0 -2px 0 rgba(0, 0, 0, .22); }
.door__glass { position: relative; overflow: hidden; background: var(--glass); border-radius: 3px; padding: 22px 42px 24px 18px; box-shadow: inset 3px 4px 10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(0, 0, 0, .55); }
.door__glass::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 40px; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .10) 45%, rgba(255, 255, 255, .03) 70%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
.door__push { position: absolute; right: 22px; top: 50%; width: 16px; height: 120px; margin-top: -60px; border-radius: 3px; background: var(--brass-metal); box-shadow: 2px 3px 5px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(0, 0, 0, .3); }
.door__push::before, .door__push::after { content: ""; position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF3CF, #9C7329 70%); box-shadow: .5px 1px 1px rgba(0, 0, 0, .45); }
.door__push::before { top: 9px; }
.door__push::after { bottom: 9px; }
.door__kick { display: inline-block; margin: 0; background: var(--saffron); color: var(--ink); font: 600 var(--t-small)/1.25 var(--sans); padding: 6px 11px 7px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 1px 2px 3px rgba(0, 0, 0, .4); }
.door h1 { margin: 16px 0 14px; color: var(--white); text-wrap: balance; }
.door__lede { margin: 0 0 20px; max-width: 36em; color: var(--cream); font-size: var(--t-lead); line-height: 1.5; }
.plates--guides { margin-bottom: 18px; }
.door__rest { margin: 0 0 18px; max-width: 40em; color: var(--cream); font-size: var(--t-small); line-height: 1.5; }
@media (max-width: 699px) {
	/* A phone's first screen holds the finder: its box comes right under the name, the sentence after it. */
	.plates--door, .door__more { display: none; }
	.door__decal { display: flex; flex-direction: column; }
	.door__decal > .fx-form:not([hidden]) { order: 1; margin-bottom: 18px; }
	.door__decal > .door__lede { order: 2; margin-bottom: 12px; }
	.door__decal > .door__rest { margin-bottom: 0; }
	.door__decal > .plates--door, .door__decal > .door__rest { order: 3; }
}
@media (min-width: 700px) { .plates--guides { display: none; } }
.plates--door a { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .18), 2px 3px 6px rgba(0, 0, 0, .55); }
@media (min-width: 700px) {
	.door { padding: 16px; }
	.door__glass { padding: 30px 86px 30px 30px; }
	.door__glass::after { width: 70px; }
	.door__push { right: 34px; width: 22px; height: 190px; margin-top: -95px; }
}
.hero__label { margin: 0 0 10px; font-size: var(--t-small); font-weight: 600; line-height: 1.3; color: var(--ink); }
.hero__side .band-h { margin-bottom: 14px; }
.region { padding: 30px 0 14px; }
.region__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.region__head .band-h { flex: 1; }
.region--glass { background: var(--glass); color: var(--cream); margin: 20px 0; padding-bottom: 30px; }
.region--glass .band-h { color: var(--white); }
.region--kraft { background: var(--kraft); margin: 20px 0; padding-bottom: 30px; }

/* Holidays ahead: tear-off calendar pages */
.cal { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cal__page > a, .cal__page > div { display: flex; flex-direction: column; height: 100%; background: var(--white); color: var(--ink); text-decoration: none; border-radius: 3px; box-shadow: var(--sh-2); overflow: hidden; }
.cal__top { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "month month" "day wday"; align-items: end; gap: 0 10px; padding: 0 14px 10px; border-bottom: 2px dashed var(--line-2); }
.cal__month { grid-area: month; margin: 0 -14px 8px; padding: 7px 14px 6px; background: var(--tomato-deep); color: var(--cream); font: 600 var(--t-small)/1.2 var(--sans); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); }
.cal__day { grid-area: day; font-size: var(--t-huge); font-weight: 800; line-height: 1; }
.cal__wday { grid-area: wday; font-size: var(--t-small); line-height: 1.2; color: var(--ink-2); padding-bottom: 7px; }
.cal__name { padding: 12px 14px 4px; font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
.cal__row { display: block; padding: 4px 14px 10px; font-size: var(--t-small); line-height: 1.45; }
.cal__k { display: block; font-weight: 600; color: var(--ink-2); }
.cal__label { display: inline-block; margin-top: 4px; padding: 3px 8px; border: 1px solid var(--ink); border-radius: 3px; font: 600 var(--t-small)/1.2 var(--sans); }

/* States A to Z: deli-jar labels, the tab coloured by what is sold (jade adult-use, plum medical, tomato none) */
.states { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.state > a, .state > div { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "abbr name" "abbr status" "abbr hours" "abbr checked"; gap: 2px 12px; height: 100%; padding: 10px 12px; background: var(--white); color: var(--ink); text-decoration: none; border-radius: 3px; box-shadow: var(--sh-1); }
.state__abbr { grid-area: abbr; align-self: start; min-width: 48px; padding: 9px 0 8px; text-align: center; border-radius: 3px; font: 700 var(--t-body)/1 var(--sans); background: var(--tomato-deep); color: var(--cream); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); }
.state--adult .state__abbr { background: var(--jade-deep); }
.state--medical .state__abbr { background: var(--plum); }
.state__name { grid-area: name; font-weight: 700; line-height: 1.25; }
.state__status { grid-area: status; font-size: var(--t-small); line-height: 1.4; }
.state__hours { grid-area: hours; font: 600 var(--t-small)/1.4 var(--sans); }
.state__checked { grid-area: checked; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }

/* How we check */
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.how a, .how div { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--white); color: var(--ink); text-decoration: none; border-top: 6px solid var(--plum); border-radius: 3px; box-shadow: var(--sh-1); }
.how__t { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.how__x { font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }
.how a:hover .how__t { text-decoration: underline; }

/* ---- A page made in the dashboard ------------------------------------------------------------------------------------ */
.pg__head { padding: 26px 0 0; }
.pg__head h1 { margin: 0 0 12px; max-width: 24em; text-wrap: balance; }
.pg__lede { margin: 0; max-width: 38em; font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.read > .pg__updated { margin-top: 2em; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }

/* ---- Lists: a section's band, search, cards ------------------------------------------------------------------------- */
.lhead { background: var(--c, var(--glass)); color: var(--ci, var(--cream)); padding: 24px 0 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(0, 0, 0, .16); }
.lhead .crumbs, .lhead a { color: var(--ci, var(--cream)); }
.lhead h1 { margin: 0 0 10px; }
.lhead__count { margin: 0; font-size: var(--t-small); font-weight: 600; line-height: 1.4; }
.lhead__lede { max-width: 38em; margin-top: 12px; font-size: var(--t-lead); line-height: 1.5; }
.lhead__lede p { margin: 0; }
.list__body { padding-top: 26px; }
.empty { padding: 10px 0 20px; }
.empty__big { font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.page-numbers { display: inline-block; padding: 14px 16px; font: 600 var(--t-small)/1.1 var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line-2); border-radius: 3px; text-decoration: none; }
.page-numbers.current { background: var(--glass); color: var(--white); border-color: var(--glass); }

/* The search form */
.sform { margin: 18px 0; }
.sform label { display: block; margin: 0 0 8px; font-size: var(--t-small); font-weight: 600; line-height: 1.3; }
.sform__row { display: flex; gap: 8px; max-width: 34rem; }
.sform input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 12px; font: 400 var(--t-small)/1.3 var(--sans); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 4px; box-shadow: inset 1px 2px 3px rgba(19, 32, 26, .1); }
.sform input[type="search"]::placeholder { color: var(--ink-2); opacity: 1; }
.sform button { flex: none; min-height: 48px; padding: 0 18px; font: 600 var(--t-small)/1.2 var(--sans); color: var(--white); background: var(--glass); border: 0; border-radius: 4px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 3px 5px rgba(19, 32, 26, .28); }
.sform button:hover { background: var(--glass-3); }

/* ---- "Not found": the roll-down shutter is down, a plain sign hangs on it ------------------------------------------- */
.nf__shutter { position: relative; padding: 64px 0 52px; background: repeating-linear-gradient(to bottom, #E4E8EA 0 3px, #C6CCD0 3px 14px, #9EA6AB 14px 16px, #F2F4F5 16px 18px); box-shadow: inset 0 10px 14px -8px rgba(0, 0, 0, .35); }
.nf__box { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(to bottom, #A9B0B5, #7D858A); box-shadow: 0 3px 5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
.nf__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: linear-gradient(to bottom, #B3BABE, #6F777C); box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset; }
.nf__sign { position: relative; max-width: 660px; margin: 0 auto; padding: 24px 22px 22px; background: var(--white); border-radius: 4px; box-shadow: var(--sh-3); }
.nf__sign::before, .nf__sign::after { content: ""; position: absolute; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF3CF, #9C7329 70%); box-shadow: 1px 1px 1px rgba(0, 0, 0, .4); }
.nf__sign::before { left: 10px; }
.nf__sign::after { right: 10px; }
.nf__code { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 12px 7px; background: var(--tomato-deep); color: var(--cream); font: 700 var(--t-body)/1.1 var(--sans); border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .2); }
.nf__code span { font-weight: 700; }
.nf h1 { margin: 0 0 10px; }
.nf__home { margin: 18px 0 0; font-weight: 600; line-height: 1.3; }
@media (min-width: 768px) { .nf__sign { padding: 34px 40px 30px; } .nf__shutter { padding: 92px 0 76px; } }

/* ---- The footer: a kraft-paper band with a bag's serrated top, the till receipt, the links --------------------------- */
.foot { position: relative; margin-top: 60px; padding: 30px 0 0; background: var(--kraft); color: var(--ink); box-shadow: inset 0 22px 0 -20px rgba(255, 255, 255, .3); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: linear-gradient(-45deg, var(--kraft) 8px, transparent 0) 0 100% / 16px 12px repeat-x, linear-gradient(45deg, var(--kraft) 8px, transparent 0) 0 100% / 16px 12px repeat-x; filter: drop-shadow(0 -1px 0 rgba(19, 32, 26, .12)); }
.foot a { color: var(--ink); }
.foot__in { display: flex; flex-wrap: wrap; gap: 26px 48px; padding-bottom: 22px; }
.foot__about { flex: 1 1 100%; }
.foot__nav { flex: 1 1 200px; }
@media (min-width: 1000px) { .foot__about { flex: 0 1 560px; margin-right: auto; } .foot__nav { flex: 0 1 240px; } }
.brand--foot .brand__word { font-size: 24px; }
.foot__indep { margin: 14px 0 0; max-width: 32em; font-size: var(--t-small); line-height: 1.5; text-wrap: pretty; }
.receipt { position: relative; max-width: 440px; margin: 20px 0 14px; padding: 16px 18px 14px; background: var(--paper); color: var(--ink); box-shadow: 2px 3px 6px rgba(70, 48, 14, .28); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 8px repeat-x, linear-gradient(45deg, transparent 6px, var(--paper) 0) 0 0 / 12px 8px repeat-x; filter: drop-shadow(1px 2px 1px rgba(70, 48, 14, .18)); }
.receipt__head { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px dashed var(--ink); font-size: var(--t-small); font-weight: 700; line-height: 1.3; text-align: center; }
.receipt__lines { list-style: none; margin: 0; padding: 0; font: 400 var(--t-small)/1.45 var(--sans); font-variant-numeric: tabular-nums lining-nums; }
.receipt__lines li { padding: 3px 0; }
.receipt__lines li + li { border-top: 1px dotted var(--line-2); }
.foot__h { margin: 0 0 10px; font-size: var(--t-body); font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot__nav a { display: inline-block; padding: 5px 0; font-size: var(--t-small); line-height: 1.3; }
.foot__base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 16px; padding-bottom: 22px; font-size: var(--t-small); line-height: 1.45; }
.foot__base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 2px; background: rgba(19, 32, 26, .6); }
.foot__base p { margin: 0; }
.foot__pub { font-weight: 600; }

/* ---- Pieces the plugin prints: figures, tables, the reading map shortcode, mind maps, embeds, downloads ------------- */
.read figure :is(i, em, cite), .read nav :is(i, em), .rail :is(i, em) { font-style: normal; } /* no italics inside a piece */
.read figure, .hx-tool, .hx-wave, .hx-az__dl { font-variant-numeric: tabular-nums lining-nums; } /* figures line up in columns, on clocks and on receipts */
.donm-figure { margin: 1.5em 0; }
.donm-figure img { display: block; }
.download { font-size: var(--t-small); line-height: 1.45; }
.toc { margin: 1.4em 0; padding: 14px 18px; background: var(--cream); border-left: 6px solid var(--glass); }
.toc__title { margin: 0 0 8px; font-size: var(--t-small); font-weight: 700; line-height: 1.3; }
.read .toc ol > li { margin-bottom: .3em; }
.mindmap { margin: 1.6em 0; padding: 16px; background: var(--cream); border: 1px solid var(--line-2); border-radius: 4px; }
.mindmap__root { margin: 0 0 12px; font-size: var(--t-h3); font-weight: 700; line-height: 1.25; }
.read .mindmap__branches { display: grid; gap: 10px; margin: 0; }
@media (min-width: 700px) { .read .mindmap__branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.read .mindmap__branch { margin: 0; padding: 12px 14px; background: var(--white); border-top: 5px solid var(--hr); box-shadow: var(--sh-1); }
.read .mindmap__branch::before { display: none; }
.mindmap__branch > b { display: block; font-size: var(--t-body); font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.donm-embed { margin: 1.5em 0; padding: 14px; max-width: 36rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; }
.donm-embed__note, .donm-embed__net, .donm-embed__why, .donm-embed__x { font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }
.donm-embed__video iframe { max-width: 100%; }
.link-later { color: var(--ink); }
.sitemap { list-style: none; padding: 0; }
.sitemap__what { color: var(--ink-2); }

/* What changed, in the "How this guide was made" card; and the way to the store finder under a guide. */
.made__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tofind { margin: 34px 0 6px; }
.tofind .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tofind p { flex: 1 1 320px; margin: 0; font-size: var(--t-body); line-height: 1.45; }
.tofind__go { display: inline-block; padding: 14px 20px 15px; font: 700 var(--t-body)/1.2 var(--sans); color: var(--ink); background: var(--saffron); border: 2px solid var(--ink); border-radius: 4px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--ink); text-decoration: none; }
.tofind__go:hover { background: #F0AE48; text-decoration: underline; }
