/* Country guides brought in line with the redesigned pages (17 Nov 2026):
   same typeface, same header, no uppercase tracked labels. The guide content,
   its layout and the archive composition are untouched. Loaded after
   v3-country.css only for pages on the "v3" layout profile. */

body:has(.country-guide-v3) {
  --v3-font: "Instrument Sans", Arial, sans-serif;
  --vh-page: #ffffff;
  --vh-paper: #ffffff;
  --vh-raised: #f4f5f6;
  --vh-ink: #0b2839;
  --vh-secondary: #46535e;
  --vh-muted: #5c6872;
  --vh-line: rgba(11, 40, 57, 0.12);
  --vh-accent: #1764db;
  --vh-accent-hover: #124ea9;
  --vh-motion: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Instrument Sans", Arial, sans-serif;
}

/* Labels use the text face. Data inside the app composition keeps the mono. */
.country-guide-v3 {
  --v3-mono: "Instrument Sans", Arial, sans-serif;
  --rs-font-mono: "Instrument Sans", Arial, sans-serif;
}

.country-guide-v3 .v3-archive-section,
.country-guide-v3 code {
  --v3-mono: "JetBrains Mono V3", ui-monospace, monospace;
  --rs-font-mono: "JetBrains Mono V3", ui-monospace, monospace;
}

.country-guide-v3 .guide-label,
.country-guide-v3 .guide-index > p,
.country-guide-v3 .guide-section header > span,
.country-guide-v3 .table-wrap thead th,
.country-guide-v3 .v2-filemark,
.country-guide-v3 .v2-quickfacts-label,
.country-guide-v3 .v2-kicker,
.country-guide-v3 .v3-app-proof-head > span,
.country-guide-v3 .v2-field-tag,
.country-guide-v3 table thead th,
.country-guide-v3 .v3-context-list dt {
  letter-spacing: 0;
  text-transform: none;
}

.country-guide-v3 h1,
.country-guide-v3 h2,
.country-guide-v3 h3 {
  font-weight: 500;
}

/* The shared header is opaque and sticky here: guides have no hero photo behind it. */
body:has(.country-guide-v3) .vh-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--vh-line);
  background: #ffffff;
}

body:has(.country-guide-v3) .vh-header a:focus-visible,
body:has(.country-guide-v3) .vh-header summary:focus-visible {
  outline: 2px solid var(--vh-accent);
  outline-offset: 2px;
}
