/* Daily Small Talk product page, laid out as a morning paper. Every rule is scoped under .p-dst.
   Brand from the app's theme.ts: ink on warm paper, a Georgia serif, and the spice scale
   (green, amber, red) as the only hue. */

.p-dst {
  --dst-bg: #F6F3ED;
  --dst-surface: #FFFFFF;
  --dst-sunken: #EDE8DF;
  --dst-border: #DFD8CB;
  --dst-rule: #CFC6B6;
  --dst-text: #1A1714;
  --dst-muted: #5F574C;
  --dst-faint: #6F675C; /* the app's #8A8074 darkened for 4.5:1 */
  --dst-safe: #3C7A57; --dst-safe-t: #E6EFE8;
  --dst-bal: #A0681A; --dst-bal-t: #F6EBD9;
  --dst-spicy: #B44A31; --dst-spicy-t: #F7E5DF;
  --dst-serif: Georgia, "Gelasio", "Times New Roman", serif;
  --dst-sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dst-bg);
  color: var(--dst-text);
  font-family: var(--dst-serif);
  overflow-x: clip;
}
.p-dst h1, .p-dst h2, .p-dst h3 { font-family: var(--dst-serif); font-weight: 400; color: var(--dst-text); letter-spacing: -0.01em; }
.p-dst h2 i { font-style: italic; color: var(--dst-muted); }
.p-dst a { text-decoration-color: var(--dst-rule); }
.p-dst a:hover { color: var(--dst-text); text-decoration-color: var(--dst-text); }
.p-dst :focus-visible { outline: 2px solid var(--dst-text); outline-offset: 3px; }
.p-dst p { margin: 0 0 1em; }

/* small caps labels, set in the sans like the app's block labels */
.p-dst .dst-mast-row, .p-dst .dst-section-tag, .p-dst .dst-pull-l, .p-dst .dst-ifask-l, .p-dst .dst-wire-l,
.p-dst .dst-scale legend, .p-dst .dst-rule-h span, .p-dst .dst-ad-h, .p-dst .dst-clip-say span, .p-dst .dst-tags {
  font-family: var(--dst-sans); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dst-muted);
}

/* ---- masthead */
.p-dst .dst-mast { padding: 28px 0 0; text-align: center; }
.p-dst .dst-mast-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin: 0; padding: 8px 0; border-top: 3px double var(--dst-text); border-bottom: 1px solid var(--dst-text); }
.p-dst .dst-mast-date { color: var(--dst-text); }
.p-dst .dst-mast h1 { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 22px 0 6px; font-size: clamp(2.375rem, 9vw, 6rem); line-height: 1; letter-spacing: -0.03em; }
.p-dst .dst-icon { width: clamp(40px, 8vw, 56px); height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--dst-border); flex: none; }
.p-dst .dst-motto { margin: 0; padding: 0 0 12px; font-style: italic; font-size: clamp(1.0625rem, 2.4vw, 1.375rem); color: var(--dst-muted); border-bottom: 3px double var(--dst-text); }

/* ---- front page: one centred column */
.p-dst .dst-front { padding: 40px 0 64px; }
.p-dst .dst-col { max-width: 660px; margin: 0 auto; }
.p-dst .dst-stand { font-size: 1.1875rem; line-height: 1.6; color: var(--dst-muted); text-align: center; margin: 0 auto 36px; padding-bottom: 28px; border-bottom: 1px solid var(--dst-rule); }
.p-dst .dst-section-tag { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 0 0 16px; }
.p-dst .dst-section-tag span:first-child { color: var(--dst-text); }
.p-dst .dst-spice { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-family: var(--dst-sans); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.p-dst .dst-spice::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.p-dst .dst-spice.safe { color: var(--dst-safe); background: var(--dst-safe-t); }
.p-dst .dst-spice.balanced { color: var(--dst-bal); background: var(--dst-bal-t); }
.p-dst .dst-spice.spicy { color: var(--dst-spicy); background: var(--dst-spicy-t); }
.p-dst .dst-headline { font-size: clamp(1.875rem, 5.4vw, 3rem); line-height: 1.12; text-align: center; margin: 0 0 18px; }
.p-dst .dst-deck { font-size: 1.125rem; line-height: 1.6; color: var(--dst-muted); text-align: center; font-style: italic; margin: 0 auto 32px; max-width: 34em; }
.p-dst .dst-pull { margin: 0 0 28px; padding: 26px 0; border-top: 2px solid var(--dst-text); border-bottom: 2px solid var(--dst-text); text-align: center; }
.p-dst .dst-pull p { margin: 0; font-size: clamp(1.375rem, 3.6vw, 1.75rem); line-height: 1.4; }
.p-dst .dst-pull p.dst-pull-l { font-size: 0.6875rem; line-height: 1.5; margin-bottom: 12px; }
.p-dst .dst-pull p.dst-pull-hint { font-family: var(--dst-sans); font-size: 0.75rem; color: var(--dst-faint); margin-top: 12px; }
.p-dst .dst-pull p:nth-child(2)::before { content: "\201C"; }
.p-dst .dst-pull p:nth-child(2)::after { content: "\201D"; }
.p-dst .dst-ifask { background: var(--dst-sunken); padding: 18px 20px; margin: 0 0 22px; font-family: var(--dst-sans); font-size: 0.9375rem; line-height: 1.55; }
.p-dst .dst-ifask p { margin: 0; }
.p-dst .dst-ifask .dst-ifask-l { margin-bottom: 6px; }
.p-dst .dst-ifask-q { font-family: var(--dst-serif); font-style: italic; font-size: 1.0625rem; margin-bottom: 4px !important; }
.p-dst .dst-byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-family: var(--dst-sans); font-size: 0.875rem; color: var(--dst-faint); margin: 0; }
.p-dst .dst-more { font-weight: 600; color: var(--dst-text); text-decoration: underline; text-decoration-color: var(--dst-rule); text-underline-offset: 3px; }
.p-dst .dst-save { margin-left: auto; font-weight: 600; color: var(--dst-muted); }
.p-dst .dst-sample { margin: 28px 0 0; font-family: var(--dst-sans); font-size: 0.8125rem; color: var(--dst-faint); text-align: center; }

/* ---- newspaper columns with rules between */
.p-dst .dst-cols { border-top: 3px double var(--dst-text); padding: 40px 0 56px; }
.p-dst .dst-cols-in { display: grid; gap: 0; }
.p-dst .dst-colm { padding: 24px 0; border-top: 1px solid var(--dst-rule); font-size: 1rem; line-height: 1.6; color: var(--dst-muted); }
.p-dst .dst-colm:first-child { border-top: 0; padding-top: 0; }
.p-dst .dst-colm b { color: var(--dst-text); font-weight: 700; }
.p-dst .dst-colh { font-size: 1.625rem; line-height: 1.15; margin: 0 0 14px; }
.p-dst .dst-anat { margin: 0; padding: 0; list-style: none; counter-reset: dst; }
.p-dst .dst-anat li { counter-increment: dst; margin: 0; padding: 8px 0 8px 30px; border-top: 1px dotted var(--dst-rule); position: relative; }
.p-dst .dst-anat li::before { content: counter(dst); position: absolute; left: 0; top: 8px; font-weight: 700; color: var(--dst-text); }
.p-dst .dst-wire-l { margin: 18px 0 8px !important; }
.p-dst .dst-wire { list-style: none; margin: 0; padding: 0; }
.p-dst .dst-wire li { margin: 0; padding: 5px 0; border-top: 1px dotted var(--dst-rule); color: var(--dst-text); font-variant: small-caps; letter-spacing: 0.03em; }
.p-dst .dst-lock { border-radius: 26px; padding: 22px 16px 18px; text-align: center; color: #fff; margin: 0 0 18px; font-family: var(--dst-sans);
  background: radial-gradient(120% 90% at 20% 0%, #6A5A4A 0%, rgba(106, 90, 74, 0) 60%), radial-gradient(110% 90% at 100% 100%, #3C4D45 0%, rgba(60, 77, 69, 0) 60%), #231E1A; }
.p-dst .dst-lock p { margin: 0; }
.p-dst .dst-lock-date { font-size: 0.8125rem; font-weight: 600; opacity: 0.85; }
.p-dst .dst-lock-time { font-size: 3.5rem; line-height: 1.05; font-weight: 600; }
.p-dst .dst-lock-widget { margin: 14px auto 0 !important; max-width: 260px; padding: 9px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.16); text-align: left; font-size: 0.8125rem; line-height: 1.35; }

/* ---- the dial, as a printed scale */
.p-dst .dst-dial-sec { background: var(--dst-sunken); padding: 56px 0 64px; border-top: 1px solid var(--dst-text); border-bottom: 1px solid var(--dst-text); }
.p-dst .dst-dial-head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.p-dst .dst-dial-head h2 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0 0 12px; }
.p-dst .dst-dial-head p { color: var(--dst-muted); margin: 0; }
.p-dst .dst-dial { max-width: 720px; margin: 0 auto; position: relative; }
.p-dst .dst-sp-in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.p-dst .dst-scale { position: relative; border: 2px solid var(--dst-text); margin: 0 0 24px; padding: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; background: var(--dst-bg); }
.p-dst .dst-scale legend { position: absolute; top: 10px; left: 0; right: 0; text-align: center; padding: 0; }
/* the printed bar: a gradient track with tick marks */
.p-dst .dst-scale::before { content: ""; position: absolute; left: 16.66%; right: 16.66%; top: 48px; height: 4px; background: linear-gradient(90deg, var(--dst-safe), var(--dst-bal), var(--dst-spicy)); }
.p-dst .dst-scale label { position: relative; cursor: pointer; padding: 32px 10px 16px; text-align: center; font-family: var(--dst-sans); font-size: 0.8125rem; line-height: 1.35; color: var(--dst-muted); border-top: 1px solid transparent; }
.p-dst .dst-scale label + label { border-left: 1px solid var(--dst-rule); }
.p-dst .dst-scale label::before { content: ""; position: absolute; left: 50%; top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--dst-bg); border: 2px solid var(--dst-text); transition: transform .2s; }
.p-dst .dst-scale label b { display: block; font-family: var(--dst-serif); font-weight: 400; font-size: 1.25rem; color: var(--dst-text); margin-bottom: 2px; }
.p-dst .dst-scale label:hover b { text-decoration: underline; text-decoration-color: var(--dst-rule); }
.p-dst #dst-sp-safe:checked ~ .dst-scale label.safe::before { background: var(--dst-safe); border-color: var(--dst-safe); transform: scale(1.25); }
.p-dst #dst-sp-balanced:checked ~ .dst-scale label.balanced::before { background: var(--dst-bal); border-color: var(--dst-bal); transform: scale(1.25); }
.p-dst #dst-sp-spicy:checked ~ .dst-scale label.spicy::before { background: var(--dst-spicy); border-color: var(--dst-spicy); transform: scale(1.25); }
.p-dst #dst-sp-safe:checked ~ .dst-scale label.safe,
.p-dst #dst-sp-balanced:checked ~ .dst-scale label.balanced,
.p-dst #dst-sp-spicy:checked ~ .dst-scale label.spicy { background: var(--dst-surface); color: var(--dst-text); }
.p-dst #dst-sp-safe:focus-visible ~ .dst-scale label.safe,
.p-dst #dst-sp-balanced:focus-visible ~ .dst-scale label.balanced,
.p-dst #dst-sp-spicy:focus-visible ~ .dst-scale label.spicy { outline: 2px solid var(--dst-text); outline-offset: -4px; }
.p-dst .dst-clip { display: none; background: var(--dst-surface); border: 1px solid var(--dst-border); padding: 22px 22px 18px; }
.p-dst #dst-sp-safe:checked ~ .dst-clips .dst-clip.safe,
.p-dst #dst-sp-balanced:checked ~ .dst-clips .dst-clip.balanced,
.p-dst #dst-sp-spicy:checked ~ .dst-clips .dst-clip.spicy { display: block; }
.p-dst .dst-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; }
.p-dst .dst-clip-hook { font-size: 1.375rem; line-height: 1.3; margin: 0 0 14px; }
.p-dst .dst-clip-say { background: var(--dst-sunken); padding: 12px 14px; font-size: 1.125rem; line-height: 1.45; margin: 0 0 10px; }
.p-dst .dst-clip-say span { display: block; font-size: 0.625rem; color: var(--dst-faint); margin-bottom: 4px; }
.p-dst .dst-clip-src { margin: 0; font-family: var(--dst-sans); font-size: 0.8125rem; color: var(--dst-faint); }
@media (prefers-reduced-motion: no-preference) {
  .p-dst .dst-clip { animation: dst-in .35s ease both; }
  @keyframes dst-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---- ruled headings, the classifieds and the letters */
.p-dst .dst-rule-h { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font-size: 1rem; }
.p-dst .dst-rule-h::before, .p-dst .dst-rule-h::after { content: ""; flex: 1; height: 1px; background: var(--dst-text); }
.p-dst .dst-rule-h span { color: var(--dst-text); white-space: nowrap; }
.p-dst .dst-ads { padding: 56px 0; }
.p-dst .dst-ads-in { display: grid; gap: 16px; }
.p-dst .dst-ad { border: 1px solid var(--dst-text); padding: 20px; color: var(--dst-muted); font-size: 1rem; line-height: 1.55; background: var(--dst-bg); }
.p-dst .dst-ad p:last-child { margin: 0; }
.p-dst .dst-ad .dst-ad-h { color: var(--dst-text); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--dst-text); text-align: center; }
.p-dst .dst-ad ul { margin: 0 0 12px; padding: 0; list-style: none; }
.p-dst .dst-ad li { margin: 0; padding: 6px 0; border-top: 1px dotted var(--dst-rule); }
.p-dst .dst-ad li:first-child { border-top: 0; }
.p-dst .dst-ad-x { border-width: 3px; border-style: double; background: var(--dst-surface); }
.p-dst .dst-ad-fine { font-family: var(--dst-sans); font-size: 0.8125rem; color: var(--dst-faint); }
.p-dst .dst-letters { padding: 8px 0 64px; }
.p-dst .dst-faq { columns: 1; }
.p-dst .dst-faq details { break-inside: avoid; border-top: 1px solid var(--dst-rule); }
.p-dst .dst-faq summary { cursor: pointer; list-style: none; position: relative; padding: 14px 32px 14px 0; font-size: 1.1875rem; line-height: 1.3; }
.p-dst .dst-faq summary::-webkit-details-marker { display: none; }
.p-dst .dst-faq summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-family: var(--dst-sans); font-size: 1.375rem; font-weight: 300; color: var(--dst-muted); }
.p-dst .dst-faq details[open] summary::after { content: "\2212"; }
.p-dst .dst-faq details > div { padding: 0 0 16px; color: var(--dst-muted); line-height: 1.6; }
.p-dst .dst-faq details > div p { margin: 0; }
.p-dst .dst-note { margin: 28px 0 0; font-family: var(--dst-sans); color: var(--dst-muted); font-size: 0.9375rem; text-align: center; }

/* ---- colophon */
.p-dst .dst-colophon { padding: 48px 0 64px; text-align: center; border-top: 3px double var(--dst-text); }
.p-dst .dst-colophon h2 { font-size: clamp(2rem, 6vw, 3.5rem); margin: 0 auto 10px; max-width: 16ch; line-height: 1.05; }
.p-dst .dst-colophon p { margin: 0; color: var(--dst-muted); font-style: italic; }

@media (max-width: 480px) {
  .p-dst .dst-mast-row { justify-content: center; }
  .p-dst .dst-mast-row span:not(.dst-mast-date) { display: none; }
  .p-dst .dst-scale label { padding: 32px 4px 14px; font-size: 0.75rem; }
  .p-dst .dst-scale label span { display: none; }
  .p-dst .dst-clip { padding: 18px 16px 14px; }
}
@media (min-width: 760px) {
  .p-dst .dst-cols-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-dst .dst-colm { padding: 0 24px; border-top: 0; border-left: 1px solid var(--dst-text); }
  .p-dst .dst-colm:first-child { padding-left: 0; border-left: 0; }
  .p-dst .dst-colm:last-child { padding-right: 0; }
  .p-dst .dst-ads-in { grid-template-columns: 1fr 1.5fr 1fr; align-items: start; }
  .p-dst .dst-faq { columns: 2; column-gap: 48px; column-rule: 1px solid var(--dst-rule); }
}
@media (min-width: 1100px) {
  .p-dst .dst-colm { padding: 0 36px; }
}
