:root {
  --navy: #0b1628;
  --gold: #e8a838;
  --gold-pale: #fef3dc;
  --paper: #ffffff;
  --page: #f7f5f0;
  --text: #334155;
  --muted: #64748b;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.9;
}

.site-nav {
  display: flex;
  gap: 24px;
  padding: 18px max(24px, calc((100% - 920px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.site-nav a,
.back-link a {
  color: var(--navy);
  text-decoration: none;
}

.site-nav a:hover,
.back-link a:hover { color: #a86d10; }

.article-main {
  width: min(860px, calc(100% - 32px));
  margin: 42px auto 64px;
}

.article-header,
.article-content,
.author-card {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
}

.article-header { padding: 38px 42px 30px; }

.article-cover {
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-eyebrow,
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.article-date,
.article-meta { color: var(--muted); font-size: 14px; }

.article-title {
  margin: 18px 0 16px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.article-content {
  margin-top: 20px;
  padding: 42px;
}

.article-content h2 {
  margin: 42px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
  font-size: 24px;
  line-height: 1.45;
}

.article-content h2:first-of-type { margin-top: 28px; }

.article-content h3 {
  margin: 30px 0 12px;
  color: var(--navy);
  font-size: 19px;
}

.article-content p { margin: 0 0 18px; }
.article-content ul,
.article-content ol { margin: 16px 0 22px; padding-left: 26px; }
.article-content li { margin: 8px 0; }
.article-content strong { color: var(--navy); }

.article-content blockquote {
  margin: 0 0 30px;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--gold-pale);
}

.article-content blockquote p { margin: 0; color: #475569; }

.author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 28px;
}

.author-avatar {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #f5c86a);
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.author-name { color: var(--navy); font-weight: 700; }
.author-desc { color: var(--muted); font-size: 14px; }
.back-link { margin: 24px 4px; }

.site-footer {
  padding: 28px 20px;
  background: var(--navy);
  color: #cbd5e1;
  text-align: center;
  font-size: 14px;
}

.site-footer p { margin: 4px 0; }

@media (max-width: 640px) {
  .site-nav { gap: 14px; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  .article-main { margin-top: 20px; }
  .article-header,
  .article-content { padding: 24px 20px; }
  .article-title { font-size: 27px; }
  .article-content h2 { font-size: 21px; }
  .article-meta .meta-dot { display: none; }
  .author-card { align-items: flex-start; padding: 20px; }
}
