/* EdTech Dispatch Daily Digest - Styles */

:root {
  /* ============================================
     DESIGN TOKENS - EdTech Dispatch Brand System
     ============================================ */

  /* Brand Colors */
  --maroon: #4D0F0F;
  --maroon-deep: #2E0808;
  --cream: #FAF6EE;
  --paper: #FFFCF6;
  --ink: #1A1410;
  --ink-2: #3A322B;
  --ink-3: #6E635A;
  --rule: #E5DDC9;
  --rule-2: #D5C9AC;
  --gold: #B8862C;
  --gold-light: #F4B96A;

  /* Type Families */
  --font-display: 'Newsreader', serif;
  --font-ui: 'Geist', sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Type Scale */
  --text-lead: 44px;
  --text-feature: 28px;
  --text-digest: 20px;
  --text-body: 19px;
  --text-ui: 15px;
  --text-meta: 11px;

  /* Spacing Scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* ============================================
     LEGACY TOKENS (for backward compatibility)
     ============================================ */

  /* Primary color palette - mapped to new brand */
  --color-primary: var(--maroon);
  --color-primary-dark: var(--maroon-deep);
  --color-primary-light: var(--maroon);

  /* Secondary/accent colors */
  --color-accent: var(--maroon);
  --color-accent-light: var(--maroon);
  --color-accent-dark: var(--maroon-deep);

  /* Neutral colors */
  --color-gray: var(--ink-3);
  --color-gray-light: var(--ink-3);
  --color-gray-dark: var(--ink-2);

  /* Vendor badge */
  --color-vendor-bg: #fef3c7;
  --color-vendor-text: #92400e;

  /* Text colors - mapped to ink scale */
  --color-text: var(--ink);
  --color-text-light: var(--ink-2);
  --color-text-muted: var(--ink-3);

  /* Background colors - mapped to cream/paper */
  --color-bg: var(--cream);
  --color-card: var(--paper);
  --color-border: var(--rule);

  /* Typography - mapped to new system */
  --font-sans: var(--font-ui);

  /* Layout */
  --max-width: 900px;
  --sidebar-width: 220px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  font-size: var(--text-ui);
  line-height: 1.55;
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "calt" 1, "ss01" 1, "ss02" 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY PRIMITIVES
   ============================================ */

/* Display & Headline Scales */
.t-lead {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.t-feature {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.t-digest {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

/* Body & Deck */
.t-body {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
}

.t-deck {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-2);
}

/* UI & Meta */
.t-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.t-ui {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.t-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
}

/* Quote Block */
.t-quote {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 3px solid var(--maroon);
  padding-left: 14px;
}

/* Inline Accents */
.t-italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--maroon);
}

/* Drop Cap */
.t-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  line-height: 0.85;
  float: left;
  color: var(--maroon);
  margin-right: 8px;
  margin-top: 4px;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-share-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.social-share-bar a:hover {
  background: rgba(250, 246, 238, 0.2);
  transform: translateY(-1px);
}

.social-share-bar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Header */
.site-header {
  background: var(--maroon-deep);
  border-bottom: 3px solid var(--maroon);
}

.site-header + .bluesky-callout + main {
  margin-top: 40px;
}

/* When there's no bluesky callout (fallback) */
.site-header + main {
  margin-top: 40px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Lockup */
.header-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.lockup-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.lockup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lockup-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.lockup-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  line-height: 1.1;
}

.wordmark-edtech {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 600;
  color: white;
}

.wordmark-dispatch {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 500;
  font-style: italic;
  color: white;
  opacity: 0.85;
}

.lockup-tagline {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 400;
  color: rgba(250, 246, 238, 0.65);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Header Nav */
.header-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
  padding-bottom: 2px;
}

.nav-link:hover {
  color: white;
}

.nav-link.is-active {
  color: white;
  border-bottom: 1px solid white;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
}

.subscribe-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.subscribe-pill:hover {
  background: var(--cream);
}

.back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease, color 0.15s ease;
}

.back-link:hover {
  background: rgba(250, 246, 238, 0.15);
  color: white;
}

.back-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Bluesky Callout */
.bluesky-callout {
  background: #0085ff;
  padding: 10px 0;
}

.bluesky-callout .container {
  display: flex;
  justify-content: center;
}

.bluesky-callout__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.bluesky-callout__link:hover {
  opacity: 0.9;
}

.bluesky-callout__icon {
  width: 16px;
  height: 16px;
  fill: white;
  flex-shrink: 0;
}

.bluesky-callout__text strong {
  font-weight: 600;
}

/* ============================================
   DAILY BRIEFING BANNER
   ============================================ */

.daily-briefing-banner {
  background: var(--maroon);
  color: var(--cream);
  padding: 36px 48px 40px;
  margin-top: -40px;
  margin-bottom: 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.banner-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
}

/* Left Column */
.banner-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.7);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.banner-back-link {
  color: rgba(250, 246, 238, 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}

.banner-back-link:hover {
  color: white;
}

.banner-eyebrow-sep {
  margin: 0 0.6em;
}

.banner-headline {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1.04;
  color: var(--cream);
  margin: 0;
}

.banner-headline .t-italic-accent {
  color: var(--gold-light);
}

/* Right Column - Stat Block */
.banner-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: end;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-cell:nth-child(2) {
  text-align: center;
}

.stat-cell:nth-child(3) {
  text-align: right;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: white;
  line-height: 1;
}

.stat-arrow {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: white;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.7);
  line-height: 1.3;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .daily-briefing-banner {
    padding: 28px 32px 32px;
  }

  .banner-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .banner-headline {
    font-size: 32px;
  }

  .banner-stats {
    justify-content: flex-start;
  }

  .stat-number,
  .stat-arrow {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .daily-briefing-banner {
    padding: 24px 20px 28px;
  }

  .banner-headline {
    font-size: 26px;
  }

  .stat-number,
  .stat-arrow {
    font-size: 24px;
  }

  .stat-label {
    font-size: 8.5px;
  }
}

/* Digest Header */
.digest-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.digest-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.digest-summary {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.digest-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.archive-label {
  margin-bottom: 16px;
}

.archive-label a {
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.archive-label a:hover {
  color: var(--color-accent);
}

/* ============================================
   IN THIS DIGEST - Jump Link Index
   ============================================ */

.in-this-digest {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.digest-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  line-height: 1.5;
}

.digest-label span {
  display: block;
}

.digest-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}

.digest-index-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  text-decoration: none;
  transition: background 0.15s ease;
}

.digest-index-item:hover {
  background: rgba(77, 15, 15, 0.03);
}

.digest-index-item:hover .index-headline {
  color: var(--maroon);
}

.index-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--maroon);
}

.index-headline {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.index-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .in-this-digest {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .digest-label {
    display: flex;
    gap: 0.5em;
  }

  .digest-label span {
    display: inline;
  }

  .digest-index {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .digest-index-item {
    grid-template-columns: 24px 1fr;
    gap: 8px;
  }

  .index-tag {
    display: none;
  }
}

/* ============================================
   STORY CARDS - Lead / Feature / Digest
   ============================================ */

.card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
}

.card:last-child {
  border-bottom: none;
}

/* Card Variants - Padding */
.card--lead {
  padding: 28px 0 24px;
}

.card--feature {
  padding: 10px 0 22px;
}

.card--digest {
  padding: 18px 0 14px;
}

/* Rail (Left Column) */
.card__rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Rank Numbers */
.card__rank {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--maroon);
  line-height: 1;
}

.card__rank--lead {
  font-size: 56px;
}

.card__rank--feature {
  font-size: 38px;
}

.card__rank--digest {
  font-size: 28px;
}

/* Top Story Pill */
.card__pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  background: rgba(77, 15, 15, 0.08);
  padding: 4px 8px;
  border-radius: 2px;
  width: fit-content;
}

/* Source Meta in Rail */
.card__source-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.card__source-name {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--maroon);
}

.card__source-time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* Content (Right Column) */
.card__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* Card Header */
.card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.card__header h2 {
  flex: 1;
  margin: 0;
}

.card__header h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.card__header h2 a:hover {
  color: var(--maroon);
}

/* Byline (source + time) for lead cards */
.card__byline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-2);
}

.card__byline .card__source-name {
  font-weight: 500;
  color: var(--maroon);
}

.card__byline-sep {
  color: var(--ink-3);
}

.card__byline .card__source-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}

/* Card Summary */
.card__summary {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* Tag Chips - Restyled */
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card__tags .tag,
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 3px 7px;
  border-radius: 2px;
}

/* Tag Line (slash-separated) */
.card__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============================================
   DISCUSSIONS - Bluesky posts about story
   ============================================ */

.discussions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

.discussions__label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.discussions__icon {
  width: 12px;
  height: 12px;
  fill: #0085ff;
}

.discussions__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

.discussions__link {
  color: #0085ff;
  text-decoration: none;
  transition: color 0.15s ease;
}

.discussions__link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.discussions__sep {
  color: var(--ink-3);
}

/* ============================================
   UTIL ROW - Permalink + Share Buttons
   ============================================ */

.util-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  margin-top: 8px;
}

.util-permalink {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.15s ease;
}

.util-permalink:hover {
  color: var(--maroon-deep);
}

.util-permalink__arrow {
  font-size: 12px;
}

.util-permalink__text {
  text-transform: uppercase;
}

.util-permalink.copied {
  color: #16a34a;
}

.util-permalink.copied .util-permalink__arrow {
  display: none;
}

.util-spacer {
  flex: 1;
}

.share-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.share-group .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: white;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.share-group .share-btn:hover {
  border-color: var(--rule-2);
  color: var(--ink);
}

.share-group .share-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Share button hover states */
.share-group .share-linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
}

.share-group .share-x:hover {
  background: #000;
  border-color: #000;
  color: white;
}

.share-group .share-bluesky:hover {
  background: #0085ff;
  border-color: #0085ff;
  color: white;
}

.share-group .share-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

/* ============================================
   RELATED BOX - 3-column grid for LeadCard
   ============================================ */

.related-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--maroon);
  padding: 12px 16px;
  margin-top: 12px;
}

.related-box__header {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 0 0 6px 0;
}

.related-box__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-box__item {
  border-bottom: 1px dashed var(--rule);
  padding: 6px 0;
  min-width: 0;
}

/* Remove border from last row (last 3 items in 3-column grid) */
.related-box__item:nth-last-child(-n+3) {
  border-bottom: none;
}

.related-box__item a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.related-box__item a:hover .related-box__title {
  color: var(--maroon);
}

.related-box__title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.15s ease;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-box__source {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
  margin-left: 6px;
}

/* Source badges in related box */
.related-box .source-vendor-sm {
  background: var(--color-vendor-bg);
  color: var(--color-vendor-text);
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 8px;
}

.related-box .source-newsletter-sm {
  background: rgba(77, 15, 15, 0.1);
  color: var(--maroon);
  padding: 1px 4px;
  border-radius: 2px;
  font-size: 8px;
}

/* ============================================
   ALSO BOX - Inline for Feature/Digest cards
   ============================================ */

.also-box {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--maroon);
  padding: 6px 10px;
  margin-top: 10px;
  line-height: 1.6;
}

.also-box__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-right: 8px;
}

.also-box__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}

.also-box__link:hover {
  color: var(--maroon);
}

.also-box__source {
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.also-box__sep {
  color: var(--rule-2);
  margin: 0 6px;
}

/* ============================================
   CLUSTER HEADER - Section dividers
   ============================================ */

.cluster-header {
  padding: 16px 0 8px;
  margin-top: 16px;
  border-bottom: 1px solid var(--rule);
}

.cluster-header__rail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
  line-height: 1.4;
}

.cluster-header__label,
.cluster-header__num,
.cluster-header__sep,
.cluster-header__name {
  display: inline;
}

/* Card Responsive */
@media (max-width: 768px) {
  .card {
    grid-template-columns: 100px 1fr;
    gap: 20px;
  }

  .cluster-header__rail {
    font-size: 10px;
  }

  .card__rank--lead {
    font-size: 42px;
  }

  .card__rank--feature {
    font-size: 32px;
  }

  .card__rank--digest {
    font-size: 24px;
  }

  .related-box__list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Adjust last row border removal for 2-column layout */
  .related-box__item:nth-last-child(-n+3) {
    border-bottom: 1px dashed var(--rule);
  }

  .related-box__item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card__rail {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .card__rank--lead {
    font-size: 36px;
  }

  .card__rank--feature {
    font-size: 28px;
  }

  .card__rank--digest {
    font-size: 22px;
  }

  .card__source-meta {
    margin-top: 0;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  .related-box__list {
    grid-template-columns: 1fr;
  }

  /* Single column: all items get border except last */
  .related-box__item:nth-last-child(-n+2) {
    border-bottom: 1px dashed var(--rule);
  }

  .related-box__item:last-child {
    border-bottom: none;
  }

  .share-group .share-btn {
    width: 28px;
    height: 28px;
  }

  .share-group .share-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Permalink Button - Preserved styling */
.card .permalink-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.card:hover .permalink-btn {
  opacity: 1;
}

.card .permalink-btn:hover {
  border-color: var(--rule);
  background: white;
  color: var(--maroon);
}

.card .permalink-btn.copied {
  opacity: 1;
  background: rgba(77, 15, 15, 0.1);
  border-color: var(--maroon);
  color: var(--maroon);
}

.card .permalink-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 600px) {
  .card .permalink-btn {
    opacity: 1;
    width: 32px;
    height: 32px;
  }

  .card .permalink-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Signal Section (inline) */
.signal-inline {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.signal-inline h3 {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 14px;
  font-weight: 600;
}

.signal-inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.signal-inline-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.signal-inline-list a {
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.signal-inline-list a:hover {
  color: var(--color-accent);
}

.signal-inline-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.signal-inline-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.signal-inline-more:hover {
  color: var(--color-accent);
}

/* Story Clusters */
.story-cluster {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  scroll-margin-top: 80px;
}

.story-cluster:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-light);
}

.cluster-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.cluster-headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex: 1;
}

/* Permalink Button */
.permalink-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.story-cluster:hover .permalink-btn {
  opacity: 1;
}

.permalink-btn:hover {
  background: rgba(77, 15, 15, 0.1);
  color: var(--maroon);
}

.permalink-btn.copied {
  opacity: 1;
  background: rgba(77, 15, 15, 0.15);
  color: var(--maroon);
}

.permalink-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Vendor Tag */
.vendor-tag {
  display: inline-block;
  background: var(--color-vendor-bg);
  color: var(--color-vendor-text);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.vendor-tag-small {
  display: inline-block;
  background: var(--color-vendor-bg);
  color: var(--color-vendor-text);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 4px;
  margin-left: 4px;
}

/* Lead Article */
.lead-article {
  margin-bottom: 16px;
}

.lead-source {
  font-size: 0.8rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-name {
  color: var(--color-primary);
  font-weight: 600;
}

.source-vendor {
  background: var(--color-vendor-bg);
  color: var(--color-vendor-text);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

.source-newsletter {
  background: rgba(77, 15, 15, 0.1);
  color: var(--maroon);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

.lead-time {
  color: var(--color-text-muted);
}

.lead-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.lead-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.lead-title a:hover {
  color: var(--color-accent);
}

.lead-description {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Cluster Summary */
.cluster-summary {
  font-size: 0.95rem;
  color: var(--ink-2);
  padding: 14px 18px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Related Coverage */
.related-coverage {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.related-coverage h4 {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 10px;
  font-weight: 600;
}

.related-list {
  list-style: none;
}

.related-list li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.related-list li:last-child {
  border-bottom: none;
}

.related-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.related-list a:hover {
  color: var(--color-accent);
}

.related-source {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Bluesky Discussions */
.bluesky-discussions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.bluesky-discussions h4 {
  font-size: 0.75rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bluesky-icon {
  width: 14px;
  height: 14px;
  fill: var(--ink-3);
}

.discussions-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.discussions-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discussion-link {
  color: var(--maroon);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.discussion-link:hover {
  color: var(--maroon-deep);
  text-decoration: underline;
}

.discussion-author {
  font-weight: 600;
}

.discussion-name {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.discussion-engagement {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: 10px;
}

.discussion-engagement::before {
  content: "♥ ";
}

/* Tags */
.cluster-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.7rem;
  color: var(--maroon);
  background: rgba(77, 15, 15, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

/* Story Share Bar */
.story-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.share-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.share-btn:hover {
  transform: translateY(-1px);
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.share-linkedin:hover {
  background: #0077b5;
  color: white;
}

.share-x:hover {
  background: #000000;
  color: white;
}

.share-bluesky:hover {
  background: #0085ff;
  color: white;
}

.share-facebook:hover {
  background: #1877f2;
  color: white;
}

/* Sidebar */
.digest-sidebar {
  position: fixed;
  right: 20px;
  top: 130px;
  width: var(--sidebar-width);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
}

.digest-sidebar h3 {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 14px;
  font-weight: 600;
}

.story-nav ol {
  list-style: decimal;
  padding-left: 20px;
}

.story-nav li {
  font-size: 0.8rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--color-text-light);
}

.story-nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.story-nav a:hover {
  color: var(--color-accent);
}

/* Sidebar Sections */
.sidebar-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Signal Section */
.signal-section {
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
  margin-left: -14px;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signal-list li {
  margin-bottom: 12px;
  line-height: 1.4;
}

.signal-list li:last-child {
  margin-bottom: 0;
}

.signal-list a {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.signal-list a:hover {
  color: var(--color-accent);
}

.signal-date {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.sidebar-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.sidebar-more:hover {
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  padding: 32px 0;
  background: var(--ink);
  border-top: 3px solid var(--maroon);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-footer .footer-brand p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
}

.site-footer .footer-brand a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}

.site-footer .footer-brand a:hover {
  color: white;
}

.site-footer .footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.6);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 246, 238, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--cream);
}

/* ============================================
   ARCHIVE PAGE
   ============================================ */

.archive-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.archive-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.archive-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--maroon);
  margin: 0 0 8px;
}

.archive-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-item {
  border-bottom: 1px solid var(--rule);
}

.archive-item:first-child {
  border-top: 1px solid var(--rule);
}

.archive-link {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

.archive-link:hover {
  background: rgba(77, 15, 15, 0.03);
  margin: 0 -16px;
  padding: 20px 16px;
}

.archive-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archive-date__day {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--maroon);
}

.archive-date__vol {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.archive-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.archive-headline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.archive-summary {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.45;
}

.archive-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.archive-stories {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.archive-arrow {
  font-size: 18px;
  color: var(--maroon);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s ease;
}

.archive-link:hover .archive-arrow {
  opacity: 1;
  transform: translateX(0);
}

.archive-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
}

.archive-empty p {
  font-family: var(--font-ui);
  font-size: 15px;
  margin: 0;
}

@media (max-width: 768px) {
  .archive-link {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .archive-date {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .archive-meta {
    justify-content: space-between;
  }

  .archive-arrow {
    opacity: 1;
  }
}

/* ============================================
   SOURCES PAGE
   ============================================ */

.sources-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.sources-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.sources-header h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--maroon);
  margin: 0 0 12px;
}

.sources-subtitle {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

.sources-section {
  margin-bottom: 48px;
}

.sources-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
}

.sources-section__desc {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 20px;
}

.vendor-notice {
  font-style: italic;
}

.sources-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sources-grid--newsletters {
  grid-template-columns: repeat(3, 1fr);
}

.source-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.source-card:hover {
  border-color: var(--maroon);
  box-shadow: 0 2px 8px rgba(77, 15, 15, 0.08);
}

.source-card--vendor {
  background: #FFFBEB;
  border-color: #FDE68A;
}

.source-card--vendor:hover {
  border-color: #F59E0B;
}

.source-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.source-name {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}

.source-card:hover .source-name {
  color: var(--maroon);
}

.source-url {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.source-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 2px;
}

.sources-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.sources-footer p {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}

.sources-footer a {
  color: var(--maroon);
  text-decoration: none;
}

.sources-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sources-grid--newsletters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .sources-grid,
  .sources-grid--newsletters {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .digest-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px;
  }

  .header-lockup {
    gap: 12px;
  }

  .lockup-avatar {
    width: 46px;
    height: 46px;
  }

  .wordmark-edtech,
  .wordmark-dispatch {
    font-size: 26px;
  }

  .lockup-tagline {
    font-size: 12px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(250, 246, 238, 0.15);
  }

  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .header-content {
    padding: 10px 16px;
  }

  .header-lockup {
    gap: 10px;
  }

  .lockup-avatar {
    width: 40px;
    height: 40px;
  }

  .wordmark-edtech,
  .wordmark-dispatch {
    font-size: 22px;
  }

  .lockup-tagline {
    font-size: 11px;
    margin-top: 1px;
  }

  .subscribe-pill {
    padding: 6px 12px;
    font-size: 10px;
  }

  .back-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .cluster-header {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cluster-headline {
    font-size: 1.1rem;
  }

  .permalink-btn {
    opacity: 1;
  }

  .story-cluster {
    padding: 18px;
    border-radius: 6px;
  }

  .digest-header h1 {
    font-size: 1.5rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Mobile Typography - Increase sizes for readability */
  .t-feature {
    font-size: 24px;
  }

  .t-digest {
    font-size: 20px;
  }

  .t-deck {
    font-size: 18px;
  }

  .card__byline {
    font-size: 14px;
  }

  .card__byline .card__source-time {
    font-size: 12px;
  }

  .card__summary {
    font-size: 17px;
  }

  .card__tags .tag,
  .tag {
    font-size: 11px;
    padding: 4px 8px;
  }

  .card__tagline {
    font-size: 11px;
  }

  .index-headline {
    font-size: 16px;
  }

  .util-permalink {
    font-size: 11px;
  }

  .digest-label {
    font-size: 12px;
  }

  .index-num {
    font-size: 11px;
  }

  .discussions {
    font-size: 12px;
  }
}
