/* ═══════════════════════════════════════════════════════════
   DataOps Weekly — main.css
   All real styling lives here; style.css has theme header only.
════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --navy:       #0B1636;
  --blue:       #2563EB;
  --blue-light: #EFF6FF;
  --blue-mid:   #DBEAFE;
  --cyan:       #06B6D4;
  --green:      #22C55E;
  --yellow:     #F59E0B;
  --red:        #EF4444;
  --slate:      #64748B;
  --slate-light:#94A3B8;
  --bg:         #F1F5F9;
  --border:     #E2E8F0;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(11,22,54,.06), 0 1px 2px rgba(11,22,54,.04);
  --shadow-md:  0 4px 16px rgba(11,22,54,.08), 0 2px 6px rgba(11,22,54,.05);
  --shadow-lg:  0 8px 32px rgba(11,22,54,.10), 0 4px 12px rgba(11,22,54,.06);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --max-w:      1120px;
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;
}

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

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

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: opacity .15s, transform .1s, background .15s, border-color .15s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { opacity: .9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); opacity: 1; }

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─── Category Badge ─────────────────────────────────────── */
.category-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: background .15s;
}
.category-badge:hover { background: var(--blue-mid); }

/* ─── Meta ───────────────────────────────────────────────── */
.meta-read-time,
.meta-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--slate);
}
.meta-sep {
  color: var(--slate-light);
  font-size: 13px;
  margin-inline: 4px;
}

/* ─── Read Article Link ──────────────────────────────────── */
.read-article-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: gap .15s;
}
.read-article-link:hover { gap: 8px; }

/* ═══════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.site-logo .logo-link,
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.site-logo .logo-img,
.site-logo .custom-logo {
  height: 40px;
  width: auto;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav .nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  position: relative;
}
.site-nav .nav-list li a:hover,
.site-nav .nav-list li.current-menu-item a {
  color: var(--navy);
}
.site-nav .nav-list li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Subscribe nav item as button */
.site-nav .nav-list li:last-child a {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}
.site-nav .nav-list li:last-child a:hover { background: #1d4ed8; }
.site-nav .nav-list li:last-child a::after { display: none !important; }

/* Search button */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--slate);
  transition: color .15s, background .15s;
  margin-left: 4px;
}
.nav-search-btn:hover { background: var(--bg); color: var(--navy); }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Header search bar */
.header-search-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.header-search-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 500px;
}
.header-search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--white);
  transition: border-color .15s;
}
.header-search-bar input:focus { border-color: var(--blue); }
.header-search-bar button {
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION (front-page)
════════════════════════════════════════════════════════════ */
.hero-section {
  padding: 80px 0 72px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-headline {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-subtext {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 0;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 1;
}

/* Spreadsheet card */
.hero-card-spreadsheet {
  top: 14%;
  left: 4%;
  width: 180px;
  padding: 14px;
}
.hc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.excel-icon {
  flex-shrink: 0;
}
.hc-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.hc-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
}
.hc-lines span:nth-child(1) { width: 100%; }
.hc-lines span:nth-child(2) { width: 80%; }
.hc-lines span:nth-child(3) { width: 60%; }
.hc-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}
.hc-bars .bar { flex: 1; border-radius: 3px 3px 0 0; }

/* AI Prompt card */
.hero-card-ai {
  bottom: 24%;
  left: 0%;
  width: 160px;
  padding: 12px 14px;
}
.ai-card-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-icon {
  width: 30px;
  height: 30px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-label {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--navy);
}
.ai-lines { display: flex; flex-direction: column; gap: 5px; }
.ai-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
}
.ai-line-long  { width: 100%; }
.ai-line-mid   { width: 75%; }
.ai-line-short { width: 50%; }

/* Checklist card */
.hero-card-checklist {
  top: 10%;
  right: 4%;
  width: 170px;
  padding: 14px;
}
.checklist-title {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: .03em;
}
.checklist-items { display: flex; flex-direction: column; gap: 7px; }
.checklist-items li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.check-done {
  background: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.check-line, .check-line-short, .check-line-mid {
  flex: 1;
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
}
.check-line-short { max-width: 55%; }
.check-line-mid   { max-width: 75%; }

/* Donut accent */
.hero-donut {
  position: absolute;
  bottom: 18%;
  right: 5%;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   LATEST ARTICLE SECTION
════════════════════════════════════════════════════════════ */
.latest-article-section {
  padding: 72px 0;
  background: var(--white);
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--slate);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.latest-article-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.lac-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.lac-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.lac-image:hover img { transform: scale(1.03); }

.lac-content {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lac-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}
.lac-title a:hover { color: var(--blue); }
.lac-excerpt {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.65;
}
.lac-meta {
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════════
   COVERS SECTION
════════════════════════════════════════════════════════════ */
.covers-section {
  padding: 72px 0;
  background: var(--bg);
}
.covers-heading {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}
.covers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cover-item {
  text-align: center;
  padding: 8px;
}
.cover-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cover-icon-green { background: #F0FDF4; }
.cover-icon-blue  { background: var(--blue-light); }
.cover-icon-cyan  { background: #ECFEFF; }
.cover-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}
.cover-item p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
════════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: 64px 0;
  background: var(--white);
}
.newsletter-card {
  background: var(--blue-light);
  border-radius: var(--radius-xl);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.newsletter-icon { flex-shrink: 0; }
.newsletter-text { flex: 1; }
.newsletter-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.newsletter-subtext {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
}
.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--white);
  transition: border-color .15s;
  min-width: 0;
}
.newsletter-input:focus { border-color: var(--blue); }
.newsletter-btn { white-space: nowrap; }
.newsletter-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--slate);
}
.newsletter-success {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.footer-logo-img { height: 36px; width: auto; margin-bottom: 12px; }
.footer-desc {
  font-size: 13px;
  color: var(--slate);
  max-width: 300px;
  line-height: 1.6;
}
.footer-nav-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.footer-nav-list li a {
  font-size: 13px;
  color: var(--slate);
  transition: color .15s;
}
.footer-nav-list li a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--slate-light);
}

/* ═══════════════════════════════════════════════════════════
   BLOG PAGE HERO
════════════════════════════════════════════════════════════ */
.blog-hero-section {
  padding: 64px 0 56px;
  background: var(--white);
  overflow: hidden;
}
.blog-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.blog-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
}
.blog-hero-desc {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.65;
  max-width: 440px;
}

/* Blog hero card */
.blog-hero-visual { flex-shrink: 0; }
.blog-hero-card {
  width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.bhc-top-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}
.bhc-top-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
}
.bhc-top-dots span:nth-child(1) { background: #EF4444; }
.bhc-top-dots span:nth-child(2) { background: #F59E0B; }
.bhc-top-dots span:nth-child(3) { background: #22C55E; }
.bhc-excel-icon { margin-bottom: 8px; }
.bhc-lines { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.bhc-line {
  display: block; height: 6px; border-radius: 3px; background: var(--bg);
}
.bhc-line-long  { width: 100%; }
.bhc-line-mid   { width: 70%; }
.bhc-line-short { width: 45%; }
.bhc-image-placeholder {
  width: 100%; height: 64px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.bhc-bot-icon { margin-bottom: 12px; }
.bhc-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 45px;
}
.bhc-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--blue);
  opacity: .7;
}
.bhc-bar:nth-child(2) { opacity: .85; background: var(--cyan); }
.bhc-bar:nth-child(4) { opacity: 1; }

/* ─── Blog Search ────────────────────────────────────────── */
.blog-search-section {
  padding: 0 0 32px;
}
.blog-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s;
}
.blog-search-form:focus-within { border-color: var(--blue); }
.blog-search-icon {
  display: flex;
  align-items: center;
  padding: 0 14px;
  flex-shrink: 0;
}
.blog-search-input {
  flex: 1;
  padding: 14px 16px 14px 0;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--navy);
  background: transparent;
}
.blog-search-input::placeholder { color: var(--slate-light); }

/* ─── Blog Posts ─────────────────────────────────────────── */
.blog-posts-section { padding: 8px 0 64px; }
.blog-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.all-posts-heading {
  font-size: 22px;
  font-weight: 700;
}
.posts-sort-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}

/* ─── Post Row ───────────────────────────────────────────── */
.post-rows-list { display: flex; flex-direction: column; gap: 0; }
.post-row-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.post-row-item:first-child { border-top: 1px solid var(--border); }
.post-row-image-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 3/2;
}
.post-row-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.post-row-image-link:hover .post-row-image { transform: scale(1.04); }
.post-row-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.post-row-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.post-row-title a:hover { color: var(--blue); }
.post-row-excerpt {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-row-meta { display: flex; align-items: center; }
.post-row-read-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: center;
  transition: gap .15s;
}
.post-row-read-link:hover { gap: 8px; }

/* Pagination */
.posts-pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 0;
}
.posts-pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--slate);
  transition: border-color .15s, color .15s, background .15s;
}
.posts-pagination .page-numbers:hover,
.nav-links .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.posts-pagination .page-numbers.current,
.nav-links .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════════════ */
.about-hero-section {
  padding: 64px 0 56px;
  overflow: hidden;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.about-hero-headline {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.about-hero-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
}

/* About dashboard card */
.about-dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 340px;
}
.adc-top-dots { display: flex; gap: 5px; margin-bottom: 16px; }
.adc-top-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.adc-top-dots span:nth-child(1) { background: #EF4444; }
.adc-top-dots span:nth-child(2) { background: #F59E0B; }
.adc-top-dots span:nth-child(3) { background: #22C55E; }
.adc-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.adc-report-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}
.adc-report-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.adc-checklist { display: flex; flex-direction: column; gap: 8px; }
.adc-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  font-family: var(--font-body);
}
.adc-check {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.adc-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 50px; margin-bottom: 12px;
}
.adc-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  background: var(--blue); opacity: .75;
}
.adc-bar:nth-child(2) { background: var(--cyan); opacity: .85; }
.adc-bar:nth-child(4) { opacity: 1; }
.adc-donut { position: absolute; bottom: 16px; right: 16px; }

/* About Three-column cards */
.about-cards-section { padding: 64px 0; background: var(--bg); }
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.about-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-card-icon-blue   { background: var(--blue-light); }
.about-card-icon-slate  { background: #F8FAFC; }
.about-card-icon-yellow { background: #FFFBEB; }
.about-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.about-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* Check lists in about */
.about-check-list { display: flex; flex-direction: column; gap: 10px; }
.about-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}
.check-green {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Two column about section */
.about-two-col-section { padding: 64px 0; background: var(--white); }
.about-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.about-not-card,
.about-author-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.about-not-list { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.about-not-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.5;
}
.x-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: #FEF2F2;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}
.about-not-closing {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* Author */
.author-profile { display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; }
.author-headshot {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.author-info p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 8px;
}

/* About start section */
.about-start-section { padding: 64px 0; background: var(--bg); }
.about-start-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-start-heading {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 8px;
}
.about-start-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.asc-image {
  overflow: hidden;
}
.asc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asc-content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.asc-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.asc-title a:hover { color: var(--blue); }
.asc-excerpt {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.asc-meta { display: flex; align-items: center; }

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
════════════════════════════════════════════════════════════ */
.single-main { padding: 56px 0 0; }
.single-container { max-width: 1160px; }
.single-meta-top { margin-bottom: 18px; }
.single-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.single-excerpt {
  font-size: 19px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 18px;
}
.single-meta-row {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.single-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Entry content */
.entry-content {
  font-size: 18px;
  line-height: 1.75;
  color: #1E293B;
}
.entry-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--navy);
}
.entry-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--navy);
}
.entry-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 10px;
}
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: #1d4ed8; }
.entry-content strong { font-weight: 600; }
.entry-content code {
  font-family: 'Courier New', monospace;
  font-size: .85em;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}
.entry-content pre {
  background: var(--navy);
  color: #E2E8F0;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
}
.entry-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.entry-content blockquote,
.entry-content .callout {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.entry-content .callout-takeaway {
  border-left-color: var(--green);
  background: #F0FDF4;
}
.entry-content .callout-warning {
  border-left-color: var(--yellow);
  background: #FFFBEB;
}
.entry-content .callout-note {
  border-left-color: var(--cyan);
  background: #ECFEFF;
}
.entry-content .prompt-box {
  background: var(--navy);
  color: #E2E8F0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.7;
}
.entry-content .checklist-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}
.entry-content table th,
.entry-content table td {
  text-align: left;
  padding: 10px 16px;
  border: 1px solid var(--border);
}
.entry-content table th {
  background: var(--bg);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.entry-content table tr:nth-child(even) { background: #FAFAFA; }
.entry-content img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
  margin: 8px 0;
}
.entry-content figure { margin: 0 0 24px; }
.entry-content figcaption {
  font-size: 13px;
  color: var(--slate);
  margin-top: 8px;
  text-align: center;
}

/* Post nav */
.post-navigation { padding: 48px 0 32px; border-top: 1px solid var(--border); margin-top: 48px; }
.post-nav-links { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.post-nav-prev, .post-nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 45%;
}
.post-nav-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.post-nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: color .15s;
  line-height: 1.35;
}
.post-nav-prev:hover .post-nav-title,
.post-nav-next:hover .post-nav-title { color: var(--blue); }
.post-nav-next { text-align: right; margin-left: auto; }

/* Related posts */
.related-posts-section { padding: 0 0 64px; }
.related-posts-heading { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.related-posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.related-post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rpc-image-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.rpc-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.rpc-image-link:hover img { transform: scale(1.04); }
.rpc-content { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rpc-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.rpc-title a:hover { color: var(--blue); }
.rpc-meta { display: flex; align-items: center; font-size: 12px; color: var(--slate); }

/* ═══════════════════════════════════════════════════════════
   PAGE / ARCHIVE / SEARCH
════════════════════════════════════════════════════════════ */
.page-main, .archive-main, .search-main, .index-main {
  padding: 56px 0 64px;
}
.page-container { max-width: 800px; }
.page-title, .archive-title, .search-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -.02em;
}
.archive-header { margin-bottom: 40px; }
.archive-desc { font-size: 16px; color: var(--slate); margin-top: 8px; }
.page-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}
.page-content { font-size: 17px; line-height: 1.75; }

.search-header { margin-bottom: 40px; }
.search-page-form { max-width: 600px; }
.search-no-results {
  text-align: center;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.search-no-results p { font-size: 16px; color: var(--slate); }

/* ═══════════════════════════════════════════════════════════
   404 PAGE
════════════════════════════════════════════════════════════ */
.error404-main { padding: 100px 0; }
.error404-container { max-width: 520px; }
.error404-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.error404-code {
  font-size: 120px;
  font-weight: 800;
  font-family: var(--font-head);
  color: var(--border);
  line-height: 1;
  letter-spacing: -.04em;
}
.error404-title { font-size: 28px; }
.error404-desc { font-size: 16px; color: var(--slate); }

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
════════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.empty-state-icon { opacity: .5; }
.empty-state-text { font-size: 16px; color: var(--slate); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner         { gap: 40px; }
  .hero-visual        { height: 340px; }
  .hero-bg-circle     { width: 280px; height: 280px; }
  .covers-grid        { gap: 24px; }
  .latest-article-card{ gap: 32px; }
  .lac-content        { padding: 32px 32px 32px 0; }
  .newsletter-card    { gap: 32px; padding: 40px; }
  .about-hero-inner   { gap: 40px; }
  .about-cards-grid   { gap: 16px; }
}

@media (max-width: 768px) {
  /* Header */
  .mobile-menu-btn { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 99;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  .site-nav .nav-list li { width: 100%; }
  .site-nav .nav-list li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .site-nav .nav-list li:last-child a {
    background: none;
    color: var(--navy) !important;
    border-radius: 0;
  }
  .site-nav .nav-list li.current-menu-item a::after { display: none; }
  .nav-search-btn { margin-left: 0; margin-top: 8px; }

  /* Hero */
  .hero-section { padding: 48px 0 40px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 280px;
    order: -1;
  }
  .hero-bg-circle { width: 220px; height: 220px; }
  .hero-card-spreadsheet { top: 5%; left: 0%; width: 140px; padding: 10px; }
  .hero-card-ai          { bottom: 10%; left: -2%; width: 130px; padding: 10px; }
  .hero-card-checklist   { top: 5%; right: 0%; width: 130px; padding: 10px; }

  /* Latest article */
  .latest-article-card {
    grid-template-columns: 1fr;
  }
  .lac-image { aspect-ratio: 16/9; }
  .lac-content { padding: 24px; }

  /* Covers */
  .covers-grid { grid-template-columns: 1fr; gap: 24px; }
  .cover-item { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .cover-icon { margin: 0; flex-shrink: 0; }

  /* Newsletter */
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
  .newsletter-form-row { flex-direction: column; }
  .newsletter-btn { width: 100%; justify-content: center; }

  /* Blog hero */
  .blog-hero-inner { grid-template-columns: 1fr; }
  .blog-hero-visual { display: none; }

  /* Post row */
  .post-row-item {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
  }
  .post-row-read-link {
    grid-column: 1 / -1;
    padding-left: 0;
  }

  /* About */
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-dashboard-card { display: none; }
  .about-cards-grid { grid-template-columns: 1fr; }
  .about-two-col-grid { grid-template-columns: 1fr; }
  .about-start-grid { grid-template-columns: 1fr; }
  .about-start-card { grid-template-columns: 1fr; }
  .asc-image { aspect-ratio: 16/9; }
  .asc-content { padding: 20px; }

  /* Single */
  .single-container { max-width: 100%; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .post-nav-prev, .post-nav-next { max-width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 26px; }
  .hero-buttons  { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .blog-hero-title { font-size: 36px; }
  .single-title { font-size: 24px; }
  .about-hero-headline { font-size: 22px; }
  .post-row-item { grid-template-columns: 1fr; }
  .post-row-image-link { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PRIVACY POLICY PAGE
════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────── */
.privacy-page { background: var(--white); }

.privacy-hero {
  padding: 64px 0 56px;
  background: var(--white);
  overflow: hidden;
}
.privacy-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.privacy-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.privacy-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--navy);
}
.privacy-intro {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 18px;
}
.privacy-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--slate);
  font-family: var(--font-body);
}

/* ─── Hero visual ────────────────────────────────────────── */
.privacy-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prv-bg-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
/* Dotted pattern accent */
.prv-bg-dots {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, #CBD5E1 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  border-radius: 50%;
  z-index: 0;
  opacity: .7;
}

/* Document card */
.prv-doc-card {
  position: absolute;
  top: 12%;
  right: 6%;
  width: 150px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.prv-doc-top-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.prv-doc-top-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
}
.prv-doc-top-dots span:nth-child(1) { background: #EF4444; }
.prv-doc-top-dots span:nth-child(2) { background: #F59E0B; }
.prv-doc-top-dots span:nth-child(3) { background: #22C55E; }
.prv-doc-lines { display: flex; flex-direction: column; gap: 6px; }
.prv-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
}
.prv-line-long  { width: 100%; }
.prv-line-mid   { width: 72%; }
.prv-line-short { width: 45%; }

/* Shield */
.prv-shield {
  position: absolute;
  bottom: 10%;
  left: 14%;
  z-index: 2;
}
.prv-check-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: var(--white);
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* ─── Preamble ───────────────────────────────────────────── */
.privacy-content-section { padding: 0 0 72px; }
.privacy-container { max-width: 860px; }
.privacy-preamble {
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy-preamble p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
}

/* ─── Policy Card ────────────────────────────────────────── */
.privacy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ─── Policy Item ────────────────────────────────────────── */
.policy-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 28px 36px 28px 28px;
  align-items: start;
  transition: background .15s;
}
.policy-item:hover { background: #FAFCFF; }

.policy-divider {
  height: 1px;
  background: var(--border);
  margin: 0 28px;
}

/* ─── Policy Icon ────────────────────────────────────────── */
.policy-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.policy-icon-blue   { background: #EFF6FF; }
.policy-icon-green  { background: #F0FDF4; }
.policy-icon-purple { background: #F5F3FF; }
.policy-icon-cyan   { background: #ECFEFF; }
.policy-icon-indigo { background: #EEF2FF; }
.policy-icon-slate  { background: #F8FAFC; }

/* ─── Policy Content ─────────────────────────────────────── */
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy-content h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.policy-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 4px 0 0;
}
.policy-content p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
  margin: 0;
}
.policy-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.policy-content ul li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
}

/* ─── Email link ─────────────────────────────────────────── */
.privacy-email-link {
  color: var(--blue);
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: var(--font-body);
  transition: color .15s;
}
.privacy-email-link:hover { color: #1d4ed8; }

/* ─── Legal Note Card ────────────────────────────────────── */
.policy-legal-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.policy-legal-icon { flex-shrink: 0; margin-top: 2px; }
.policy-legal-note p {
  font-size: 14px;
  color: #78350F;
  line-height: 1.7;
  margin: 0;
}

/* ─── Privacy page responsive ────────────────────────────── */
@media (max-width: 900px) {
  .privacy-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .privacy-visual { height: 240px; }
  .prv-bg-circle  { width: 220px; height: 220px; }
}

@media (max-width: 768px) {
  .privacy-hero        { padding: 48px 0 40px; }
  .privacy-title       { font-size: 36px; }
  .privacy-visual      { display: none; }
  .policy-item {
    grid-template-columns: 48px 1fr;
    padding: 22px 20px 22px 20px;
    gap: 12px;
  }
  .policy-divider      { margin: 0 20px; }
  .policy-legal-note   { padding: 20px; flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .privacy-title  { font-size: 28px; }
  .policy-item    { grid-template-columns: 1fr; }
  .policy-icon    { display: none; }
  .privacy-card   { border-radius: var(--radius-md); }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGES (shared + per-template overrides)
════════════════════════════════════════════════════════════ */

/* ─── Hero ───────────────────────────────────────────────── */
.contact-page { background: var(--white); }

.contact-hero {
  padding: 64px 0 56px;
  overflow: hidden;
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.contact-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: 4px;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.contact-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--navy);
}
.contact-intro {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}
.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
  font-family: var(--font-body);
}
/* Boxed variant (Contact 2) */
.contact-note-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}

/* ─── Hero illustration (shared) ────────────────────────── */
.contact-visual {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ctv-bg-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.ctv-bg-dots {
  position: absolute;
  top: 4px;
  right: 0;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(circle, #CBD5E1 1.2px, transparent 1.2px);
  background-size: 10px 10px;
  border-radius: 50%;
  z-index: 0;
  opacity: .65;
}

/* Browser card */
.ctv-browser-card {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 160px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.ctv-browser-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.ctv-browser-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
}
.ctv-browser-dots span:nth-child(1) { background: #EF4444; }
.ctv-browser-dots span:nth-child(2) { background: #F59E0B; }
.ctv-browser-dots span:nth-child(3) { background: #22C55E; }
.ctv-browser-lines { display: flex; flex-direction: column; gap: 6px; }
.ctv-browser-lines span {
  display: block; height: 7px; border-radius: 4px; background: var(--bg);
}
.ctv-browser-lines span:first-child { width: 100%; }
.ctv-browser-lines span:last-child  { width: 65%; }

/* Envelope */
.ctv-envelope {
  position: absolute;
  bottom: 14%;
  left: 10%;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(37,99,235,.25));
}

/* Chat bubble */
.ctv-chat-bubble {
  position: absolute;
  top: 8%;
  left: 20%;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(37,99,235,.2));
}

/* Paper plane */
.ctv-paper-plane {
  position: absolute;
  bottom: 12%;
  right: 6%;
  z-index: 3;
  filter: drop-shadow(0 3px 8px rgba(34,197,94,.25));
}

/* ─── Contact 1: main grid ───────────────────────────────── */
.contact-main-section { padding: 0 0 72px; }
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ─── Shared card ────────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ─── Form card ──────────────────────────────────────────── */
.contact-form-card { padding: 36px; }
.contact-form-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-form-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-form-sub {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

/* ─── Form fields ────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-body);
}
.req { color: #EF4444; margin-left: 2px; }
.contact-input,
.contact-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.contact-input::placeholder,
.contact-textarea::placeholder { color: var(--slate-light); }
.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.contact-textarea { min-height: 140px; }

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
  gap: 8px;
}
.contact-helper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}
.contact-helper svg { flex-shrink: 0; margin-top: 2px; }
.contact-email-inline { color: var(--blue); font-weight: 500; }
.contact-email-inline:hover { text-decoration: underline; }
.contact-error-msg {
  font-size: 13px;
  color: #EF4444;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* ─── Info cards (right column) ──────────────────────────── */
.contact-right-stack { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card   { padding: 28px; }
.contact-reach-card  { padding: 28px; }

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon-green { background: #F0FDF4; }
.contact-info-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

/* Info list */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-list li:last-child { border-bottom: none; }
.cil-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cil-icon-blue  { background: var(--blue-light); }
.cil-icon-slate { background: var(--bg); }
.cil-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cil-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: block;
  font-family: var(--font-body);
}
.cil-text span, .cil-text a {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.contact-email-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}
.contact-email-link:hover { color: #1d4ed8; text-decoration: underline; }

/* Reach list */
.contact-reach-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-reach-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}
.reach-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 5.5l2.5 2.5L9 3.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.contact-reach-list-lg li { font-size: 15px; }

/* ─── Contact 2: choice card ─────────────────────────────── */
.contact-choice-section { padding: 0 0 32px; }
.contact-choice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}
.contact-choice-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
}
.contact-choice-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.contact-choice-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  max-width: 80px;
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left email column */
.contact-email-col {
  border-right: 1px solid var(--border);
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-col-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.contact-col-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* Email display box */
.contact-email-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  position: relative;
}
.contact-email-address {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  font-family: var(--font-body);
  word-break: break-all;
}
.contact-copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: color .15s, border-color .15s, background .15s;
  cursor: pointer;
}
.contact-copy-button:hover,
.contact-copy-button.is-copied { color: var(--blue); border-color: var(--blue); }
.contact-copy-confirm {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-body);
}
.contact-open-email-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
}
.contact-email-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.contact-hint-icon { flex-shrink: 0; margin-top: 1px; }
.contact-email-hint p {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.55;
}

/* Right reach column */
.contact-reach-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-safe-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.contact-safe-icon { flex-shrink: 0; }
.contact-safe-note strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-body);
}
.contact-safe-note p {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

/* ─── Contact 2: remote-first card ──────────────────────── */
.contact-remote-section { padding: 0 0 72px; }
.contact-remote-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.contact-remote-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-remote-icon { flex-shrink: 0; }
.contact-remote-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.contact-remote-text p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* World map visual */
.contact-map-visual {
  position: relative;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--bg);
  overflow: hidden;
}
.cmap-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #CBD5E1 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .6;
}
.cmap-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.cmap-dot-lg { width: 14px; height: 14px; }
.cmap-dot-sm { width: 7px;  height: 7px;  background: var(--cyan); }
.cmap-pulse {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  transform: translate(-50%, -50%);
  animation: mapPulse 2.5s ease-out infinite;
  z-index: 0;
  opacity: .5;
}
@keyframes mapPulse {
  0%   { transform: translate(-50%,-50%) scale(.5); opacity: .6; }
  100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-hero-grid   { gap: 40px; }
  .contact-main-grid   { grid-template-columns: 1fr 320px; gap: 20px; }
  .contact-choice-card { padding: 32px; }
  .contact-email-col   { padding-right: 28px; }
}

@media (max-width: 900px) {
  .contact-hero-grid   { grid-template-columns: 1fr; gap: 36px; }
  .contact-visual      { height: 240px; }
  .ctv-bg-circle       { width: 220px; height: 220px; }
  .contact-main-grid   { grid-template-columns: 1fr; }
  .contact-choice-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-email-col   { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
  .contact-remote-card { grid-template-columns: 1fr; }
  .contact-map-visual  { height: 90px; }
}

@media (max-width: 768px) {
  .contact-hero        { padding: 48px 0 36px; }
  .contact-title       { font-size: 36px; }
  .contact-visual      { display: none; }
  .contact-form-card   { padding: 24px; }
  .contact-choice-card { padding: 24px 20px; }
  .contact-choice-heading h2 { font-size: 17px; white-space: normal; text-align: center; }
  .contact-remote-left { flex-direction: column; gap: 12px; }
  .contact-remote-card { padding: 24px; }
}

@media (max-width: 480px) {
  .contact-title { font-size: 28px; }
  .contact-choice-grid { gap: 24px; }
  .contact-submit-btn,
  .contact-open-email-btn { font-size: 15px; }
}

/* ════════════════════════════════════════════════════════════
   COMMENTS
════════════════════════════════════════════════════════════ */

/* ─── Section wrapper ────────────────────────────────────── */
.comments-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* Accessible visually-hidden labels (inputs use placeholder instead) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── "N Comments" heading ───────────────────────────────── */
.comments-heading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

/* ─── Comment form card ──────────────────────────────────── */
.comment-respond {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

/* "Leave a Comment" / "Reply to …" heading */
.comment-reply-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.comment-reply-title small     { font-size: 13px; font-weight: 400; }
.comment-reply-title small a   { color: var(--blue); }
.comment-reply-title small a:hover { text-decoration: underline; }

/* Privacy note inside form (cf-notes) */
.cf-notes {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
  grid-column: 1 / -1;
}
.cf-notes .required { color: var(--red); }

/* ── Form grid
   Textarea (cf-comment) visually first via order:-1.
   Name / Email / Website each take one column.
   Submit row spans all columns, right-aligned.         ──── */
.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 14px;
}

/* Textarea spans full width */
.cf-comment {
  grid-column: 1 / -1;
}

/* Submit row: full width, button pinned right */
.cf-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 4px;
}

/* Logged-in-as notice */
.logged-in-as {
  grid-column: 1 / -1;
  order: -1;                     /* after privacy note, before textarea */
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 16px;
}
.logged-in-as a       { color: var(--blue); }
.logged-in-as a:hover { text-decoration: underline; }

/* Field wrapper (each cf-field is a grid item) */
.cf-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* Inputs & textarea — shared */
.cf-field input,
.cf-field textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--slate-light);
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── Comment list ───────────────────────────────────────── */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

/* Divider between top-level comments */
.comment-list > .comment-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.comment-list > .comment-item:first-child { padding-top: 0; }
.comment-list > .comment-item:last-child  { border-bottom: none; }

/* Nested replies */
.comment-list .children {
  list-style: none;
  padding: 0 0 0 52px;      /* indent past the avatar */
  margin: 0;
}
.comment-list .children .comment-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}

/* ─── Individual comment ─────────────────────────────────── */
.comment-body {
  display: block;
}

.comment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

/* Initials circle avatar */
.comment-avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.comment-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.comment-author-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.comment-date {
  font-size: 13px;
  color: var(--slate);
  display: block;
}

/* Comment text sits below the header row */
.comment-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  margin-top: 10px;
  padding-left: 52px;   /* align with name (avatar 40px + gap 12px) */
}
.comment-text > p            { margin-bottom: 8px; }
.comment-text > p:last-child { margin-bottom: 0; }

/* Actions row: Reply + Edit */
.comment-actions {
  margin-top: 8px;
  padding-left: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Reply link — plain text, no pill */
.comment-actions .comment-reply-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: none;
  border: none;
  padding: 0;
}
.comment-actions .comment-reply-link:hover { text-decoration: underline; }

/* Admin edit link */
.comment-edit-link {
  font-size: 12px;
  color: var(--slate);
  text-decoration: underline;
}
.comment-edit-link:hover { color: var(--blue); }

/* Awaiting moderation notice */
.comment-moderation {
  font-size: 13px;
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin: 8px 0 8px 52px;
}

/* Pingback */
.comment-ping { font-size: 14px; color: var(--slate); padding: 12px 0; }
.ping-label   { font-weight: 600; }

/* Comments closed */
.comments-closed-note {
  font-size: 14px;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 24px;
}

/* Comment pagination */
.comments-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.comments-nav .page-numbers {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--navy);
  transition: background .15s, color .15s;
}
.comments-nav .page-numbers.current,
.comments-nav .page-numbers:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ─── Comments responsive ────────────────────────────────── */
@media (max-width: 640px) {
  /* Stack Name / Email / Website to single column */
  .comment-form         { grid-template-columns: 1fr; }
  .comment-respond      { padding: 20px; }
  /* Reduce reply indent on mobile */
  .comment-list .children { padding-left: 32px; }
  .comment-text,
  .comment-actions,
  .comment-moderation   { padding-left: 0; margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   ANCHOR SCROLL OFFSET
   scroll-margin-top only (no scroll-padding-top on html —
   the two properties are additive in browsers and would
   overshoot). Values are derived from the actual header
   height of 68px (.header-inner { height: 68px }).
════════════════════════════════════════════════════════════ */

/* 68px header + ~22px gap = 90px                             */
.single-post .entry-content [id],
.single-post article [id],
.single-post-page .entry-content [id],
.single-post-page article [id] {
  scroll-margin-top: 90px;
}

/* + 32px WordPress admin bar (desktop)  = 122px              */
body.admin-bar .single-post .entry-content [id],
body.admin-bar .single-post article [id],
body.admin-bar .single-post-page .entry-content [id],
body.admin-bar .single-post-page article [id] {
  scroll-margin-top: 122px;
}

/* + 46px WordPress admin bar (mobile ≤600px)  = 136px        */
@media screen and (max-width: 600px) {
  body.admin-bar .single-post .entry-content [id],
  body.admin-bar .single-post article [id],
  body.admin-bar .single-post-page .entry-content [id],
  body.admin-bar .single-post-page article [id] {
    scroll-margin-top: 136px;
  }
}

/* ════════════════════════════════════════════════════════════
   SINGLE POST — TWO-COLUMN LAYOUT
════════════════════════════════════════════════════════════ */

.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.single-article { min-width: 0; }
.single-sidebar  { position: static; top: auto; }

@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   SIDEBAR CARDS
════════════════════════════════════════════════════════════ */

.sidebar-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: var(--white);
}
.sidebar-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted, var(--slate));
  margin: 0 0 14px;
}

/* Search card */
.sidebar-search .search-form {
  display: flex;
  gap: 8px;
}
.sidebar-search .search-field {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
}
.sidebar-search .search-field:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.sidebar-search .search-submit {
  padding: 8px 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.sidebar-search .search-submit:hover { background: #1d4ed8; }

/* About card */
.sidebar-about-desc {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 12px;
}
.sidebar-about-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.sidebar-about-link:hover { text-decoration: underline; }

/* Taxonomy badge list (categories + tags) */
.sidebar-tax-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar-tax-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-tax-badge:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* Recent Posts card */
.sidebar-recent-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.sidebar-recent-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-recent-item:first-child { padding-top: 0; }
.sidebar-recent-item:last-child  { border-bottom: none; }
.sidebar-recent-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-recent-title:hover { color: var(--blue); }
.sidebar-recent-date {
  font-size: 12px;
  color: var(--slate);
}
.sidebar-see-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}
.sidebar-see-more:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
════════════════════════════════════════════════════════════ */

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}
.toc-list > li {
  margin-bottom: 2px;
}
.toc-h2-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.toc-h2-item > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.45;
  flex: 1;
}
.toc-h2-item > a:hover { color: var(--blue); }
.toc-h3-orphan > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  text-decoration: none;
  display: block;
  padding: 2px 0;
  line-height: 1.45;
}
.toc-h3-orphan > a:hover { color: var(--blue); }

/* Toggle button */
.toc-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 10px;
  color: var(--slate);
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s;
}
.toc-toggle-btn[aria-expanded="true"] {
  transform: rotate(180deg);
}

/* H3 group — hidden by default; shown when toggle is expanded */
.toc-h3-group {
  display: none;
  list-style: none;
  padding-left: 14px;
  border-left: 2px solid var(--border);
  margin: 4px 0 6px;
  width: 100%;
  flex-basis: 100%;
}
.toc-toggle-btn[aria-expanded="true"] ~ .toc-h3-group {
  display: block;
}
.toc-h3-item > a {
  font-size: 13px;
  color: var(--slate);
  text-decoration: none;
  display: block;
  padding: 3px 0;
  line-height: 1.4;
}
.toc-h3-item > a:hover { color: var(--blue); }

/* ════════════════════════════════════════════════════════════
   ARTICLE CTA CARD
════════════════════════════════════════════════════════════ */

.article-cta-card {
  background: var(--surface, #F8FAFC);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 48px 0 0;
}
.acta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}
.acta-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.acta-desc {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 20px;
}
.acta-btn { display: inline-block; }
.acta-note {
  font-size: 12px;
  color: var(--slate);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   COMMENTS — HEADING & SUBMIT BUTTON OVERRIDES
════════════════════════════════════════════════════════════ */

.comments-subtitle {
  font-size: 15px;
  color: var(--slate);
  margin: -16px 0 24px;
}

/* "Join the Discussion" button — dark navy */
.comment-cta-submit,
.comment-cta-submit:link,
.comment-cta-submit:visited {
  background: #0B1636 !important;
  color: #fff !important;
  border-color: #0B1636 !important;
}
.comment-cta-submit:hover,
.comment-cta-submit:focus {
  background: #162348 !important;
  border-color: #162348 !important;
}

/* ════════════════════════════════════════════════════════════
   V5 — SINGLE POST PAGE LAYOUT
════════════════════════════════════════════════════════════ */

.single-post-page { padding-top: 48px; padding-bottom: 64px; }

.single-post-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-post-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.single-post-main { min-width: 0; }

.single-sidebar {
  position: static;
  top: auto;
}

@media (max-width: 1024px) {
  .single-post-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Article header ─────────────────────────────────────── */
.single-meta-top { margin-bottom: 16px; }

.single-post-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--navy);
}

.single-post-excerpt {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 18px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Author initials circle */
.author-avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.meta-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* ─── Featured image ─────────────────────────────────────── */
.single-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}
.single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Article expand/collapse ────────────────────────────── */
.article-expand-toggle {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 20px;
  cursor: pointer;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  transition: opacity .15s;
}
.article-expand-toggle:hover { text-decoration: underline; opacity: .85; }

.article-collapsed-content[hidden] { display: none; }

/* ════════════════════════════════════════════════════════════
   V5 — SIDEBAR NEWSLETTER CARD
════════════════════════════════════════════════════════════ */

.sidebar-newsletter {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.snl-icon { margin-bottom: 14px; }

.snl-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.snl-subtext {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.5;
}

.snl-form { display: flex; flex-direction: column; gap: 0; }

.snl-input {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--white);
  transition: border-color .15s;
}
.snl-input:focus { border-color: var(--blue); }

.snl-btn {
  width: 100%;
  justify-content: center;
}

.snl-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--slate);
}

/* ════════════════════════════════════════════════════════════
   V5 — SIDEBAR SEARCH (custom markup)
════════════════════════════════════════════════════════════ */

.sidebar-search-form { width: 100%; }

.sidebar-search-row {
  display: flex;
  gap: 6px;
}

.sidebar-search-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: border-color .15s;
}
.sidebar-search-input:focus { border-color: var(--blue); }

.sidebar-search-btn {
  padding: 9px 13px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.sidebar-search-btn:hover { background: #1d4ed8; }

/* ════════════════════════════════════════════════════════════
   V5 — TOC DROPDOWN
════════════════════════════════════════════════════════════ */

.toc-dropdown { position: relative; }

.toc-dropdown-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: border-color .15s;
}
.toc-dropdown-toggle:hover { border-color: var(--blue); }

.toc-dropdown-label { flex: 1; text-align: left; }

.toc-chevron {
  transition: transform .2s;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: var(--slate);
}
.toc-dropdown-toggle[aria-expanded="true"] .toc-chevron {
  transform: rotate(180deg);
}

.toc-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.toc-dropdown-menu[hidden] { display: none; }

.toc-dropdown-menu li a {
  display: block;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  transition: background .12s, color .12s;
}
.toc-dropdown-menu li a:hover {
  background: var(--bg);
  color: var(--blue);
}

/* ════════════════════════════════════════════════════════════
   V5 — TAXONOMY LINKS
════════════════════════════════════════════════════════════ */

/* Category links — simple text style */
.sidebar-cat-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  transition: text-decoration .15s;
}
.sidebar-cat-link:hover { text-decoration: underline; }

/* Tag pills — rounded badge */
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.tag-pill:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ════════════════════════════════════════════════════════════
   V5 — COMMENTS COUNT HEADING
════════════════════════════════════════════════════════════ */

.comments-count-heading {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════
   V5 — COMPACT SIDEBAR (single post, non-sticky)
   Scoped to .single-post-page .single-sidebar so no other
   page is affected. Base .sidebar-card rules still apply;
   these override only spacing/size values.
════════════════════════════════════════════════════════════ */

.single-post-page .single-sidebar .sidebar-card {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 7px;
}

.single-post-page .single-sidebar .sidebar-card-title {
  font-size: 11px;
  margin-bottom: 10px;
}

/* ─── Newsletter card ────────────────────────────────────── */
.single-post-page .single-sidebar .snl-icon {
  margin-bottom: 10px;
}
.single-post-page .single-sidebar .snl-heading {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.single-post-page .single-sidebar .snl-subtext {
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.single-post-page .single-sidebar .snl-input {
  padding: 8px 12px;
  font-size: 13px;
  min-height: 38px;
  margin-bottom: 6px;
}
.single-post-page .single-sidebar .snl-btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
}
.single-post-page .single-sidebar .snl-note {
  margin-top: 7px;
  font-size: 11.5px;
}

/* ─── Search card ────────────────────────────────────────── */
.single-post-page .single-sidebar .sidebar-search-input {
  padding: 7px 10px;
  font-size: 13px;
}
.single-post-page .single-sidebar .sidebar-search-btn {
  padding: 7px 11px;
}

/* ─── TOC dropdown ───────────────────────────────────────── */
.single-post-page .single-sidebar .toc-dropdown-toggle {
  padding: 8px 12px;
  font-size: 13px;
}
.single-post-page .single-sidebar .toc-dropdown-menu li a {
  padding: 7px 14px;
  font-size: 13px;
}

/* ─── About card ─────────────────────────────────────────── */
.single-post-page .single-sidebar .sidebar-about-desc {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.single-post-page .single-sidebar .sidebar-about-link {
  font-size: 12px;
}

/* ─── Categories ─────────────────────────────────────────── */
.single-post-page .single-sidebar .sidebar-cat-link {
  font-size: 13px;
}

/* ─── Tag pills ──────────────────────────────────────────── */
.single-post-page .single-sidebar .tag-pill {
  padding: 3px 9px;
  font-size: 11.5px;
}

/* ─── Recent Posts ───────────────────────────────────────── */
.single-post-page .single-sidebar .sidebar-recent-item {
  padding: 7px 0;
}
.single-post-page .single-sidebar .sidebar-recent-title {
  font-size: 13px;
}
.single-post-page .single-sidebar .sidebar-recent-list {
  margin-bottom: 8px;
}
.single-post-page .single-sidebar .sidebar-see-more {
  font-size: 12px;
}
