/*
 * drinks-less.com ("moderation" theme): a practical reference guide.
 * Cool white ground, ink-blue text, amber accent, serif headlines over a clean sans, rules and tables.
 * Loaded after site.css, so every rule is scoped to .theme-moderation to win without !important.
 * System fonts only, no images, no scripts: nothing here needs the network beyond this file.
 *
 * Signature: the "reference label". A heavy ink rule on top, hairlines between rows, figures set in serif.
 * It frames the calendar chart, the key-numbers card, the Key takeaways box and the reading paths.
 */

/* tokens */
body.theme-moderation {
  --ground: #F5F7FB;
  --card: #FFFFFF;
  --ink: #14213D;
  --ink-2: #2A3A5C;
  --muted: #465471;
  --line: #D3DAE7;
  --line-2: #8794B0;
  --amber: #E3BC42;
  --amber-deep: #7A611A;
  --amber-wash: #FBF2D2;
  --amber-line: #E5D08A;
  --link: #1B4B91;
  --focus: #1B4B91;
  --alert: #B8402F;
  --alert-wash: #FCEDEA;
  --serif: 'Iowan Old Style', Charter, 'Bitstream Charter', 'Sitka Text', Georgia, Cambria, serif;
  --sans: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* the shared tokens that untouched components (author page, legal text) still read */
  --bg: var(--ground);
  --border: var(--line);
  --coral: var(--amber);
  --coral-deep: var(--link);
  --accent-soft: var(--amber-wash);
  --paper: var(--amber-wash);
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

/* base */
.theme-moderation h1,
.theme-moderation h2,
.theme-moderation h3 {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
}
.theme-moderation h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
.theme-moderation h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.theme-moderation h3 { font-size: 1.2rem; line-height: 1.25; }
.theme-moderation p { margin: 0 0 1em; }
.theme-moderation a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.theme-moderation a:hover { text-decoration-thickness: 2px; }
.theme-moderation :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-moderation .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.theme-moderation .skip-link { background: var(--ink); color: #fff; border-radius: 6px; font-weight: 700; }
.theme-moderation ::selection { background: var(--amber); color: var(--ink); }

/* small uppercase label used above headings */
.theme-moderation .kicker,
.theme-moderation .section-kicker,
.theme-moderation .eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .74rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--amber-deep);
  text-align: left;
  margin: 0 0 12px;
}

/* buttons */
.theme-moderation .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .98rem;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.theme-moderation .btn-coral { background: var(--amber); color: var(--ink); border: 1.5px solid var(--ink); }
.theme-moderation .btn-coral:hover { background: var(--ink); color: #fff; filter: none; }
.theme-moderation .btn-ios { white-space: normal; }
.theme-moderation .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.theme-moderation .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  border: 0;
  font-weight: 700;
  color: var(--link);
  text-decoration: underline;
}

/* header: brand bar and topic bar */
.theme-moderation .site-header { position: static; background: var(--card); border: 0; backdrop-filter: none; }
.theme-moderation .site-header .nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 28px;
  padding: 10px 24px;
}
.theme-moderation .wordmark {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.theme-moderation .wordmark img { width: 36px; height: 36px; border-radius: 8px; }
.theme-moderation .primary-links { display: flex; gap: 2px; margin-right: auto; }
.theme-moderation .primary-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.theme-moderation .primary-links a:hover { color: var(--ink); border-bottom-color: var(--amber); }
.theme-moderation .nav-store { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-moderation .site-header .nav .btn { padding: 8px 16px; font-size: .92rem; }

.theme-moderation .topicbar { background: var(--ink); }
.theme-moderation .topicbar-in { display: flex; flex-wrap: wrap; align-items: center; padding-top: 0; padding-bottom: 0; }
.theme-moderation .topicbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #E6ECF7;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  white-space: nowrap;
}
.theme-moderation .topicbar a:hover { color: #fff; border-bottom-color: var(--amber); }
.theme-moderation .topicbar .topicbar-all { color: var(--amber); font-weight: 800; margin-left: -12px; margin-right: 8px; }
.theme-moderation .topicbar :focus-visible,
.theme-moderation .site-footer :focus-visible { outline-color: var(--amber); }

/* footer */
.theme-moderation .site-footer {
  background: var(--ink);
  color: #C5D0E4;
  border-top: 4px solid var(--amber);
  padding: 48px 0 28px;
  font-size: .92rem;
  margin-top: 0;
}
.theme-moderation .footer-grid { display: grid; grid-template-columns: 1.3fr 1.5fr 1.2fr 1fr; gap: 40px; }
.theme-moderation .footer-grid h2 {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--amber);
  margin: 0 0 12px;
}
.theme-moderation .footer-grid ul { list-style: none; margin: 0; padding: 0; }
.theme-moderation .footer-grid li { margin: 0; }
.theme-moderation .site-footer a { color: #fff; text-decoration: none; }
.theme-moderation .footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; color: #E6ECF7; line-height: 1.35; }
.theme-moderation .site-footer a:hover { text-decoration: underline; }
.theme-moderation .footer-wordmark { color: #fff; margin-bottom: 12px; }
.theme-moderation .footer-about p { max-width: 34ch; margin: 0; }
.theme-moderation .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 0;
  /* the rule runs between the container's padding, so it lines up with the text */
  background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)) 24px 0 / calc(100% - 48px) 1px no-repeat;
  color: #B4C0D9;
  font-size: .86rem;
}
.theme-moderation .footer-bottom p { margin: 0; }

/* home: hero and the calendar chart */
.theme-moderation .hero { display: block; min-height: 0; padding: 48px 0 44px; }
.theme-moderation .hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.theme-moderation .hero h1 { max-width: 19ch; font-size: clamp(2.1rem, 4.3vw, 3.3rem); margin-bottom: .4em; }
.theme-moderation .hero-sub { max-width: 46ch; font-size: 1.15rem; color: var(--ink-2); margin-bottom: 1.4em; }
.theme-moderation .store-note { margin: 14px 0 0; font-size: .85rem; font-weight: 500; color: var(--muted); }

.theme-moderation .hero-visual {
  position: static;
  width: 100%;
  max-width: 350px;
  justify-self: end;
  padding: 18px 22px 18px;
  background: var(--card);
  border: 1px solid var(--ink);
  border-top-width: 6px;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  margin: 0;
}
.theme-moderation .hero-calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.theme-moderation .hero-calendar-head p { margin: 0; }
.theme-moderation .hero-calendar-overline { font-size: .66rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.theme-moderation .hero-calendar-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 800; letter-spacing: 0; line-height: 1.1; }
.theme-moderation .hero-calendar-score {
  flex: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--amber-wash);
  color: var(--amber-deep);
  font-size: .66rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
}
.theme-moderation .calendar-weekdays,
.theme-moderation .hero-calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.theme-moderation .calendar-weekdays { margin-bottom: 6px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.theme-moderation .cal-tile {
  aspect-ratio: 1;
  border: 0;
  border-radius: 4px;
  font-size: .76rem;
  font-weight: 800;
  color: var(--ink);
}
.theme-moderation .hero-calendar .tone-dry,
.theme-moderation .hero-calendar .tone-light,
.theme-moderation .hero-calendar .tone-med { color: var(--ink); }
.theme-moderation .hero-calendar .tone-heavy { background: #C8432F; color: #fff; }
.theme-moderation .hero-calendar .tone-rough { color: #fff; }
.theme-moderation .cal-future { background: transparent; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; }
.theme-moderation .cal-today { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-moderation .cal-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}
.theme-moderation .cal-key-title { flex: 0 0 100%; color: var(--ink-2); font-weight: 700; }
.theme-moderation .cal-key-item { display: inline-flex; align-items: center; gap: 5px; }
.theme-moderation .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.theme-moderation .swatch-dry { background: var(--b-dry); }
.theme-moderation .swatch-light { background: var(--b-light); }
.theme-moderation .swatch-med { background: var(--b-med); }
.theme-moderation .swatch-heavy { background: #C8432F; }
.theme-moderation .swatch-rough { background: var(--b-rough); }

.theme-moderation .trust { padding: 0; background: var(--amber-wash); color: var(--ink); border-top: 1px solid var(--amber-line); border-bottom: 1px solid var(--amber-line); }
.theme-moderation .trust p { margin: 0; padding: 12px 0; text-align: left; font-size: .95rem; font-weight: 600; letter-spacing: 0; }

/* home: situations */
.theme-moderation .situations { background: var(--card); border-bottom: 1px solid var(--line); }
.theme-moderation .situations-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 16px; padding-bottom: 16px; }
.theme-moderation .situations-label {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--amber-deep);
}
.theme-moderation .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-moderation .chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--ground);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 600;
  text-decoration: none;
}
.theme-moderation .chip-link:hover { background: var(--amber-wash); border-color: var(--ink); }
.theme-moderation .chip-count { font-size: .78rem; font-weight: 800; color: var(--amber-deep); font-variant-numeric: tabular-nums; }

/* home: sections with a label column */
.theme-moderation .sec { padding: 48px 0; border-top: 1px solid var(--line); }
.theme-moderation .situations + .sec { border-top: 0; }
.theme-moderation .sec-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.theme-moderation .sec-title {
  display: block;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.012em;
  color: var(--ink);
}
.theme-moderation .sec-note { display: block; font-size: .9rem; color: var(--muted); }
.theme-moderation .sec-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; }

/* start-here paths */
.theme-moderation .paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.theme-moderation .path {
  display: flex;
  flex-direction: column;
  counter-reset: step;
  padding: 16px 20px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
}
.theme-moderation .path-title { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.theme-moderation .path-step {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.theme-moderation .path-step::before { content: counter(step); font-family: var(--serif); font-size: 1.1rem; font-weight: 800; line-height: 1.2; color: var(--amber-deep); }
.theme-moderation .path-step:hover { color: var(--link); text-decoration: underline; }

/* key numbers: the reference label */
.theme-moderation .keycard { max-width: 800px; background: var(--card); border: 1px solid var(--ink); border-top-width: 6px; }
.theme-moderation .figures { margin: 0; }
.theme-moderation .figure {
  display: grid;
  grid-template-columns: minmax(0, 11rem) 7.5rem minmax(0, 1fr) auto;
  gap: 2px 20px;
  align-items: baseline;
  padding: 13px 22px;
  border-top: 1px solid var(--line);
}
.theme-moderation .figure:first-child { border-top: 0; background: var(--amber-wash); }
.theme-moderation .figures dt,
.theme-moderation .figures dd { margin: 0; }
.theme-moderation .figure-label { font-weight: 700; line-height: 1.3; }
.theme-moderation .figure-value { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.theme-moderation .figure:first-child .figure-value { font-size: 2.1rem; }
.theme-moderation .figure-note { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.theme-moderation .figure-source a { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; font-weight: 800; }
.theme-moderation .keycard-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding: 14px 22px;
  border-top: 1px solid var(--ink);
  background: var(--ground);
  font-size: .86rem;
  color: var(--muted);
}
.theme-moderation .keycard-foot span { flex: 1 1 28rem; }
.theme-moderation .keycard-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* method: three steps in a row */
.theme-moderation .method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; counter-reset: method; }
.theme-moderation .method-step { counter-increment: method; padding-top: 14px; border-top: 3px solid var(--ink); }
.theme-moderation .method-step::before {
  content: "Step " counter(method);
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.theme-moderation .method-step h3 { margin: 0 0 .35em; font-size: 1.25rem; }
.theme-moderation .method-step p { margin: 0; color: var(--ink-2); }

/* the index of guides: title, dotted leader, date, dek */
.theme-moderation .entries { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.theme-moderation .entry { position: relative; margin: 0; padding: 14px 10px 16px; border-bottom: 1px solid var(--line); }
.theme-moderation .entry:hover,
.theme-moderation .entry:focus-within { background: var(--amber-wash); }
.theme-moderation .entry-head { display: flex; align-items: baseline; gap: 12px; }
.theme-moderation .entry-title { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.theme-moderation .entry-title a { color: var(--ink); text-decoration: none; }
.theme-moderation .entry-title a::after { content: ""; position: absolute; inset: 0; }
.theme-moderation .entry-title a:hover { color: var(--link); text-decoration: underline; }
.theme-moderation .entry-title a:focus-visible { outline-offset: -3px; }
.theme-moderation .entry-leader { flex: 1 1 24px; min-width: 16px; align-self: flex-end; margin-bottom: .35em; border-bottom: 2px dotted var(--line-2); }
.theme-moderation .entry-date { flex: none; font-size: .84rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.theme-moderation .entry-dek { max-width: 64ch; margin: 5px 0 0; font-size: .95rem; color: var(--ink-2); }

/* in-app tools and questions: ruled grids */
.theme-moderation .tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; border-top: 2px solid var(--ink); }
.theme-moderation .tool { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.theme-moderation .tool h3 { margin: 0 0 .3em; font-size: 1.1rem; line-height: 1.28; }
.theme-moderation .tool p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.theme-moderation .qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.theme-moderation .qa-item { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.theme-moderation .qa-item h3 { margin: 0 0 .4em; font-size: 1.1rem; line-height: 1.28; }
.theme-moderation .qa-item p { margin: 0; color: var(--ink-2); }

/* closing call to action */
.theme-moderation .cta-band { padding: 44px 0; background: var(--amber-wash); border-top: 4px solid var(--ink); color: var(--ink); }
.theme-moderation .cta-band-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.theme-moderation .cta-band h2 { margin: 0 0 .3em; font-size: 1.9rem; }
.theme-moderation .cta-band p { max-width: 56ch; margin: 0; color: var(--ink-2); }
.theme-moderation .cta-band-actions .cta-row { justify-content: flex-start; }

/* guide index page */
.theme-moderation .page-head { padding: 44px 0 30px; border-bottom: 1px solid var(--line); background: var(--card); }
.theme-moderation .page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.theme-moderation .page-head h1 { max-width: 20ch; }
.theme-moderation .page-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 0 28px; margin: 0; padding-top: 10px; border-top: 4px solid var(--ink); }
.theme-moderation .page-meta div { display: flex; flex-direction: column-reverse; }
.theme-moderation .page-meta dt { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.theme-moderation .page-meta dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.theme-moderation .blog-intro { max-width: 60ch; margin: 0 0 18px; font-size: 1.12rem; color: var(--ink-2); }
.theme-moderation .review-note {
  display: block;
  max-width: 60ch;
  margin: 0;
  padding: 10px 14px;
  border-left: 4px solid var(--amber);
  background: var(--amber-wash);
  font-size: .9rem;
  color: var(--ink);
}
.theme-moderation .blog-empty { margin: 40px 0; padding: 32px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 0; text-align: left; font-weight: 400; color: var(--ink-2); }
.theme-moderation .blog-empty h2 { margin-bottom: .3em; }
.theme-moderation .index-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 36px; padding-bottom: 64px; }
.theme-moderation .index-rail { position: sticky; top: 20px; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.theme-moderation .rail-title { padding: 12px 0 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--amber-deep); }
.theme-moderation .index-rail a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.theme-moderation .index-rail a:hover { color: var(--link); }
.theme-moderation .rail-count { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-moderation .topic-group { padding-bottom: 40px; scroll-margin-top: 16px; }
.theme-moderation .group-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; margin-bottom: 12px; }
.theme-moderation .group-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; line-height: 1.2; letter-spacing: -.012em; }
.theme-moderation .group-count { font-size: .84rem; font-weight: 700; color: var(--muted); }
.theme-moderation .group-blurb { grid-column: 1 / -1; font-size: .95rem; color: var(--muted); }

/* article */
.theme-moderation .art { padding: 28px 0 72px; }
.theme-moderation .breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 24px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.theme-moderation .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.theme-moderation .breadcrumb { gap: 0 8px; align-items: center; margin-bottom: 14px; }
.theme-moderation .art-grid { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 56px; align-items: start; }
.theme-moderation .art-main { min-width: 0; max-width: 880px; }
.theme-moderation .art-head h1 { max-width: 22ch; margin-bottom: .35em; font-size: clamp(2rem, 4.4vw, 3.05rem); }
.theme-moderation .article-dek { max-width: 46rem; margin: 0; font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); }
.theme-moderation .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 20px 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.theme-moderation .article-meta time { color: var(--ink); font-weight: 600; }
.theme-moderation .article-meta a { font-weight: 600; }
.theme-moderation .medical-boundary {
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid var(--amber-line);
  border-left: 4px solid var(--amber);
  border-radius: 0;
  background: var(--amber-wash);
  font-size: .9rem;
  color: var(--ink);
}

/* contents: a sticky rail on wide screens, a fold on narrow ones */
.theme-moderation .toc-rail { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; border-top: 2px solid var(--ink); }
.theme-moderation .toc-title { padding: 12px 0 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--amber-deep); }
.theme-moderation .toc-list { margin: 0; padding: 0; list-style: none; }
.theme-moderation .toc-list li { margin: 0; border-top: 1px solid var(--line); }
.theme-moderation .toc-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0 6px 12px;
  border-left: 3px solid transparent;
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.35;
  text-decoration: none;
}
.theme-moderation .toc-list a:hover { border-left-color: var(--amber); color: var(--ink); background: var(--amber-wash); }
.theme-moderation .toc-fold { display: none; margin: 0 0 24px; background: var(--card); border: 1px solid var(--line-2); border-top: 4px solid var(--ink); }
.theme-moderation .toc-fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 16px; cursor: pointer; font-weight: 800; list-style: none; }
.theme-moderation .toc-fold summary::-webkit-details-marker { display: none; }
.theme-moderation .toc-fold summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; line-height: 1; color: var(--amber-deep); }
.theme-moderation .toc-fold[open] summary::after { content: "\2212"; }
.theme-moderation .toc-fold .toc-list { padding: 0 16px 8px; }
.theme-moderation .toc-fold .toc-list a { display: flex; align-items: center; min-height: 44px; }

/* article text: a readable measure, with tables and the like allowed to be wider */
.theme-moderation .article-body { font-size: 1.06rem; line-height: 1.7; }
.theme-moderation .article-body > * { max-width: 44rem; }
.theme-moderation .article-body > .article-table-wrap { max-width: none; }
.theme-moderation .article-lead { font-size: 1.2rem; font-weight: 500; line-height: 1.55; }
.theme-moderation .article-body h2 {
  margin: 2em 0 .55em;
  padding-top: .9em;
  border-top: 1px solid var(--line);
  font-size: 1.65rem;
  scroll-margin-top: 20px;
}
.theme-moderation .article-body h3 { margin: 1.6em 0 .4em; font-size: 1.2rem; }
.theme-moderation .article-body ul,
.theme-moderation .article-body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.theme-moderation .article-body li { margin-bottom: .45em; padding-left: .2em; }
.theme-moderation .article-body li::marker { color: var(--amber-deep); font-weight: 700; }

/* Key takeaways: the reference label */
.theme-moderation .article-body .keybox { margin: 1.8em 0 1.4em; background: var(--card); border: 1px solid var(--ink); border-top-width: 6px; }
.theme-moderation .article-body .keybox h2 {
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--amber-wash);
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.theme-moderation .keybox ul { margin: 0; padding: 0; list-style: none; }
.theme-moderation .keybox li { position: relative; margin: 0; padding: 12px 20px 12px 46px; border-top: 1px solid var(--line); line-height: 1.55; }
.theme-moderation .keybox li:first-child { border-top: 0; }
.theme-moderation .keybox li::before { content: ""; position: absolute; left: 21px; top: 1.1em; width: 10px; height: 10px; background: var(--amber); outline: 1px solid #B9922A; }

/* tables: scroll sideways inside their own frame, never the page */
.theme-moderation .article-table-wrap {
  margin: 1.7em 0;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left center,
    linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(20, 33, 61, .28), rgba(20, 33, 61, 0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(20, 33, 61, .28), rgba(20, 33, 61, 0)) right center,
    #fff;
  background-repeat: no-repeat;
  background-size: 36px 100%, 36px 100%, 14px 100%, 14px 100%, auto;
  background-attachment: local, local, scroll, scroll, scroll;
}
.theme-moderation .article-table-wrap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.theme-moderation .article-body table { width: 100%; min-width: 36rem; margin: 0; border-collapse: collapse; font-size: .93rem; line-height: 1.45; }
.theme-moderation .article-body caption {
  caption-side: top;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ink);
  background: var(--amber-wash);
  text-align: left;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 800;
}
/* the caption stays in view while the table scrolls under it (width = the frame: the column less the page gutters) */
@media (max-width: 980px) {
  .theme-moderation .article-body caption { position: sticky; left: 0; width: calc(100vw - 50px); box-sizing: border-box; }
}
@media (max-width: 620px) {
  .theme-moderation .article-body caption { width: calc(100vw - 34px); }
}
.theme-moderation .article-body th {
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  text-align: left;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.theme-moderation .article-body td { padding: 11px 14px; border: 0; border-top: 1px solid var(--line); vertical-align: top; min-width: 8rem; }
.theme-moderation .article-body tbody tr:first-child td { border-top: 0; }
.theme-moderation .article-body td:first-child { font-weight: 700; }

/* callouts, questions and sources */
.theme-moderation .article-callout { margin: 1.8em 0; padding: 16px 20px; background: var(--card); border: 1px solid var(--line-2); border-left: 4px solid var(--amber); border-radius: 0; }
.theme-moderation .article-callout h3 { margin: 0 0 .35em; font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.theme-moderation .article-callout p { margin: 0; font-size: .97rem; }
.theme-moderation .safety-callout { background: var(--alert-wash); border-color: #D9A39A; border-left-color: var(--alert); }
.theme-moderation .article-faq { margin-top: 2.4em; border-top: 2px solid var(--ink); }
.theme-moderation .article-body .article-faq h2 { margin: 0; padding: .8em 0 .5em; border: 0; }
.theme-moderation .article-faq h3 { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.theme-moderation .article-faq h2 + h3 { border-top: 0; padding-top: 4px; }
.theme-moderation .article-faq p { margin: .35em 0 16px; }
.theme-moderation .article-sources { margin-top: 2.4em; padding: 0; border-top: 2px solid var(--ink); }
.theme-moderation .article-body .article-sources h2 { margin: 0; padding: .8em 0 .5em; border: 0; font-size: 1.3rem; }
.theme-moderation .article-body .article-sources ul { margin: 0; padding: 0; list-style: none; counter-reset: ref; font-size: .92rem; line-height: 1.45; }
.theme-moderation .article-sources li { position: relative; margin: 0; padding: 9px 0 9px 2.6rem; border-top: 1px solid var(--line); counter-increment: ref; }
.theme-moderation .article-sources li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; top: 9px; font-weight: 800; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.theme-moderation .article-sources a { overflow-wrap: anywhere; }

/* share, related, call to action */
.theme-moderation .share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 2.4em; padding-top: 16px; border-top: 1px solid var(--line); }
html:not(.js) .theme-moderation .share-row { display: none; }
.theme-moderation .share-label { font-size: .9rem; font-weight: 700; color: var(--muted); }
.theme-moderation .share-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.theme-moderation .share-btn:hover { background: var(--amber-wash); border-color: var(--ink); }
.theme-moderation .related { margin-top: 2.6em; }
.theme-moderation .related h2 { margin: 0 0 14px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 1.4rem; }
.theme-moderation .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme-moderation .related-card { display: block; padding: 16px 18px 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.theme-moderation .related-card:hover { border-color: var(--ink); background: var(--amber-wash); }
.theme-moderation .related-card h3 { margin: 0 0 .4em; font-size: 1.08rem; }
.theme-moderation .related-dek { margin: 0 0 .7em; font-size: .9rem; color: var(--ink-2); }
.theme-moderation .blog-card-more { margin: 0; font-size: .9rem; font-weight: 800; color: var(--link); }
.theme-moderation .post-cta { margin-top: 2.4em; padding: 26px 28px; background: var(--amber-wash); border: 1px solid var(--amber-line); border-top: 4px solid var(--ink); border-radius: 0; text-align: left; }
.theme-moderation .post-cta h2 { margin: 0 0 .3em; font-size: 1.5rem; }
.theme-moderation .post-cta p { max-width: 52ch; margin: 0 0 16px; color: var(--ink-2); }
.theme-moderation .post-cta .cta-row { justify-content: flex-start; }

/* reading pages: privacy, terms, editorial policy, author, 404 */
.theme-moderation .doc { padding: 36px 0 72px; }
.theme-moderation .doc-grid { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 56px; align-items: start; }
.theme-moderation .legal { max-width: 44rem; margin: 0; }
.theme-moderation .container.legal { margin: 0 auto; }
.theme-moderation .legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.theme-moderation .legal h2 { margin: 2em 0 .5em; padding-top: .9em; border-top: 1px solid var(--line); font-size: 1.35rem; scroll-margin-top: 20px; }
.theme-moderation .legal .updated { margin-bottom: 1.6em; font-size: .9rem; font-weight: 600; color: var(--muted); }
.theme-moderation .legal ul { padding-left: 1.3em; }
.theme-moderation .section { padding: 40px 0 72px; }
.theme-moderation .author-page .medical-boundary { margin: 1.4em 0; }
.theme-moderation .author-page h2 { margin-top: 1.8em; }
.theme-moderation .author-links { padding-left: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.theme-moderation .author-photo { display: block; width: 120px; height: 120px; margin: 0 0 18px; border: 1px solid var(--line-2); border-radius: 4px; object-fit: cover; }
.theme-moderation .legal .author-guides { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.theme-moderation .author-guides li { position: relative; display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; align-items: baseline; gap: 0 12px; margin: 0; padding: 4px 0; border-bottom: 1px solid var(--line); }
.theme-moderation .author-guides li::after { content: ""; grid-column: 2; grid-row: 1; align-self: end; margin-bottom: .35em; border-bottom: 2px dotted var(--line-2); }
.theme-moderation .author-guides a { grid-column: 1; grid-row: 1; padding: 10px 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.theme-moderation .author-guides a:hover { color: var(--link); text-decoration: underline; }
.theme-moderation .author-guides a::after { content: ""; position: absolute; inset: 0; }
.theme-moderation .author-guides a:focus-visible { outline-offset: -3px; }
.theme-moderation .author-guides time { grid-column: 3; grid-row: 1; font-size: .84rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.theme-moderation .not-found { display: block; min-height: 0; padding: 64px 0 88px; text-align: left; }
.theme-moderation .notfound-in > * { max-width: 44rem; }
.theme-moderation .notfound-in .btn { margin: 4px 0 28px; }
.theme-moderation .notfound-topics { padding-top: 20px; border-top: 2px solid var(--ink); }
.theme-moderation .notfound-topics .situations-label { display: block; margin-bottom: 12px; }

/* smaller screens */
@media (max-width: 1060px) {
  .theme-moderation .footer-grid { grid-template-columns: 1fr 1fr; }
  .theme-moderation .figure { grid-template-columns: minmax(0, 9rem) 6.5rem minmax(0, 1fr) auto; gap: 2px 14px; }
}
@media (max-width: 980px) {
  .theme-moderation .art-grid,
  .theme-moderation .doc-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .theme-moderation .toc-rail { display: none; }
  .theme-moderation .toc-fold { display: block; }
  .theme-moderation .doc-grid .toc-rail { display: block; position: static; max-height: none; margin-bottom: 24px; }
  .theme-moderation .doc-grid .toc-list a { display: flex; align-items: center; min-height: 44px; }
  .theme-moderation .art-main,
  .theme-moderation .doc-main { max-width: none; }
  .theme-moderation .article-body > * { max-width: 44rem; }
  .theme-moderation .article-body > .article-table-wrap { max-width: none; }
}
@media (max-width: 900px) {
  .theme-moderation .primary-links { display: none; }
  .theme-moderation .site-header .nav { flex-wrap: wrap; }
  .theme-moderation .nav-store { margin-left: auto; }
  .theme-moderation .hero { padding: 36px 0 32px; }
  .theme-moderation .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .theme-moderation .hero-visual { justify-self: start; }
  .theme-moderation .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .theme-moderation .sec { padding: 36px 0; }
  .theme-moderation .sec-label { max-width: 40rem; }
  .theme-moderation .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-moderation .cta-band-in { grid-template-columns: minmax(0, 1fr); }
  .theme-moderation .page-head-in { grid-template-columns: minmax(0, 1fr); }
  .theme-moderation .page-meta { justify-self: start; }
  .theme-moderation .index-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .theme-moderation .index-rail { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 0; }
  .theme-moderation .rail-title { width: 100%; padding: 0; }
  .theme-moderation .index-rail a { align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); }
}
@media (max-width: 760px) {
  .theme-moderation .paths,
  .theme-moderation .method,
  .theme-moderation .qa,
  .theme-moderation .related-grid { grid-template-columns: minmax(0, 1fr); }
  .theme-moderation .method { gap: 22px; }
  .theme-moderation .figure { grid-template-columns: minmax(0, 1fr) auto; padding: 13px 16px; gap: 2px 12px; }
  .theme-moderation .figure-label { grid-column: 1; grid-row: 1; }
  .theme-moderation .figure-value { grid-column: 2; grid-row: 1; }
  .theme-moderation .figure-note { grid-column: 1; grid-row: 2; align-self: center; }
  .theme-moderation .figure-source { grid-column: 2; grid-row: 2; justify-self: end; }
  .theme-moderation .keycard-foot { padding: 14px 16px; }
}
@media (max-width: 620px) {
  .theme-moderation { font-size: 16.5px; }
  .theme-moderation .container { padding-left: 16px; padding-right: 16px; }
  .theme-moderation .site-header .nav { padding: 10px 16px; }
  .theme-moderation .nav-store { flex: 1 1 100%; margin-left: 0; }
  .theme-moderation .nav-store .btn { flex: 1 1 auto; }
  .theme-moderation .topicbar-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .theme-moderation .topicbar-in::-webkit-scrollbar { display: none; }
  .theme-moderation .topicbar .topicbar-all { margin-left: -4px; }
  .theme-moderation .hero-visual { justify-self: stretch; max-width: none; }
  .theme-moderation .cta-row .btn { flex: 1 1 100%; }
  .theme-moderation .cta-band-actions .btn,
  .theme-moderation .post-cta .btn { flex: 1 1 100%; }
  .theme-moderation .tools { grid-template-columns: minmax(0, 1fr); }
  .theme-moderation .entry-head { flex-wrap: wrap; }
  .theme-moderation .entry-leader { display: none; }
  .theme-moderation .entry-date { order: 3; flex-basis: 100%; }
  .theme-moderation .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .theme-moderation .footer-bottom { background-position: 16px 0; background-size: calc(100% - 32px) 1px; }
  .theme-moderation .post-cta { padding: 22px 18px; }
  .theme-moderation .article-meta { gap: 4px 16px; }
  .theme-moderation .author-guides li { grid-template-columns: minmax(0, 1fr) auto; }
  .theme-moderation .author-guides li::after { display: none; }
  .theme-moderation .author-guides time { grid-column: 2; }
}

/* motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .theme-moderation .btn,
  .theme-moderation .chip-link,
  .theme-moderation .entry,
  .theme-moderation .related-card,
  .theme-moderation .toc-list a { transition: background-color .15s, color .15s, border-color .15s; }
}
