/*
 * Delirium Words Design, version 1.0.0 (24 September 2026)
 * Loads after the Delirium Words Editorial theme stylesheet and restyles it.
 *
 * Idea: the blog reads like a well-made book of essays. White pages, one bottle-green
 * colour (like a cloth book cover), Newsreader for reading, Schibsted Grotesk for labels,
 * a contents page on the homepage, a standfirst and contents list on long articles,
 * and a "How to cite" box for readers who reference the articles.
 *
 * Colours used nowhere else in the delirium website estate: bottle green #1d5c45,
 * deep green #113a2c, green-black #0c261d, pale green-grey #f2f6f3.
 */

/* ---------- Fonts (served from this site, no third-party requests) ----------
   Newsreader is cut to one optical size (24) and Schibsted Grotesk to weights 400 to 700,
   which keeps the three files to about 150 KB in total. The two "Fallback" faces resize the
   system fonts shown while the web fonts load, so the text does not jump when they arrive. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 350 700;
  font-display: swap;
  src: url("../fonts/newsreader-24-roman.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 350 600;
  font-display: swap;
  src: url("../fonts/newsreader-24-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif");
  size-adjust: 101.92%;
  ascent-override: 72.11%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Schibsted Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 105.22%;
  ascent-override: 92.81%;
  descent-override: 24.5%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --dw2-page: #ffffff;
  --dw2-panel: #f2f6f3;
  --dw2-panel-2: #e6eee9;
  --dw2-ink: #16201b;
  --dw2-text: #26302b;
  --dw2-muted: #56625b;
  --dw2-rule: #d9e0dc;
  --dw2-rule-strong: #b8c4bd;
  --dw2-green: #1d5c45;
  --dw2-green-hover: #134633;
  --dw2-green-deep: #113a2c;
  --dw2-green-black: #0c261d;
  --dw2-on-dark: #dce8e1;
  --dw2-mark: #e3eec4;
  --dw2-focus: #d99a1b;
  --dw2-serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --dw2-sans: "Schibsted Grotesk", "Schibsted Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --dw2-measure: 41rem;
  --dw2-wide: 74rem;

  /* The theme's own variables, pointed at the new palette and fonts. */
  --dw-ink: var(--dw2-ink);
  --dw-teal-dark: var(--dw2-green);
  --dw-teal: var(--dw2-green);
  --dw-ivory: var(--dw2-page);
  --dw-mist: var(--dw2-panel);
  --dw-orange: var(--dw2-green);
  --dw-white: #ffffff;
  --dw-text: var(--dw2-text);
  --dw-muted: var(--dw2-muted);
  --dw-border: var(--dw2-rule);
  --dw-focus: var(--dw2-focus);
  --dw-serif: var(--dw2-serif);
  --dw-sans: var(--dw2-sans);
  --dw-content: var(--dw2-measure);
  --dw-wide: var(--dw2-wide);
  --dw-shadow: none;
  --dw-radius: 3px;
}

/* ---------- Base ---------- */
body.dw2 {
  background: var(--dw2-page);
  color: var(--dw2-text);
  font-family: var(--dw2-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.dw2 ::selection { background: var(--dw2-mark); color: var(--dw2-ink); }
:where(.dw2) a { color: var(--dw2-green); text-decoration-thickness: 0.07em; text-underline-offset: 0.18em; }
:where(.dw2) a:hover { color: var(--dw2-green-hover); text-decoration-thickness: 0.12em; }
.dw2 a:focus-visible,
.dw2 button:focus-visible,
.dw2 input:focus-visible,
.dw2 summary:focus-visible,
.dw2 textarea:focus-visible,
.dw2 select:focus-visible {
  outline: 3px solid var(--dw2-focus);
  outline-offset: 2px;
  box-shadow: none;
}
.dw2 .skip-link { background: var(--dw2-green-deep); color: #fff; font-family: var(--dw2-sans); }

/* ---------- Header ---------- */
.dw2 .site-header {
  background: var(--dw2-page);
  border-bottom: 1px solid var(--dw2-rule);
}
.dw2 .site-header__inner { min-height: 4.9rem; gap: 1.5rem 2rem; }
.dw2 .site-title {
  font-family: var(--dw2-serif);
  font-size: clamp(1.45rem, 2.3vw, 1.8rem);
  font-weight: 620;
  letter-spacing: -0.018em;
  line-height: 1;
}
.dw2 .site-title a { color: var(--dw2-ink); }
.dw2 .site-title a:hover { color: var(--dw2-green); text-decoration: none; }
.dw2 .site-description {
  margin: 0.4rem 0 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.8rem;
  font-weight: 450;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.dw2 .primary-menu { gap: 0.4rem 1.6rem; }
.dw2 .primary-menu a {
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: 0.005em;
}
.dw2 .primary-menu a:hover { color: var(--dw2-green); box-shadow: inset 0 -2px 0 var(--dw2-green); text-decoration: none; }
.dw2 .primary-menu .current-menu-item > a,
.dw2 .primary-menu .current_page_item > a,
.dw2 .primary-menu .current-menu-ancestor > a {
  color: var(--dw2-green);
  box-shadow: inset 0 -2px 0 var(--dw2-green);
}
.dw2 .primary-menu .dw-menu-subscribe a {
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--dw2-green);
  border-radius: 3px;
  color: var(--dw2-green);
  box-shadow: none;
}
.dw2 .primary-menu .dw-menu-subscribe a:hover {
  background: var(--dw2-green);
  color: #fff;
  box-shadow: none;
}
.dw2 .primary-menu .dw-menu-search { margin-left: 0.2rem; }
.dw2 .menu-toggle {
  border: 1px solid var(--dw2-rule-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  font-weight: 600;
}

/* ---------- Search boxes ---------- */
.dw-search { position: relative; display: flex; align-items: stretch; gap: 0; margin: 0; }
.dw-search__field {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--dw2-rule-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  -webkit-appearance: none;
  appearance: none;
}
.dw-search__field::placeholder { color: #6c7872; opacity: 1; }
.dw-search__field:focus { border-color: var(--dw2-green); outline: 3px solid var(--dw2-focus); outline-offset: 1px; }
.dw-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 3px;
  background: var(--dw2-green);
  color: #fff;
  font-family: var(--dw2-sans);
  font-weight: 600;
  cursor: pointer;
}
.dw-search__submit:hover { background: var(--dw2-green-hover); }
.dw-search__submit svg { flex: 0 0 auto; }

/* Header version: compact field with the button inside it. */
.dw-search--header .dw-search__field {
  width: clamp(11rem, 15vw, 14rem);
  height: 2.5rem;
  padding: 0 2.6rem 0 0.8rem;
  font-size: 0.92rem;
}
.dw-search--header .dw-search__submit {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  color: var(--dw2-green);
}
.dw-search--header .dw-search__submit:hover { background: var(--dw2-panel); color: var(--dw2-green-hover); }

/* Large version: homepage and search page. */
.dw-search--large .dw-search__field {
  height: 3.4rem;
  padding: 0 1rem;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  font-size: 1.05rem;
}
.dw-search--large .dw-search__submit {
  padding: 0 1.3rem;
  border-radius: 0 3px 3px 0;
  font-size: 1rem;
}

/* ---------- Buttons and text links ---------- */
.dw-button,
.dw2 .button,
.dw2 .search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--dw2-green);
  color: #fff;
  font-family: var(--dw2-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.dw-button:hover,
.dw2 .button:hover,
.dw2 .search-submit:hover { background: var(--dw2-green-hover); color: #fff; text-decoration: none; }
.dw-button--light { background: #fff; color: var(--dw2-green-deep); }
.dw-button--light:hover { background: var(--dw2-mark); color: var(--dw2-green-black); }
.dw-textlink {
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}
.dw-textlink--light { color: #fff; }
.dw-textlink--light:hover { color: var(--dw2-mark); }
.dw-kicker {
  margin: 0 0 0.6rem;
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.dw-meta {
  margin: 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.86rem;
}
.dw-meta__sep { margin: 0 0.35rem; color: var(--dw2-rule-strong); }

/* ---------- Homepage ---------- */
.dw-home { background: var(--dw2-page); }
.dw-wrap { width: min(calc(100% - 2.5rem), var(--dw2-wide)); margin-inline: auto; }

.dw-intro { padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(2.75rem, 5vw, 4.5rem); }
.dw-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(19rem, 1fr);
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: start;
}
.dw-intro__title {
  max-width: 15.5em;
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(2.45rem, 5.2vw, 4.3rem);
  font-weight: 460;
  letter-spacing: -0.024em;
  line-height: 1.03;
  text-wrap: balance;
}
.dw-intro__lede {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: clamp(1.2rem, 1.7vw, 1.38rem);
  line-height: 1.5;
}
.dw-intro__lede a { color: inherit; text-decoration-color: var(--dw2-rule-strong); }
.dw-intro__lede a:hover { color: var(--dw2-green); text-decoration-color: currentColor; }
.dw-intro__audience {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.98rem;
  line-height: 1.55;
}
.dw-intro__search { max-width: 36rem; margin-top: 2.1rem; }
.dw-intro__try {
  margin: 0.7rem 0 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.9rem;
}
.dw-intro__try a { margin-left: 0.15rem; color: var(--dw2-green); font-weight: 550; }
.dw-intro__try a + a::before { content: "·"; display: inline-block; margin: 0 0.45rem 0 0.2rem; color: var(--dw2-rule-strong); }
.dw-intro__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin: 1.2rem 0 0; font-size: 0.98rem; }

.dw-latest {
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: 3px;
  background: var(--dw2-panel);
}
.dw-latest .dw-meta { margin-bottom: 0.9rem; }
.dw-latest__title {
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}
.dw-latest__title a { color: inherit; text-decoration: none; }
.dw-latest__title a:hover { color: var(--dw2-green); text-decoration: underline; text-decoration-thickness: 0.06em; }
.dw-latest__sub {
  margin: 0.5rem 0 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.35;
}
.dw-latest__summary {
  margin: 1rem 0 1.4rem;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: 1.08rem;
  line-height: 1.55;
}

.dw-section { padding: clamp(2.5rem, 5vw, 4.25rem) 0; }
.dw-section + .dw-section { padding-top: 0; }
.dw-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  margin-bottom: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--dw2-ink);
}
.dw-section__title {
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 520;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.dw-section__intro {
  margin: 0;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.95rem;
}
.dw-section__intro .dw-textlink { margin-left: 0.5rem; }

/* Start here: three numbered picks. */
.dw-start {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3.5vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dw-start;
}
.dw-start__item { counter-increment: dw-start; }
.dw-start__item::before {
  content: counter(dw-start);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--dw2-green);
  font-family: var(--dw2-serif);
  font-size: 2.9rem;
  font-style: italic;
  font-weight: 360;
  line-height: 1;
}
.dw-start__topic {
  margin: 0 0 0.45rem;
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-size: 0.82rem;
  font-weight: 650;
}
.dw-start__title {
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-wrap: balance;
}
.dw-start__title a { color: inherit; text-decoration: none; }
.dw-start__title a:hover { color: var(--dw2-green); text-decoration: underline; text-decoration-thickness: 0.06em; }
.dw-start__why {
  margin: 0.6rem 0 0;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: 1.06rem;
  line-height: 1.5;
}
.dw-start__meta { margin: 0.5rem 0 0; color: var(--dw2-muted); font-family: var(--dw2-sans); font-size: 0.86rem; }

/* All articles: a contents page with dotted leaders. */
.dw-index__year {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0 2rem;
  padding: 0.35rem 0 1.1rem;
  border-top: 1px solid var(--dw2-rule);
}
.dw-index__year:first-child { border-top: 0; }
.dw-index__yearlabel {
  position: sticky;
  top: 1rem;
  align-self: start;
  margin: 0.85rem 0 0;
  color: var(--dw2-green);
  font-family: var(--dw2-serif);
  font-size: 1.9rem;
  font-weight: 400;
  font-variant-numeric: oldstyle-nums;
  line-height: 1;
}
.dw-index__list { margin: 0; padding: 0; list-style: none; }
.dw-index__item {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto;
  grid-template-areas:
    "title leader date"
    "meta  meta   meta";
  align-items: end;
  column-gap: 0.6rem;
  padding: 0.85rem 0 0.8rem;
}
.dw-index__item + .dw-index__item { border-top: 1px solid var(--dw2-rule); }
.dw-index__link {
  grid-area: title;
  max-width: 44rem;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(1.18rem, 1.7vw, 1.36rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.28;
  text-decoration: none;
}
.dw-index__link:hover { color: var(--dw2-green); }
.dw-index__link:hover .dw-index__title { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.dw-index__sub { display: block; margin-top: 0.1rem; color: var(--dw2-muted); font-size: 0.86em; font-style: italic; }
.dw-index__item::after {
  content: "";
  grid-area: leader;
  align-self: end;
  margin-bottom: 0.42rem;
  border-bottom: 2px dotted var(--dw2-rule-strong);
}
.dw-index__meta {
  display: contents;
}
.dw-index__meta time {
  grid-area: date;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.7;
  white-space: nowrap;
}
.dw-index__topic,
.dw-index__author {
  grid-area: meta;
  margin-top: 0.3rem;
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-size: 0.8rem;
  font-weight: 600;
}
.dw-index__author { justify-self: end; color: var(--dw2-muted); font-weight: 500; }

/* Topics. */
.dw-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dw-topic {
  display: block;
  height: 100%;
  padding: 1rem 0 1.15rem;
  border-top: 1px solid var(--dw2-rule);
  color: var(--dw2-ink);
  text-decoration: none;
}
.dw-topic__name {
  display: block;
  font-family: var(--dw2-serif);
  font-size: 1.28rem;
  font-weight: 540;
  line-height: 1.2;
}
.dw-topic__desc {
  display: block;
  margin-top: 0.3rem;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.9rem;
  line-height: 1.45;
}
.dw-topic:hover { color: var(--dw2-green); }
.dw-topic:hover .dw-topic__name { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }

/* Email sign-up band. */
.dw-subscribe {
  margin: clamp(1rem, 3vw, 2rem) 0 0;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: var(--dw2-green-deep);
  color: var(--dw2-on-dark);
}
.dw-subscribe__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: center;
}
.dw-subscribe__title {
  margin: 0;
  color: #fff;
  font-family: var(--dw2-serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 480;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.dw-subscribe__text {
  max-width: 34rem;
  margin: 0.8rem 0 0;
  color: var(--dw2-on-dark);
  font-family: var(--dw2-serif);
  font-size: 1.15rem;
  line-height: 1.5;
}
.dw-subscribe__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

/* More from the author: book and sister sites. */
.dw-more-section { padding-top: clamp(2.5rem, 5vw, 4.25rem) !important; }
.dw-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.dw-book {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 3px;
  background: var(--dw2-panel);
}
.dw-book__title {
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: 1.35rem;
  font-weight: 520;
  line-height: 1.25;
}
.dw-book__title cite { font-style: italic; }
.dw-book__text {
  margin: 0.8rem 0 1rem;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: 1.04rem;
  line-height: 1.5;
}
.dw-sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dw-sites li { padding: 0.9rem 0 1rem; border-top: 1px solid var(--dw2-rule); }
.dw-sites a { display: block; color: var(--dw2-ink); text-decoration: none; }
.dw-sites__name { display: block; font-family: var(--dw2-serif); font-size: 1.22rem; font-weight: 560; line-height: 1.2; }
.dw-sites__domain { display: block; margin-top: 0.15rem; color: var(--dw2-green); font-family: var(--dw2-sans); font-size: 0.8rem; font-weight: 600; }
.dw-sites a:hover .dw-sites__name { color: var(--dw2-green); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }
.dw-sites__text { display: block; margin-top: 0.35rem; color: var(--dw2-muted); font-family: var(--dw2-sans); font-size: 0.9rem; line-height: 1.45; }

/* ---------- Page and archive headers (theme templates) ---------- */
.dw2 .eyebrow {
  margin-bottom: 0.7rem;
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}
.dw2 .eyebrow a { color: inherit; text-decoration: none; }
.dw2 .eyebrow a:hover { text-decoration: underline; }
.dw2 .hero h1,
.dw2 .archive-header h1,
.dw2 .page-header h1,
.dw2 .entry-header h1 {
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-weight: 470;
  letter-spacing: -0.022em;
  line-height: 1.05;
  text-wrap: balance;
}
.dw2 .archive-header h1,
.dw2 .page-header h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
.dw2 .archive-header,
.dw2 .page-header { margin-bottom: 2.6rem; }
.dw2 .archive-description,
.dw2 .section-intro {
  color: var(--dw2-muted);
  font-family: var(--dw2-serif);
  font-size: 1.2rem;
  line-height: 1.5;
}
.dw2 .archive-shell,
.dw2 .page-shell,
.dw2 .post-shell { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }

/* Article lists (Articles page, topic pages, search results). */
.dw2 .archive-list { max-width: 54rem; }
.dw2 .archive-item {
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.6rem 0 1.7rem;
  border-top: 1px solid var(--dw2-rule);
}
.dw2 .archive-item:first-child { border-top: 1px solid var(--dw2-ink); }
.dw2 .archive-item__date {
  padding-top: 0.35rem;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.86rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.dw2 .archive-item h2 {
  margin: 0 0 0.55rem;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 540;
  letter-spacing: -0.012em;
  line-height: 1.18;
  text-wrap: balance;
}
.dw2 .archive-item h2 br,
.dw2 .featured-story h2 br,
.dw2 .article-card h2 br,
.dw2 .related-posts a br { display: none; }
.dw2 .archive-item h2 em,
.dw2 .featured-story h2 em,
.dw2 .article-card h2 em {
  display: block;
  margin-top: 0.2rem;
  color: var(--dw2-muted);
  font-size: 0.78em;
  font-weight: 420;
}
.dw2 .archive-item .entry-summary,
.dw2 .article-card .entry-summary,
.dw2 .featured-story .entry-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: 1.08rem;
  line-height: 1.52;
}
.dw2 .archive-item .entry-summary p,
.dw2 .article-card .entry-summary p { margin: 0; }
.dw2 .read-more {
  margin-top: 0.7rem;
  color: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-size: 0.92rem;
  font-weight: 600;
}
.dw2 .nav-links > * {
  border-color: var(--dw2-rule-strong);
  border-radius: 3px;
  font-family: var(--dw2-sans);
  font-weight: 600;
}

/* Topics page cards become a quiet list. */
.dw2 .topic-grid { gap: 0 2.5rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.dw2 .topic-card {
  min-height: 0;
  padding: 1.1rem 0 1.2rem;
  border: 0;
  border-top: 1px solid var(--dw2-rule);
  background: transparent;
  color: var(--dw2-ink);
}
.dw2 .topic-card strong { font-family: var(--dw2-serif); font-size: 1.32rem; font-weight: 540; }
.dw2 .topic-card span { font-family: var(--dw2-sans); color: var(--dw2-muted); }
.dw2 .topic-card:hover { background: transparent; color: var(--dw2-green); }
.dw2 .topic-card:hover strong { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.18em; }

/* Theme cards that may still appear elsewhere. */
.dw2 .featured-story,
.dw2 .article-card,
.dw2 .resource-card { border-radius: 3px; box-shadow: none; }
.dw2 .article-card { border-top: 0; border: 1px solid var(--dw2-rule); }
.dw2 .resource-card { border-top-width: 1px; background: var(--dw2-panel); }

/* Search forms from the theme (search page, results page, page not found). */
.dw2 .search-form { max-width: 38rem; gap: 0; }
.dw2 .search-field {
  min-height: 3.2rem;
  border: 1px solid var(--dw2-rule-strong);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  font-family: var(--dw2-sans);
  font-size: 1.02rem;
}
.dw2 .search-field:focus { border-color: var(--dw2-green); }
.dw2 .search-submit { min-height: 3.2rem; border-radius: 0 3px 3px 0; }

/* ---------- Single article ---------- */
.dw2 .post-shell { width: min(calc(100% - 2.5rem), var(--dw2-measure)); }
/* The theme puts the article header and the text in two blocks, each with full padding;
   close the gap between them. */
.dw2 article > .post-shell:first-child { padding-bottom: 0; }
.dw2 article > .post-shell + .post-shell { padding-top: 0.25rem; }
/* Pages such as About: line the title up with the text column. */
.dw2 article.page-shell > .page-header { max-width: var(--dw2-measure); margin-left: auto; margin-right: auto; }
.dw2 .entry-header { margin-bottom: 2.1rem; }
.dw2 .entry-header h1 {
  margin-top: 0.5rem;
  font-size: clamp(2.2rem, 5.4vw, 3.55rem);
  font-weight: 480;
}
.dw2 .entry-header h1 br { display: none; }
.dw2 .entry-header h1 em {
  display: block;
  margin-top: 0.4rem;
  color: var(--dw2-muted);
  font-size: 0.58em;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.dw2 .post-meta {
  gap: 0.3rem 0.75rem;
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.dw2 .post-meta > * + *::before { margin-right: 0.75rem; color: var(--dw2-rule-strong); }
.dw2 .post-meta a { color: var(--dw2-ink); text-decoration-color: var(--dw2-rule-strong); }
.dw2 .post-meta > a::before { display: inline-block; text-decoration: none; }
.dw2 .post-meta a:hover { color: var(--dw2-green); }
.dw2 .entry-featured-image img { border-radius: 3px; }

.dw2 .entry-content {
  position: relative;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
}
.dw2 .entry-content p,
.dw2 .entry-content li {
  font-size: 1.22rem;
  line-height: 1.62;
}
.dw2 .entry-content li + li { margin-top: 0.35rem; }
.dw2 .entry-content h2,
.dw2 .entry-content h3,
.dw2 .entry-content h4 {
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  letter-spacing: -0.012em;
  text-wrap: balance;
  scroll-margin-top: 1.5rem;
}
.dw2 .entry-content h2 { margin-top: 2.3em; font-size: clamp(1.6rem, 3.2vw, 2.05rem); font-weight: 560; line-height: 1.18; }
.dw2 .entry-content h3 { margin-top: 2em; font-size: clamp(1.3rem, 2.4vw, 1.5rem); font-weight: 600; line-height: 1.25; }
.dw2 .entry-content h4 { font-size: 1.2rem; font-weight: 650; }
.dw2 .entry-content strong,
.dw2 .entry-content b { color: var(--dw2-ink); font-weight: 640; }
.dw2 .entry-content a { color: var(--dw2-green); }
.dw2 .entry-content mark { background: var(--dw2-mark); color: var(--dw2-ink); padding: 0 0.1em; }
.dw2 .entry-content blockquote {
  position: relative;
  margin: 2.2rem auto;
  padding: 0 0 0 2.4rem;
  border-left: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: 1.38rem;
  font-style: italic;
  line-height: 1.5;
}
.dw2 .entry-content blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.6rem;
  left: -0.15rem;
  color: var(--dw2-green);
  font-family: var(--dw2-serif);
  font-size: 4.2rem;
  font-style: normal;
  line-height: 1;
}
.dw2 .entry-content blockquote p { font-size: inherit; }
.dw2 .entry-content blockquote cite { display: block; margin-top: 0.6rem; color: var(--dw2-muted); font-family: var(--dw2-sans); font-size: 0.9rem; font-style: normal; }
.dw2 .entry-content figure { margin: 2.2rem auto; }
.dw2 .entry-content img { border-radius: 2px; }
.dw2 .entry-content figcaption {
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.88rem;
  line-height: 1.45;
}
.dw2 .entry-content table { font-family: var(--dw2-sans); font-size: 0.95rem; }
.dw2 .entry-content th { background: var(--dw2-panel); color: var(--dw2-ink); }
.dw2 .entry-content th,
.dw2 .entry-content td { border-color: var(--dw2-rule); }
.dw2 .entry-content hr { border: 0; border-top: 1px solid var(--dw2-rule); margin: 2.5rem auto; }
.dw2 .entry-content ol,
.dw2 .entry-content ul { padding-left: 1.4rem; }
.dw2 .entry-content ::marker { color: var(--dw2-green); }

/* Articles that carry their own styles (the ward-round article): bring them into the new look. */
.dw2 .entry-header h1 em {
  margin-top: 0.4rem !important;
  font-size: 0.58em !important;
  font-weight: 400 !important;
}
.dw2 .dw-ward-round a.dw-download-button {
  border-radius: 3px;
  background: var(--dw2-green);
  font-family: var(--dw2-sans);
  font-weight: 600;
}
.dw2 .dw-ward-round a.dw-download-button:hover { background: var(--dw2-green-hover); color: #fff; }
.dw2 .dw-ward-round .dw-figure img { border-radius: 3px; }
.dw2 .entry-content .dw-download,
.dw2 .entry-content .dw-newsletter-signup {
  border-left-color: var(--dw2-green);
  border-radius: 3px;
  background: var(--dw2-panel);
}
.dw2 .entry-content .dw-newsletter-signup h2 { margin-top: 0; }
.dw2 .entry-content .dw-newsletter-signup a:not([class]) {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: 3px;
  background: var(--dw2-green);
  color: #fff;
  font-family: var(--dw2-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}
.dw2 .entry-content .dw-newsletter-signup a:not([class]):hover { background: var(--dw2-green-hover); color: #fff; }

/* Standfirst: the article's summary, set larger above the text. */
.dw2 .entry-content .dw-standfirst {
  margin: 0 auto 2rem;
  padding-bottom: 1.7rem;
  border-bottom: 1px solid var(--dw2-rule);
  color: var(--dw2-ink);
  font-size: clamp(1.32rem, 2.4vw, 1.52rem);
  font-weight: 400;
  line-height: 1.45;
}

/* "In this article": a collapsible list on small screens, a side column on wide screens. */
.dw2 .entry-content .dw-toc {
  margin: 0 auto 2.2rem;
  padding: 0.9rem 1.15rem;
  border-radius: 3px;
  background: var(--dw2-panel);
  font-family: var(--dw2-sans);
}
.dw-toc summary {
  color: var(--dw2-ink);
  font-size: 0.95rem;
  font-weight: 650;
  cursor: pointer;
}
.dw2 .entry-content .dw-toc ol,
.dw2 .entry-content .dw-toc-rail ol { margin: 0.7rem 0 0.2rem; padding-left: 0; list-style: none; }
.dw2 .entry-content .dw-toc li,
.dw2 .entry-content .dw-toc-rail li {
  margin: 0.3rem 0 0;
  font-family: var(--dw2-sans);
  font-size: 0.93rem;
  line-height: 1.4;
}
.dw2 .entry-content .dw-toc a,
.dw2 .entry-content .dw-toc-rail a { color: var(--dw2-text); text-decoration: none; }
.dw2 .entry-content .dw-toc a:hover,
.dw2 .entry-content .dw-toc-rail a:hover { color: var(--dw2-green); text-decoration: underline; }
.dw2 .entry-content .dw-toc-rail { display: none; }
.dw-toc__label {
  margin: 0;
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  font-size: 0.8rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (min-width: 75rem) {
  .dw2 .entry-content .dw-toc { display: none; }
  .dw2 .entry-content .dw-toc-rail {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-15.5rem - 2.5rem);
    width: 15.5rem;
    max-width: none;
    margin: 0;
  }
  .dw-toc-rail__inner {
    position: sticky;
    top: 1.75rem;
    max-height: calc(100vh - 3.5rem);
    overflow-y: auto;
    padding-right: 0.5rem;
    border-right: 1px solid var(--dw2-rule);
  }
  .dw2 .entry-content .dw-toc-rail li { font-size: 0.86rem; }
  .dw2 .entry-content .dw-toc-rail a[aria-current="true"] { color: var(--dw2-green); font-weight: 600; }
}

/* How to cite, and the email sign-up line, after the text. */
.dw2 .entry-content .dw-cite {
  margin: 3rem auto 0;
  padding: 1.3rem 1.4rem 1.2rem;
  border-radius: 3px;
  background: var(--dw2-panel);
}
.dw2 .entry-content .dw-cite__title {
  margin: 0 0 0.5rem;
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.dw2 .entry-content .dw-cite__text {
  margin: 0;
  color: var(--dw2-text);
  font-family: var(--dw2-serif);
  font-size: 1.02rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.dw-cite__copy {
  margin-top: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--dw2-rule-strong);
  border-radius: 3px;
  background: #fff;
  color: var(--dw2-ink);
  font-family: var(--dw2-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.dw-cite__copy:hover { border-color: var(--dw2-green); color: var(--dw2-green); }
.dw2 .entry-content .dw-article-subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 1.2rem auto 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--dw2-rule);
  border-radius: 3px;
}
.dw2 .entry-content .dw-article-subscribe p {
  flex: 1 1 18rem;
  margin: 0;
  font-family: var(--dw2-sans);
  font-size: 1rem;
  line-height: 1.45;
}
.dw2 .entry-content .dw-article-subscribe .dw-button { color: #fff; }

/* Theme boxes inside articles. */
.dw2 .archive-notice {
  border: 0;
  border-radius: 3px;
  background: var(--dw2-panel);
  font-family: var(--dw2-sans);
}
.dw2 .archive-notice strong { font-family: var(--dw2-sans); font-size: 0.95rem; font-weight: 700; }
.dw2 .archive-notice p { font-size: 0.98rem; }
.dw2 .content-note {
  border-radius: 3px;
  border-left-color: var(--dw2-green);
  background: var(--dw2-panel);
  font-family: var(--dw2-sans);
}
/* Large opening paragraphs carried over from the old Squarespace site read as standfirsts. */
.dw2 .entry-content .sqsrte-large {
  color: var(--dw2-ink);
  font-size: clamp(1.3rem, 2.3vw, 1.45rem);
  line-height: 1.45;
}
.dw2 .entry-content .sqsrte-large strong { font-weight: 500; }

.dw2 .entry-footer {
  border-top-color: var(--dw2-rule);
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  font-size: 0.9rem;
}
.dw2 .author-box {
  margin-top: 2.8rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--dw2-ink);
  background: transparent;
}
.dw2 .author-box .author-box__label {
  color: var(--dw2-muted);
  font-family: var(--dw2-sans);
  letter-spacing: 0.02em;
  text-transform: none;
}
.dw2 .author-box h2 { font-family: var(--dw2-serif); font-size: 1.4rem; font-weight: 560; }
.dw2 .author-box p { font-family: var(--dw2-serif); font-size: 1.05rem; line-height: 1.55; }
.dw2 .author-box__links { font-family: var(--dw2-sans); }

.dw2 .related-posts { margin-top: 3.2rem; }
.dw2 .related-posts > h2 {
  padding-top: 1rem;
  border-top: 1px solid var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: 1.6rem;
  font-weight: 520;
}
.dw2 .related-posts li { padding: 0.85rem 0; border-top-color: var(--dw2-rule); }
.dw2 .related-posts li:first-child { border-top: 0; }
.dw2 .related-posts a {
  color: var(--dw2-ink);
  font-family: var(--dw2-serif);
  font-size: 1.22rem;
  font-weight: 520;
  line-height: 1.3;
  text-decoration: none;
}
.dw2 .related-posts a:hover { color: var(--dw2-green); text-decoration: underline; text-decoration-thickness: 0.06em; }
.dw2 .related-posts a em { color: var(--dw2-muted); font-weight: 420; }

/* ---------- Footer ---------- */
.dw2 .site-footer {
  border-top: 0;
  background: var(--dw2-green-black);
  color: var(--dw2-on-dark);
  font-family: var(--dw2-sans);
}
.dw2 .site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.dw2 .site-footer a:hover { color: var(--dw2-mark); text-decoration-color: currentColor; }
.dw2 .site-footer h2,
.dw2 .site-footer h3,
.dw2 .site-footer h4 { color: #fff; }
.dw2 .site-footer .site-title,
.dw2 .site-footer p:first-child { font-family: var(--dw2-serif); }
.dw2 .site-footer li a[href*="the4at"],
.dw2 .site-footer li a[href*="deliriumsupport"],
.dw2 .site-footer li a[href*="deliriumtools"] {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}

/* ---------- Analytics notice (theme) ---------- */
body.dw2 #dw-cc {
  background: var(--dw2-green-black);
  color: var(--dw2-on-dark);
  font-family: var(--dw2-sans);
}
body.dw2 #dw-cc a { color: #fff; }
body.dw2 #dw-cc button { border-radius: 3px; font-family: var(--dw2-sans); }

/* ---------- Smaller screens ---------- */
@media (max-width: 62rem) {
  .dw-intro__grid,
  .dw-subscribe__grid,
  .dw-more { grid-template-columns: minmax(0, 1fr); }
  .dw-latest { max-width: 40rem; }
  .dw-start { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .dw-start__item {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    column-gap: 0.9rem;
  }
  .dw-start__item::before { grid-row: 1 / span 4; margin: 0; font-size: 2.3rem; }
  .dw-sites { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 44rem) {
  .dw-wrap { width: min(calc(100% - 2rem), var(--dw2-wide)); }
  .dw-intro { padding-top: 2.25rem; }
  .dw-intro__title { font-size: clamp(2.15rem, 9vw, 2.6rem); }
  .dw-search--large .dw-search__submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dw-search--large .dw-search__submit { padding: 0 1rem; }
  .dw-index__year { grid-template-columns: minmax(0, 1fr); }
  .dw-index__yearlabel { position: static; margin: 1rem 0 0.2rem; font-size: 1.6rem; }
  .dw-index__item { display: block; }
  .dw-index__item::after { display: none; }
  .dw-index__meta { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; margin: 0.35rem 0 0; }
  .dw-index__meta time { order: -1; line-height: 1.4; }
  .dw-index__topic,
  .dw-index__author { margin-top: 0; }
  .dw2 .archive-item { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .dw2 .entry-content p,
  .dw2 .entry-content li { font-size: 1.14rem; line-height: 1.6; }
  .dw2 .search-form { flex-wrap: nowrap; }
}

/* Open mobile menu: a full-width panel under the header, search box first. */
.dw2 .site-header { position: relative; z-index: 40; }
.dw2 .site-header__inner,
.dw2 .site-header__inner nav { position: static; }
.dw2 .primary-menu.is-open {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0.75rem 1.25rem 1.4rem;
  border: 0;
  border-bottom: 1px solid var(--dw2-rule);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 32px rgba(12, 38, 29, 0.08);
}
.dw2 .primary-menu.is-open > li { border-bottom: 1px solid var(--dw2-rule); }
.dw2 .primary-menu.is-open > li > a { padding: 0.85rem 0; font-size: 1.05rem; box-shadow: none; }
.dw2 .primary-menu.is-open > .dw-menu-search { order: -1; margin: 0 0 0.35rem; border-bottom: 0; }
.dw2 .primary-menu.is-open > .dw-menu-subscribe { margin-top: 1rem; border-bottom: 0; }
.dw2 .primary-menu.is-open > .dw-menu-subscribe a { display: inline-flex; padding: 0.65rem 1.1rem; }
.dw2 .primary-menu.is-open .dw-search--header .dw-search__field { width: 100%; height: 3rem; font-size: 1rem; }
.dw2 .primary-menu.is-open .dw-search--header .dw-search__submit { top: 0.5rem; }

/* ---------- Print: clean pages for teaching handouts ---------- */
@media print {
  .dw2 .site-header nav,
  .dw2 .menu-toggle,
  .dw2 .site-footer,
  .dw2 #dw-cc,
  .dw2 .dw-toc,
  .dw2 .dw-toc-rail,
  .dw2 .dw-article-subscribe,
  .dw2 .dw-cite__copy,
  .dw2 .related-posts,
  .dw2 .skip-link,
  .dw2 .dw-subscribe { display: none !important; }
  body.dw2 { background: #fff; color: #000; }
  .dw2 .site-header { border: 0; }
  .dw2 .entry-content p,
  .dw2 .entry-content li { font-size: 11.5pt; line-height: 1.5; }
  .dw2 .entry-header h1 { font-size: 24pt; }
  .dw2 .entry-content a { color: #000; }
  .dw2 .entry-content a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; overflow-wrap: anywhere; }
  .dw2 .entry-content .dw-cite { background: none; border: 1px solid #999; }
}
