/**
 * Grandview Insights — Core Stylesheet (v2.0 Impeccable Refinement)
 * 
 * High-craft architectural styling matching GrandView homepage and landing page standards:
 * - Technical background grid with radial mask on dark heroes (matching .lp01-hero)
 * - Above-the-fold compact hero proportion (≤460px desktop height)
 * - Full 1px structural framing, zero 1-sided thick border stripes
 * - Single category badge (no redundant content-type clutter)
 * - 65–72ch readable prose column with sticky TOC & CTA rail
 * - Modern Gutenberg block styling (Key Takeaways, Decision Callouts, Data Tables)
 *
 * @package GrandviewEdge
 */

/* ==========================================================================
   1. Design Tokens & Root Scope
   ========================================================================== */
.gv-insights-scope {
  --gv-in-navy: #263655;
  --gv-in-navy-dark: #12213a;
  --gv-in-navy-deep: #080e18;
  --gv-in-blue: #2ea3f2;
  --gv-in-blue-dark: #026cae;
  --gv-in-blue-tint: #f0f7fd;
  --gv-in-blue-dim: rgba(46, 163, 242, 0.4);
  --gv-in-border: #dbe4ef;
  --gv-in-border-light: #eef3f8;
  --gv-in-surface: #f4f6f9;
  --gv-in-surface-ice: #f8fbfe;
  --gv-in-ink: #17243a;
  --gv-in-text: #334155;
  --gv-in-muted: #5e6e81;
  --gv-in-line: #9fb0c5;
  --gv-font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --gv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-offset: calc(var(--header-height, 76px) + 24px);

  font-family: var(--gv-font-body);
  color: var(--gv-in-text);
  background-color: #ffffff;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.gv-insights-scope *,
.gv-insights-scope *::before,
.gv-insights-scope *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   2. Shared Utility & Editorial Components
   ========================================================================== */
.gv-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gv-in-blue);
  line-height: 1;
}

.gv-category-badge--light {
  color: var(--gv-in-blue-dark);
}

.gv-meta {
  font-size: 13px;
  color: var(--gv-in-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.gv-meta-sep {
  color: #cbd5e1;
}

/* Accessible breadcrumbs */
.gv-breadcrumbs {
  font-size: 12px;
  color: #9fb0c5;
  margin-bottom: 20px;
}

.gv-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gv-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gv-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gv-breadcrumbs a:hover {
  color: var(--gv-in-blue);
}

.gv-breadcrumbs [aria-current="page"] {
  color: #bac7d8;
  font-weight: 500;
}

/* Chamfered author portrait (12px) */
.gv-portrait {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 15%;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #7c95ac, #dfe8f0);
}

.gv-portrait--initials {
  display: grid;
  place-items: center;
  font-family: var(--gv-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  background: var(--gv-in-navy);
}

/* ==========================================================================
   3. Single Article Hero (Above-the-Fold Compact & Technical Grid)
   ========================================================================== */
.gv-article-hero {
  position: relative;
  background-color: #0a111e;
  background-image: 
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(46, 163, 242, 0.14) 0%, rgba(14, 23, 38, 0.6) 60%, transparent 80%),
    linear-gradient(to bottom, #090f1a 0%, #0e1726 50%, #152238 85%, #0e1726 100%);
  color: #ffffff;
  padding: clamp(36px, 4vw, 48px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gv-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 85%);
  pointer-events: none;
}

.gv-article-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(40px, 5vw, 64px);
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.gv-article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gv-article-hero__eyebrow {
  margin-bottom: 14px;
}

.gv-article-hero__title {
  font-family: var(--gv-font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 16px 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.gv-article-hero__deck {
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 1.6;
  color: #c0cbe0;
  max-width: 56ch;
  margin: 0 0 24px 0;
  text-wrap: pretty;
}

.gv-article-hero__byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.gv-article-hero__author-info {
  font-size: 13px;
  line-height: 1.45;
  color: #9fb0c5;
}

.gv-article-hero__author-name {
  font-family: var(--gv-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.gv-article-hero__author-name:hover {
  color: var(--gv-in-blue);
}

.gv-article-hero__visual {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 340px;
  aspect-ratio: 16 / 10;
  background-color: var(--gv-in-navy-dark);
  border: 1px solid rgba(46, 163, 242, 0.35);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.gv-article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gv-article-hero__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  color: #ffffff;
  font-family: var(--gv-font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 14, 24, 0.85);
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   4. Article Reading Layout & Sticky Rail
   ========================================================================== */
.gv-article-body {
  padding: clamp(36px, 5vw, 64px) 0;
  background-color: #ffffff;
}

.gv-article-layout {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

/* Main prose */
.gv-prose {
  font-size: 17.5px;
  line-height: 1.76;
  color: var(--gv-in-text);
  max-width: 100%;
}

.gv-prose > *:first-child {
  margin-top: 0;
}

.gv-prose h2,
.gv-prose h3,
.gv-prose h4 {
  font-family: var(--gv-font-heading);
  color: var(--gv-in-ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  scroll-margin-top: var(--header-offset);
  text-wrap: balance;
}

.gv-prose h2 {
  font-size: clamp(23px, 2.6vw, 29px);
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  padding-top: 1.2em;
  border-top: 1px solid var(--gv-in-border-light);
}

.gv-prose h3 {
  color: #263655;
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.gv-prose h4 {
  font-size: 17px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.gv-prose p {
  margin-top: 0;
  margin-bottom: 1.35em;
  text-wrap: pretty;
}

.gv-prose a {
  color: var(--gv-in-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.gv-prose a:hover {
  color: var(--gv-in-blue);
}

.gv-prose ul,
.gv-prose ol {
  margin-top: 0;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.gv-prose li {
  margin-bottom: 0.5em;
}

.gv-prose li::marker {
  color: var(--gv-in-blue);
  font-weight: 700;
}

/* Quotes (Top & Bottom Structural Rules, No Side Stripe) */
.gv-prose blockquote,
.gv-expert-quote {
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  border-left: none;
  border-right: none;
  padding: 24px 0;
  margin: 2.5em 0;
  font-family: var(--gv-font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--gv-in-ink);
  background: transparent;
}

.gv-prose blockquote cite,
.gv-expert-quote cite {
  display: block;
  font-family: var(--gv-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gv-in-muted);
  margin-top: 12px;
  font-style: normal;
}

/* Tables (Table Framed, Figcaption Cleanly Below Without Box) */
.gv-prose .wp-block-table,
.gv-data-table {
  margin: 2.4em 0;
  overflow-x: auto;
  border: none;
  background: transparent;
}

.gv-prose table,
.gv-data-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--gv-in-border);
  background: #ffffff;
}

.gv-prose th {
  background: var(--gv-in-navy);
  color: #ffffff;
  font-family: var(--gv-font-heading);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--gv-in-navy);
}

.gv-prose td {
  padding: 12px 16px;
  border: 1px solid var(--gv-in-border);
  vertical-align: top;
}

.gv-prose tr:nth-child(even) td {
  background-color: var(--gv-in-surface);
}

.gv-prose figcaption,
.gv-data-table figcaption,
.wp-block-table figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gv-in-muted);
  margin-top: 10px;
  padding: 0 2px;
  border: none;
  background: transparent;
  text-align: left;
  font-style: normal;
}

/* Code (Full Border Box) */
.gv-prose pre {
  background: var(--gv-in-navy-deep);
  color: #e2e8f0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  overflow-x: auto;
  font-size: 13.5px;
  margin: 2em 0;
}

/* ==========================================================================
   Modern Editorial Blocks (GrandView Architectural Standard)
   ========================================================================== */

/* 1. Key Takeaways: Full 1px Frame + Ice Gradient + Header Badge (NO SIDE STRIPE) */
.gv-takeaways {
  background: linear-gradient(180deg, #f8fbfe 0%, #edf6fd 100%);
  border: 1px solid rgba(46, 163, 242, 0.35);
  padding: 24px 28px;
  margin: 2.4em 0;
  position: relative;
}

.gv-takeaways p:first-child {
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gv-in-blue-dark);
  margin-bottom: 12px;
}

.gv-takeaways ul {
  margin-bottom: 0;
}

/* 2. Decision Callout: Dark Tech Architectural Panel (High-Contrast & Accessible) */
.gv-decision-callout,
.gv-prose .gv-decision-callout {
  background-color: #0b1525;
  color: #f1f5f9;
  border: 1px solid rgba(46, 163, 242, 0.45);
  padding: 24px 28px;
  margin: 2.5em 0;
  position: relative;
}

.gv-decision-callout p,
.gv-prose .gv-decision-callout p {
  color: #e2e8f0 !important;
  font-size: 16.5px;
  line-height: 1.65;
  margin-top: 0;
  margin-bottom: 0.8em;
}

.gv-decision-callout p:first-child,
.gv-prose .gv-decision-callout p:first-child,
.gv-decision-callout strong,
.gv-prose .gv-decision-callout strong {
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8 !important;
  margin-bottom: 8px;
  display: block;
}

.gv-decision-callout p:last-child,
.gv-prose .gv-decision-callout p:last-child {
  margin-bottom: 0;
}

/* 3. Sources & Methodology: Clean 1px Box */
.gv-sources {
  background-color: var(--gv-in-surface);
  border: 1px solid var(--gv-in-border);
  padding: 20px 24px;
  margin: 2.6em 0;
  font-size: 13.5px;
  color: var(--gv-in-muted);
}

.gv-sources p {
  margin: 0;
}

.gv-sources a {
  color: var(--gv-in-navy);
  text-decoration: underline;
  text-decoration-color: var(--gv-in-blue);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.gv-sources a:hover {
  color: var(--gv-in-blue);
}

/* Sticky Rail (Desktop) */
.gv-rail {
  position: sticky;
  top: var(--header-offset);
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 340px;
}

/* Table of Contents Box (Full 1px Frame) */
.gv-toc {
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  padding: 22px;
  box-shadow: 0 4px 16px rgba(8, 14, 24, 0.03);
}

.gv-toc__title {
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gv-in-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gv-in-border-light);
}

.gv-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gv-toc__item {
  border-bottom: 1px solid var(--gv-in-border-light);
}

.gv-toc__item:last-child {
  border-bottom: none;
}

.gv-toc__link {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gv-in-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.gv-toc__link:hover {
  color: var(--gv-in-blue);
  padding-left: 4px;
}

.gv-toc__link.is-active {
  color: var(--gv-in-blue-dark);
  font-weight: 700;
  background-color: var(--gv-in-surface-ice);
  padding-left: 8px;
  border-left: 2px solid var(--gv-in-blue);
}

/* TOC Expand / Collapse Toggle */
.gv-toc__item--collapsible {
  display: none;
}

.gv-toc.is-expanded .gv-toc__item--collapsible {
  display: block;
}

.gv-toc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 0;
  background: none;
  border: none;
  font-family: var(--gv-font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gv-in-blue-dark);
  cursor: pointer;
  transition: color 0.15s ease;
}

.gv-toc__toggle:hover {
  color: var(--gv-in-blue);
}

.gv-toc__toggle svg {
  transition: transform 0.2s ease;
}

.gv-toc.is-expanded .gv-toc__toggle svg {
  transform: rotate(180deg);
}

/* Mobile TOC Disclosure */
.gv-toc-mobile {
  display: none;
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  margin-bottom: 28px;
  padding: 14px 18px;
}

.gv-toc-mobile summary {
  font-family: var(--gv-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gv-in-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gv-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.gv-toc-mobile summary::after {
  content: '↓';
  font-size: 14px;
  color: var(--gv-in-blue);
  transition: transform 0.2s ease;
}

.gv-toc-mobile[open] summary::after {
  transform: rotate(180deg);
}

.gv-toc-mobile .gv-toc__list {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--gv-in-border);
}

/* Contextual CTA Rail (28px cut, double border) */
.gv-cta-rail {
  padding: 1.5px;
  background: linear-gradient(135deg, var(--gv-in-blue), #6c8ca8, var(--gv-in-blue));
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}

.gv-cta-rail__inner {
  background: var(--gv-in-navy-dark);
  color: #ffffff;
  padding: 24px;
  clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 27px, 100% 100%, 0 100%);
}

.gv-cta-rail__title {
  font-family: var(--gv-font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 10px 0 12px 0;
  text-wrap: balance;
}

.gv-cta-rail__desc {
  font-size: 13px;
  line-height: 1.55;
  color: #bac8d8;
  margin-bottom: 20px;
}

.gv-cta-rail__button {
  display: block;
  background: var(--gv-in-blue);
  color: #07101d;
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.gv-cta-rail__button:hover {
  background: #ffffff;
  color: var(--gv-in-navy);
}

/* ==========================================================================
   5. Article Ending (Author Box & Related Perspectives)
   ========================================================================== */
.gv-article-footer {
  background: var(--gv-in-surface);
  border-top: 1px solid var(--gv-in-border);
  padding: clamp(40px, 5vw, 68px) 0;
}

.gv-article-footer__container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
}

/* Author Trust Box (#about-the-author) - Full 1px Frame */
.gv-author-box {
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  padding: clamp(24px, 3.5vw, 36px);
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  scroll-margin-top: var(--header-offset);
  box-shadow: 0 4px 20px rgba(8, 14, 24, 0.04);
}

.gv-author-box .gv-portrait {
  width: 80px;
  height: 80px;
}

.gv-author-box__name {
  font-family: var(--gv-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gv-in-ink);
  margin: 4px 0 4px 0;
}

.gv-author-box__role {
  font-size: 13px;
  color: var(--gv-in-blue-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.gv-author-box__bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gv-in-muted);
  max-width: 680px;
  margin: 0;
}

.gv-author-box__link {
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gv-in-blue-dark);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.gv-author-box__link:hover {
  color: var(--gv-in-blue);
}

/* Related Perspectives Grid */
.gv-related {
  margin-top: 40px;
}

.gv-related__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.gv-related__title {
  font-family: var(--gv-font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--gv-in-ink);
  margin: 4px 0 0 0;
}

.gv-related__all-link {
  font-family: var(--gv-font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gv-in-blue-dark);
  text-decoration: none;
}

.gv-related__all-link:hover {
  color: var(--gv-in-blue);
}

.gv-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================================
   6. Archive Hero & Editorial Layout
   ========================================================================== */
.gv-archive-hero {
  position: relative;
  background-color: #0a111e;
  background-image: 
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(46, 163, 242, 0.14) 0%, rgba(14, 23, 38, 0.6) 60%, transparent 80%),
    linear-gradient(to bottom, #090f1a 0%, #0e1726 50%, #152238 85%, #0e1726 100%);
  color: #ffffff;
  padding: clamp(44px, 5vw, 64px) 0 clamp(36px, 4vw, 52px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gv-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 85%);
  pointer-events: none;
}

.gv-archive-hero__container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  position: relative;
  z-index: 2;
}

.gv-archive-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--gv-in-blue);
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gv-archive-hero__eyebrow::before {
  content: "✦";
  color: var(--gv-in-blue);
  font-size: 13px;
}

.gv-archive-hero__title {
  font-family: var(--gv-font-heading);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 10px 0 14px 0;
  max-width: 800px;
}

.gv-archive-hero__lead {
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.6;
  color: #bac7d8;
  max-width: 680px;
  margin: 0;
}

/* Lead Story Module (Full 1px Frame, Generous separation from category nav) */
.gv-lead-story {
  max-width: 1260px;
  margin: clamp(32px, 4vw, 48px) auto clamp(40px, 5vw, 64px);
  padding: 0 clamp(20px, 4vw, 36px);
}

.gv-lead-story__card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  box-shadow: 0 8px 30px rgba(8, 14, 24, 0.05);
  overflow: hidden;
}

.gv-lead-story__copy {
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gv-lead-story__title {
  font-family: var(--gv-font-heading);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--gv-in-ink);
  margin: 12px 0 14px 0;
}

.gv-lead-story__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gv-lead-story__title a:hover {
  color: var(--gv-in-blue);
}

.gv-lead-story__excerpt {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gv-in-muted);
  margin-bottom: 20px;
}

.gv-lead-story__cta-link {
  font-family: var(--gv-font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gv-in-blue-dark);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  margin-top: 14px;
}

.gv-lead-story__cta-link:hover {
  color: var(--gv-in-blue);
}

.gv-lead-story__art {
  min-height: 280px;
  background: var(--gv-in-navy);
  position: relative;
  overflow: hidden;
}

.gv-lead-story__art a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gv-lead-story__img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  position: absolute;
  inset: 0;
}

/* Topic Navigation (Category Filters) */
.gv-topic-nav-wrap {
  border-bottom: 1px solid var(--gv-in-border);
  background: #ffffff;
}

.gv-topic-nav {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
}

.gv-topic-nav::-webkit-scrollbar {
  display: none;
}

.gv-topic-nav__link {
  display: inline-block;
  padding: 16px 0;
  font-family: var(--gv-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gv-in-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.gv-topic-nav__link:hover {
  color: var(--gv-in-ink);
}

.gv-topic-nav__link.is-current,
.gv-topic-nav__link[aria-current="page"] {
  color: var(--gv-in-blue-dark);
  border-bottom-color: var(--gv-in-blue);
}

/* ==========================================================================
   7. Card Grid & Refined Cards (Full 1px Frame, No Top Border Stripe)
   ========================================================================== */
.gv-archive-section {
  padding: clamp(40px, 5vw, 68px) 0;
  background-color: var(--gv-in-surface);
}

.gv-archive-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 36px);
}

.gv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.gv-grid--1-col {
  grid-template-columns: 1fr;
  max-width: 380px;
}

.gv-grid--2-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 784px;
}

/* Refined Card: Full 1px Border, Clean Image Framing */
.gv-card {
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gv-card:hover {
  border-color: rgba(46, 163, 242, 0.6);
  box-shadow: 0 8px 24px rgba(8, 14, 24, 0.06);
  transform: translateY(-2px);
}

.gv-card__img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--gv-in-navy);
  position: relative;
  overflow: hidden;
}

.gv-card__img-wrap a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gv-card__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.3s ease;
}

.gv-card:hover .gv-card__img {
  transform: scale(1.03);
}

.gv-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #172e4d, #176da3);
}

.gv-card__copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gv-card__title {
  font-family: var(--gv-font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gv-in-ink);
  margin: 10px 0 10px 0;
}

.gv-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gv-card__title a:hover {
  color: var(--gv-in-blue);
}

.gv-card__excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gv-in-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.gv-card__meta {
  font-size: 12px;
  color: var(--gv-in-line);
  margin-top: auto;
  border-top: 1px solid var(--gv-in-border-light);
  padding-top: 12px;
}

/* ==========================================================================
   8. Topic-to-Service Bridge & Pagination
   ========================================================================== */
.gv-topic-bridge {
  margin: 16px 0 40px;
  padding: clamp(24px, 3.5vw, 38px);
  background: var(--gv-in-navy-dark);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(46, 163, 242, 0.4);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.gv-topic-bridge__title {
  font-family: var(--gv-font-heading);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 8px 0;
}

.gv-topic-bridge__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #bac7d8;
  max-width: 680px;
  margin: 0;
}

.gv-topic-bridge__button {
  background: var(--gv-in-blue);
  color: #07101d;
  font-family: var(--gv-font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.gv-topic-bridge__button:hover {
  background: #ffffff;
  color: var(--gv-in-navy);
}

/* Pagination */
.gv-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.gv-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  font-family: var(--gv-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--gv-in-ink);
  text-decoration: none;
  transition: all 0.15s ease;
}

.gv-pagination .page-numbers:hover {
  border-color: var(--gv-in-blue);
  color: var(--gv-in-blue);
}

.gv-pagination .page-numbers.current {
  background: var(--gv-in-navy);
  border-color: var(--gv-in-navy);
  color: #ffffff;
}

/* Empty State */
.gv-empty-state {
  background: #ffffff;
  border: 1px solid var(--gv-in-border);
  padding: 44px;
  text-align: center;
  max-width: 640px;
  margin: 36px auto;
}

.gv-empty-state h3 {
  font-family: var(--gv-font-heading);
  font-size: 22px;
  color: var(--gv-in-ink);
  margin-bottom: 10px;
}

.gv-empty-state p {
  color: var(--gv-in-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   9. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .gv-article-hero__grid {
    grid-template-columns: 1fr;
  }

  .gv-article-hero__visual {
    max-width: 100%;
    max-height: 280px;
    justify-self: stretch;
  }

  .gv-article-layout {
    grid-template-columns: 1fr;
  }

  .gv-rail {
    position: static;
    max-width: 100%;
  }

  .gv-toc {
    display: none;
  }

  .gv-toc-mobile {
    display: block;
  }

  .gv-cta-rail {
    margin-top: 32px;
  }

  .gv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gv-lead-story__card {
    grid-template-columns: 1fr;
  }

  .gv-lead-story__art {
    height: 260px;
    min-height: 220px;
    order: -1;
  }

  .gv-author-box {
    grid-template-columns: 70px 1fr;
  }

  .gv-author-box__link {
    grid-column: 2;
  }

  .gv-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gv-grid {
    grid-template-columns: 1fr;
  }

  .gv-topic-bridge {
    grid-template-columns: 1fr;
  }

  .gv-topic-bridge__button {
    text-align: center;
  }

  .gv-author-box {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gv-author-box__link {
    grid-column: 1;
  }
}

/* Focus and Reduced Motion */
:focus-visible {
  outline: 2px solid var(--gv-in-blue, #2ea3f2);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .gv-insights-scope *,
  .gv-insights-scope *::before,
  .gv-insights-scope *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
