/* 4sc-site article shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --dark: #080d1a; --dark2: #0f1628; --cyan: #22d3ee; --cyan-d: #0891b2;
  --orange: #f97316; --orange-d: #ea580c; --white: #f8fafc; --gray: #94a3b8;
  --radius: 12px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans TC', sans-serif; background: #fff; color: #1e293b; line-height: 1.85; }
a { text-decoration: none; color: inherit; }

/* ── Navbar ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,13,26,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between; height: 62px;
}
.nav-logo { font-size: 1rem; font-weight: 900; letter-spacing: 0.5px; color: var(--white); }
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: 7px 16px; border-radius: 999px; font-weight: 700 !important;
}

/* ── Article layout ── */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 100px 5% 60px; }

.article-header { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #e2e8f0; }
.article-hero { margin-bottom: 36px; border-radius: 12px; overflow: hidden; background: var(--dark2); }
.article-hero img { width: 100%; display: block; aspect-ratio: 1200/630; object-fit: cover; }

.article-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  color: var(--orange-d); background: rgba(249,115,22,0.08);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.article-header h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem); font-weight: 900;
  color: #0f172a; line-height: 1.3; margin-bottom: 18px; letter-spacing: -0.5px;
}
.article-meta { display: flex; align-items: center; gap: 16px; }
.article-author { font-size: 0.83rem; font-weight: 700; color: #475569; }
.article-date { font-size: 0.8rem; color: #94a3b8; }

/* ── Body ── */
.article-body { font-size: 1rem; color: #334155; }
.article-body p { margin-bottom: 20px; }
.article-body p.lead { font-size: 1.08rem; font-weight: 500; color: #1e293b; margin-bottom: 28px; }
.article-body h2 {
  font-size: 1.2rem; font-weight: 800; color: #0f172a;
  margin: 40px 0 16px; border-left: 3px solid var(--orange);
  padding-left: 14px;
}
.article-body h3 { font-size: 1.02rem; font-weight: 700; color: #1e293b; margin: 28px 0 12px; }
.article-body ul { padding-left: 0; margin-bottom: 20px; }
.article-body ul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.article-body ul li::before { content: '▸'; position: absolute; left: 0; color: var(--orange-d); font-weight: 700; font-size: 0.82rem; }
.article-body strong { color: #0f172a; font-weight: 700; }

/* ── Callout box ── */
.callout {
  background: #fafafa; border: 1px solid #e2e8f0; border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 28px 0;
}
.callout-label { font-size: 0.7rem; font-weight: 800; color: var(--orange-d); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.callout p { font-size: 0.88rem; color: #475569; margin: 0; line-height: 1.75; }

/* ── CTA ── */
.article-cta {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: var(--radius); padding: 28px 32px;
  margin-top: 48px; text-align: center;
}
.article-cta p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 14px; }
.article-cta a {
  display: inline-block; background: var(--orange); color: var(--white);
  padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
  transition: background 0.2s;
}
.article-cta a:hover { background: var(--orange-d); }

/* ── Footer ── */
.article-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 24px 5%; }
.article-footer .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.article-footer p { font-size: 0.76rem; color: rgba(255,255,255,0.3); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .article-wrap { padding: 88px 5% 48px; }
}
