/* ─── ARTICLE PAGE STYLES ───────────────────────────── */

.article-hero {
  height: 420px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}
.article-img-full {
  width: 100%;
  height: 100%;
}
.article-img-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--color-bg) 100%);
}

.article-wrap {
  padding-bottom: var(--space-24);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-6);
  padding-top: var(--space-8);
  flex-wrap: wrap;
}
.breadcrumb-link {
  color: var(--color-text-faint);
  transition: color var(--transition-interactive);
}
.breadcrumb-link:hover { color: var(--color-text-muted); }
.breadcrumb-current { color: var(--color-text-muted); }

.article-header {
  margin-bottom: var(--space-8);
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.article-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.article-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.article-author-name {
  font-size: var(--text-sm);
  font-weight: 700;
}
.article-author-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.article-byline-right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.article-date, .article-read-time { color: var(--color-text-faint); }

.article-lead-img {
  margin-block: var(--space-8);
}
.article-img-caption {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-3);
  font-style: italic;
}

/* Article typography */
.article-body {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--color-text);
}

.article-lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.article-body p {
  margin-bottom: var(--space-6);
  color: var(--color-text-muted);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.article-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}
.article-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
  position: relative;
  border-bottom: 1px solid var(--color-border);
}
.article-list li:last-child { border-bottom: none; }
.article-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.article-pullquote {
  margin-block: var(--space-10);
  padding: var(--space-6) var(--space-8);
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.article-pullquote blockquote {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.article-pullquote cite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
}

.article-cta-box {
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: linear-gradient(135deg, rgba(232,66,58,0.06) 0%, rgba(255,140,66,0.06) 100%);
  border: 1px solid rgba(232,66,58,0.2);
  border-radius: var(--radius-xl);
  text-align: center;
}
.article-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-3);
}
.article-cta-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

/* Share bar */
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.article-share-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.article-share-btns {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Related section */
.related-section {
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-16);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .article-hero { height: 260px; }
  .article-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .article-byline { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .article-pullquote { padding: var(--space-5); }
}

/* ─── OPTION B: LIGHT ZONE OVERRIDES ─────────────────── */
.article-hero.zone-dark { background: #0d0d0d; }
.article-hero.zone-dark .article-header-title { color: #f2f2f2; }
.article-hero.zone-dark .article-meta,
.article-hero.zone-dark .article-byline { color: #aaa; }
.article-hero.zone-dark .cat-chip { color: var(--color-accent-2); }

.article-body { background: #fff; color: #1a1a1a; }
.article-body p { color: #333; }
.article-body h2, .article-body h3 { color: #1a1a1a; }

.related-section.zone-light .section-title { color: #1a1a1a; }
.related-section.zone-light .article-card {
  background: #fff;
  border-color: #e4e0db;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.related-section.zone-light .article-title { color: #1a1a1a; }
.related-section.zone-light .article-excerpt { color: #555; }
