/*
Theme Name: ExactXtract Blog
Theme URI: https://exactxtract.com
Author: Kim Harris
Author URI: https://exactxtract.com
Description: The official blog theme for ExactXtract™ — AI-powered surplus funds data extraction platform. Clean, professional light theme with navy and gold branding.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: exactxtract
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --navy:          #1B3A6B;
  --navy-dark:     #122850;
  --navy-deep:     #0D1E3D;
  --gold:          #C9A84C;
  --gold-light:    #E8C96A;
  --gold-dim:      #A8862E;
  --gold-pale:     #F5EDD5;
  --gold-wash:     #FBF7EE;
  --white:         #FFFFFF;
  --off-white:     #F8F9FB;
  --gray-50:       #F2F4F7;
  --gray-100:      #E8EBF0;
  --gray-200:      #D4D9E3;
  --gray-400:      #9BA8BC;
  --gray-600:      #5A6678;
  --gray-800:      #2C3547;
  --text:          #1C2330;
  --text-light:    #4A5568;
  --text-muted:    #8A96A8;
  --border:        #E0E6EF;
  --border-light:  #EDF0F5;
  --shadow-sm:     0 1px 4px rgba(27,58,107,0.07);
  --shadow-md:     0 4px 16px rgba(27,58,107,0.10);
  --shadow-lg:     0 8px 32px rgba(27,58,107,0.14);
  --shadow-gold:   0 0 24px rgba(201,168,76,0.18);
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'IBM Plex Sans', system-ui, sans-serif;
  --font-ui:       'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;
  --radius:        4px;
  --radius-lg:     8px;
  --transition:    all 0.22s ease;
  --max-width:     1100px;
  --max-width-post: 760px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--off-white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }

p { margin-bottom: 1.25rem; color: var(--text-light); }

strong { color: var(--text); font-weight: 600; }

blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--post {
  max-width: var(--max-width-post);
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep) !important;
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn--navy {
  background: var(--navy);
  color: var(--white) !important;
}
.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.btn--cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.8rem 2.2rem;
  font-size: 0.9rem;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn--cta:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* ============================================
   HEADER / SITE NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 66px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.site-logo__icon {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}

.site-logo__name span { color: var(--gold); }

.site-logo__tagline {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  color: rgba(201,168,76,0.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.site-nav a:hover { color: var(--gold); }

.site-nav .btn--gold {
  font-size: 0.78rem;
  padding: 0.4rem 1rem;
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION — HOME PAGE
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 1.5rem 5rem;
  margin-top: 66px;
  background: var(--navy-deep);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 30, 61, 0.78);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold-dim);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero__form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.25s;
}

.hero__form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.hero__form input {
  flex: 1;
  background: #ffffff;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text);
}

.hero__form input::placeholder { color: var(--text-muted); }

.hero__form button {
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}

.hero__form button:hover { background: var(--gold-light); }

.hero__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 3;
}

/* ============================================
   ARTICLE LISTING — INDEX PAGE
   ============================================ */
.articles-section {
  padding: 4rem 0 6rem;
  background: var(--off-white);
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.article-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.article-card:last-child  { border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.article-card:only-child  { border-radius: var(--radius-lg); border-bottom: 1px solid var(--border); }

.article-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.22s;
}

.article-card:hover {
  background: var(--gold-wash);
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.article-card:hover::before { opacity: 1; }

.article-card__thumb {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 148px;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card__thumb img { transform: scale(1.05); }

.article-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  max-height: 148px;
  width: 100%;
}

.article-card__body {
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.article-card__date {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.article-card:hover .article-card__title { color: var(--navy-dark); }

.article-card__excerpt {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius);
  margin-top: 0.2rem;
  align-self: flex-start;
  transition: var(--transition);
  text-decoration: none;
}

.article-card__link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold) !important;
}

.article-card__link svg { transition: transform 0.2s; }
.article-card:hover .article-card__link svg { transform: translateX(3px); }

/* ============================================
   CTA BANNER — SUBSCRIBE / FREE TRIAL
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  border-radius: var(--radius-lg);
}

.cta-banner__bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 30, 61, 0.78);
  border-radius: var(--radius-lg);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  z-index: 2;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
}

.cta-banner__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.cta-banner__subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-banner__form {
  display: flex;
  gap: 0;
  max-width: 420px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.cta-banner__form:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.cta-banner__form input {
  flex: 1;
  background: #ffffff;
  border: none;
  outline: none;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text);
}

.cta-banner__form input::placeholder { color: var(--text-muted); }

.cta-banner__form button {
  padding: 0.8rem 1.4rem;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}

.cta-banner__form button:hover { background: var(--gold-light); }

/* ============================================
   SINGLE POST
   ============================================ */
.post-wrap {
  padding-top: calc(66px + 3rem);
  padding-bottom: 6rem;
  background: var(--white);
}

.post-header {
  max-width: var(--max-width-post);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.post-breadcrumb a { color: var(--text-muted); }
.post-breadcrumb a:hover { color: var(--navy); }
.post-breadcrumb span { color: var(--text-muted); }

/* Category badge */
.post-category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-dim);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.post-category::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.post-meta__author {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.post-meta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  overflow: hidden;
  border: 2px solid var(--gold-pale);
  flex-shrink: 0;
}

.post-meta__avatar img { width: 100%; height: 100%; object-fit: cover; }

.post-meta__name {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
}

.post-meta__sep { color: var(--border); }

.post-meta__date,
.post-meta__read {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.post-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 0;
  font-style: italic;
}

.post-share {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.post-share a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.post-share a:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}

/* Featured Image */
.post-featured-image {
  max-width: var(--max-width-post);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

/* ── POST CONTENT ─────────────────────────────────────── */
.post-content {
  max-width: var(--max-width-post);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.82;
  color: var(--text-light);
}

.post-content p { margin-bottom: 1.5rem; color: var(--text-light); }
.post-content p:first-child { color: var(--text); font-size: 1.08rem; }

.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 2.8rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}

.post-content h4, .post-content h5, .post-content h6 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.post-content strong { color: var(--text); font-weight: 600; }

.post-content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  font-weight: 500;
}

.post-content a:hover { color: var(--gold-dim); }

.post-content ul,
.post-content ol {
  margin: 1rem 0 1.5rem;
  padding: 0;
  color: var(--text-light);
}

.post-content ul li {
  padding: 0.3rem 0 0.3rem 1.6rem;
  position: relative;
  line-height: 1.7;
}

.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.post-content ol {
  counter-reset: post-counter;
}

.post-content ol li {
  counter-increment: post-counter;
  padding: 0.4rem 0 0.4rem 2.6rem;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.7;
}

.post-content ol li:last-child { border-bottom: none; }

.post-content ol li::before {
  content: counter(post-counter);
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 24px; height: 24px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: var(--gold-wash);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-content img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 2rem auto;
  width: 100%;
}

/* Direct Answer Block */
.post-content .direct-answer,
.direct-answer {
  background: var(--gold-wash);
  border-left: 4px solid var(--gold);
  padding: 1.3rem 1.6rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 0 0 2rem;
  position: relative;
}

.post-content .direct-answer::before,
.direct-answer::before {
  content: 'DIRECT ANSWER';
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  margin-bottom: 0.4rem;
  font-family: var(--font-ui);
}

.post-content .direct-answer p,
.direct-answer p {
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.7;
  font-weight: 500;
  margin: 0;
}

/* Platform Stat Grid */
.post-content .stat-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}

.stat-number span { color: var(--gold); font-size: 1.1rem; }

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
  font-family: var(--font-ui);
}

/* Key Takeaways block */
.post-content .key-takeaways,
.key-takeaways {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  margin: 3rem 0;
}

.key-takeaways__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.key-takeaways__header::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.key-takeaways__label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-content .key-takeaways ol,
.key-takeaways ol {
  counter-reset: kt-counter;
  list-style: none;
  margin: 0; padding: 0;
}

.post-content .key-takeaways ol li,
.key-takeaways ol li {
  counter-increment: kt-counter;
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.94rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  position: static;
}

.post-content .key-takeaways ol li:last-child,
.key-takeaways ol li:last-child { border-bottom: none; }

.post-content .key-takeaways ol li::before,
.key-takeaways ol li::before {
  content: counter(kt-counter);
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(201,168,76,0.18);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin-top: 0.18rem;
  border-bottom: none !important;
}

.post-content .key-takeaways ol li strong,
.key-takeaways ol li strong { color: var(--white); }

.post-content .key-takeaways ol li a,
.key-takeaways ol li a { color: var(--gold); text-decoration: underline; }

/* Inline article CTA */
.post-content .article-cta,
.article-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.post-content .article-cta::before,
.article-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

.post-content .article-cta h3,
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.post-content .article-cta p,
.article-cta p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.post-content .article-cta .btn--cta { box-shadow: var(--shadow-gold); }

.cta-subtext {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  font-family: var(--font-ui);
  letter-spacing: 0.04em;
}

/* Author Bio */
.post-author-bio {
  display: flex;
  gap: 1.4rem;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin: 3rem 0;
  align-items: flex-start;
}

.post-author-bio__avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  border: 3px solid var(--gold-pale);
  overflow: hidden;
}

.post-author-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }

.post-author-bio__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.15rem;
  font-family: var(--font-ui);
}

.post-author-bio__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.post-author-bio__title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-family: var(--font-ui);
}

.post-author-bio p {
  font-size: 0.86rem !important;
  line-height: 1.65 !important;
  color: var(--text-light) !important;
  margin: 0 !important;
}

/* Post CTA */
.post-cta {
  max-width: var(--max-width-post);
  margin: 3rem auto 0;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ============================================
   RELATED POSTS
   ============================================ */
.related-posts {
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding: 3rem 1.5rem 0;
  border-top: 1px solid var(--border);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: block;
  text-decoration: none;
}

.related-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gold-wash);
}

.related-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.related-card:hover .related-card__thumb img { transform: scale(1.04); }

.related-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  aspect-ratio: 16/9;
}

.related-card__body { padding: 1.2rem; }

.related-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.related-card__date,
.related-card__read {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.related-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.related-card:hover .related-card__title { color: var(--navy-dark); }

.related-card__excerpt {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-light);
}

.related-card__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: var(--gold);
  font-weight: 700;
  overflow: hidden;
}

.related-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.related-card__author-name {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.view-more-link:hover { color: var(--navy); }

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.site-footer__bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 30, 61, 0.85);
}

.site-footer > .container { position: relative; z-index: 1; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-brand__icon {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(201,168,76,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 800;
}

.footer-brand__name span { color: var(--gold); }

.footer-brand__desc {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 260px;
  margin: 0;
}

.footer-col__title {
  font-family: var(--font-ui);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col__links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-col__links a:hover { color: var(--white); }

.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footer-socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.site-footer__bottom-links a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}

.site-footer__bottom-links a:hover { color: var(--gold); }

/* ============================================
   SUCCESS MESSAGE / FORM FEEDBACK
   ============================================ */
.form-success {
  display: none;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gold-light);
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  background: var(--white);
}

.pagination a:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-50);
}

.pagination .current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-header__inner { gap: 1rem; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(201,168,76,0.3);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }
  .site-nav.is-open a { padding: 0.6rem 0; }
  .nav-toggle { display: block; }
  .article-card { grid-template-columns: 110px 1fr; }
  .article-card__thumb { max-height: 110px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .related-posts__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .article-card { grid-template-columns: 1fr; }
  .article-card__thumb { max-height: 180px; aspect-ratio: 16/7; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-author-bio { flex-direction: column; }
  .hero__form {
    flex-direction: column;
    background: none;
    border: none;
    gap: 0.75rem;
  }
  .hero__form input {
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.95);
    padding: 0.85rem 1.25rem;
  }
  .hero__form button {
    border-radius: var(--radius);
    padding: 0.85rem;
    width: 100%;
  }
  .site-footer__grid { grid-template-columns: 1fr; }
}
