/* ============================================
   article.css — Article Detail Page Styles
   Matches Zhongshen light theme + dark nav.
   ============================================ */

/* ── ARTICLE HERO ── */
.article-hero {
  --hero-bg: #0d2f4e;
  background: var(--hero-bg);
  background-image:
    radial-gradient(ellipse 60% 70% at 78% 30%, rgba(37,99,235,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(249,115,22,0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(13,47,78,0.96) 0%, rgba(22,61,97,0.85) 100%);
  padding: 68px 5% 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.article-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }

.article-breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.article-breadcrumb a {
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.2s;
}
.article-breadcrumb a:hover { color: var(--brand-light); }
.article-breadcrumb .material-symbols-outlined {
  font-size: 0.95rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.article-hero h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(1.65rem, 3.6vw, 2.6rem);
  color: rgba(255,255,255,0.96); line-height: 1.16; margin-bottom: 18px;
  text-wrap: balance;
}

.article-hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  font-family: 'Sora', sans-serif; font-size: 0.8rem; color: rgba(255,255,255,0.6);
}
.article-hero-meta .meta-item {
  display: inline-flex; align-items: center; gap: 5px;
}
.article-hero-meta .material-symbols-outlined {
  font-size: 0.95rem;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
.article-cat-badge {
  display: inline-block;
  font-family: 'Sora', sans-serif; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
  padding: 4px 12px; border-radius: 4px;
}

/* ── ARTICLE MAIN ── */
.article-main {
  background: var(--bg-white);
  padding: 48px 5% 72px;
}
.article-inner {
  max-width: 760px; margin: 0 auto;
}

/* ── FEATURED IMAGE ── */
.article-image-wrap {
  margin-bottom: 36px;
  border-radius: 12px; overflow: hidden;
  background: var(--bg-tint);
  position: relative;
}
.article-image-wrap img {
  width: 100%; display: block;
  max-height: 420px; object-fit: cover;
}

/* ── ARTICLE BODY TYPOGRAPHY ── */
.article-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.02rem; line-height: 1.8;
  color: var(--text-body);
}
.article-body h2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.45rem; color: var(--text-primary);
  margin-top: 40px; margin-bottom: 16px;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--text-primary);
  margin-top: 32px; margin-bottom: 12px;
  line-height: 1.35;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body p:last-child { margin-bottom: 0; }
.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body li:last-child { margin-bottom: 0; }
.article-body strong {
  color: var(--text-primary); font-weight: 600;
}
.article-body a {
  color: var(--brand); text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.article-body a:hover { color: var(--brand-hover); }
.article-body blockquote {
  border-left: 4px solid var(--brand);
  background: var(--bg-soft);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ── ARTICLE DIVIDER ── */
.article-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 48px 0 40px;
}

/* ── CTA BOX (bottom of article) ── */
.article-cta-box {
  background: var(--bg-tint);
  border: 1px solid var(--brand-pale);
  border-radius: 12px;
  padding: 32px 36px;
  margin-top: 44px;
  text-align: center;
}
.article-cta-box h3 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: var(--text-primary);
  margin-bottom: 10px;
}
.article-cta-box p {
  color: var(--text-body); font-size: 0.95rem;
  margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto;
}
.article-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 30px; border-radius: 7px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.03em; text-decoration: none;
  box-shadow: 0 4px 14px rgba(249,115,22,0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.article-cta-btn:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}
.article-cta-btn .material-symbols-outlined { font-size: 1.1rem; }

/* ── BACK TO NEWS ── */
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--brand); text-decoration: none;
  margin-bottom: 48px;
  transition: gap 0.2s, color 0.2s;
}
.article-back .material-symbols-outlined {
  font-size: 1rem;
  transition: transform 0.2s;
}
.article-back:hover { color: var(--brand-hover); gap: 10px; }
.article-back:hover .material-symbols-outlined { transform: translateX(-3px); }

/* ── RELATED GUIDES ── */
.article-related {
  background: var(--bg-soft, #f8fafc);
  padding: 60px 5%;
}
.article-related h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin-bottom: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.related-card {
  background: var(--bg-white, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.related-card:hover {
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
  transform: translateY(-2px);
}
.related-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary, #0f172a);
  margin: 0 0 6px;
}
.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}
.related-card .related-meta {
  font-size: 0.78rem;
  color: var(--text-light, #94a3b8);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .article-hero { padding: 52px 5% 56px; }
  .article-main { padding: 36px 5% 56px; }
  .article-cta-box { padding: 24px 20px; }
  .article-body { font-size: 0.98rem; }
}
@media (max-width: 480px) {
  .article-hero { padding: 36px 5% 40px; }
  .article-inner { padding: 24px 5% 36px; }
}
