:root { --navy: #070d1c; --navy-2: #0b1429; --ink: #f7f0df; --muted: rgba(247, 240, 223, .72); --gold: #d4af5f; --gold-2: #f0d78a; --line: rgba(212, 175, 95, .22); }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 20% 0%, rgba(212,175,95,.16), transparent 34%), linear-gradient(135deg, var(--navy), var(--navy-2)); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: var(--gold-2); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.article-nav, .article-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.article-nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #1a1408; background: linear-gradient(135deg, var(--gold), var(--gold-2)); font-family: Georgia, serif; }
.top-link { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; transition: color .18s; }
.top-link:hover { color: var(--gold-2); }
.article-main { width: min(900px, calc(100% - 40px)); margin: 44px auto 90px; }
.blog-main { width: min(1120px, calc(100% - 40px)); margin: 44px auto 90px; }
.kicker { color: var(--gold-2); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 76px); line-height: .96; margin: 16px 0 18px; letter-spacing: -.055em; }
.lede { color: var(--muted); font-size: clamp(18px, 2vw, 22px); max-width: 760px; margin: 0 0 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: rgba(247,240,223,.58); font-size: 14px; margin: 24px 0 34px; }

/* article body */
.article-card, .article-body { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.article-body { border-radius: 30px; padding: clamp(26px, 5vw, 58px); }
.article-body h2, .article-body h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin-top: 1.7em; }
.article-body h2 { font-size: clamp(28px, 4vw, 42px); }
.article-body h3 { font-size: 24px; }
.article-body p, .article-body li { color: rgba(247,240,223,.82); font-size: 18px; }
.article-body strong { color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: var(--muted); font-size: 12px; text-decoration: none; transition: border-color .18s, color .18s; }
.tag:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* blog index hero strip */
.blog-hero { border-bottom: 1px solid var(--line); padding-bottom: 36px; margin-bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-hero-copy { flex: 1 1 360px; }
.blog-hero-copy h1 { margin-bottom: 10px; }
.blog-hero-copy .lede { margin: 0; }
.blog-write-cta { flex-shrink: 0; align-self: flex-end; padding-bottom: 4px; }
.blog-write-cta a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; color: var(--muted); font-size: 14px; text-decoration: none; transition: border-color .18s, color .18s; }
.blog-write-cta a:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-grid--related { margin-top: 0; }
.article-card {
  border-radius: 20px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.article-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  opacity: 0;
  transition: opacity .2s;
  flex-shrink: 0;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(212,175,95,.35); border-color: rgba(212,175,95,.35); }
.article-card:hover::before { opacity: 1; }
.article-card-inner { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.article-card .kicker { font-size: 11px; margin-bottom: 10px; }
.article-card h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.1; font-size: 20px; margin: 0 0 10px; letter-spacing: -.025em; color: var(--ink); flex: 1; }
.article-card p { color: var(--muted); margin: 0 0 16px; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .meta { margin: auto 0 0; font-size: 13px; color: rgba(247,240,223,.45); }

.article-footer { border-top: 1px solid var(--line); padding: 26px 0 42px; color: rgba(247,240,223,.58); font-size: 14px; }
.related-section { margin-top: 60px; }
.related-heading { font-family: Georgia, "Times New Roman", serif; font-size: 28px; margin: 0 0 24px; letter-spacing: -.03em; }

/* pagination */
.blog-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 56px 0 12px; }
.pag-pages { display: flex; align-items: center; gap: 4px; }
.pag-arrow { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--muted); text-decoration: none; transition: border-color .18s, color .18s, background .18s; background: rgba(255,255,255,.04); flex-shrink: 0; }
.pag-arrow:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(212,175,95,.08); }
.pag-arrow--disabled { opacity: .28; cursor: default; pointer-events: none; }
.pag-num { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--muted); text-decoration: none; font-size: 14px; transition: border-color .18s, color .18s, background .18s; background: rgba(255,255,255,.04); }
.pag-num:hover { border-color: var(--gold-2); color: var(--gold-2); background: rgba(212,175,95,.08); }
.pag-num--active { border-color: var(--gold); color: var(--gold-2); background: rgba(212,175,95,.12); cursor: default; font-weight: 600; }
.pag-ellipsis { width: 38px; height: 38px; display: grid; place-items: center; color: rgba(247,240,223,.3); font-size: 14px; letter-spacing: .05em; }

@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } .article-nav { align-items: flex-start; gap: 18px; } .blog-hero { flex-direction: column; align-items: flex-start; } }
