/* ============================================================
   Cyril Ovely — Blog & CPG Glossary component styles
   Scoped under .singlePage (the blog content wrapper) so it
   never collides with the global theme. On-brand with the
   Vxceed design tokens (theme.min.css): --bg-primary #bc16fe,
   --bg-tertiary #7e0ed5, --bg-secondary #3604a5.
   ============================================================ */

.singlePage {
  /* local design tokens (fall back to theme vars where present) */
  --cov-primary: #bc16fe;
  --cov-mid: #7e0ed5;
  --cov-deep: #3604a5;
  --cov-grad: linear-gradient(90deg, #9611e5 0%, #6d28d9 55%, #3604a5 100%);
  --cov-grad-135: linear-gradient(135deg, #9611e5 0%, #7e0ed5 55%, #3604a5 100%);
  --cov-ink: #1a1a1a;
  --cov-body: #343333;
  --cov-muted: #6b6b76;
  --cov-surface: #ffffff;
  --cov-tint: #f9f5fb;
  --cov-tint-2: #f3edfb;
  --cov-border: #eae7f1;
  --cov-radius: 16px;
  --cov-radius-sm: 10px;
  --cov-shadow: 0 1px 2px rgba(26, 16, 40, 0.04), 0 8px 24px rgba(88, 28, 135, 0.06);
  --cov-shadow-hover: 0 2px 4px rgba(26, 16, 40, 0.06), 0 16px 40px rgba(88, 28, 135, 0.12);
}

/* ---------- Neutralize the theme's blanket spacing rule ----------
   theme.min.css sets `.singlePage div { margin-bottom: 4rem }` to space out
   article body blocks. Our components manage their own spacing via flex/grid
   gaps and explicit margins, so zero it for divs inside our component roots
   (the roots keep their own declared margins). */
.singlePage .stats div,
.singlePage .audience-grid div,
.singlePage .audience-card div,
.singlePage .cov-panel div,
.singlePage .cov-pillars div,
.singlePage .cov-cta div,
.singlePage .cov-related div,
.singlePage .cov-author div,
.singlePage .cov-byline div,
.singlePage .cov-timeline div,
.singlePage .cov-impact div,
.singlePage .tech-bridge div,
.singlePage .explore-more div,
.singlePage .table-wrapper div,
.singlePage .faq-list div,
.singlePage .cov-az-section div {
  margin-bottom: 0;
}

/* ---------- Missing grid utilities ----------
   The site's pre-compiled Tailwind only includes lg:col-span-1..8. The blog
   layout (col-1 date rail + wide content) needs 9..11, so define them here to
   match Tailwind's lg breakpoint (1024px). */
@media (min-width: 1024px) {
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:col-span-11 { grid-column: span 11 / span 11; }
}

/* ---------- Hero image (keep it a tasteful banner, not a giant block) ---------- */
.singlePage .ftgp-main-img img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .singlePage .ftgp-main-img img { max-height: 240px; }
}
/* Pillar/series masthead: breathing room from the title above and the lead below */
.singlePage .cov-series-hero {
  margin-top: 20px;
  margin-bottom: 34px;
}
.singlePage .cov-series-hero img { max-height: 340px; }
@media (max-width: 767px) {
  .singlePage .cov-series-hero img { max-height: 200px; }
}
/* Photo masthead for long-form articles: show the full photo (no cover-crop) and
   cap its width so a modest-resolution source stays sharp instead of being
   upscaled full-bleed. */
.singlePage .cov-photo-hero {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.singlePage .cov-photo-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Breadcrumb ---------- */
.singlePage nav.breadcrumb {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--cov-muted);
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
}
.singlePage nav.breadcrumb a {
  color: var(--cov-mid);
  text-decoration: none;
  font-weight: 500;
}
.singlePage nav.breadcrumb a:hover {
  color: var(--cov-primary);
  text-decoration: underline;
}

/* ---------- Series label + post date ---------- */
.singlePage .series-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cov-primary);
  background: var(--cov-tint-2);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.singlePage .post-date {
  font-size: 0.8125rem;
  color: var(--cov-muted);
  margin: 0 0 10px;
}

/* ---------- Elevator definition / lead blockquote ---------- */
.singlePage blockquote.elevator-def,
.singlePage .elevator-def {
  border: 0;
  border-left: 4px solid var(--cov-primary);
  background: var(--cov-tint);
  margin: 22px 0 32px;
  padding: 18px 22px;
  border-radius: 0 var(--cov-radius-sm) var(--cov-radius-sm) 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--cov-body);
  font-style: normal;
}

/* ---------- Stat row ---------- */
.singlePage .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 40px;
}
.singlePage .stat-box {
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--cov-shadow);
}
.singlePage .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--cov-grad-135);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cov-primary); /* fallback */
}
.singlePage .stat-label {
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cov-muted);
  line-height: 1.35;
}

/* ---------- Audience grid ("Who this is for") ---------- */
.singlePage .audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 18px 0 40px;
}
.singlePage .audience-card {
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 26px 24px;
  box-shadow: var(--cov-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.singlePage .audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cov-shadow-hover);
}
/* Circular icon badge — white circle + purple FontAwesome line icon,
   matching the team-vxceed blog icon treatment. Use <i class="fa-solid fa-*">
   inside .audience-icon / .cov-icon (no emoji, no flag icons). */
.singlePage .audience-icon,
.singlePage .cov-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cov-border);
  box-shadow: var(--cov-shadow);
  color: var(--cov-primary);
  margin-bottom: 16px;
}
.singlePage .audience-icon i,
.singlePage .cov-icon i { color: var(--cov-primary); }
/* h3 appended (2026-09-12): audience-card titles promoted h5 -> h3 to remove
   an h2 -> h5 skip. line-height restated (1.75rem) — the h5 gets it from the
   theme's base h4/h5 rule, a bare h3 would not. No-op for the existing h5. */
.singlePage .audience-card h5,
.singlePage .audience-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--cov-ink);
  line-height: 1.75rem;
  margin: 0 0 8px;
}
.singlePage .audience-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--cov-body);
  margin: 0;
}

/* ---------- Benefits grid (2-up cards with an icon, title, blurb) ---------- */
.singlePage .cov-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0 34px;
}
.singlePage .cov-benefits div { margin-bottom: 0; }
@media (max-width: 767px) {
  .singlePage .cov-benefits { grid-template-columns: 1fr; }
}

/* ---------- Feature panel (native replacement for baked-in
   "problem list" diagram images) ---------- */
.singlePage .cov-panel {
  background: var(--cov-tint);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 28px;
  margin: 26px 0 34px;
}
.singlePage .cov-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
}
/* h3 appended (2026-09-12): cov-item titles promoted h4 -> h3 (h2 -> h4 skip).
   line-height restated (1.75rem) so the h3 matches the h4's base line-height. */
.singlePage .cov-item h4,
.singlePage .cov-item h3,
.singlePage .cov-item .cov-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cov-primary);
  line-height: 1.75rem;
  margin: 0 0 6px;
}
.singlePage .cov-item p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--cov-body);
  margin: 0;
  font-weight: 400; /* undo the over-bold look */
}

/* ---------- Pillar cards (native replacement for the purple
   gradient "3-up" card images) ---------- */
.singlePage .cov-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 26px 0 34px;
}
.singlePage .cov-pillar {
  border-radius: var(--cov-radius);
  padding: 26px 22px;
  color: #fff;
  background: var(--cov-grad-135);
  box-shadow: var(--cov-shadow);
}
/* h3 appended (2026-09-12): cov-pillar titles promoted h4 -> h3 (h2 -> h4 skip).
   line-height restated (1.75rem) to match the h4's base line-height. */
.singlePage .cov-pillar h4,
.singlePage .cov-pillar h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.75rem;
  color: #fff;
}
.singlePage .cov-pillar p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

/* ---------- Timeline (native replacement for the "a day in the life"
   baked image) ---------- */
.singlePage .cov-timeline {
  margin: 26px 0 34px;
}
.singlePage .cov-timeline-item {
  position: relative;
  padding: 0 0 24px 30px;
  border-left: 2px solid var(--cov-border);
}
.singlePage .cov-timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.singlePage .cov-timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cov-grad-135);
  box-shadow: 0 0 0 3px var(--cov-tint);
}
.singlePage .cov-timeline-time {
  font-weight: 700;
  color: var(--cov-primary);
  font-size: 0.9375rem;
  margin-bottom: 3px;
}
.singlePage .cov-timeline-desc {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--cov-body);
}

/* ---------- Impact rows (native replacement for the "business impact"
   metric image) ---------- */
.singlePage .cov-impact {
  margin: 26px 0 34px;
  border-top: 1px solid var(--cov-border);
}
.singlePage .cov-impact-row {
  display: grid;
  grid-template-columns: 170px 128px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--cov-border);
}
.singlePage .cov-impact-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8125rem;
  color: var(--cov-ink);
}
.singlePage .cov-impact-metric {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  background: var(--cov-grad-135);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cov-primary);
}
.singlePage .cov-impact-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--cov-body);
}
/* row with no headline metric (qualitative) */
.singlePage .cov-impact-row.is-qual {
  grid-template-columns: 170px 1fr;
}
@media (max-width: 767px) {
  .singlePage .cov-impact-row,
  .singlePage .cov-impact-row.is-qual { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Inline CTA ----------
   The CPG glossary/terms section has no whitepaper, so CTAs here are
   Lighthouse-product framed ("see how Lighthouse CPG does X, request a demo"),
   using the .is-product variant. */
.singlePage .cov-cta {
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  background: var(--cov-tint);
  padding: 32px;
  text-align: center;
  margin: 34px 0;
}
.singlePage .cov-cta.is-product {
  border: 0;
  background: linear-gradient(135deg, #f3edfb 0%, #efe7fb 100%);
  position: relative;
  overflow: hidden;
}
.singlePage .cov-cta.is-product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--cov-grad);
}
.singlePage .cov-cta .cov-cta-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cov-primary);
  margin: 0 0 8px;
}
.singlePage .cov-cta h3 {
  color: var(--cov-ink);
  font-weight: 800;
  margin: 0 0 12px;
}
.singlePage .cov-cta.is-product h3 { color: var(--cov-deep); }
.singlePage .cov-cta p {
  color: var(--cov-body);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.singlePage .cov-cta-btn {
  display: inline-block;
  background: var(--cov-grad);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.singlePage .cov-cta-btn:hover { opacity: 0.94; }

/* ---------- Author bio (horizontal, sits at the end of the article
   instead of a full-height right sidebar) ---------- */
.singlePage .cov-author {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 18px 22px;
  margin: 32px 0 8px;
  box-shadow: var(--cov-shadow);
}
.singlePage .cov-author-avatar {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cov-tint-2);
}
.singlePage .cov-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.singlePage .cov-author-body { flex: 1 1 auto; }
.singlePage .cov-author-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cov-primary);
}
.singlePage .cov-author-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--cov-ink);
  margin: 1px 0 5px;
}
.singlePage .cov-author-name a { color: inherit; text-decoration: none; }
.singlePage .cov-author-name a:hover { color: var(--cov-primary); }
.singlePage .cov-author-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--cov-body);
  margin: 0 0 10px;
}
.singlePage .cov-author-links { display: flex; gap: 8px; }
.singlePage .cov-author-links a {
  width: 30px;
  height: 30px;
  font-size: 0.8125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cov-tint-2);
  color: var(--cov-primary);
  text-decoration: none;
}
.singlePage .cov-author-links a:hover { background: var(--cov-grad); color: #fff; }

/* compact top byline (immediate attribution) */
.singlePage .cov-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.875rem;
  color: var(--cov-muted);
}
.singlePage .cov-byline img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.singlePage .cov-byline strong { color: var(--cov-ink); font-weight: 700; }

@media (max-width: 767px) {
  .singlePage .cov-author { flex-direction: column; align-items: flex-start; }
}

/* ---------- Related articles ---------- */
.singlePage .cov-related {
  margin: 44px 0 12px;
}
.singlePage .cov-related > h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cov-ink);
  margin: 0 0 18px;
}
.singlePage .cov-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.singlePage .cov-related-card {
  display: block;
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius-sm);
  padding: 18px 18px 20px;
  text-decoration: none;
  box-shadow: var(--cov-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.singlePage .cov-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cov-shadow-hover);
}
.singlePage .cov-related-card .cov-related-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cov-primary);
}
/* h3 appended (2026-09-12): "Continue reading" related-card titles promoted
   h4 -> h3 (h2 -> h4 skip). line-height is already set here, so no leak. */
.singlePage .cov-related-card h4,
.singlePage .cov-related-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cov-ink);
  margin: 8px 0 0;
  line-height: 1.35;
}
.singlePage .cov-related-card p {
  font-size: 0.8125rem;
  color: var(--cov-muted);
  line-height: 1.45;
  margin: 7px 0 0;
}
.singlePage .cov-related div { margin-bottom: 0; }

/* ---------- Glossary A–Z index ---------- */
.singlePage .cov-az-nav {
  position: sticky;
  top: 88px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  margin: 8px 0 28px;
}
.singlePage .cov-az-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--cov-mid);
  border-radius: 8px;
}
.singlePage .cov-az-nav a:hover {
  color: #fff;
  background: var(--cov-grad-135);
}
.singlePage .cov-az-nav a[aria-disabled="true"] {
  color: #c9c5d4;
  pointer-events: none;
}
.singlePage .cov-az-section {
  scroll-margin-top: 130px;
  margin-bottom: 30px;
}
.singlePage .cov-az-letter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cov-primary);
  border-bottom: 2px solid var(--cov-border);
  padding-bottom: 6px;
  margin: 0 0 16px;
}
.singlePage .cov-term-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.singlePage .cov-term {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius-sm);
  background: var(--cov-surface);
  text-decoration: none;
  color: var(--cov-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.singlePage a.cov-term:hover {
  border-color: var(--cov-primary);
  box-shadow: var(--cov-shadow);
}
.singlePage .cov-term .cov-term-name {
  font-weight: 700;
  font-size: 0.9375rem;
}
.singlePage .cov-term .cov-term-def {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  color: var(--cov-muted);
  line-height: 1.4;
}
/* terms with a dedicated deep-dive article */
.singlePage .cov-term.has-article {
  border-left: 3px solid var(--cov-primary);
}
.singlePage .cov-term.has-article .cov-term-name::after {
  content: "→";
  margin-left: 6px;
  color: var(--cov-primary);
  font-weight: 700;
}

/* ---------- Points / guide list (bold label + description, purple rule) ----------
   Use with class="cov-points non-img-li" so the theme's flex-on-<li> rule is
   bypassed. Works for differentiator points and "where to start" guidance. */
.singlePage ul.cov-points {
  list-style: none;
  margin: 16px 0 34px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.singlePage ul.cov-points li {
  display: block;
  padding-left: 16px;
  margin-left: 0;
  border-left: 3px solid var(--cov-primary);
  line-height: 1.55;
  color: var(--cov-body);
  font-size: 0.9375rem;
  font-weight: 400;
}
.singlePage ul.cov-points li strong {
  display: block;
  color: var(--cov-ink);
  font-weight: 700;
  margin-bottom: 3px;
}

/* ---------- Pillar grid (hub: "Explore by functional area") ---------- */
.singlePage .pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin: 18px 0 34px;
}
.singlePage .pillar-grid div { margin-bottom: 0; }
.singlePage .pillar-card {
  position: relative;
  cursor: pointer; /* whole card is a stretched link; signal it (Item D) */
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 22px;
  background: var(--cov-surface);
  box-shadow: var(--cov-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.singlePage .pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cov-shadow-hover);
  border-color: var(--cov-primary);
}
/* h3 appended to every pillar-card title selector (2026-09-12): pillar-card
   titles promoted h4 -> h3 to remove an h2 -> h4 skip. line-height is set on
   the base rule (1.3), so no leak; the ::after arrow and stretched-link
   a::after are mirrored so the hover cue and whole-card click still work. */
.singlePage .pillar-card h4,
.singlePage .pillar-card h3 { font-size: 1.0625rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.singlePage .pillar-card h4 a,
.singlePage .pillar-card h3 a { color: var(--cov-ink); text-decoration: none; }
.singlePage .pillar-card:hover h4 a,
.singlePage .pillar-card:hover h3 a { color: var(--cov-primary); }
/* Affordance cue (Item D): an arrow that fades in and nudges on hover so the
   card reads as clickable. Space is reserved (opacity, not display) to avoid shift. */
.singlePage .pillar-card h4::after,
.singlePage .pillar-card h3::after {
  content: "\00A0\2192";
  color: var(--cov-primary);
  display: inline-block;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.singlePage .pillar-card:hover h4::after,
.singlePage .pillar-card:hover h3::after { opacity: 1; transform: translateX(3px); }
/* stretched link: make the whole card clickable via the title link */
.singlePage .pillar-card h4 a::after,
.singlePage .pillar-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.singlePage .pillar-card p { font-size: 0.9rem; line-height: 1.5; color: var(--cov-body); margin: 0 0 12px; }
.singlePage .pillar-meta { font-size: 0.75rem; color: var(--cov-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.singlePage .pillar-count {
  display: inline-block;
  background: var(--cov-grad-135);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.6875rem;
}

/* ---------- Quick links (hub: chip list) ---------- */
.singlePage .quick-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.singlePage .quick-links a {
  display: inline-block;
  padding: 6px 13px;
  background: var(--cov-tint-2);
  color: var(--cov-mid);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.singlePage .quick-links a:hover { background: var(--cov-grad-135); color: #fff; }

/* prose links inside hub/glossary content -> brand purple */
.singlePage .singlePage p a,
.singlePage .singlePage li a { color: var(--cov-mid); font-weight: 600; text-decoration: none; }
.singlePage .singlePage p a:hover,
.singlePage .singlePage li a:hover { color: var(--cov-primary); text-decoration: underline; }

/* ---------- Glossary A-Z index (actual page classes) ---------- */
.singlePage .legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 22px; font-size: 0.8125rem; color: var(--cov-muted); }
.singlePage .legend div { margin-bottom: 0; }
.singlePage .legend-item { display: flex; align-items: center; gap: 6px; }
.singlePage .legend-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.singlePage .legend-dot.t1 { background: var(--cov-primary); }
.singlePage .legend-dot.t2 { background: #b98cf0; }
.singlePage .legend-dot.t3 { background: #cfcbd8; }

.singlePage nav.alpha-nav {
  position: sticky; top: 84px; z-index: 5;
  display: flex; flex-wrap: wrap; gap: 5px;
  padding: 12px 14px; margin: 8px 0 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
}
.singlePage nav.alpha-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; font-size: 0.8125rem; font-weight: 700;
  color: var(--cov-mid); border-radius: 8px; text-decoration: none;
}
.singlePage nav.alpha-nav a:hover { color: #fff; background: var(--cov-grad-135); }

.singlePage h2[id^="letter-"] {
  font-size: 1.75rem; font-weight: 800; color: var(--cov-primary);
  border-bottom: 2px solid var(--cov-border); padding-bottom: 6px;
  margin: 34px 0 14px; scroll-margin-top: 120px;
}

.singlePage .term { padding: 14px 0; margin-bottom: 0; border-bottom: 1px solid var(--cov-border); }
.singlePage .term div { margin-bottom: 0; }
.singlePage .term.tier-1 { padding-left: 14px; border-left: 3px solid var(--cov-primary); }
.singlePage .term-name {
  font-weight: 700; font-size: 1rem; color: var(--cov-ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.singlePage .term-name a { color: var(--cov-ink); text-decoration: none; }
.singlePage .term-name a:hover { color: var(--cov-primary); text-decoration: underline; }
.singlePage .term-acronym { color: var(--cov-muted); font-weight: 600; }
.singlePage .term-def { font-size: 0.9375rem; line-height: 1.5; color: var(--cov-body); margin-top: 4px; }
.singlePage .tier-badge {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 8px; border-radius: 999px;
}
.singlePage .tier-badge.t1 { background: var(--cov-grad-135); color: #fff; }
.singlePage .tier-badge.t2 { background: var(--cov-tint-2); color: var(--cov-mid); }
.singlePage .tier-badge.t3 { background: #f0eef4; color: var(--cov-muted); }

/* ---------- Category → term list ---------- */
.singlePage .cov-catlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0 34px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .singlePage .stats { grid-template-columns: repeat(2, 1fr); }
  .singlePage .audience-grid,
  .singlePage .cov-pillars,
  .singlePage .cov-related-grid { grid-template-columns: 1fr; }
  .singlePage .cov-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .singlePage .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .singlePage .stat-number { font-size: 1.875rem; }
  .singlePage .cov-panel,
  .singlePage .cov-cta { padding: 22px 18px; }
}

/* ============================================================
   Term & category glossary pages (what-is-* / cpg-glossary-*)
   ============================================================ */

/* ---------- Linked terms inside definition headings ---------- */
.singlePage h3 a,
.singlePage h4 a {
  color: var(--cov-mid);
  text-decoration: none;
  transition: color 0.15s ease;
}
.singlePage h3 a:hover,
.singlePage h4 a:hover { color: var(--cov-primary); }

/* ---------- Promoted section headings (h3 -> h2) ---------- */
/* Item B (2026-09-06): top-level section headings were promoted from <h3> to <h2>
   so pages have a valid h1 -> h2 outline (no h1 -> h3 skip). The `cov-h2` class
   reproduces the exact prior section-h3 look, so promotion causes no visual change.
   Scoped by class on purpose: A-Z letter h2s, article `.h3-style` h2s, and other
   authors' pages that also load this stylesheet are left untouched. */
.singlePage h2.cov-h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 24px;
  margin: 3rem 0 1.25rem;
}
.singlePage h2.cov-h2 a {
  color: var(--cov-mid);
  text-decoration: none;
  transition: color 0.15s ease;
}
.singlePage h2.cov-h2 a:hover { color: var(--cov-primary); }
/* CTA heading (was `.cov-cta h3`) promoted to h2 */
.singlePage .cov-cta h2.cov-h2 { color: var(--cov-ink); font-weight: 800; margin: 0 0 12px; }
.singlePage .cov-cta.is-product h2.cov-h2 { color: var(--cov-deep); }

/* ---------- Tech bridge callout ("For the technically minded") ---------- */
.singlePage .tech-bridge {
  background: var(--cov-tint-2);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius-sm);
  padding: 18px 22px;
  margin: 26px 0 30px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--cov-body);
}
.singlePage .tech-bridge .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cov-deep);
  margin-right: 4px;
}
.singlePage .tech-bridge .label i { color: var(--cov-primary); }

/* ---------- Data tables ---------- */
/* One border color, --cov-table-border, used on every edge below: the
   wrapper's outer box AND every cell's own border. Without this, a plain
   <table> inherits styles.min.css's site-wide `td,th{border:1px solid #000}`
   base rule on three sides of every cell (top/left/right stay black) while
   only border-bottom gets overridden here, producing three different
   border colors on one table (black cell sides, a faint token color on
   cell bottoms, and whatever the wrapper uses). Setting the full border on
   td/th, not just border-bottom, removes the black entirely; border-collapse
   merges shared edges between adjacent cells into one line, not two. */
:root { --cov-table-border: #9b8fc4; }
.singlePage .table-wrapper {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--cov-table-border);
  border-radius: var(--cov-radius-sm);
  -webkit-overflow-scrolling: touch;
}
.singlePage .table-wrapper table { margin: 0; }
.singlePage table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.singlePage table thead th {
  background: var(--cov-grad-135);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  white-space: nowrap;
  border: 1px solid var(--cov-table-border);
}
.singlePage table td,
.singlePage table th { padding: 11px 16px; border: 1px solid var(--cov-table-border); }
.singlePage table tbody tr:nth-child(even) { background: var(--cov-tint); }
.singlePage table tbody tr:last-child td { border-bottom: 0; }
.singlePage table tr td:first-child, .singlePage table tr th:first-child { border-left: 0; }
.singlePage table tr td:last-child, .singlePage table tr th:last-child { border-right: 0; }
.singlePage table tr:first-child td, .singlePage table tr:first-child th { border-top: 0; }

/* ---------- Region list ---------- */
.singlePage ul.region-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  gap: 10px;
}
.singlePage ul.region-list li {
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-left: 3px solid var(--cov-primary);
  border-radius: var(--cov-radius-sm);
  padding: 12px 16px;
  line-height: 1.55;
  color: var(--cov-body);
}

/* ---------- Explore more (related terms / other pillars) ---------- */
.singlePage .explore-more {
  background: var(--cov-tint);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  padding: 24px 26px;
  margin: 32px 0;
}
.singlePage .explore-more h4 {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--cov-ink);
}
/* Item (2026-09-12): the "Explore more" box heading was promoted h4 -> h3 so
   glossary/term pages have a valid h1 -> h2 -> h3 outline (no h2 -> h4 skip).
   The `cov-h3` class reproduces the exact prior `.explore-more h4` look. Note
   line-height is pinned here: the base rule leaves it to the theme's `h4`
   element rule (1.75rem); a bare <h3> would instead pick up the theme's base
   h3 (24px), so it must be restated. Scoped by class so nothing else moves. */
.singlePage .explore-more h3.cov-h3 {
  margin: 0 0 14px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.75rem;
  color: var(--cov-ink);
}
.singlePage .explore-more ul { list-style: none; padding: 0; margin: 0; }
.singlePage .explore-more li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  line-height: 1.5;
}
.singlePage .explore-more .arrow {
  color: var(--cov-primary);
  font-weight: 700;
  flex: 0 0 auto;
}
.singlePage .explore-more a {
  color: var(--cov-mid);
  text-decoration: none;
  transition: color 0.15s ease;
}
.singlePage .explore-more a:hover { color: var(--cov-primary); }

@media (max-width: 575px) {
  .singlePage .tech-bridge,
  .singlePage .explore-more { padding: 18px 16px; }
}

/* ---------- On-brand inline content links (term/category prose) ---------- */
.singlePage p a,
.singlePage li:not(.cov-item) a,
.singlePage strong a {
  color: var(--cov-mid);
  text-decoration: none;
  transition: color 0.15s ease;
}
.singlePage p a:hover,
.singlePage li a:hover,
.singlePage strong a:hover { color: var(--cov-primary); }

/* ---------- TL;DR / answer-first summary box (articles) ---------- */
.singlePage .cov-tldr {
  background: var(--cov-tint-2);
  border: 1px solid var(--cov-border);
  border-left: 4px solid var(--cov-primary);
  border-radius: 0 var(--cov-radius-sm) var(--cov-radius-sm) 0;
  padding: 18px 22px;
  margin: 0 0 30px;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--cov-body);
}
.singlePage .cov-tldr .cov-tldr-label {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cov-primary);
  margin-right: 8px;
}
/* ---------- FAQ accordion (articles) — on-brand port of the site pattern ---------- */
.singlePage .faq-list { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 34px; }
.singlePage .faq-item {
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.singlePage .faq-item:hover { border-color: var(--cov-mid); }
.singlePage .faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 20px 22px; background: none; border: 0; cursor: pointer;
  text-align: left; font-size: 1.0625rem; font-weight: 600; color: var(--cov-ink);
}
.singlePage .faq-icon { width: 18px; height: 18px; position: relative; flex-shrink: 0; }
.singlePage .faq-icon::before, .singlePage .faq-icon::after {
  content: ""; position: absolute; background: var(--cov-primary); transition: transform 0.3s ease;
}
.singlePage .faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.singlePage .faq-icon::after { top: 0; left: 8px; width: 2px; height: 18px; }
.singlePage .faq-item.active .faq-icon::after { transform: scaleY(0); }
.singlePage .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.singlePage .faq-item.active .faq-answer { max-height: 600px; }
.singlePage .faq-answer p { padding: 0 22px 20px; margin: 0; color: var(--cov-body); line-height: 1.62; }

/* ---------- Glossary in-page search ---------- */
.singlePage .glossary-search { margin: 6px 0 22px; position: relative; }
.singlePage .glossary-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  font-size: 16px;
  color: var(--cov-ink);
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.singlePage .glossary-search-input::placeholder { color: var(--cov-muted); }
.singlePage .glossary-search-input:focus {
  border-color: var(--cov-primary);
  box-shadow: 0 0 0 3px var(--cov-tint);
}
.singlePage .glossary-search-status { margin: 10px 2px 0; font-size: 14px; color: var(--cov-muted); }
.singlePage .glossary-search-empty { margin: 14px 2px 0; font-size: 15px; color: var(--cov-body); }
.singlePage .term.gl-hide,
.singlePage h2.gl-hide { display: none !important; }
.singlePage .alpha-nav a.gl-nav-dim { opacity: 0.3; pointer-events: none; }

/* ---------- Glossary search: clickable results dropdown ---------- */
.singlePage .glossary-search-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--cov-surface);
  border: 1px solid var(--cov-border);
  border-radius: var(--cov-radius-sm);
  box-shadow: var(--cov-shadow-hover);
  max-height: 360px;
  overflow-y: auto;
}
.singlePage .glossary-search-results li { margin: 0; }
.singlePage a.gl-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--cov-ink);
  text-decoration: none;
  line-height: 1.35;
}
.singlePage a.gl-result:hover,
.singlePage a.gl-result.is-active {
  background: var(--cov-tint-2);
  color: var(--cov-mid);
}
.singlePage a.gl-result .gl-r-name { font-weight: 600; }
.singlePage a.gl-result .gl-r-tier {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--cov-primary);
}
.singlePage a.gl-result .gl-r-tier.t2 { background: #9b7bd4; }
.singlePage a.gl-result .gl-r-tier.t3 { background: #b9b2c9; }
.singlePage .gl-result-more {
  padding: 9px 12px 5px;
  font-size: 12.5px;
  color: var(--cov-muted);
}
/* Sticky-header offset + flash highlight when jumping to a term */
.singlePage .term { scroll-margin-top: 110px; }
.singlePage .term.gl-flash { animation: glFlash 1.6s ease-out 1; }
@keyframes glFlash {
  0% { background: var(--cov-tint-2); box-shadow: 0 0 0 6px var(--cov-tint-2); }
  100% { background: transparent; box-shadow: 0 0 0 6px transparent; }
}
