/* ═══════════════════════════════════════════════════════════════════
   THE ICONIC JOURNAL — editorial dressing for the Blog Post template.
   Served by the iconic-cls-reserve worker at /journal.css and linked
   from the Webflow Blog Posts Template, so future style changes need
   only `npx wrangler deploy` — never a Webflow publish.
   Scoped entirely under the template's wrapper (.is-oadding-50) and
   built from the site's own tokens: Inria Serif headings, Kapakana
   accent script, the house yellow.
   ═══════════════════════════════════════════════════════════════════ */

/* The whole plate centers — headline, hero, article column. */
.flex-vertical-center.is-oadding-50 {
  align-items: center;
}

/* The article column — a book's measure, a book's leading. */
.flex-vertical-center.is-oadding-50 .w-richtext {
  max-width: 42rem;
  font-family: var(--base--font--heading, "Inria Serif", Georgia, serif);
  font-size: 1.15rem;
  line-height: 1.82;
}

/* Headline — quiet, enormous, centered. */
.flex-vertical-center.is-oadding-50 h1 {
  font-family: var(--base--font--heading, "Inria Serif", Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-align: center;
  max-width: 18ch;
  text-wrap: balance;
}

/* Hero image — a plate, not a banner. */
.flex-vertical-center.is-oadding-50 > .image {
  max-width: min(100%, 60rem);
  margin: 1.4rem 0 2.4rem;
}

/* The opening paragraph carries the drop cap — the letter in house gold. */
.flex-vertical-center.is-oadding-50 .w-richtext > p:first-child {
  font-size: 1.28rem;
  line-height: 1.72;
}
.flex-vertical-center.is-oadding-50 .w-richtext > p:first-child::first-letter {
  font-family: var(--base--font--heading, "Inria Serif", Georgia, serif);
  font-size: 3.6em;
  line-height: 0.8;
  float: left;
  padding: 0.06em 0.12em 0 0;
  color: var(--base--yellow, #ffb74b);
}

/* Section heads — the serif speaks, the weight stays light. */
.flex-vertical-center.is-oadding-50 .w-richtext h2 {
  font-family: var(--base--font--heading, "Inria Serif", Georgia, serif);
  font-weight: 400;
  font-size: 1.95rem;
  line-height: 1.16;
  margin: 2.5em 0 0.65em;
  text-wrap: balance;
}
.flex-vertical-center.is-oadding-50 .w-richtext h3 {
  font-family: var(--base--font--text-main, "Instrument Sans", Arial, sans-serif);
  font-weight: 600;
  font-size: 1.12rem;
  margin: 1.9em 0 0.4em;
}

/* Links — gold, softly underlined. */
.flex-vertical-center.is-oadding-50 .w-richtext a {
  color: var(--base--yellow, #ffb74b);
  text-decoration: underline;
  text-decoration-color: rgba(255, 183, 75, 0.35);
  text-underline-offset: 3px;
}
.flex-vertical-center.is-oadding-50 .w-richtext a:hover {
  text-decoration-color: var(--base--yellow, #ffb74b);
}

/* Lists — the house mark, ruled like a ledger. */
.flex-vertical-center.is-oadding-50 .w-richtext ul {
  list-style: none;
  padding: 0;
  margin: 1.6em 0;
}
.flex-vertical-center.is-oadding-50 .w-richtext ul li {
  position: relative;
  padding: 0.72em 0 0.72em 1.7em;
  border-bottom: 1px solid rgba(255, 183, 75, 0.18);
}
.flex-vertical-center.is-oadding-50 .w-richtext ul li:first-child {
  border-top: 1px solid rgba(255, 183, 75, 0.18);
}
.flex-vertical-center.is-oadding-50 .w-richtext ul li::before {
  content: "✦";
  position: absolute;
  left: 0.1em;
  top: 0.85em;
  font-size: 0.8em;
  color: var(--base--yellow, #ffb74b);
}

/* The pull quote — the accent script, centered between gold hairlines. */
.flex-vertical-center.is-oadding-50 .w-richtext blockquote {
  border: none;
  margin: 2.6em 0;
  padding: 0;
  text-align: center;
  font-family: var(--base--font--accent, "Palatino Linotype", serif);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  line-height: 1.35;
  color: var(--base--yellow, #ffb74b);
}
.flex-vertical-center.is-oadding-50 .w-richtext blockquote::before,
.flex-vertical-center.is-oadding-50 .w-richtext blockquote::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--base--yellow, #ffb74b);
  margin: 0.9em auto;
}

/* Inline figures breathe. */
.flex-vertical-center.is-oadding-50 .w-richtext figure {
  margin: 2.4em 0;
}
