/*
 * Pearl News v5.2 — Layout System for WordPress
 * Theme: tagDiv Newspaper 12.7.3+ / Flavor
 * Designed to work INSIDE [tdb_single_content] (~700px content area).
 * All selectors scoped to .pearl-news-article — no global resets.
 * No !important — relies on specificity and td-composer-front dependency ordering.
 * Google Fonts loaded via wp_enqueue_style in PHP, not @import.
 * Version: 2.5.0
 */

/* ═══ VARIABLES ═══ */
.pearl-news-article {
  --un-blue: #009EDB;
  --un-blue-dark: #00629B;
  --un-blue-deep: #003F6B;
  --un-blue-light: #E8F4FD;
  --un-blue-ghost: #F4F9FD;
  --bg-primary: #FFFFFF;
  --bg-sidebar: #F7FAFC;
  --bg-authority: #00629B;
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #8896A6;
  --accent-gold: #C59A2B;
  --accent-gold-light: #FFF8E7;
  --accent-sage: #2D6A4F;
  --accent-sage-light: #EAF5EE;
  --border-light: #E2E8F0;
  --border-blue: rgba(0,158,219,0.2);
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  font-family: var(--font-serif);
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 100%;
}

/* ═══ AUTHORITY BLOCK ═══ */
.pearl-news-article .authority-block {
  background: var(--bg-authority);
  color: white;
  padding: 20px 24px;
  margin: 0 0 24px;
  border-radius: 8px;
}
.pearl-news-article .authority-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.pearl-news-article .authority-pillar {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 6px;
}
.pearl-news-article .authority-pillar .article-type { font-weight: 400; opacity: 0.7; }
.pearl-news-article .authority-sources {
  font-family: var(--font-sans);
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.6;
}
.pearl-news-article .authority-sources .label {
  opacity: 0.65; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 2px;
}
.pearl-news-article .authority-right {
  font-family: var(--font-sans); font-size: 11px; text-align: right; opacity: 0.75; line-height: 1.6;
}

/* ═══ HEADLINES ═══ */
.pearl-news-article .headline-layer-1 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.pearl-news-article .headline-layer-2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ═══ ARTICLE BODY — single column inside theme content area ═══ */
.pearl-news-article .article-body {
  max-width: 100%;
}
.pearl-news-article .article-body p {
  font-size: 17px; margin-bottom: 18px; color: var(--text-secondary);
}
.pearl-news-article .hook-1 { color: var(--text-primary); font-size: 19px; font-weight: 400; line-height: 1.6; }
.pearl-news-article .hook-2 { color: var(--text-secondary); }
.pearl-news-article .teacher-read { color: var(--un-blue-dark); font-weight: 500; }
.pearl-news-article .hint-italic { color: var(--text-muted); font-style: italic; font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.pearl-news-article .teacher-voice {
  border-left: 3px solid var(--un-blue); padding-left: 20px; margin: 24px 0;
  color: var(--text-secondary); font-style: italic;
}

/* Hero image */
.pearl-news-article .hero-image-wrapper { margin-bottom: 28px; }
.pearl-news-article .hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  max-height: 420px;
}
.pearl-news-article .hero-fallback {
  background: linear-gradient(135deg, var(--un-blue-deep), var(--un-blue-dark));
  color: white;
  padding: 48px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  text-align: center;
}
.pearl-news-article .hero-fallback span { font-size: 48px; font-weight: 300; font-family: var(--font-sans); opacity: 0.5; }
.pearl-news-article .hero-fallback small { font-size: 14px; font-family: var(--font-sans); opacity: 0.6; margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

/* Section headers */
.pearl-news-article .section-header {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--un-blue-dark);
  margin-top: 36px; margin-bottom: 14px; padding-bottom: 6px;
  border-bottom: 2px solid var(--border-blue);
}

/* ═══ COLORED BLOCKS — scoped with double class for specificity without !important ═══ */

/* Blue block (turnaround) */
.pearl-news-article .block-blue {
  background: var(--un-blue-light); border-left: 4px solid var(--un-blue);
  border-radius: 0 8px 8px 0; padding: 24px 28px; margin: 28px 0;
}
.pearl-news-article .block-blue .block-header {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--un-blue-dark); margin-bottom: 12px;
}
.pearl-news-article .article-body .block-blue p { font-size: 16px; color: var(--text-primary); margin-bottom: 10px; line-height: 1.6; }
.pearl-news-article .article-body .block-blue p:last-child { margin-bottom: 0; }

/* Gold block (teacher perspective) */
.pearl-news-article .block-gold {
  background: var(--accent-gold-light); border-left: 4px solid var(--accent-gold);
  border-radius: 0 8px 8px 0; padding: 24px 28px; margin: 28px 0;
}
.pearl-news-article .block-gold .block-header {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #8B6914; margin-bottom: 12px;
}
.pearl-news-article .article-body .block-gold p { font-size: 16px; color: #3D2E04; margin-bottom: 10px; line-height: 1.65; }
.pearl-news-article .article-body .block-gold p:last-child { margin-bottom: 0; }
.pearl-news-article .block-gold em { color: #6B4F12; }

/* Sage block (practice) */
.pearl-news-article .block-sage {
  background: var(--accent-sage-light); border-left: 4px solid var(--accent-sage);
  border-radius: 0 8px 8px 0; padding: 24px 28px; margin: 28px 0;
}
.pearl-news-article .block-sage .block-header {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-sage); margin-bottom: 12px;
}
.pearl-news-article .article-body .block-sage p { font-size: 16px; color: #1B4332; margin-bottom: 10px; line-height: 1.65; }
.pearl-news-article .article-body .block-sage p:last-child { margin-bottom: 0; }

/* Attribution */
.pearl-news-article .reporting-attribution {
  font-family: var(--font-sans); font-size: 12px; color: var(--text-muted);
  margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--border-light); line-height: 1.8;
}
.pearl-news-article .reporting-attribution .attr-label {
  color: var(--text-secondary); font-weight: 600; font-size: 10px;
  letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 6px;
}
.pearl-news-article .ai-disclosure { font-family: var(--font-sans); font-size: 11px; color: var(--text-muted); margin-top: 16px; }

/* ═══ INLINE INTERACTIVE CARDS ═══ */
.pearl-news-article .inline-card {
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

/* Exercise card */
.pearl-news-article .exercise-card { background: var(--un-blue-deep); color: white; border: none; }
.pearl-news-article .exercise-card h3 { color: rgba(255,255,255,0.7); font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; font-weight: 700; }
.pearl-news-article .article-body .exercise-card p { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.6; }
.pearl-news-article .exercise-display {
  text-align: center; padding: 32px 16px; background: rgba(255,255,255,0.08);
  border-radius: 12px; margin: 16px 0; min-height: 180px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.pearl-news-article .exercise-timer-num { font-size: 48px; font-weight: 300; font-family: var(--font-sans); color: white; margin-bottom: 4px; }
.pearl-news-article .exercise-phase { font-size: 13px; font-family: var(--font-sans); letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.pearl-news-article .exercise-instruction { font-size: 16px; font-family: var(--font-serif); color: rgba(255,255,255,0.95); max-width: 400px; line-height: 1.5; font-style: italic; }
.pearl-news-article .exercise-btn {
  display: block; width: 100%; padding: 14px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; color: white; font-family: var(--font-sans); font-size: 14px;
  font-weight: 500; letter-spacing: 0.5px; cursor: pointer; margin-top: 12px;
}
.pearl-news-article .exercise-btn:hover { background: rgba(255,255,255,0.25); }
.pearl-news-article .exercise-progress { display: flex; gap: 4px; margin-top: 16px; }
.pearl-news-article .exercise-progress .step-dot { flex: 1; height: 3px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.pearl-news-article .exercise-progress .step-dot.active { background: rgba(255,255,255,0.5); }
.pearl-news-article .exercise-progress .step-dot.done { background: var(--un-blue); }

/* CTA card */
.pearl-news-article .cta-card { background: linear-gradient(135deg, var(--un-blue-deep), var(--un-blue-dark)); color: white; border: none; }
.pearl-news-article .cta-card h3 { color: rgba(255,255,255,0.65); font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; font-weight: 700; }
.pearl-news-article .cta-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; line-height: 1.3; }
.pearl-news-article .article-body .cta-card .cta-body { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 16px; }
.pearl-news-article .cta-primary {
  display: block; width: 100%; padding: 14px; background: white; border: none;
  border-radius: 8px; color: var(--un-blue-deep); font-family: var(--font-sans);
  font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; margin-bottom: 8px;
}
.pearl-news-article .cta-primary:hover { background: var(--un-blue-light); }
.pearl-news-article .cta-secondary {
  display: block; width: 100%; padding: 12px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; color: white; font-family: var(--font-sans); font-size: 13px;
  font-weight: 500; cursor: pointer; text-align: center; text-decoration: none;
}
.pearl-news-article .cta-secondary:hover { background: rgba(255,255,255,0.22); }
.pearl-news-article .article-body .cta-card .cta-micro-action { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 12px; font-style: italic; }

/* Freebie email form inside CTA card */
.pearl-news-article .freebie-form { display: flex; gap: 8px; margin-bottom: 8px; }
.pearl-news-article .freebie-email {
  flex: 1; padding: 12px 14px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; color: white; font-family: var(--font-sans); font-size: 14px;
}
.pearl-news-article .freebie-email::placeholder { color: rgba(255,255,255,0.45); }
.pearl-news-article .freebie-email:focus { outline: none; border-color: white; background: rgba(255,255,255,0.18); }
.pearl-news-article .freebie-submit {
  padding: 12px 20px; background: #FFD93D; border: none; border-radius: 8px;
  color: #0A0F1C; font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
}
.pearl-news-article .freebie-submit:hover { background: #FFC107; }
.pearl-news-article .freebie-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.pearl-news-article .freebie-sent { text-align: center; }
.pearl-news-article .freebie-confirm { font-size: 14px; color: #FFD93D; font-weight: 600; margin-bottom: 12px; }
.pearl-news-article .freebie-error { font-size: 12px; color: #FCA5A5; margin-bottom: 8px; }
.pearl-news-article .cta-privacy { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* SDG badge card */
.pearl-news-article .sdg-card { background: var(--un-blue-ghost); border: 1px solid var(--border-blue); }
.pearl-news-article .sdg-card h3 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--un-blue-dark); margin-bottom: 10px; font-weight: 700; }
.pearl-news-article .article-body .sdg-card p { font-size: 13px; color: var(--text-secondary); }
.pearl-news-article .sdg-badge { display: inline-block; background: var(--un-blue); color: white; font-size: 11px; padding: 5px 12px; border-radius: 4px; font-family: var(--font-sans); font-weight: 600; }
.pearl-news-article .sdg-description { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-top: 10px; margin-bottom: 10px; }
.pearl-news-article .disclaimer { font-size: 11px; color: var(--text-muted); margin-top: 10px; font-style: italic; }

/* Poll card */
.pearl-news-article .poll-card { background: var(--bg-sidebar); border: 1px solid var(--border-light); }
.pearl-news-article .poll-card h3 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--un-blue-dark); margin-bottom: 14px; font-weight: 700; }
.pearl-news-article .poll-option {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: white; border: 1px solid var(--border-light);
  border-radius: 8px; margin-bottom: 8px; cursor: pointer; font-family: var(--font-sans); font-size: 13px; color: var(--text-secondary);
}
.pearl-news-article .poll-option:hover { border-color: var(--un-blue); color: var(--un-blue); }
.pearl-news-article .poll-option.poll-selected { border-color: var(--un-blue); background: var(--un-blue-light); color: var(--un-blue-dark); font-weight: 600; }
.pearl-news-article .poll-option.poll-voted { cursor: default; }
.pearl-news-article .poll-option.poll-voted:hover { border-color: var(--border-light); color: var(--text-secondary); }
.pearl-news-article .poll-option.poll-voted.poll-selected:hover { border-color: var(--un-blue); color: var(--un-blue-dark); }
.pearl-news-article .poll-bar { height: 4px; background: var(--un-blue); border-radius: 2px; margin-top: 6px; transition: width 0.4s ease; }
.pearl-news-article .poll-pct { font-family: var(--font-sans); font-size: 11px; color: var(--text-muted); }
.pearl-news-article .poll-results { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); margin-top: 12px; display: none; }
.pearl-news-article .poll-result-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pearl-news-article .poll-label { font-size: 12px; color: var(--text-secondary); min-width: 120px; flex-shrink: 0; }
.pearl-news-article .poll-bar-track { flex: 1; height: 6px; background: var(--border-light); border-radius: 3px; overflow: hidden; }
.pearl-news-article .poll-bar-track .poll-bar { height: 100%; background: var(--un-blue); border-radius: 3px; transition: width 0.6s ease; }
.pearl-news-article .poll-result-row .poll-pct { min-width: 36px; text-align: right; }
.pearl-news-article .poll-thanked { font-family: var(--font-sans); font-size: 13px; color: var(--un-blue-dark); font-weight: 500; margin-top: 8px; }
.pearl-news-article .poll-question { margin-bottom: 12px; font-family: var(--font-sans); font-size: 13px; }
.pearl-news-article .poll-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

/* Co-creation card */
.pearl-news-article .cocreation-card { background: var(--bg-sidebar); border: 1px solid var(--border-light); }
.pearl-news-article .cocreation-card h3 { font-family: var(--font-sans); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--un-blue-dark); margin-bottom: 14px; font-weight: 700; }
.pearl-news-article .cocreation-input {
  background: white; border: 1px solid var(--border-light); border-radius: 8px;
  padding: 14px; min-height: 70px; color: var(--text-muted); font-size: 14px;
  font-family: var(--font-sans); width: 100%; resize: vertical; box-sizing: border-box;
}
.pearl-news-article .cocreation-input:focus { border-color: var(--un-blue); outline: none; }
.pearl-news-article .cocreation-prompt { margin-bottom: 12px; font-size: 13px; }
.pearl-news-article .cocreation-submit {
  display: block; width: 100%; padding: 12px;
  background: var(--un-blue-deep); border: none; border-radius: 8px;
  color: white; font-family: var(--font-sans); font-size: 14px;
  font-weight: 600; cursor: pointer; margin-top: 10px; letter-spacing: 0.3px;
}
.pearl-news-article .cocreation-submit:hover { background: var(--un-blue-dark); }
.pearl-news-article .cocreation-submit:disabled { background: var(--text-muted); cursor: default; }
.pearl-news-article .cocreation-thanked { font-family: var(--font-sans); font-size: 13px; color: var(--un-blue-dark); font-weight: 500; margin-top: 8px; }
.pearl-news-article .cocreation-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

/* Advocacy / Take Action NOW card */
.pearl-news-article .advocacy-card {
  background: linear-gradient(135deg, #1a1a2e 0%, var(--un-blue-deep) 100%);
  color: white; border: none;
}
.pearl-news-article .advocacy-card h3 {
  font-family: var(--font-sans); font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #FFD93D;
  margin-bottom: 14px;
}
.pearl-news-article .advocacy-target {
  font-family: var(--font-sans); font-size: 15px; color: rgba(255,255,255,0.95);
  margin-bottom: 6px; line-height: 1.4;
}
.pearl-news-article .advocacy-target strong { color: white; font-weight: 700; }
.pearl-news-article .article-body .advocacy-card .advocacy-demand {
  font-family: var(--font-serif); font-size: 16px; font-style: italic;
  color: rgba(255,255,255,0.85); line-height: 1.5; margin-bottom: 16px;
  padding-left: 12px; border-left: 3px solid #FFD93D;
}
.pearl-news-article .advocacy-counter {
  font-family: var(--font-sans); font-size: 14px; color: #FFD93D;
  font-weight: 600; margin-bottom: 16px;
}
.pearl-news-article .advocacy-count { font-size: 18px; font-weight: 800; }
.pearl-news-article .advocacy-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pearl-news-article .advocacy-input {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; padding: 12px 14px; color: white;
  font-family: var(--font-sans); font-size: 14px; width: 100%; box-sizing: border-box;
}
.pearl-news-article .advocacy-input::placeholder { color: rgba(255,255,255,0.5); }
.pearl-news-article .advocacy-input:focus { border-color: #FFD93D; outline: none; background: rgba(255,255,255,0.18); }
.pearl-news-article .advocacy-submit {
  display: block; width: 100%; padding: 14px;
  background: #FFD93D; border: none; border-radius: 8px;
  color: #1a1a2e; font-family: var(--font-sans); font-size: 15px;
  font-weight: 700; cursor: pointer; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pearl-news-article .advocacy-submit:hover { background: #FFE566; }
.pearl-news-article .advocacy-submit:disabled { background: rgba(255,217,61,0.4); cursor: default; color: rgba(26,26,46,0.6); }
.pearl-news-article .advocacy-submit.advocacy-signed {
  background: var(--accent-sage); color: white; text-transform: none; font-size: 14px;
}
.pearl-news-article .advocacy-next-send {
  font-family: var(--font-sans); font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 8px; margin-bottom: 4px;
}
.pearl-news-article .advocacy-countdown { font-weight: 700; color: rgba(255,255,255,0.8); }
.pearl-news-article .advocacy-preview-link {
  font-family: var(--font-sans); font-size: 12px; color: #FFD93D;
  text-decoration: underline; display: inline-block; margin-bottom: 8px;
}
.pearl-news-article .advocacy-preview-link:hover { color: #FFE566; }
.pearl-news-article .advocacy-privacy {
  font-family: var(--font-sans); font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 4px;
}
.pearl-news-article .advocacy-error {
  font-family: var(--font-sans); font-size: 12px; color: #FF6B6B; margin-top: 6px; display: none;
}

/* ═══ TWO-UP CARD GRID (exercise + CTA side by side) ═══ */
.pearl-news-article .card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.pearl-news-article .card-row .inline-card { margin: 0; }

/* ═══ LAYOUT VARIANT: DOCK — section nav above content ═══ */
.pearl-news-article .dock-nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--un-blue-ghost);
  border: 1px solid var(--border-blue);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 24px;
}
.pearl-news-article .dock-nav-item {
  font-family: var(--font-sans); font-size: 11px; color: var(--text-muted);
  padding: 6px 10px; border-radius: 6px; cursor: pointer; text-decoration: none;
  display: inline-block; line-height: 1.3; white-space: nowrap;
}
.pearl-news-article .dock-nav-item:hover { color: var(--un-blue); background: white; }
.pearl-news-article .dock-nav-item.active { color: var(--un-blue); background: white; font-weight: 600; }

/* ═══ LAYOUT VARIANT: SCROLL STORY — bigger headlines ═══ */
.pearl-layout-scroll_story .pearl-news-article .headline-layer-1,
.pearl-news-article.pearl-variant-scroll .headline-layer-1 { font-size: 34px; line-height: 1.2; }
.pearl-layout-scroll_story .pearl-news-article .headline-layer-2,
.pearl-news-article.pearl-variant-scroll .headline-layer-2 { font-size: 21px; }

/* Full-bleed teacher perspective (scroll story variant) */
.pearl-news-article .block-gold-full {
  background: var(--accent-gold-light); margin: 32px -12px; padding: 28px 24px; border-radius: 12px;
}
.pearl-news-article .block-gold-full .block-header { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8B6914; margin-bottom: 12px; }
.pearl-news-article .article-body .block-gold-full p { font-size: 17px; color: #3D2E04; margin-bottom: 14px; line-height: 1.7; }

/* ═══ RESPONSIVE — Newspaper Mobile Theme safe ═══ */
@media (max-width: 767px) {
  .pearl-news-article .card-row { grid-template-columns: 1fr; }
  .pearl-news-article .authority-inner { flex-direction: column; }
  .pearl-news-article .authority-right { text-align: left; }
  .pearl-news-article .dock-nav-bar { gap: 2px; padding: 6px 8px; }
  .pearl-news-article .dock-nav-item { font-size: 10px; padding: 5px 8px; }
  .pearl-news-article .block-gold-full { margin: 24px -8px; padding: 20px 16px; }
}

/* Newspaper Mobile Theme (iOS / Android app views) */
body.td-md-is-iphone .pearl-news-article .card-row,
body.td-md-is-android .pearl-news-article .card-row {
  grid-template-columns: 1fr;
}
body.td-md-is-iphone .pearl-news-article .dock-nav-bar,
body.td-md-is-android .pearl-news-article .dock-nav-bar {
  flex-wrap: wrap; gap: 2px;
}
