/* =====================================================================
   THE MEIWORD DISPATCH — SHARED NEWS STYLESHEET
   Loaded by: materials/news.html + materials/news-article.html
   ===================================================================== */

/* -----------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design tokens)
   ----------------------------------------------------------------------- */
:root {
  --news-ink: #0f172a;
  --news-paper: #fcfbf9;
  --news-crimson: #dc2626;
  --news-accent: #2563eb;
  --news-border: #e2e0d8;
  --news-card-border: #e9e7e0;
  --news-muted: #64748b;
}

body {
  background-color: var(--news-paper);
  color: var(--news-ink);
}

/* -----------------------------------------------------------------------
   LIVE BREAKING TICKER BAR  (news.html)
   ----------------------------------------------------------------------- */
.news-ticker-bar {
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--news-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ticker-tag .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: newsPulse 1.5s infinite;
}

@keyframes newsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.8); }
}

.ticker-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #cbd5e1;
  font-size: 0.82rem;
}
.ticker-text b { color: #fff; }

/* -----------------------------------------------------------------------
   NEWSPAPER MASTHEAD  (news.html)
   ----------------------------------------------------------------------- */
.news-masthead {
  padding: 28px 0 20px;
  text-align: center;
  border-bottom: 3px double var(--news-border);
  background: var(--news-paper);
}

.masthead-dateline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--news-muted);
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
  padding: 6px 4px;
  margin-bottom: 16px;
}

.masthead-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 4px 0 8px;
  color: #090d16;
  text-transform: uppercase;
}

.masthead-subtitle {
  font-size: 1rem;
  color: var(--news-muted);
  font-style: italic;
  margin: 0 0 16px;
  font-family: 'Newsreader', Georgia, serif;
}

/* -----------------------------------------------------------------------
   EDITORIAL CATEGORY FILTER NAV  (news.html)
   ----------------------------------------------------------------------- */
.editorial-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.cat-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--news-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.cat-btn:hover { color: var(--news-ink); background: rgba(0,0,0,0.04); }
.cat-btn.active { background: var(--news-ink); color: #fff; }

/* -----------------------------------------------------------------------
   MAIN CONTAINER
   ----------------------------------------------------------------------- */
.news-container {
  padding: 32px 0 60px;
}

/* -----------------------------------------------------------------------
   LEAD STORY HERO  (news.html)
   ----------------------------------------------------------------------- */
.lead-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  background: #ffffff;
  border: 1px solid var(--news-card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,0.04);
  margin-bottom: 48px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.lead-story:hover {
  box-shadow: 0 12px 36px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}

.lead-visual-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #0f172a;
}

.lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.lead-story:hover .lead-img { transform: scale(1.03); }

.lead-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--news-crimson);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.lead-photo-credit {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(15,23,42,0.7);
  color: #e2e8f0;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.lead-content {
  padding: 36px 36px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--news-crimson);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.lead-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.lead-dek {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 18px;
}

.lead-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--news-muted);
}

.vocab-tag {
  background: #f1f5f9;
  color: #334155;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Shared clickable headline style */
.headline-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.headline-link:hover { color: var(--news-crimson); }

/* Lead story CTA row */
.lead-action-row {
  border-top: 1px solid var(--news-border);
  padding-top: 18px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Level tag badges (catalog page) */
.levels-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--news-muted);
}

.level-tag {
  background: #f1f5f9;
  color: #0f172a;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid var(--news-border);
  letter-spacing: 0.04em;
}

.btn-read-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #ffffff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-read-lead:hover { background: #1e293b; transform: translateX(2px); }

/* -----------------------------------------------------------------------
   SECTION HEADER DIVIDER  (news.html)
   ----------------------------------------------------------------------- */
.section-headline-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--news-ink);
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.section-headline-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--news-ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-headline-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--news-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -----------------------------------------------------------------------
   EDITORIAL STORY CARDS GRID  (news.html)
   ----------------------------------------------------------------------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.story-card {
  background: #ffffff;
  border: 1px solid var(--news-card-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}

.card-photo-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1e293b;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.story-card:hover .card-photo { transform: scale(1.04); }

.card-edition-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15,23,42,0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--news-crimson);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: #0f172a;
}

.card-excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 16px;
  flex: 1;
}

.card-vocab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
}

.card-footer {
  border-top: 1px solid var(--news-border);
  padding-top: 14px;
  margin-top: auto;
}

.card-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--news-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.btn-card-read {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-card-read:hover { background: #1e293b; }

/* -----------------------------------------------------------------------
   LEVELED PEDAGOGY BOX  (news.html)
   ----------------------------------------------------------------------- */
.pedagogy-box {
  background: #ffffff;
  border: 1px solid var(--news-border);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 48px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.03);
}

.pedagogy-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}
.pedagogy-header h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0f172a;
}
.pedagogy-header p {
  font-size: 0.95rem;
  color: var(--news-muted);
  margin: 0;
}

.pedagogy-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pedagogy-card {
  background: #fafaf9;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pedagogy-card h4 { font-size: 0.95rem; font-weight: 800; margin: 0 0 6px; color: #0f172a; }
.pedagogy-card p  { font-size: 0.82rem; line-height: 1.5; color: #64748b; margin: 0; }

/* -----------------------------------------------------------------------
   ARCHIVE / ACCESS NOTICE BOX  (news.html)
   ----------------------------------------------------------------------- */
.archive-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.archive-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.archive-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   ARTICLE READER: TOP BAR  (news-article.html)
   ----------------------------------------------------------------------- */
.article-top-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--news-border);
  padding: 10px 0;
  font-size: 0.8rem;
}

.article-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--news-muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.top-back-link:hover { color: var(--news-crimson); }

.top-publication-name {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.top-dateline { color: var(--news-muted); font-weight: 600; }

/* -----------------------------------------------------------------------
   LEVEL SWITCHER PILL TOGGLE  (news-article.html)
   ----------------------------------------------------------------------- */
.level-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.level-toggle-btn {
  border: none;
  background: transparent;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.level-toggle-btn:hover { color: #0f172a; }
.level-toggle-btn.active {
  background: var(--news-ink);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15,23,42,0.15);
}
.level-toggle-btn .pill-badge {
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
}
.level-toggle-btn:not(.active) .pill-badge {
  background: #e2e8f0;
  color: #64748b;
}

/* -----------------------------------------------------------------------
   ARTICLE READER: MAIN CONTAINER & HEADER
   ----------------------------------------------------------------------- */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.article-header { margin-bottom: 28px; }

.article-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.kicker-tag {
  background: var(--news-crimson);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
}

.kicker-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--news-muted);
}

.article-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #090d16;
  margin: 0 0 16px;
}

.article-dek {
  font-size: 1.2rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 400;
  margin: 0 0 22px;
  border-left: 3px solid var(--news-crimson);
  padding-left: 16px;
  font-style: italic;
}

.byline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--news-border);
  border-bottom: 1px solid var(--news-border);
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--news-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.byline-author { font-weight: 700; color: var(--news-ink); }
.byline-tools { display: flex; align-items: center; gap: 12px; }

.font-size-btn {
  background: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: #475569;
}
.font-size-btn:hover { background: #f1f5f9; color: #0f172a; }

/* -----------------------------------------------------------------------
   AUDIO NARRATION BAR  (news-article.html)
   ----------------------------------------------------------------------- */
.article-audio-bar {
  background: #ffffff;
  border: 1px solid var(--news-card-border);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  flex-wrap: wrap;
}

.audio-info { display: flex; align-items: center; gap: 12px; }

.audio-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--news-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-title { font-weight: 700; font-size: 0.88rem; color: #0f172a; }
.audio-sub   { font-size: 0.75rem; color: var(--news-muted); }
.audio-controls { display: flex; align-items: center; gap: 8px; }

.btn-audio-play {
  background: var(--news-ink);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.btn-audio-play:hover { background: #1e293b; }

.audio-speed-select {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.75rem;
  padding: 5px 8px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

/* -----------------------------------------------------------------------
   FEATURED PHOTO  (news-article.html)
   ----------------------------------------------------------------------- */
.article-featured-image { margin-bottom: 32px; }

.featured-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(15,23,42,0.08);
}

.featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.featured-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--news-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-style: italic;
}
.featured-caption-credit {
  font-style: normal;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------
   ARTICLE BODY (Journalistic Typography)  (news-article.html)
   ----------------------------------------------------------------------- */
.article-body {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #1e293b;
  margin-bottom: 48px;
}
.article-body p { margin: 0 0 1.5em; }

.article-body p:first-of-type::first-letter {
  font-size: 3.4rem;
  line-height: 0.85;
  float: left;
  margin: 0.1em 0.15em 0 0;
  font-weight: 800;
  color: #0f172a;
  font-family: 'Newsreader', Georgia, serif;
}

.article-pullquote {
  margin: 2.2em 0;
  padding: 20px 28px;
  background: #ffffff;
  border-left: 4px solid var(--news-crimson);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #0f172a;
  box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.article-pullquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--news-muted);
  font-family: 'Inter', sans-serif;
}

/* -----------------------------------------------------------------------
   LEARNING SECTION WRAPPER  (news-article.html)
   ----------------------------------------------------------------------- */
.learning-section {
  background: #ffffff;
  border: 1px solid var(--news-card-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 4px 18px rgba(15,23,42,0.03);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--news-crimson);
  margin-bottom: 4px;
}

.section-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.section-subhead { font-size: 0.9rem; color: var(--news-muted); margin: 0 0 24px; }

/* -----------------------------------------------------------------------
   VOCABULARY CARDS  (news-article.html)
   ----------------------------------------------------------------------- */
.vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.vocab-card {
  background: #fafaf9;
  border: 1px solid #e9e7e0;
  border-radius: 12px;
  padding: 18px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vocab-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

.vocab-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.vocab-word      { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.vocab-meta-badge {
  font-size: 0.68rem; font-weight: 800; padding: 2px 8px;
  border-radius: 999px; background: #e0e7ff; color: #3730a3; text-transform: uppercase;
}
.vocab-type    { font-size: 0.75rem; color: var(--news-muted); font-style: italic; margin-bottom: 8px; }
.vocab-meaning { font-size: 0.92rem; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.vocab-example {
  font-size: 0.82rem; line-height: 1.45; color: #475569;
  background: #ffffff; border-left: 2px solid var(--news-accent);
  padding: 6px 10px; border-radius: 0 6px 6px 0; margin-bottom: 8px;
}
.vocab-colloc      { font-size: 0.75rem; color: #64748b; }
.vocab-colloc b    { color: #0f172a; }

/* -----------------------------------------------------------------------
   COMPREHENSIVE / OPEN-ENDED QUESTIONS  (news-article.html)
   ----------------------------------------------------------------------- */
.question-list { display: flex; flex-direction: column; gap: 24px; }

.question-card {
  background: #fafaf9;
  border: 1px solid #e9e7e0;
  border-radius: 14px;
  padding: 24px;
}

.question-header-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.q-number-badge {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--news-ink); color: #ffffff;
  font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.q-title-wrap { flex: 1; }
.q-type-label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--news-accent); margin-bottom: 4px;
}
.q-text { font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: #0f172a; margin: 0; }
.q-prompt-hint { font-size: 0.82rem; color: #64748b; margin: 8px 0 16px; line-height: 1.45; }

.q-textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #0f172a;
  background: #ffffff;
  resize: vertical;
  box-sizing: border-box;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.q-textarea:focus {
  outline: none;
  border-color: var(--news-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.q-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.saved-status-text {
  font-size: 0.75rem; color: #10b981; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  opacity: 0; transition: opacity 0.3s;
}
.saved-status-text.show { opacity: 1; }

.btn-reveal-model {
  background: none;
  border: 1px dashed #94a3b8;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-reveal-model:hover { border-color: var(--news-accent); color: var(--news-accent); background: #ffffff; }

.model-answer-box {
  margin-top: 14px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: none;
}
.model-answer-box.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.model-starters-label  { font-size: 0.75rem; font-weight: 800; color: #334155; text-transform: uppercase; margin-bottom: 4px; }
.model-starters-list   { font-size: 0.82rem; color: #475569; margin: 0 0 10px 18px; padding: 0; }
.model-sample-heading  { font-size: 0.75rem; font-weight: 800; color: var(--news-accent); text-transform: uppercase; margin-bottom: 4px; }
.model-sample-text     { font-size: 0.85rem; line-height: 1.5; color: #1e293b; margin: 0; font-style: italic; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------------------------------
   PRACTICE LIKE A NEWS ANCHOR  (news-article.html)
   ----------------------------------------------------------------------- */
.anchor-section {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 40px;
  box-shadow: 0 12px 32px rgba(15,23,42,0.18);
}

.anchor-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--news-crimson);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.anchor-live-tag .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffffff; animation: newsPulse 1.4s infinite;
}

.anchor-headline { font-family: 'Newsreader', Georgia, serif; font-size: 2rem; font-weight: 700; margin: 0 0 8px; color: #ffffff; }
.anchor-subhead  { font-size: 0.95rem; color: #94a3b8; margin: 0 0 28px; line-height: 1.5; }

/* Teleprompter box */
.teleprompter-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.teleprompter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #334155;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.teleprompter-script {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.7;
  color: #f1f5f9;
  margin: 0;
}
.teleprompter-script .pause-mark { color: #38bdf8; font-weight: 800; padding: 0 4px; user-select: none; }
.teleprompter-script strong      { color: #fef08a; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(254,240,138,0.4); }

/* Anchor coaching tips */
.anchor-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.tip-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px;
}
.tip-title { font-size: 0.78rem; font-weight: 800; color: #38bdf8; text-transform: uppercase; margin-bottom: 4px; }
.tip-desc  { font-size: 0.78rem; line-height: 1.4; color: #cbd5e1; margin: 0; }

/* Recording panel */
.anchor-action-bar {
  background: #1e293b;
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.anchor-audio-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn-anchor-tts {
  background: #334155;
  color: #ffffff;
  border: 1px solid #475569;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-anchor-tts:hover { background: #475569; }

.btn-record-mic {
  background: var(--news-crimson);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(220,38,38,0.4);
  transition: all 0.2s;
}
.btn-record-mic:hover     { background: #b91c1c; transform: translateY(-1px); }
.btn-record-mic.recording { background: #10b981; animation: recordGlow 1.5s infinite; }

@keyframes recordGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%       { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
}

.recording-timer { font-family: monospace; font-size: 1.1rem; font-weight: 700; color: #38bdf8; min-width: 48px; }

#playback-audio-container       { margin-top: 16px; width: 100%; display: none; }
#playback-audio-container audio { width: 100%; border-radius: 8px; }

/* -----------------------------------------------------------------------
   BOTTOM EDITION PAGER  (news-article.html)
   ----------------------------------------------------------------------- */
.article-footer-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid var(--news-border);
  flex-wrap: wrap;
}

.pager-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #0f172a;
  max-width: 48%;
  transition: transform 0.2s;
}
.pager-card:hover { transform: translateY(-2px); }
.pager-card:hover .pager-title { color: var(--news-crimson); }

.pager-label {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--news-muted); margin-bottom: 2px;
}
.pager-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: #0f172a;
}

/* -----------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   ----------------------------------------------------------------------- */
@media (max-width: 900px) {
  .lead-story               { grid-template-columns: 1fr; gap: 0; }
  .lead-visual-wrap         { min-height: 240px; }
  .lead-content             { padding: 24px; }
  .pedagogy-steps-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .article-wrap             { padding: 20px 16px 60px; }
  .article-headline         { font-size: 2rem; }
  .article-body             { font-size: 1.15rem; }
  .article-pullquote        { font-size: 1.15rem; padding: 16px 18px; }
  .anchor-tips-grid         { grid-template-columns: 1fr; }
  .pager-card               { max-width: 100%; }
}

@media (max-width: 600px) {
  .editorial-grid           { grid-template-columns: 1fr; }
  .pedagogy-steps-grid      { grid-template-columns: 1fr; }
  .archive-box              { flex-direction: column; align-items: flex-start; }
  .masthead-dateline        { flex-direction: column; gap: 4px; }
}
