/* ============================================================
   STRATEGIC THEME — Main Stylesheet
   Premium Financial Advisory Theme
   Deep Plum + Warm Gold Design System
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */

:root {
  /* Color palette */
  --color-surface: #f8f5fc;
  --color-page-bg: #f2eef8;
  --color-soft-amethyst: #f5f0ff;
  --color-ink-plum: #2d1b4e;
  --color-warm-gold: #e8c547;
  --color-on-surface: #1e1528;
  --color-on-surface-variant: #5c4d7a;
  --color-outline: #8b7aaa;
  --color-outline-variant: #c9bfe8;
  --color-border-muted: #ddd6f0;
  --color-bullish-green: #22c55e;
  --color-bearish-red: #ef4444;

  /* Typography */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  /* Spacing */
  --spacing-gutter: 24px;
  --spacing-section: 100px;
  --container-max: 1280px;
  --container-px: 16px;

  /* Easing */
  --ease-luxe: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── 3. LAYOUT ────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 40px;
  }
}

/* ── 4. TYPOGRAPHY UTILITIES ──────────────────────────────── */

.label-caps {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-warm-gold);
  display: inline-block;
}

.body-lg {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}

.body-sm {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.3s var(--ease-hover),
    color 0.3s var(--ease-hover),
    border-color 0.3s var(--ease-hover),
    transform 0.2s var(--ease-hover);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-ink-plum);
  color: white;
  border-color: var(--color-ink-plum);
}

.btn-primary:hover {
  background-color: var(--color-warm-gold);
  border-color: var(--color-warm-gold);
  color: var(--color-ink-plum);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  padding: 8px 20px;
  font-size: 11px;
}

.btn-outline:hover {
  background-color: var(--color-warm-gold);
  color: var(--color-ink-plum);
  border-color: transparent;
}

.btn-gold {
  display: inline-block;
  background-color: var(--color-warm-gold);
  color: var(--color-ink-plum);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  text-decoration: none;
}

.btn-gold:hover {
  transform: scale(0.98);
  opacity: 0.92;
}

/* ── 6. SITE HEADER ───────────────────────────────────────── */

.fiscal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-ink-plum);
  color: white;
  padding: 14px 0;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.fiscal-header.scrolled {
  box-shadow: 0 2px 20px rgba(45, 27, 78, 0.5);
  border-bottom-color: rgba(232, 197, 71, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

@media (min-width: 640px) {
  .header-inner {
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .header-inner {
    padding-inline: 40px;
  }
}

.header-logo a,
.header-logo .custom-logo-link {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
  display: block;
}

.header-logo .custom-logo {
  height: 44px;
  width: auto;
  display: block;
}

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: block;
  }
}

.header-nav-list,
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list > li > a,
.header-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-bottom-color 0.25s ease;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.header-nav-list > li > a:hover,
.header-nav a:hover {
  color: var(--color-warm-gold);
  border-bottom-color: var(--color-warm-gold);
}

.header-logo-light {
  display: none;
}

.header-logo-dark {
  display: block;
}

.header-nav-list .sub-menu,
.header-nav .sub-menu {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-subscribe-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-subscribe-btn {
    display: inline-flex;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-ink-plum);
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-list,
.mobile-menu ul {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li,
.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-nav-list a,
.mobile-menu ul a {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-list a:hover,
.mobile-menu ul a:hover {
  color: var(--color-warm-gold);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s ease;
}

.mobile-menu-close:hover {
  color: var(--color-warm-gold);
}

.mobile-menu-cta {
  margin-top: 16px;
}

/* ── 7. REVEAL ANIMATION ──────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease-luxe),
    transform 0.75s var(--ease-luxe);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── 8. HERO SECTION ──────────────────────────────────────── */

/* ── 8. HERO SECTION ───────────────────────────────── */

/* Split hero: plum text panel left + featured image right */
.hero-section {
  display: flex;
  min-height: 90vh;
  overflow: hidden;
}

/* Left editorial panel */
.hero-panel {
  width: 44%;
  flex-shrink: 0;
  background: var(--color-ink-plum);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 72px) clamp(52px, 7vw, 96px);
  position: relative;
}

/* Fading gold vertical rule — right edge of text panel */
.hero-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-warm-gold) 25%, var(--color-warm-gold) 75%, transparent);
}

.hero-label {
  color: var(--color-warm-gold);
  font-size: 10px;
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: white;
  margin-bottom: 28px;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-title-link:hover {
  opacity: 0.82;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.hero-badge {
  padding: 4px 10px;
  border: 1px solid rgba(232, 197, 71, 0.45);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-warm-gold);
  font-family: var(--font-mono);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-warm-gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(232, 197, 71, 0.35);
  transition: border-color 0.25s ease;
  align-self: flex-start;
}

.hero-cta:hover {
  border-bottom-color: var(--color-warm-gold);
}

/* Right image panel */
.hero-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--color-ink-plum);
  background-size: cover;
  background-position: center;
}

.hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient from left edge — fades into text panel */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 27, 78, 0.55) 0%, transparent 45%);
}

/* Mobile: image on top, text panel below */
@media (max-width: 767px) {
  .hero-section {
    flex-direction: column-reverse;
    min-height: auto;
  }

  .hero-panel {
    width: 100%;
    padding: 36px 20px 48px;
  }

  .hero-panel::after {
    display: none;
  }

  .hero-image {
    height: 55vw;
    min-height: 220px;
    flex: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-panel {
    width: 52%;
  }
}

/* ── 9. ARTICLES SECTION ──────────────────────────────────── */

.articles-section {
  background: var(--color-page-bg);
  padding-top: calc(var(--spacing-section) + 32px);
  padding-bottom: var(--spacing-section);
}

@media (max-width: 767px) {
  .articles-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Section heading */
.articles-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.articles-section-heading {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-plum);
  white-space: nowrap;
}

.articles-section-line {
  flex: 1;
  height: 1px;
  background: var(--color-border-muted);
}

/* ── Editorial board: CSS grid with named areas ── */

.articles-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  background: var(--color-border-muted); /* gap shows as visible cell dividers */
}

@media (min-width: 768px) {
  .articles-board {
    grid-template-columns: 58% 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 540px;
  }
}

/* Featured panel — left column, spans both rows */
.board-feature {
  position: relative;
  overflow: hidden;
  background: var(--color-ink-plum);
  display: block;
  text-decoration: none;
  min-height: 340px;
}

@media (min-width: 768px) {
  .board-feature {
    grid-row: 1 / 3;
    min-height: 0;
  }
}

.board-feature-media {
  position: absolute;
  inset: 0;
}

.board-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.board-feature:hover .board-feature-media img {
  transform: scale(1.04);
}

/* Gradient from bottom — heavy plum at base, fades at top */
.board-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 27, 78, 0.97) 0%, rgba(45, 27, 78, 0.6) 48%, rgba(45, 27, 78, 0.15) 100%);
}

.board-feature-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
}

.board-feature-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-warm-gold);
  display: block;
  margin-bottom: 14px;
}

.board-feature-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 12px;
}

.board-feature-title a {
  color: inherit;
  text-decoration: none;
}

.board-feature-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-feature-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 197, 71, 0.25);
}

.board-feature-foot time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.board-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-warm-gold);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.board-feature-cta:hover {
  opacity: 0.72;
}

/* Side panels — right column, stacked */
.board-side {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 40px);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: filter 0.25s ease;
}

.board-side:hover {
  filter: brightness(1.06);
}

/* Side A: deep plum with gold accent */
.board-side--dark {
  background: var(--color-ink-plum);
}

/* Side B: soft amethyst, lighter contrast */
.board-side--light {
  background: var(--color-soft-amethyst);
}

/* Ghost ordinal number — enormous, translucent, acts as visual accent */
.board-side-num {
  font-family: var(--font-mono);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
  display: block;
  margin-bottom: 16px;
}

.board-side--dark .board-side-num {
  color: rgba(232, 197, 71, 0.1);
}

.board-side--light .board-side-num {
  color: rgba(45, 27, 78, 0.07);
}

.board-side-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.board-side--dark .board-side-cat {
  color: var(--color-warm-gold);
}

.board-side--light .board-side-cat {
  color: var(--color-on-surface-var);
}

.board-side-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  flex: 1;
  margin: 0;
}

.board-side--dark .board-side-title {
  color: white;
}

.board-side--light .board-side-title {
  color: var(--color-ink-plum);
}

.board-side-time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-top: 20px;
}

.board-side--dark .board-side-time {
  color: rgba(255, 255, 255, 0.3);
}

.board-side--light .board-side-time {
  color: var(--color-on-surface-var);
}

/* ── POSTS STACK — further reading editorial index ─────────── */

.posts-stack-section {
  background: var(--color-surface);
  padding-block: var(--spacing-section);
}

@media (max-width: 767px) {
  .posts-stack-section {
    padding-block: 56px;
  }
}

.posts-stack-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 4px;
}

.posts-stack-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-plum);
  white-space: nowrap;
}

.posts-stack-line {
  flex: 1;
  height: 1px;
  background: var(--color-border-muted);
}

/* Each row: ordinal | title body | meta+arrow */
.post-stack-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  column-gap: 28px;
  padding-block: 28px;
  border-bottom: 1px solid var(--color-border-muted);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.2s ease;
}

.post-stack-row:first-child {
  border-top: 1px solid var(--color-border-muted);
}

.post-stack-row:hover {
  background: var(--color-soft-amethyst);
}

/* Gold accent bar — slides up from bottom on hover */
.post-stack-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-warm-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-stack-row:hover::before {
  transform: scaleY(1);
}

/* Ordinal — large mono, ghosted; brightens to gold on hover */
.post-stack-num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-warm-gold);
  opacity: 0.22;
  transition: opacity 0.22s ease;
  text-align: right;
}

.post-stack-row:hover .post-stack-num {
  opacity: 1;
}

/* Category label + title */
.post-stack-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.post-stack-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-on-surface-var);
}

.post-stack-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink-plum);
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-stack-row:hover .post-stack-title {
  color: var(--color-warm-gold);
}

/* Date + circular arrow button */
.post-stack-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  padding-left: 20px;
}

.post-stack-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-on-surface-var);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.post-stack-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border-muted);
  border-radius: 50%;
  color: var(--color-ink-plum);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
}

.post-stack-row:hover .post-stack-arrow {
  background: var(--color-warm-gold);
  border-color: var(--color-warm-gold);
  color: var(--color-ink-plum);
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .post-stack-row {
    grid-template-columns: 44px 1fr auto;
    column-gap: 16px;
    padding-block: 22px;
  }

  .post-stack-meta {
    padding-left: 8px;
  }

  .post-stack-date {
    display: none;
  }
}

/* ── 10. ARTICLE CARDS ────────────────────────────────────── */

.article-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-bottom: 2px solid transparent;
  padding-bottom: 24px;
  transition:
    border-color 0.3s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-card:active {
  transform: scale(1.01);
}

.article-card:hover {
  border-bottom-color: var(--color-warm-gold);
}

.card-featured .card-image,
.card-compact .card-image {
  overflow: hidden;
  margin-bottom: 20px;
}

.card-featured .card-image img,
.card-compact .card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.5s ease;
  display: block;
  filter: grayscale(0.15);
}

.card-featured .card-image img:hover,
.card-compact .card-image img:hover {
  transform: scale(1.04);
  filter: grayscale(0);
}

.card-image-placeholder {
  background: var(--color-page-bg);
  height: 220px;
  margin-bottom: 20px;
}

.card-featured .card-label,
.card-compact .card-label {
  margin-bottom: 10px;
}

.card-featured .card-title,
.card-compact .card-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-ink-plum);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.card-featured .card-title a,
.card-compact .card-title a {
  color: inherit;
  text-decoration: none;
}

.card-featured:hover .card-title a,
.card-compact:hover .card-title a {
  color: var(--color-warm-gold);
}

.card-featured .card-excerpt,
.card-compact .card-excerpt {
  font-size: 15px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-compact .card-number {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(45, 27, 78, 0.28);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.06em;
}

/* Expandable brevity content */
.brevity-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.5s ease-in-out,
    opacity 0.3s ease-in-out;
}

.article-card.expanded .brevity-content {
  max-height: 500px;
  opacity: 1;
  margin-top: 16px;
}

.brevity-panel {
  border-top: 1px solid var(--color-border-muted);
  padding-top: 20px;
}

.brevity-panel h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-ink-plum);
  margin-bottom: 12px;
}

.brevity-panel ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-on-surface-variant);
  font-size: 14px;
  line-height: 1.6;
}

.brevity-panel ul li {
  margin-bottom: 8px;
}

.brevity-panel-soft {
  border: none;
  padding: 16px;
  background: var(--color-soft-amethyst);
  font-size: 13px;
  font-style: italic;
  color: var(--color-on-surface-variant);
}

/* ── 11. BELOW-FOLD WIDGETS ───────────────────────────────── */

.sidebar-section-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-plum);
  border-bottom: 2px solid var(--color-warm-gold);
  padding-bottom: 10px;
  margin-bottom: 28px;
  display: block;
}

/* Related Articles — editorial numbered index */
.sidebar-dispatch {
  padding: 32px;
  background: var(--color-soft-amethyst);
  border-top: 3px solid var(--color-warm-gold);
  border-bottom: 1px solid var(--color-border-muted);
}

.dispatch-items {
  display: flex;
  flex-direction: column;
  counter-reset: dispatch-counter;
}

.dispatch-item {
  counter-increment: dispatch-counter;
}

.dispatch-item + .dispatch-item {
  border-top: 1px solid var(--color-border-muted);
}

.dispatch-item-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}

.dispatch-item-link::before {
  content: counter(dispatch-counter, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--color-warm-gold);
  line-height: 1.4;
  padding-top: 3px;
  transition: color 0.2s ease;
  grid-row: 1 / 3;
}

.dispatch-item-link:hover::before {
  color: var(--color-on-surface-var);
}

.dispatch-item-link:hover .dispatch-headline {
  color: var(--color-warm-gold);
}

.dispatch-time {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--color-on-surface-var);
  display: block;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.dispatch-headline {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-ink-plum);
  transition: color 0.2s ease;
}

.dispatch-empty {
  font-size: 14px;
  color: var(--color-on-surface-var);
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--color-ink-plum);
  padding: 40px;
  color: white;
  border-top: 3px solid var(--color-warm-gold);
}

@media (max-width: 767px) {
  .newsletter-widget {
    padding: 28px 20px;
  }

  .sidebar-dispatch {
    padding: 24px 16px;
  }

  .dispatch-item-link {
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
  }

  .dispatch-headline {
    font-size: 14px;
  }
}

.newsletter-widget-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  line-height: 1.2;
}

.newsletter-widget-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.newsletter-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(232, 197, 71, 0.2);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: white;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-input:focus {
  border-color: var(--color-warm-gold);
}

.newsletter-input.is-error {
  border-color: var(--color-bearish-red);
}

.newsletter-btn {
  width: 100%;
  background: var(--color-warm-gold);
  color: var(--color-ink-plum);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.newsletter-btn:hover {
  transform: scale(0.98);
}

.newsletter-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.newsletter-field-error {
  font-size: 12px;
  color: var(--color-bearish-red);
}

.newsletter-status {
  display: none;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
}

.newsletter-status.is-success {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: block;
}

.newsletter-status.is-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-bearish-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* ── 12. CHART SECTION — text left, image right ───────────── */

.chart-section {
  background: var(--color-soft-amethyst);
  border-top: 1px solid var(--color-border-muted);
  border-bottom: 1px solid var(--color-border-muted);
  padding-block: var(--spacing-section);
}

@media (max-width: 767px) {
  .chart-section {
    padding-block: 56px;
  }

  .chart-section-inner {
    gap: 32px;
  }
}

/* column-reverse so image is below text on mobile,
   row on desktop with text first (order:-1) */
.chart-section-inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .chart-section-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-gutter);
  }
}

.chart-info {
  flex: 1;
  min-width: 0;
}

@media (min-width: 1024px) {
  .chart-info {
    order: -1;
  }
}

.chart-visual {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(45, 27, 78, 0.28);
  border: 1px solid rgba(232, 197, 71, 0.15);
  background: #1a0e30;
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .chart-visual {
    width: 55%;
    order: 0;
  }
}

.chart-visual img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 200px;
  object-fit: cover;
}

.chart-spotlight-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 250px at var(--x, 50%) var(--y, 50%), rgba(232, 197, 71, 0.12) 0%, transparent 100%);
  pointer-events: none;
  z-index: 10;
}

.chart-info-label {
  margin-bottom: 14px;
}

.chart-info-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-ink-plum);
  margin-bottom: 28px;
}

.chart-quote {
  background: white;
  border-left: 4px solid var(--color-warm-gold);
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(45, 27, 78, 0.07);
}

.chart-quote p {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--color-ink-plum);
  line-height: 1.6;
}

.chart-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink-plum);
  background: var(--color-warm-gold);
  border: none;
  padding: 12px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  text-decoration: none;
}

.chart-download-btn:hover {
  transform: scale(0.97);
  opacity: 0.9;
}

.chart-download-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── 13. MARKET TICKER ────────────────────────────────────── */

.ticker-section {
  background: var(--color-ink-plum);
  padding-block: 20px;
  overflow: hidden;
  border-top: none;
  border-bottom: 2px solid var(--color-warm-gold);
  margin-top: 72px; /* fixed header clearance — ticker is now first section */
}

@media (max-width: 767px) {
  .ticker-section {
    padding-block: 6px;
  }
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  gap: 64px;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
  /* Hide the duplicate aria-hidden group; show one row of items instead */
  .ticker-group[aria-hidden="true"] {
    display: none;
  }
  .ticker-group {
    flex-wrap: wrap;
    gap: 20px 40px;
    justify-content: center;
    white-space: normal;
  }
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 52px;
  flex-shrink: 0;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.ticker-symbol {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.ticker-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  color: white;
}

.ticker-change {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  gap: 2px;
}

.ticker-change.positive {
  color: var(--color-bullish-green);
}

.ticker-change.negative {
  color: var(--color-bearish-red);
}

@keyframes ticker-flash-anim {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.ticker-flash {
  animation: ticker-flash-anim 0.45s ease;
}

/* ── 13b. NEWSLETTER STANDALONE ──────────────────────────── */

.newsletter-standalone {
  background: var(--color-ink-plum);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 3px solid var(--color-warm-gold);
  position: relative;
}

.newsletter-standalone-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-standalone-label {
  color: var(--color-warm-gold);
  font-size: 10px;
  letter-spacing: 0.22em;
  display: block;
  margin-bottom: 20px;
}

.newsletter-standalone-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.newsletter-standalone-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 48px;
}

.newsletter-standalone-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.newsletter-standalone-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .newsletter-standalone-fields {
    flex-direction: row;
    gap: 0;
  }

  .newsletter-standalone-fields .newsletter-form-field {
    flex: 1;
  }

  .newsletter-standalone-fields .newsletter-input-standalone {
    border-radius: 0;
    border-right: none;
  }

  .newsletter-standalone-fields .newsletter-btn-outline {
    border-radius: 0;
    width: auto; /* override the width:100% from .newsletter-btn */
    flex-shrink: 0;
    align-self: stretch;
    padding-inline: 28px;
  }
}

.newsletter-input-standalone {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 197, 71, 0.3);
  color: white;
  font-family: var(--font-body);
}

.newsletter-input-standalone::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-standalone:focus {
  outline: none;
  border-color: var(--color-warm-gold);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn-outline {
  background: transparent;
  border: 1px solid var(--color-warm-gold);
  color: var(--color-warm-gold);
  padding-inline: 32px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.newsletter-btn-outline:hover {
  background: var(--color-warm-gold);
  color: var(--color-ink-plum);
}

@media (max-width: 639px) {
  .newsletter-standalone-fields .newsletter-btn-outline {
    width: 100%;
    padding-block: 14px;
  }
}

/* ── 14. FOOTER ───────────────────────────────────────────── */

.fiscal-footer {
  background: white;
  padding-top: var(--spacing-section);
  padding-bottom: 48px;
  border-top: 1px solid var(--color-border-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand-col .footer-logo-link,
.footer-brand-col .custom-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand-col .footer-logo-img,
.footer-brand-col .custom-logo {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
}

.footer-site-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 20px;
  color: var(--color-ink-plum);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-site-name:hover {
  color: var(--color-warm-gold);
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  max-width: 30ch;
}

.footer-col-heading {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-ink-plum);
  margin-bottom: 20px;
  display: block;
  border-bottom: 2px solid var(--color-warm-gold);
  padding-bottom: 8px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--color-ink-plum);
}

.footer-nav-list .sub-menu {
  display: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-on-surface-variant);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: center;
  }
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-link {
  color: var(--color-on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--color-ink-plum);
}

/* ── 15. PAGE HERO BAND ───────────────────────────────────── */

.page-hero-band {
  background: var(--color-ink-plum);
}

.page-hero-inner {
  padding-top: 140px;
  padding-bottom: 80px;
}

.page-hero-label {
  color: var(--color-warm-gold);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ── 16. BLOG INDEX ───────────────────────────────────────── */

.fiscal-blog-index {
  padding-block: var(--spacing-section);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 640px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .blog-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.blog-post-card .post-thumbnail {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-post-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
  display: block;
}

.blog-post-card:hover .post-thumbnail img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.blog-post-card .post-category {
  font-size: 10px;
  color: var(--color-warm-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.blog-post-card .post-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink-plum);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card .post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-post-card:hover .post-title a {
  color: var(--color-warm-gold);
}

.blog-post-card .post-excerpt {
  font-size: 14px;
  color: var(--color-on-surface-variant);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-post-card .post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-outline);
  font-family: var(--font-mono);
}

.blog-empty {
  padding-block: 80px;
  color: var(--color-on-surface-variant);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-ink-plum);
  border: 1px solid var(--color-border-muted);
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 2px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--color-ink-plum);
  color: white;
  border-color: var(--color-ink-plum);
}

/* ── 17. SINGLE POST ──────────────────────────────────────── */

.fiscal-single {
  padding-bottom: var(--spacing-section);
}

@media (max-width: 767px) {
  .fiscal-single {
    padding-bottom: 56px;
  }
}

/* ── SINGLE POST MASTHEAD ──────────────────────────────── */

.single-post-masthead {
  background: var(--color-ink-plum);
  padding-top: 72px; /* fixed header clearance */
  border-bottom: 3px solid var(--color-warm-gold);
}

.single-post-masthead-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 380px;
}

/* Image panel — left column, edge-to-edge height */
.single-post-masthead-image {
  position: relative;
  overflow: hidden;
}

.single-post-masthead-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 3px solid var(--color-warm-gold);
  pointer-events: none;
  z-index: 1;
}

.single-post-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text panel — right column */
.single-post-masthead-text {
  padding: 56px 0 56px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* No featured image: text spans full width */
.single-post-masthead-inner:not(:has(.single-post-masthead-image)) {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.single-post-masthead-inner:not(:has(.single-post-masthead-image)) .single-post-masthead-text {
  padding-left: 0;
}

.single-post-category {
  color: var(--color-warm-gold);
  margin-bottom: 16px;
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  margin-top: 14px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.single-post-reading-time {
  color: var(--color-warm-gold);
  font-size: 11px;
}

/* Container top spacing: masthead replaces old padding-top on header */
.single-post-masthead + .container {
  padding-top: 64px;
}

/* ── Mobile ──────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .single-post-masthead-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    padding: 0;
    min-height: unset;
  }

  .single-post-masthead-image {
    grid-row: 1;
  }

  .single-post-masthead-image::after {
    border-right: none;
    border-bottom: 3px solid var(--color-warm-gold);
  }

  .single-post-masthead-text {
    grid-row: 2;
    padding: 32px 24px 40px;
    justify-content: flex-start;
  }

  .single-post-masthead + .container {
    padding-top: 40px;
  }

  .single-post-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 16px;
  }
}

.single-post-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (max-width: 767px) {
  .single-post-content {
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .single-post-content {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.single-post-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-muted);
}

@media (min-width: 640px) {
  .single-post-nav {
    flex-direction: row;
    justify-content: space-between;
  }
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  max-width: 280px;
  transition: color 0.2s ease;
}

.post-nav-link:hover {
  color: var(--color-warm-gold);
}

.post-nav-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.post-nav-next {
  text-align: right;
  margin-left: auto;
}

.single-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (max-width: 767px) {
  .single-post-sidebar {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .single-post-sidebar {
    position: sticky;
    top: 120px;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-ink-plum);
  text-decoration: none;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.back-link:hover {
  gap: 12px;
  color: var(--color-warm-gold);
}

/* ── 18. ARTICLE PROSE ────────────────────────────────────── */

.fiscal-prose {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-on-surface);
  max-width: 68ch;
}

@media (max-width: 767px) {
  .fiscal-prose {
    font-size: 16px;
    line-height: 1.7;
  }
}

.fiscal-prose h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-ink-plum);
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.fiscal-prose h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink-plum);
  margin-top: 32px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fiscal-prose h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-plum);
  margin-top: 24px;
  margin-bottom: 8px;
}

.fiscal-prose p {
  margin-bottom: 24px;
}

.fiscal-prose blockquote {
  border-left: 4px solid var(--color-warm-gold);
  padding: 20px 24px;
  margin: 32px 0;
  background: var(--color-soft-amethyst);
  font-style: italic;
  font-size: 20px;
  color: var(--color-ink-plum);
  line-height: 1.5;
}

.fiscal-prose a {
  color: var(--color-ink-plum);
  text-decoration: underline;
  text-decoration-color: var(--color-warm-gold);
  text-underline-offset: 3px;
}

.fiscal-prose a:hover {
  color: var(--color-warm-gold);
}

.fiscal-prose ul,
.fiscal-prose ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.fiscal-prose ul {
  list-style: disc;
}

.fiscal-prose ol {
  list-style: decimal;
}

.fiscal-prose li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.fiscal-prose img {
  width: 100%;
  margin-block: 32px;
  display: block;
}

.fiscal-prose strong {
  font-weight: 700;
  color: var(--color-ink-plum);
}

.fiscal-prose code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--color-page-bg);
  padding: 2px 6px;
  border-radius: 2px;
}

.fiscal-prose pre {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--color-ink-plum);
  color: white;
  padding: 24px;
  overflow-x: auto;
  margin-bottom: 24px;
}

.fiscal-prose hr {
  border: none;
  border-top: 1px solid var(--color-border-muted);
  margin-block: 48px;
}

/* ── 19. GENERIC PAGE ─────────────────────────────────────── */

.fiscal-page-content {
  padding-block: var(--spacing-section);
}

/* ── 20. 404 ──────────────────────────────────────────────── */

.fiscal-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--spacing-section);
  padding-top: calc(var(--spacing-section) + 80px);
}

.fiscal-404-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.error-code {
  color: var(--color-warm-gold);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 700;
  color: var(--color-ink-plum);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.error-message {
  font-size: 18px;
  color: var(--color-on-surface-variant);
  margin-bottom: 48px;
  max-width: 40ch;
}

/* ── 21. WORDPRESS ALIGNMENT UTILITIES ───────────────────── */

.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.aligncenter {
  display: block;
  margin-inline: auto;
  margin-bottom: 16px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--color-on-surface-variant);
  font-style: italic;
  margin-top: 8px;
  text-align: center;
}
