/* ═══════════════════════════════════════════════════════════
   MGK CRYPTO — Dark Editorial Theme
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:            #070d1b;
  --surface:       #0c1526;
  --card:          #111d35;
  --card-hover:    #162343;
  --border:        rgba(201,168,76,.10);
  --border-solid:  #1e2e4a;
  --gold:          #c9a84c;
  --gold-light:    #e4c97e;
  --gold-glow:     rgba(201,168,76,.18);
  --blue:          #3b82f6;
  --blue-dark:     #2563eb;
  --blue-glow:     rgba(59,130,246,.15);
  --text:          #e2e8f0;
  --muted:         #94a3b8;
  --dim:           #4e6580;
  --green:         #10b981;
  --amber:         #f59e0b;
  --red:           #ef4444;
  --white:         #ffffff;

  --font-display:  'Syne', sans-serif;
  --font-body:     'Source Serif 4', Georgia, serif;
  --font-ui:       'DM Sans', system-ui, sans-serif;

  --container:     1200px;
  --gap:           24px;
  --r:             12px;
  --r-sm:          8px;
  --r-lg:          20px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,.4);
  --shadow-md:     0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:     0 8px 48px rgba(0,0,0,.6);
  --shadow-gold:   0 0 32px rgba(201,168,76,.12);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a00;
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0a0a00;
  transform: translateY(-1px);
  box-shadow: 0 4px 28px rgba(201,168,76,.35);
}
.btn-outline {
  border: 1.5px solid var(--border-solid);
  color: var(--muted);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }

/* ─── Labels ─────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ─── Section Headers ────────────────────────────────────────── */
.section-header {
  margin-bottom: 40px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  font-size: .95rem;
}

/* ─── Cat Badge ──────────────────────────────────────────────── */
.cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7,13,27,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
.logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: .02em;
}
.logo-icon { color: var(--gold); font-size: 1.3em; }
.logo-name { color: var(--white); }

/* Nav */
.primary-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-list a:hover, .nav-list .current-menu-item > a {
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.nav-list .current-menu-item > a { color: var(--gold); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: color .2s, background .2s;
}
.search-toggle:hover { color: var(--white); background: rgba(255,255,255,.06); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: var(--r-sm);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all .25s;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle.is-active span { background: var(--white); }

/* Search bar */
.header-search {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  background: var(--surface);
}
.header-search .search-input-wrap { max-width: 600px; }

/* ════════════════════════════════════════════════════════════
   SEARCH FORM
   ════════════════════════════════════════════════════════════ */
.search-form { width: 100%; }
.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--border-solid);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.search-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.search-icon {
  flex-shrink: 0;
  margin: 0 14px;
  color: var(--dim);
}
.search-field {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 0;
  color: var(--text);
  font-size: .95rem;
  outline: none;
}
.search-field::placeholder { color: var(--dim); }
.search-submit {
  flex-shrink: 0;
  padding: 10px 20px;
  margin: 6px;
  background: var(--gold);
  color: #0a0a00;
  font-size: .85rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: background .2s;
}
.search-submit:hover { background: var(--gold-light); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201,168,76,.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(59,130,246,.08) 0%, transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(7,13,27,0) 0%, var(--bg) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-highlight {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,.35);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-search {
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   SECTION: FEATURED
   ════════════════════════════════════════════════════════════ */
.section-featured {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.featured-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,.25);
}
.featured-card--1 { border-top: 3px solid var(--gold); }
.featured-card--2 { border-top: 3px solid var(--blue); }
.featured-card--3 { border-top: 3px solid #8b5cf6; }

.featured-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
}
.featured-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.featured-card:hover .featured-card-img img { transform: scale(1.04); }

.featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--badge-color);
  color: #000;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 40px;
}
.featured-score {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--score-color);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--score-color);
}
.score-num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
.score-label { font-size: .7rem; opacity: .7; }
.score-big { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; line-height: 1; }

.featured-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.featured-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}
.featured-card-title a { color: var(--white); }
.featured-card-title a:hover { color: var(--gold); }
.featured-card-excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.featured-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ════════════════════════════════════════════════════════════
   SECTION: ALL REVIEWS
   ════════════════════════════════════════════════════════════ */
.section-reviews { padding: 80px 0; }
.reviews-grid { display: flex; flex-direction: column; gap: 2px; }
.review-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: border-color .2s, background .2s;
}
.review-row:hover {
  border-color: var(--border-solid);
  background: var(--card-hover);
}
.review-row + .review-row { margin-top: 8px; }
.review-row-thumb {
  flex-shrink: 0;
  width: 90px; height: 60px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
}
.review-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.review-row-body { flex: 1; min-width: 0; }
.review-row-title { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.review-row-title a { color: var(--white); }
.review-row-title a:hover { color: var(--gold); }
.review-row-excerpt { font-size: .83rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-row-score {
  flex-shrink: 0;
  text-align: center;
  color: var(--score-color);
  padding: 0 12px;
  border-left: 1px solid var(--border-solid);
  margin-left: 8px;
}
.review-row-score .score-big { display: block; }
.review-row-score .score-label { font-size: .65rem; color: var(--dim); }

/* ════════════════════════════════════════════════════════════
   SECTION: TRUST
   ════════════════════════════════════════════════════════════ */
.section-trust {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.trust-text .section-title { margin-bottom: 16px; }
.trust-body {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: .95rem;
}
.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color .2s;
}
.trust-card:hover { border-color: rgba(201,168,76,.3); }
.trust-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.trust-card h3 { font-size: .95rem; margin-bottom: 8px; }
.trust-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   SECTION: LATEST
   ════════════════════════════════════════════════════════════ */
.section-latest { padding: 80px 0; }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* ════════════════════════════════════════════════════════════
   POST CARDS
   ════════════════════════════════════════════════════════════ */
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-solid);
  box-shadow: var(--shadow-md);
}
.card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .card-thumb img { transform: scale(1.05); }
.card-score {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,.8);
  border: 1.5px solid var(--score-color);
  border-radius: var(--r-sm);
  color: var(--score-color);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 4px 9px;
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card-read-time {
  font-size: .72rem;
  color: var(--dim);
  font-weight: 500;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.card-title a { color: var(--white); }
.card-title a:hover { color: var(--gold); }
.card-excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.card-date { font-size: .75rem; color: var(--dim); }
.card-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
}
.card-link:hover { color: var(--gold-light); gap: 8px; }
.card-link svg { transition: transform .2s; }
.card-link:hover svg { transform: translateX(2px); }

/* ════════════════════════════════════════════════════════════
   ARCHIVE / POSTS GRID
   ════════════════════════════════════════════════════════════ */
.archive-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.archive-hero-inner { max-width: 640px; }
.archive-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 12px; }
.archive-title em { font-style: italic; color: var(--gold); }
.archive-desc { color: var(--muted); font-size: .95rem; }
.archive-content { padding-bottom: 80px; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 48px;
}

/* Pagination */
.mgk-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
}
.page-btn {
  padding: 10px 24px;
  background: var(--card);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-weight: 600;
  font-size: .88rem;
  transition: all .2s;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-info { color: var(--dim); font-size: .85rem; }

/* No results */
.no-results { text-align: center; padding: 80px 0; color: var(--muted); }
.no-results p { margin-bottom: 24px; }

/* ════════════════════════════════════════════════════════════
   SINGLE POST
   ════════════════════════════════════════════════════════════ */
.article-hero { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 16px;
  font-size: .78rem;
  color: var(--dim);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.bc-sep { color: var(--dim); }

/* Hero image */
.article-hero-img {
  position: relative;
  max-height: 440px;
  overflow: hidden;
  background: var(--surface);
}
.article-hero-img img { width: 100%; object-fit: cover; }
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}
.article-hero-score {
  position: absolute;
  bottom: 24px; right: 24px;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(12px);
  border: 2px solid var(--score-color);
  border-radius: var(--r);
  padding: 12px 20px;
  text-align: center;
  color: var(--score-color);
  box-shadow: 0 0 30px rgba(0,0,0,.5);
}
.article-hero-score .score-big { display: block; line-height: 1; }
.article-hero-score .score-label { font-size: .75rem; opacity: .7; }
.score-tag {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 4px;
}

/* Article header */
.article-header { padding: 32px 0 40px; }
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.article-date { font-size: .78rem; color: var(--dim); }
.article-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.article-intro {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 24px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.byline-avatar { border-radius: 50%; }
.byline-info { display: flex; flex-direction: column; gap: 2px; }
.byline-name { font-size: .88rem; font-weight: 600; color: var(--white); }
.byline-date { font-size: .78rem; color: var(--dim); }

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}

/* TOC Sidebar */
.article-sidebar { }
.sticky-toc {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-solid) transparent;
}
.toc-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
}
.toc-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.toc-list { display: flex; flex-direction: column; gap: 2px; }
.toc-item { padding: 0; }
.toc-level-3 { padding-left: 14px; }
.toc-link {
  display: block;
  padding: 6px 8px;
  font-size: .82rem;
  color: var(--muted);
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1.4;
}
.toc-link:hover, .toc-link.is-active {
  color: var(--white);
  border-left-color: var(--gold);
  background: var(--gold-glow);
}

/* Article Content */
.article-content { min-width: 0; }
.entry-content.prose { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.85; color: #cbd5e1; }

/* Prose styles */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin: 32px 0 14px;
}
.prose h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
}
.prose p { margin-bottom: 22px; }
.prose a { color: var(--blue); border-bottom: 1px solid transparent; }
.prose a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.prose ul, .prose ol { margin: 0 0 22px 0; padding-left: 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { color: var(--muted); }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  background: var(--surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
}
.prose th {
  background: var(--surface);
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border-solid);
}
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.prose tr:hover td { background: var(--surface); }
.prose img {
  border-radius: var(--r);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
}
.prose code {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: .85em;
  color: var(--gold-light);
}
.prose pre {
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: var(--r);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.prose pre code { background: none; border: none; padding: 0; }

/* Custom content classes from posts */
.prose .styled-container { }
.prose .img-container {
  margin: 24px 0;
  border-radius: var(--r);
  overflow: hidden;
}
.prose .img-container img { margin: 0; width: 100%; }
.prose .two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.prose .three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.prose .column-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.prose .column-card h4 {
  color: var(--white);
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}
.prose .custom-list {
  padding-left: 0;
  list-style: none;
}
.prose .custom-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--muted);
}
.prose .custom-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.prose .cta-block {
  background: linear-gradient(135deg, var(--card) 0%, rgba(201,168,76,.05) 100%);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}
.prose .cta-block-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
}
.prose .cta-block-text { color: var(--muted); margin-bottom: 20px; font-family: var(--font-ui); }
.prose .cta-btn,
.prose a.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold);
  color: #0a0a00;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .9rem;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.prose .cta-btn:hover, .prose a.cta-btn:hover {
  background: var(--gold-light);
  color: #0a0a00;
  transform: translateY(-2px);
  border-bottom: none;
}

/* Article tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.tag-pill {
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border-solid);
  border-radius: 40px;
  font-size: .78rem;
  color: var(--muted);
  transition: all .2s;
}
.tag-pill:hover { border-color: var(--gold); color: var(--gold); }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 48px;
}
.author-box-avatar { border-radius: 50%; flex-shrink: 0; }
.author-box-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.author-box-name { font-size: 1.1rem; margin-bottom: 10px; }
.author-box-bio { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* Related posts */
.related-posts { margin-top: 64px; }
.related-title { font-size: 1.4rem; margin-bottom: 24px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ════════════════════════════════════════════════════════════
   PAGE
   ════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.page-content {
  max-width: 800px;
  padding-bottom: 80px;
}
.page-content .prose { font-family: var(--font-body); }

/* ════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════ */
.error-404 { padding: 80px 0; }
.error-inner { text-align: center; max-width: 480px; margin: 0 auto; }
.error-code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--surface);
  text-shadow: 0 0 80px rgba(201,168,76,.2);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-title { font-size: 2rem; margin-bottom: 12px; }
.error-sub { color: var(--muted); margin-bottom: 32px; }
.error-inner .search-form { margin-bottom: 24px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 64px 24px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--card);
  border: 1px solid var(--border-solid);
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-disclaimer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.footer-disclaimer p {
  font-size: .78rem;
  color: var(--dim);
  line-height: 1.6;
}
.footer-disclaimer strong { color: var(--muted); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.footer-copy { font-size: .8rem; color: var(--dim); }
.footer-credit { font-size: .75rem; color: var(--dim); }

/* ════════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ════════════════════════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  z-index: 9999;
  transition: width .1s linear;
}

/* ════════════════════════════════════════════════════════════
   MOBILE NAV
   ════════════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 990;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .nav-list {
  flex-direction: column;
  gap: 0;
}
.mobile-nav .nav-list a {
  padding: 16px;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .featured-card--3 { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .latest-grid { grid-template-columns: 1fr 1fr; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid .featured-card--3 { display: flex; }
  .trust-cards { grid-template-columns: 1fr; }
  .latest-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .prose .two-columns,
  .prose .three-columns { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .review-row-score { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ─── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-solid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--dim); }

/* ─── WP Core ────────────────────────────────────────────────── */
.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--dim); text-align: center; margin-top: 8px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp .6s ease both; }
.hero-eyebrow  { animation-delay: .05s; }
.hero-title    { animation-delay: .15s; }
.hero-sub      { animation-delay: .25s; }
.hero-search   { animation-delay: .35s; }
.hero-trust    { animation-delay: .45s; }
