/* ==========================================================================
   PhD Research Site — Navy & Gold, Warm & Approachable
   ========================================================================== */

/* --- CSS Variables --- */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-lighter: #3D5289;
  --gold: #C9A84C;
  --gold-light: #D4B968;
  --gold-pale: #F0E6C8;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --text-primary: #2D2D2D;
  --text-secondary: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --border: #E0DCD6;
  --shadow: rgba(27, 42, 74, 0.08);
  --shadow-md: rgba(27, 42, 74, 0.12);
}

/* --- Base Typography & Body --- */
body {
  font-family: Georgia, 'Times New Roman', serif !important;
  background-color: var(--cream) !important;
  color: var(--text-primary) !important;
  line-height: 1.75 !important;
  -webkit-font-smoothing: antialiased;
}

/* --- Header / Banner --- */
header {
  background-color: var(--navy) !important;
}

header .pb3-m,
header .pb6-l,
header > div:first-child {
  background-color: var(--navy) !important;
}

header h1 {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: var(--white) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
}

header h2 {
  color: var(--gold-light) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 300 !important;
  font-style: italic;
}

/* --- Navigation --- */
nav {
  border-bottom: 2px solid var(--gold) !important;
  padding-bottom: 0.75rem !important;
}

nav a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transition: color 0.2s ease !important;
}

nav > div > a {
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

nav ul li a:hover {
  color: var(--gold-light) !important;
}

/* --- Main Content Area --- */
main {
  padding-bottom: 3rem !important;
}

article {
  max-width: 52rem !important;
  margin: 0 auto !important;
}

main article {
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: var(--navy) !important;
  line-height: 1.3 !important;
}

main h1 {
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid var(--gold) !important;
}

main h2 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.35rem !important;
  border-bottom: 1px solid var(--border) !important;
}

main h3 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--navy-light) !important;
}

/* --- Links --- */
main a {
  color: var(--navy-light) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--gold) !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

main a:hover {
  color: var(--navy) !important;
  text-decoration-color: var(--navy) !important;
}

/* --- Blockquotes --- */
blockquote {
  border-left: 4px solid var(--gold) !important;
  background-color: var(--cream-dark) !important;
  padding: 1rem 1.25rem !important;
  margin: 1.5rem 0 !important;
  border-radius: 0 6px 6px 0 !important;
  font-style: italic !important;
  color: var(--text-secondary) !important;
}

blockquote p {
  margin: 0 !important;
}

/* --- Lists --- */
main ul, main ol {
  padding-left: 1.5rem !important;
  text-align: left !important;
}

main li {
  margin-bottom: 0.5rem !important;
}

/* --- Strong text --- */
main strong {
  color: var(--navy) !important;
  font-weight: 700 !important;
}

/* --- Tables --- */
table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 1.5rem 0 !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px var(--shadow) !important;
}

thead {
  background-color: var(--navy) !important;
}

thead th {
  color: var(--white) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 0.75rem 1rem !important;
  text-align: left !important;
  border: none !important;
}

tbody tr {
  background-color: var(--white) !important;
  transition: background-color 0.15s ease !important;
}

tbody tr:nth-child(even) {
  background-color: var(--cream) !important;
}

tbody tr:hover {
  background-color: var(--gold-pale) !important;
}

tbody td {
  padding: 0.65rem 1rem !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  vertical-align: top !important;
}

tbody tr:last-child td {
  border-bottom: none !important;
}

/* --- Homepage Section Cards --- */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.section-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  display: block;
}

.section-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-md);
}

.section-card h3 {
  font-size: 1.15rem !important;
  margin: 0 0 0.5rem 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--navy) !important;
}

.section-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.section-card .card-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}

/* --- Info boxes / callouts --- */
.info-box {
  background: var(--white);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 4px var(--shadow);
  border-left: 4px solid var(--navy-light);
}

/* --- Footer --- */
footer {
  background-color: var(--navy) !important;
  border-top: 3px solid var(--gold) !important;
}

footer a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
  color: var(--gold-light) !important;
}

/* --- Horizontal Rules --- */
hr {
  border: none !important;
  border-top: 1px solid var(--border) !important;
  margin: 2rem 0 !important;
}

/* --- Code (for any code snippets) --- */
code {
  background-color: var(--cream-dark) !important;
  padding: 0.15em 0.4em !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
  color: var(--navy-light) !important;
}

pre {
  background-color: var(--navy) !important;
  border-radius: 8px !important;
  padding: 1.25rem !important;
  overflow-x: auto !important;
}

pre code {
  background: none !important;
  color: var(--cream) !important;
  padding: 0 !important;
}

/* --- Responsive adjustments --- */
@media screen and (max-width: 768px) {
  main article {
    font-size: 1rem !important;
    padding: 0 1rem !important;
  }

  table {
    font-size: 0.82rem !important;
  }

  thead th, tbody td {
    padding: 0.5rem 0.6rem !important;
  }

  .section-cards {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-wrap: wrap;
  }

  nav ul li {
    margin-bottom: 0.25rem;
  }

  header h1 {
    font-size: 1.4rem !important;
  }

  header h2 {
    font-size: 1rem !important;
  }
}

/* --- Scrollable table wrapper (for wide tables) --- */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

/* --- Page-specific: suppress Ananke defaults that conflict --- */
.bg-near-white, .bg-nearest-white {
  background-color: var(--cream) !important;
}

.mid-gray {
  color: var(--text-primary) !important;
}

.bg-dark-blue {
  background-color: var(--navy) !important;
}

.nested-links a {
  color: var(--navy-light) !important;
}

/* --- Sup styling (for footnotes in tables) --- */
sup {
  font-size: 0.7em;
  color: var(--text-light);
}

/* --- Articles Feed Table --- */

/* Let parents of the articles table expand to full width */
.measure-wide:has(.articles-table-wrap),
article:has(.articles-table-wrap) {
  max-width: none !important;
}

.articles-table-wrap + *,
.articles-table-wrap {
  max-width: none !important;
}

.articles-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.articles-table-wrap table {
  table-layout: fixed !important;
  width: 100% !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.articles-table-wrap thead th {
  border-right: 1px solid rgba(255,255,255,0.3) !important;
}

.articles-table-wrap thead th:last-child {
  border-right: none !important;
}

.articles-table-wrap tbody td {
  border-right: 1px solid var(--border, #e0dcd4) !important;
}

.articles-table-wrap tbody td:last-child {
  border-right: none !important;
}

.articles-table-wrap thead th:nth-child(1),
.articles-table-wrap tbody td:nth-child(1) {
  width: 3% !important;
  text-align: center !important;
  padding: 0.4rem 0.3rem !important;
}

.articles-table-wrap thead th:nth-child(2),
.articles-table-wrap tbody td:nth-child(2) {
  width: 34% !important;
  padding: 0.4rem 0.5rem !important;
}

.articles-table-wrap thead th:nth-child(3),
.articles-table-wrap tbody td:nth-child(3) {
  width: 20% !important;
  padding: 0.4rem 0.5rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.articles-table-wrap thead th:nth-child(4),
.articles-table-wrap tbody td:nth-child(4) {
  width: 7% !important;
  text-align: center !important;
  padding: 0.4rem 0.5rem !important;
}

.articles-table-wrap thead th:nth-child(5),
.articles-table-wrap tbody td:nth-child(5) {
  width: 22% !important;
  padding: 0.4rem 0.5rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.articles-table-wrap thead th:nth-child(6),
.articles-table-wrap tbody td:nth-child(6) {
  width: 10% !important;
  text-align: right !important;
  padding: 0.4rem 0.5rem !important;
}

.articles-table-wrap tbody td {
  padding: 0.35rem 0.5rem !important;
  vertical-align: middle !important;
}

.articles-table-wrap thead th {
  padding: 0.5rem 0.5rem !important;
  font-size: 0.75rem !important;
}

/* ==========================================================================
   Vendor Journey — Infographic Styles (vj-* namespace)
   ========================================================================== */

/* Break out of Ananke's narrow measure */
.measure-wide:has(.vj-page),
article:has(.vj-page) {
  max-width: none !important;
}

.vj-page {
  max-width: 54rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Top Stats Banner --- */
.vj-stats-banner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.vj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
}

.vj-stat-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.vj-stat-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* --- Intro paragraph --- */
.vj-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

/* --- Section titles --- */
.vj-section-title {
  text-align: center !important;
  font-size: 1.8rem !important;
  margin-top: 2rem !important;
  margin-bottom: 0.25rem !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.vj-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* --- Vertical Timeline --- */
.vj-timeline {
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  margin: 0 auto;
  max-width: 48rem;
}

/* The connecting vertical line */
.vj-timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--navy), var(--navy-lighter), var(--gold));
  border-radius: 2px;
}

.vj-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.vj-step:last-child {
  margin-bottom: 0;
}

/* Numbered circle */
.vj-step-marker {
  position: absolute;
  left: -2.5rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
  box-shadow: 0 2px 6px var(--shadow-md);
  flex-shrink: 0;
}

/* Content card */
.vj-step-content {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 5px var(--shadow);
  border-left: 3px solid var(--gold);
  width: 100%;
  transition: box-shadow 0.2s ease;
}

.vj-step-content:hover {
  box-shadow: 0 3px 12px var(--shadow-md);
}

.vj-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.vj-step-header h3 {
  font-size: 1.05rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--navy) !important;
  line-height: 1.3 !important;
}

.vj-step-content > p {
  margin: 0 !important;
  font-size: 0.92rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.6 !important;
}

/* --- Cost Badges --- */
.vj-badge {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  text-decoration: none !important;
}

.vj-badge--cost {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}

.vj-badge--free {
  background: var(--cream-dark);
  color: var(--text-light);
  border: 1px solid var(--border);
}

.vj-badge--high {
  background: linear-gradient(135deg, #C0392B, #922B21);
  color: var(--white);
}

.vj-badge--wait {
  background: var(--navy-lighter);
  color: rgba(255, 255, 255, 0.9);
}

/* --- Running Total Bar --- */
.vj-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin: 1.75rem auto;
  max-width: 48rem;
}

.vj-total-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

.vj-total-amount {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}

/* --- Callout box --- */
.vj-callout {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem auto;
  max-width: 48rem;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.6;
  font-style: normal !important;
}

/* --- Horizontal Pipeline (Infographic 3) --- */
.vj-pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 2rem auto;
  max-width: 54rem;
  padding: 1.5rem 0;
}

.vj-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 80px;
  flex: 1;
  text-align: center;
}

.vj-phase-circle {
  width: 3rem;
  height: 3rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
  box-shadow: 0 2px 6px var(--shadow-md);
}

/* Arrow connector between phases */
.vj-phase-arrow {
  position: absolute;
  top: 1.35rem;
  left: calc(50% + 1.5rem);
  width: calc(100% - 3rem);
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-lighter));
  z-index: 1;
}

.vj-phase-arrow::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--navy-lighter);
}

.vj-phase:last-child .vj-phase-arrow {
  display: none;
}

.vj-phase-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.5rem;
  line-height: 1.25;
  padding: 0 0.15rem;
}

.vj-phase-cost {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.68rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

/* --- Closing Section --- */
.vj-closing {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin: 2rem auto;
  max-width: 48rem;
  box-shadow: 0 2px 10px var(--shadow);
  border-top: 4px solid var(--gold);
}

.vj-closing .vj-section-title {
  text-align: left !important;
  font-size: 1.5rem !important;
  margin-top: 0 !important;
}

.vj-closing blockquote {
  font-size: 1.05rem;
  margin: 1.5rem 0 !important;
}

.vj-cta,
.vj-cta:link,
.vj-cta:visited,
.vj-cta:active {
  display: inline-block;
  background: var(--navy) !important;
  color: #FFFFFF !important;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
}

.vj-cta:hover {
  background: var(--navy-light) !important;
  color: #FFFFFF !important;
}

/* --- Vendor Journey Responsive --- */
@media screen and (max-width: 768px) {
  .vj-stats-banner {
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .vj-stat-number {
    font-size: 1.4rem;
  }

  .vj-section-title {
    font-size: 1.4rem !important;
  }

  .vj-timeline {
    padding-left: 2rem;
  }

  .vj-timeline::before {
    left: 0.75rem;
  }

  .vj-step-marker {
    left: -2rem;
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.75rem;
  }

  .vj-step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .vj-total-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem;
  }

  .vj-total-amount {
    font-size: 1.2rem;
  }

  /* Pipeline stacks vertically on mobile */
  .vj-pipeline {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .vj-phase {
    flex-direction: row;
    gap: 0.75rem;
    min-width: auto;
    width: 100%;
    max-width: 280px;
    text-align: left;
  }

  .vj-phase-circle {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .vj-phase-arrow {
    display: none;
  }

  .vj-phase-label {
    margin-top: 0;
    font-size: 0.85rem;
  }

  .vj-phase-cost {
    margin-top: 0;
    font-size: 0.72rem;
  }

  .vj-closing {
    padding: 1.5rem 1.25rem;
  }
}

/* --- Vendor Journey Print --- */
@media print {
  .vj-stats-banner {
    background: #eee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-stat-number {
    color: #333 !important;
  }

  .vj-stat-label {
    color: #666 !important;
  }

  .vj-step-marker {
    background: #333 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-step-content {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    border-left: 3px solid #999 !important;
  }

  .vj-badge--high {
    background: #ddd !important;
    color: #333 !important;
  }

  .vj-total-bar {
    background: #333 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-phase-circle {
    background: #333 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-closing {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .vj-cta {
    background: #333 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ==========================================================================
   Global Vendor Journeys — Country Card Grid (gvj-* namespace)
   ========================================================================== */

.gvj-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.gvj-country-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  display: block;
}

.gvj-country-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow-md);
}

.gvj-country-card h3 {
  font-size: 1.1rem !important;
  margin: 0 0 0.35rem 0 !important;
  padding: 0 !important;
  border: none !important;
  color: var(--navy) !important;
}

.gvj-country-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.gvj-country-card .gvj-cost-stat {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
  display: block;
}

@media screen and (max-width: 768px) {
  .gvj-country-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Vendor Journey — Regulatory Burden (vj-regburden namespace)
   ========================================================================== */

.vj-regburden {
  margin: 2rem auto;
  max-width: 54rem;
}

/* --- Hero: big number with satellites --- */
.vj-regburden-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.vj-regburden-center {
  background: var(--navy);
  border-radius: 16px;
  padding: 1.75rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-md);
}

.vj-regburden-big-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.vj-regburden-big-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 0.35rem;
}

.vj-regburden-satellite {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
  flex-shrink: 0;
}

.vj-regburden-sat-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.vj-regburden-sat-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* --- Second row stats --- */
.vj-regburden-secondrow {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 1.25rem 0;
}

.vj-regburden-stat2 {
  text-align: center;
}

.vj-regburden-stat2-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.2;
}

.vj-regburden-stat2-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.1rem;
}

/* --- Harry Potter comparison box --- */
.vj-regburden-comparison {
  background: var(--navy);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem auto;
  max-width: 40rem;
  text-align: center;
  border-left: 5px solid var(--gold);
  border-right: 5px solid var(--gold);
}

.vj-regburden-compare-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.vj-regburden-compare-text strong {
  color: var(--gold) !important;
  font-weight: 700;
}

.vj-regburden-compare-text em {
  color: var(--gold-light);
  font-style: italic;
}

/* --- Citation --- */
.vj-regburden-cite {
  text-align: center !important;
  font-size: 0.72rem !important;
  color: var(--text-light) !important;
  margin-top: 0.75rem !important;
}

.vj-regburden-cite a {
  font-size: 0.72rem !important;
}

/* --- Regulatory Burden Responsive --- */
@media screen and (max-width: 768px) {
  .vj-regburden-hero {
    flex-direction: column;
    gap: 1rem;
  }

  .vj-regburden-satellite {
    flex-direction: row;
    gap: 0.5rem;
  }

  .vj-regburden-big-num {
    font-size: 3rem;
  }

  .vj-regburden-center {
    padding: 1.25rem 1.75rem;
  }

  .vj-regburden-secondrow {
    gap: 1.5rem;
  }

  .vj-regburden-stat2-num {
    font-size: 1.2rem;
  }

  .vj-regburden-comparison {
    padding: 1.25rem 1.25rem;
  }

  .vj-regburden-compare-text {
    font-size: 1rem;
  }
}

/* --- Regulatory Burden Print --- */
@media print {
  .vj-regburden-center {
    background: #eee !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-regburden-big-num {
    color: #333 !important;
  }

  .vj-regburden-big-label {
    color: #666 !important;
  }

  .vj-regburden-comparison {
    background: #eee !important;
    border-color: #999 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .vj-regburden-compare-text {
    color: #333 !important;
  }

  .vj-regburden-compare-text strong {
    color: #333 !important;
  }
}

/* --- Print styles --- */
@media print {
  header, footer, nav {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  table {
    box-shadow: none !important;
  }

  .section-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* ============================================================
   PAPER CARDS (V2 Papers Section)
   ============================================================ */

.paper-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 5px solid var(--navy);
  transition: box-shadow 0.2s ease;
}

.paper-card:hover {
  box-shadow: 0 4px 16px var(--shadow-md);
}

.paper-card .paper-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.paper-card h3 {
  margin-top: 0 !important;
  border: none !important;
  padding: 0 !important;
}

.paper-card .paper-target {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.paper-card .paper-finding {
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.paper-status {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.paper-status--draft { background: var(--cream-dark); color: var(--text-secondary); }
.paper-status--review { background: var(--gold-pale); color: var(--navy); }
.paper-status--published { background: var(--navy); color: var(--white); }

/* ============================================================
   FINDINGS PAGE STATS & RESULTS
   ============================================================ */

.findings-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  background: var(--navy);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.findings-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.findings-stat-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.findings-stat-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.result-box {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px var(--shadow);
  border-left: 5px solid var(--gold);
}

.result-box h4 {
  margin-top: 0 !important;
  color: var(--navy) !important;
}

.result-box .result-number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.caveat-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.caveat-box h4 {
  margin-top: 0 !important;
  color: var(--text-secondary) !important;
  font-size: 1rem !important;
}

@media screen and (max-width: 768px) {
  .findings-hero {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
  }
  .findings-stat-number {
    font-size: 1.5rem;
  }
  .paper-card {
    padding: 1.25rem;
  }
  .result-box .result-number {
    font-size: 1.8rem;
  }
}
