:root {
  --cafri-bg-top: #020e21;
  --cafri-bg-bottom: #081a35;
  --cafri-surface: rgba(8, 27, 53, 0.76);
  --cafri-surface-strong: #081b35;
  --cafri-surface-light: #f6f8fc;
  --cafri-border: rgba(115, 154, 204, 0.2);
  --cafri-border-strong: rgba(115, 154, 204, 0.34);
  --cafri-text-dark: #0b1730;
  --cafri-text-light: #f7faff;
  --cafri-text-muted: #a9b5c8;
  --cafri-text-soft: #526078;
  --cafri-accent: #0b63f6;
  --cafri-accent-strong: #0066ff;
  --cafri-shadow: 0 30px 60px rgba(1, 8, 20, 0.3);
  --cafri-radius-lg: 1.1rem;
  --cafri-radius-xl: 1.4rem;
  --cafri-radius-2xl: 1.8rem;
  --cafri-container: 1440px;
}

html {
  font-size: 14px;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body.app-body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: Inter, Manrope, Arial, sans-serif;
  color: var(--cafri-text-light);
  background:
    radial-gradient(circle at top right, rgba(8, 102, 255, 0.12), transparent 28%),
    radial-gradient(circle at 10% 20%, rgba(65, 125, 255, 0.1), transparent 22%),
    linear-gradient(180deg, var(--cafri-bg-top) 0%, var(--cafri-bg-bottom) 100%);
}

body.theme-light {
  color: var(--cafri-text-dark);
  background:
    radial-gradient(circle at top left, rgba(11, 99, 246, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%);
}

body.theme-home {
  color: var(--cafri-text-dark);
  background:
    linear-gradient(180deg, #06152d 0 4.5rem, transparent 4.5rem),
    radial-gradient(circle at top center, rgba(11, 99, 246, 0.08), transparent 18%),
    linear-gradient(180deg, #fbfcff 0%, #f3f7fd 100%);
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

.site-container {
  width: min(100% - 2rem, var(--cafri-container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__bar {
  backdrop-filter: blur(18px);
  background: rgba(2, 14, 33, 0.92);
  border-bottom: 1px solid rgba(115, 154, 204, 0.14);
}

.site-nav {
  min-height: 4.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  color: var(--cafri-text-light);
  text-decoration: none;
}

.site-brand__mark {
  font-size: clamp(1.85rem, 2.1vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.site-brand__text {
  max-width: 12rem;
  font-size: 0.68rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 250, 255, 0.88);
}

.site-nav__toggle {
  border-color: rgba(115, 154, 204, 0.24);
}

.site-nav__links {
  gap: 0.4rem;
}

.site-nav__links .nav-link {
  position: relative;
  padding: 1.55rem 0.8rem 1.35rem;
  color: rgba(247, 250, 255, 0.87);
  font-size: 0.97rem;
}

.site-nav__links .nav-link:hover,
.site-nav__links .nav-link:focus {
  color: #ffffff;
}

.site-nav__links .nav-link.is-active {
  color: #ffffff;
}

.site-nav__links .nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 180ms ease;
}

.site-nav__links .nav-link:hover::after,
.site-nav__links .nav-link:focus::after,
.site-nav__links .nav-link.is-active::after {
  background: rgba(11, 99, 246, 0.9);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  padding-top: 0.6rem;
}

.site-language {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: 0.1rem;
}

.site-language__button {
  border: 0;
  background: transparent;
  color: var(--cafri-text-light);
  font-size: 0.9rem;
  padding: 0;
}

.site-language__button--muted {
  color: rgba(247, 250, 255, 0.5);
}

.site-language__divider {
  width: 1px;
  height: 0.9rem;
  background: rgba(247, 250, 255, 0.18);
}

.site-search {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 250, 255, 0.9);
}

.site-search:hover,
.site-search:focus {
  border-color: var(--cafri-border);
  background: rgba(255, 255, 255, 0.03);
}

.site-search svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.site-nav__dashboard,
.site-ghost-button,
.site-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  min-height: 2.8rem;
  text-decoration: none;
  transition: all 180ms ease;
}

.site-nav__dashboard {
  padding: 0 0.95rem;
  border: 1px solid var(--cafri-border);
  color: var(--cafri-text-light);
  background: rgba(255, 255, 255, 0.02);
}

.site-nav__dashboard:hover,
.site-nav__dashboard:focus {
  border-color: var(--cafri-border-strong);
  color: #ffffff;
}

.site-ghost-button {
  border: 1px solid var(--cafri-border);
  color: var(--cafri-text-light);
  background: transparent;
  padding: 0 1rem;
}

button.site-ghost-button {
  appearance: none;
  cursor: pointer;
}

.site-ghost-button:hover,
.site-ghost-button:focus {
  border-color: var(--cafri-border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.site-primary-cta {
  gap: 0.55rem;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  background: linear-gradient(180deg, var(--cafri-accent-strong), var(--cafri-accent));
  color: #ffffff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-primary-cta:hover,
.site-primary-cta:focus {
  background: linear-gradient(180deg, #2778ff, #0b63f6);
  color: #ffffff;
}

.site-primary-cta__icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.site-primary-cta__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-nav__logout {
  margin: 0;
}

.site-main {
  padding: 2rem 0 3rem;
}


.page-shell {
  padding: 1rem 0 3rem;
}

.hero-panel,
.content-card,
.detail-card {
  border: 1px solid var(--cafri-border);
  border-radius: var(--cafri-radius-xl);
  box-shadow: var(--cafri-shadow);
}

.theme-home .hero-panel,
.theme-home .content-card,
.theme-home .detail-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--cafri-text-dark);
  box-shadow: 0 24px 60px rgba(18, 48, 95, 0.12);
}

.theme-dark .hero-panel,
.theme-dark .content-card,
.theme-dark .detail-card {
  background: var(--cafri-surface);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.8fr);
  gap: 2.25rem;
  padding: 2rem;
}

.hero-copy {
  align-self: center;
}

.hero-title,
.page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.theme-dark .hero-title,
.theme-dark .page-title {
  color: var(--cafri-text-light);
}

.theme-home .hero-title,
.theme-home .page-title,
.theme-light .hero-title,
.theme-light .page-title {
  color: var(--cafri-text-dark);
}

.hero-lead,
.page-lead {
  margin-bottom: 1.5rem;
  max-width: 58rem;
  font-size: 1rem;
  line-height: 1.75;
}

.theme-dark .hero-lead,
.theme-dark .page-lead {
  color: var(--cafri-text-muted);
}

.theme-home .hero-lead,
.theme-home .page-lead,
.theme-light .hero-lead,
.theme-light .page-lead {
  color: var(--cafri-text-soft);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cafri-accent);
}

.hero-actions,
.form-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.metric-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: var(--cafri-radius-lg);
  border: 1px solid rgba(115, 154, 204, 0.24);
  background: linear-gradient(180deg, rgba(11, 99, 246, 0.12), rgba(255, 255, 255, 0.02));
}

.theme-home .metric-card {
  background: linear-gradient(180deg, rgba(11, 99, 246, 0.08), rgba(255, 255, 255, 0.95));
}

.metric-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cafri-accent);
}

.metric-value {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  font-weight: 700;
}

.content-card {
  max-width: 58rem;
  margin: 0 auto;
  padding: 2rem;
}

.content-card-wide {
  max-width: 100%;
}

.access-form .form-control,
.access-form textarea,
.decline-form .form-control {
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  min-height: 3rem;
}

.theme-dark .access-form .form-control,
.theme-dark .access-form textarea,
.theme-dark .decline-form .form-control {
  background: rgba(248, 250, 252, 0.96);
}

.theme-home .access-form .form-control,
.theme-home .access-form textarea,
.theme-home .decline-form .form-control,
.theme-light .access-form .form-control,
.theme-light .access-form textarea,
.theme-light .decline-form .form-control {
  background: #ffffff;
}

.admin-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--cafri-text-light);
  --bs-table-border-color: rgba(115, 154, 204, 0.18);
}

.admin-table th {
  font-weight: 600;
  color: rgba(247, 250, 255, 0.84);
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.status-pending {
  background: rgba(59, 130, 246, 0.18);
  color: #bfdbfe;
}

.status-approved,
.status-active {
  background: rgba(16, 185, 129, 0.18);
  color: #bbf7d0;
}

.status-declined,
.status-suspended {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.status-revoked,
.status-expired {
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
}

.status-cancelled {
  background: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.detail-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.theme-home .detail-card,
.theme-light .detail-card {
  background: rgba(255, 255, 255, 0.95);
}

.detail-card h2 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.detail-list {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.72rem 1rem;
  margin: 0;
}

.detail-list dt {
  font-weight: 600;
  color: var(--cafri-text-muted);
}

.theme-home .detail-list dt,
.theme-light .detail-list dt {
  color: var(--cafri-text-soft);
}

.detail-list dd {
  margin: 0;
}

.decline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.decline-form .form-control {
  min-width: 18rem;
}

.activation-link {
  overflow-wrap: anywhere;
}

.confirmation-note {
  color: inherit;
}

.site-footer {
  position: relative;
  padding: 2.6rem 0 1rem;
  border-top: 1px solid rgba(115, 154, 204, 0.12);
  background:
    linear-gradient(180deg, rgba(2, 14, 33, 0.35), rgba(2, 14, 33, 0.65)),
    linear-gradient(180deg, #07111f 0%, #08172f 100%);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(14rem, 1.35fr) repeat(4, minmax(10rem, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer__title {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.site-footer__brand p,
.site-footer__meta,
.site-footer__links a {
  color: var(--cafri-text-muted);
  line-height: 1.7;
}

.site-footer__contact {
  position: relative;
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer__links,
.site-footer__meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__meta a {
  color: inherit;
  text-decoration: none;
  /* Long e-mail addresses must wrap instead of widening the footer grid column. */
  overflow-wrap: anywhere;
}

.site-footer__links a:hover,
.site-footer__links a:focus,
.site-footer__meta a:hover,
.site-footer__meta a:focus {
  color: #ffffff;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(115, 154, 204, 0.14);
  color: rgba(247, 250, 255, 0.58);
  font-size: 0.9rem;
}

.site-footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.86);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-footer__social:hover,
.site-footer__social:focus {
  transform: translateY(-2px);
  border-color: rgba(115, 154, 204, 0.45);
  background: rgba(11, 99, 246, 0.16);
  color: #ffffff;
}

.site-footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.site-footer__map {
  position: absolute;
  right: 0;
  bottom: 4.25rem;
  width: min(26rem, 42vw);
  height: 14rem;
  pointer-events: none;
  opacity: 0.3;
  background:
    radial-gradient(circle at 32% 48%, rgba(71, 127, 255, 0.42), transparent 15%),
    radial-gradient(circle at 69% 42%, rgba(71, 127, 255, 0.24), transparent 19%),
    radial-gradient(circle at 58% 54%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  filter: saturate(1.15);
}

.site-footer__map::before {
  content: "";
  position: absolute;
  inset: 10% 8% 12% 12%;
  border-radius: 58% 42% 52% 48% / 48% 58% 42% 52%;
  border: 1px solid rgba(118, 157, 223, 0.14);
  background:
    radial-gradient(circle at 42% 44%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 64% 58%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px);
  background-size: 16px 16px, 18px 18px;
}

.site-footer__map-dot {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #4b87ff;
  box-shadow: 0 0 0 0.45rem rgba(75, 135, 255, 0.12);
}

.site-footer__map-dot--west {
  top: 46%;
  left: 45%;
}

.site-footer__map-dot--east {
  top: 40%;
  left: 56%;
}

.btn-primary,
.btn-outline-light,
.btn-success,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-primary {
  border-radius: 0.8rem;
  padding-inline: 1rem;
}

.btn-primary {
  background: linear-gradient(180deg, var(--cafri-accent-strong), var(--cafri-accent));
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #2778ff, #0b63f6);
  border-color: transparent;
}

.btn-outline-light {
  border-color: rgba(115, 154, 204, 0.3);
}

.button-icon {
  display: inline-flex;
  align-items: center;
}

.button-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.home-section {
  margin-bottom: 2.5rem;
}

.home-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-section__title {
  margin: 0;
  color: var(--cafri-text-dark);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.home-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cafri-accent);
  font-weight: 600;
  text-decoration: none;
}

.home-section__link:hover,
.home-section__link:focus {
  color: var(--cafri-accent-strong);
}

.home-section__link span {
  transition: transform 180ms ease;
}

.home-section__link:hover span,
.home-section__link:focus span {
  transform: translateX(3px);
}

.home-intelligence-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.home-intelligence-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(166, 181, 204, 0.4);
  border-radius: 0.95rem;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(18, 48, 95, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-intelligence-card:hover,
.home-intelligence-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(11, 99, 246, 0.45);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

.home-intelligence-card__category {
  margin-bottom: 0.65rem;
  color: var(--cafri-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-intelligence-card__meta {
  margin-bottom: 0.8rem;
  color: var(--cafri-text-soft);
  font-size: 0.88rem;
}

.home-intelligence-card__title {
  margin: 0 0 0.8rem;
  color: var(--cafri-text-dark);
  font-size: 1.1rem;
  line-height: 1.42;
}

.home-intelligence-card__title a {
  color: inherit;
  text-decoration: none;
}

.home-intelligence-card__title a:hover,
.home-intelligence-card__title a:focus {
  color: var(--cafri-accent);
}

.home-intelligence-card__summary {
  display: -webkit-box;
  margin-bottom: 1.25rem;
  overflow: hidden;
  color: var(--cafri-text-soft);
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-intelligence-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.home-intelligence-card__source {
  color: var(--cafri-text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.home-intelligence-card__link {
  color: var(--cafri-text-dark);
  text-decoration: none;
}

.home-intelligence-card__link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.home-featured-publication {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 1fr) minmax(15rem, 0.55fr);
  gap: 1.6rem;
  margin-bottom: 2rem;
  padding: 1.9rem;
  border: 1px solid rgba(20, 57, 119, 0.2);
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 80% 35%, rgba(38, 98, 255, 0.28), transparent 28%),
    linear-gradient(110deg, #051327 0%, #081a35 48%, #08162d 100%);
  box-shadow: 0 30px 70px rgba(4, 12, 27, 0.32);
  color: var(--cafri-text-light);
  overflow: hidden;
}

.home-featured-publication::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 55%);
  pointer-events: none;
}

.home-featured-publication__content,
.home-featured-publication__meta {
  position: relative;
  z-index: 1;
}

.home-featured-publication__title {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.home-featured-publication__subtitle {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: rgba(247, 250, 255, 0.95);
}

.home-featured-publication__description {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: rgba(247, 250, 255, 0.82);
  line-height: 1.8;
}

.home-featured-publication__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-outline-button {
  color: var(--cafri-text-light);
}

.home-featured-publication__visual {
  position: relative;
  min-height: 100%;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 60% 40%, rgba(59, 130, 246, 0.35), transparent 38%),
    radial-gradient(circle at 52% 54%, rgba(255, 255, 255, 0.1), transparent 41%),
    linear-gradient(180deg, rgba(7, 19, 41, 0.1), rgba(7, 19, 41, 0.1));
}

.home-featured-publication__visual::before {
  content: "";
  position: absolute;
  inset: 6% 0 0 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(86, 140, 255, 0.55), rgba(13, 38, 82, 0.35) 48%, rgba(7, 19, 41, 0.05) 68%, transparent 70%),
    radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
  background-size: auto, 14px 14px;
  filter: saturate(1.1);
}

.home-featured-publication__visual::after {
  content: "";
  position: absolute;
  inset: 16% 14%;
  border-radius: 1rem;
  border: 1px solid rgba(164, 193, 255, 0.18);
  transform: rotate(-7deg);
}

.home-featured-publication__meta {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(145, 173, 220, 0.24);
}

.home-featured-publication__meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(247, 250, 255, 0.92);
  font-size: 1rem;
}

.home-featured-publication__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.home-featured-publication__meta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 0.6rem 0;
}

.coverage-item {
  display: flex;
  gap: 1rem;
  min-height: 100%;
  padding: 0.5rem 1.6rem 0.5rem 1.2rem;
  border-right: 1px solid rgba(166, 181, 204, 0.45);
  transition: transform 180ms ease;
}

.coverage-item:last-child {
  border-right: 0;
}

.coverage-item:hover,
.coverage-item:focus-within {
  transform: translateY(-2px);
}

.coverage-item__icon {
  flex: 0 0 auto;
  color: var(--cafri-accent);
}

.coverage-item__icon svg {
  width: 2.1rem;
  height: 2.1rem;
  fill: currentColor;
}

.coverage-item__title {
  margin: 0 0 0.4rem;
  color: var(--cafri-text-dark);
  font-size: 1.15rem;
  line-height: 1.25;
}

.coverage-item__description {
  margin: 0;
  color: var(--cafri-text-soft);
  line-height: 1.75;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.3), 0 0 0 0.25rem rgba(11, 99, 246, 0.34);
}

@media (max-width: 1199.98px) {
  .home-intelligence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-featured-publication {
    grid-template-columns: 1fr;
  }

  .home-featured-publication__meta {
    padding-left: 0;
    padding-top: 1.25rem;
    border-left: 0;
    border-top: 1px solid rgba(145, 173, 220, 0.24);
  }

  .coverage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .coverage-item {
    padding: 0;
    border-right: 0;
  }

  .site-nav__links .nav-link {
    padding: 0.75rem 0;
  }

  .site-nav__links .nav-link::after {
    left: 0;
    right: auto;
    width: 2.25rem;
    bottom: 0.35rem;
  }

  .site-nav__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 1rem;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__map {
    width: 20rem;
    height: 11rem;
    opacity: 0.22;
  }
}

@media (max-width: 991.98px) {
  .home-section__header {
    align-items: start;
    flex-direction: column;
  }

  .home-intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-main {
    padding-top: 1.5rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-intelligence-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-publication {
    padding: 1.35rem;
  }

  .home-featured-publication__actions .btn,
  .home-featured-publication__actions a {
    width: 100%;
  }

  .site-container {
    width: min(100% - 1.25rem, var(--cafri-container));
  }

  .site-brand {
    gap: 0.6rem;
  }

  .site-brand__text {
    max-width: 9rem;
    font-size: 0.58rem;
  }

  .site-main {
    padding-bottom: 2.25rem;
  }

  .page-shell {
    padding-bottom: 2rem;
  }

  .hero-panel,
  .content-card,
  .detail-card {
    border-radius: 1.1rem;
  }

  .hero-panel,
  .content-card {
    padding: 1.35rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__map {
    display: none;
  }
}

.page-intelligence {
  display: grid;
  gap: 1.5rem;
}

.intelligence-card,
.pagination-shell,
.professional-access-cta,
.intelligence-empty-state {
  border: 1px solid rgba(115, 154, 204, 0.16);
  border-radius: 1rem;
  background: rgba(8, 27, 53, 0.74);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.intelligence-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.35rem 0 0.15rem;
}

.intelligence-header__copy {
  max-width: 54rem;
}

.intelligence-header__copy .page-title {
  margin-bottom: 0;
}

.intelligence-header__title {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.intelligence-header__description {
  max-width: 32rem;
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(169, 181, 200, 0.86);
}

.intelligence-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.intelligence-header__action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(115, 154, 204, 0.18);
  border-radius: 0.8rem;
  color: var(--cafri-text-light);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.intelligence-header__action:hover,
.intelligence-header__action:focus {
  transform: translateY(-2px);
  border-color: rgba(115, 154, 204, 0.34);
  color: #ffffff;
}

.intelligence-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.intelligence-filter-bar__search {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 30rem;
}

.intelligence-filter-bar__search input,
.intelligence-filter-modal select,
.intelligence-results-header__sort select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 0.75rem;
  color: var(--cafri-text-light);
  background: rgba(3, 15, 31, 0.82);
  outline: none;
}

.intelligence-filter-bar__search input {
  min-height: 3rem;
  padding: 0.6rem 2.4rem 0.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(115, 154, 204, 0.26);
  border-radius: 0;
  background: transparent;
}

.intelligence-filter-bar__search input::placeholder {
  color: rgba(169, 181, 200, 0.82);
}

.intelligence-filter-bar__search input:focus {
  border-bottom-color: rgba(20, 118, 255, 0.72);
}

.intelligence-filter-bar__submit {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  color: rgba(247, 250, 255, 0.68);
  cursor: pointer;
}

.intelligence-filter-bar__submit:hover,
.intelligence-filter-bar__submit:focus {
  color: #ffffff;
}

.intelligence-filter-bar__submit svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.intelligence-filter-bar__modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  min-width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.intelligence-filter-bar__modal-trigger:hover,
.intelligence-filter-bar__modal-trigger:focus {
  border-color: rgba(20, 118, 255, 0.46);
  color: #ffffff;
  background: rgba(20, 118, 255, 0.08);
}

.intelligence-filter-bar__modal-trigger svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.intelligence-layout {
  display: block;
}

.filter-group__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-group + .filter-group {
  margin-top: 1.4rem;
}

.filter-group__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.filter-group__title {
  margin-bottom: 0.85rem;
  color: rgba(247, 250, 255, 0.9);
}

.filter-group__title-row .filter-group__title {
  margin-bottom: 0;
}

.filter-group__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(115, 154, 204, 0.24);
  border-radius: 999px;
  color: rgba(169, 181, 200, 0.92);
  font-size: 0.78rem;
}

.filter-checkbox-list {
  display: grid;
  gap: 0.75rem;
}

.filter-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(247, 250, 255, 0.92);
  cursor: pointer;
}

.filter-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-checkbox__box {
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(115, 154, 204, 0.3);
  border-radius: 0.25rem;
  background: rgba(3, 15, 31, 0.82);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.filter-checkbox__label {
  color: rgba(247, 250, 255, 0.8);
  line-height: 1.45;
  text-decoration: none;
}

.filter-checkbox__label:hover,
.filter-checkbox__label:focus {
  color: #ffffff;
  text-decoration: none;
}

.filter-checkbox:hover .filter-checkbox__box {
  border-color: rgba(115, 154, 204, 0.45);
}

.filter-checkbox input:checked + .filter-checkbox__box {
  border-color: var(--cafri-accent);
  background: linear-gradient(180deg, var(--cafri-accent-strong), var(--cafri-accent));
  box-shadow: 0 0 0 0.18rem rgba(11, 99, 246, 0.16);
}

.filter-checkbox input:checked + .filter-checkbox__box::after {
  content: "";
  display: block;
  width: 0.28rem;
  height: 0.56rem;
  margin: 0.14rem 0 0 0.32rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.filter-checkbox input:focus + .filter-checkbox__box {
  box-shadow: 0 0 0 0.2rem rgba(11, 99, 246, 0.22);
}

.intelligence-content {
  display: grid;
  gap: 1rem;
}

.intelligence-results-header {
  display: grid;
  grid-template-columns: auto minmax(18rem, 30rem) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
  padding: 0;
  width: 100%;
}

.intelligence-results-header__count {
  color: rgba(247, 250, 255, 0.78);
  font-size: 0.95rem;
}

.intelligence-results-header__search {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.intelligence-results-header__sort {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.7rem;
  color: rgba(247, 250, 255, 0.8);
}

.intelligence-results-header__sort select {
  width: auto;
  min-width: 8rem;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.intelligence-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.intelligence-card:hover,
.intelligence-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(115, 154, 204, 0.34);
  box-shadow: 0 24px 45px rgba(1, 8, 20, 0.28);
}

.category-label {
  margin-bottom: 0.75rem;
  color: #6ea6ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intelligence-card__country-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.05rem;
  min-height: 1.45rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.country-badge--kz {
  background: #2563eb;
}

.country-badge--uz {
  background: #7c3aed;
}

.country-badge--kg {
  background: #ea580c;
}

.country-badge--tj {
  background: #c026d3;
}

.country-badge--tm {
  background: #0f766e;
}

.country-badge--default {
  background: #475569;
}

.intelligence-card__country-name,
.intelligence-card__date,
.intelligence-card__source {
  color: rgba(247, 250, 255, 0.7);
}

.intelligence-card__date {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.intelligence-card__title {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
  line-height: 1.45;
}

.intelligence-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.intelligence-card__title a:hover,
.intelligence-card__title a:focus {
  color: #b6d2ff;
}

.intelligence-card__description {
  margin-bottom: 1rem;
  color: rgba(169, 181, 200, 0.92);
  line-height: 1.7;
}

.intelligence-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
}

.intelligence-card__source {
  font-size: 0.84rem;
  line-height: 1.6;
}

.intelligence-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 24px;
  color: #6ea6ff;
  font-weight: 600;
  text-decoration: none;
}

.intelligence-card__link span {
  transition: transform 180ms ease;
}

.intelligence-card__link:hover,
.intelligence-card__link:focus {
  color: #8bb8ff;
}

.intelligence-card__link:hover span,
.intelligence-card__link:focus span {
  transform: translateX(3px);
}

.intelligence-empty-state {
  padding: 2rem;
  text-align: center;
}

.intelligence-empty-state h2 {
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.intelligence-empty-state p {
  margin-bottom: 1rem;
  color: rgba(169, 181, 200, 0.92);
}

.pagination-shell {
  padding: 0.95rem 1rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.pagination--mobile {
  display: none;
}

.pagination__item,
.pagination__compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 0.75rem;
  color: rgba(247, 250, 255, 0.86);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.pagination__item--active {
  border-color: transparent;
  background: linear-gradient(180deg, var(--cafri-accent-strong), var(--cafri-accent));
  color: #ffffff;
}

.pagination__item--disabled {
  color: rgba(169, 181, 200, 0.44);
  pointer-events: none;
}

.pagination__item--ellipsis {
  background: transparent;
}

.intelligence-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.intelligence-filter-modal[hidden] {
  display: none;
}

.intelligence-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 20, 0.72);
  backdrop-filter: blur(8px);
}

.intelligence-filter-modal__dialog {
  position: relative;
  width: min(100%, 42rem);
  border: 1px solid rgba(115, 154, 204, 0.18);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(7, 22, 44, 0.96), rgba(4, 15, 31, 0.98));
  box-shadow: 0 30px 80px rgba(1, 8, 20, 0.44);
}

.intelligence-filter-modal__form {
  display: grid;
}

.intelligence-filter-modal__header,
.intelligence-filter-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.intelligence-filter-modal__header {
  border-bottom: 1px solid rgba(115, 154, 204, 0.14);
}

.intelligence-filter-modal__footer {
  flex-wrap: wrap;
  border-top: 1px solid rgba(115, 154, 204, 0.14);
}

.intelligence-filter-modal__eyebrow {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6ea6ff;
}

.intelligence-filter-modal__title {
  margin: 0;
  font-size: 1.35rem;
  color: #ffffff;
}

.intelligence-filter-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(115, 154, 204, 0.18);
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
}

.intelligence-filter-modal__close svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.intelligence-filter-modal__body {
  padding: 1.35rem;
}

.intelligence-filter-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.intelligence-filter-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.intelligence-filter-modal__reset,
.intelligence-filter-modal__secondary,
.intelligence-filter-modal__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1rem;
  border-radius: 0.8rem;
  text-decoration: none;
}

.intelligence-filter-modal__reset,
.intelligence-filter-modal__secondary {
  border: 1px solid rgba(115, 154, 204, 0.2);
  color: rgba(247, 250, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
}

.intelligence-filter-modal__primary {
  border: 1px solid rgba(20, 118, 255, 0.48);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(20, 118, 255, 0.98), rgba(11, 99, 246, 0.94));
}

.professional-access-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(18rem, 1.15fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
}

.professional-access-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1rem;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(11, 99, 246, 0.85), rgba(11, 99, 246, 0.6));
}

.professional-access-cta__icon svg,
.professional-access-cta__benefit-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.professional-access-cta__title {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.professional-access-cta__description {
  margin: 0;
  color: rgba(169, 181, 200, 0.92);
  line-height: 1.7;
}

.professional-access-cta__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.professional-access-cta__benefit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(247, 250, 255, 0.9);
}

.professional-access-cta__benefit-icon {
  display: inline-flex;
  color: #6ea6ff;
}

@media (min-width: 1400px) {
  .intelligence-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1399.98px) {
  .intelligence-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .intelligence-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intelligence-layout {
    grid-template-columns: 15rem minmax(0, 1fr);
  }

  .intelligence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .professional-access-cta {
    grid-template-columns: auto 1fr;
  }

  .professional-access-cta__benefits,
  .professional-access-cta__action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .intelligence-header {
    flex-direction: column;
  }

  .intelligence-header__actions {
    justify-content: flex-start;
  }

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

  .intelligence-results-header {
    flex-direction: column;
    align-items: start;
  }

  .intelligence-results-header__search {
    width: 100%;
    justify-content: flex-start;
  }

  .intelligence-results-header__sort {
    margin-left: 0;
  }

  .intelligence-filter-modal__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .pagination-shell,
  .professional-access-cta {
    padding: 1rem;
  }

  .intelligence-filter-bar {
    gap: 0.6rem;
  }

  .intelligence-filter-bar__search {
    max-width: none;
  }

  .intelligence-header__title {
    font-size: clamp(1.7rem, 9vw, 2.15rem);
  }

  .intelligence-grid,
  .professional-access-cta__benefits {
    grid-template-columns: 1fr;
  }

  .intelligence-filter-modal {
    padding: 0.85rem;
  }

  .intelligence-filter-modal__header,
  .intelligence-filter-modal__body,
  .intelligence-filter-modal__footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .intelligence-filter-modal__actions {
    width: 100%;
  }

  .intelligence-filter-modal__secondary,
  .intelligence-filter-modal__primary {
    flex: 1 1 0;
  }

  .intelligence-header__actions {
    width: 100%;
  }

  .intelligence-header__action {
    width: 100%;
    justify-content: center;
  }

  .pagination--desktop {
    display: none;
  }

  .pagination--mobile {
    display: flex;
    justify-content: space-between;
  }

  .professional-access-cta {
    grid-template-columns: 1fr;
  }

.professional-access-cta__action .home-v2-button {
  width: 100%;
}
}

.page-countries {
  display: grid;
  gap: 1.5rem;
}

.countries-hero,
.country-stats-card,
.countries-map-shell,
.country-card,
.compare-countries,
.compare-feature-item {
  border: 1px solid rgba(115, 154, 204, 0.16);
  border-radius: 1rem;
  background: rgba(8, 27, 53, 0.74);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.countries-hero {
  padding: 1.35rem;
  background:
    radial-gradient(circle at top left, rgba(14, 95, 248, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(8, 27, 53, 0.85), rgba(8, 27, 53, 0.72));
}

.countries-explorer {
  margin-top: 1.25rem;
}

.countries-hero-content {
  display: flex;
  flex-direction: column;
}

.countries-hero-content .page-title {
  margin-bottom: 0.9rem;
}

.countries-hero-content .page-lead {
  margin-bottom: 1.25rem;
}

.country-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: auto;
}

.country-stats-card {
  padding: 1.2rem;
}

.country-stats-card__icon,
.compare-feature-item__icon,
.country-metrics__icon {
  color: #6ea6ff;
}

.country-stats-card__icon svg,
.compare-feature-item__icon svg,
.country-metrics__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.country-stats-card__value {
  margin: 0.8rem 0 0.45rem;
  color: #0b1f35;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.country-stats-card__title {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 1.05rem;
}

.country-stats-card__description {
  margin: 0;
  color: rgba(169, 181, 200, 0.88);
  line-height: 1.65;
}

.countries-map-shell {
  position: relative;
  padding: 1rem;
  overflow: hidden;
}

.countries-map-frame {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
}

.countries-map {
  width: 100%;
  /* Wider ratio now that the map spans the full width (the layers sidebar was removed). */
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #e9eef5;
}

.countries-map-frame:fullscreen {
  background: #0b1f35;
}

.countries-map-frame:fullscreen .countries-map {
  aspect-ratio: auto;
  height: 100vh;
}

.countries-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.countries-map-toolbar__title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}

.countries-map-year-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(169, 181, 200, 0.9);
}

.countries-map-year-select select {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(115, 154, 204, 0.28);
  border-radius: 0.6rem;
  background: rgba(8, 27, 53, 0.6);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.countries-map-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.countries-map-legend {
  position: absolute;
  z-index: 1000;
  top: 1rem;
  right: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 0.9rem;
  background: rgba(8, 27, 53, 0.78);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.countries-map-legend__title {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.countries-map-legend ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.countries-map-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(169, 181, 200, 0.9);
  font-size: 0.75rem;
}

.countries-map-legend__swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  flex: none;
}

.countries-map-legend__swatch--high { background: #10b981; }
.countries-map-legend__swatch--good { background: #2563eb; }
.countries-map-legend__swatch--mid { background: #eab308; }
.countries-map-legend__swatch--low { background: #f97316; }
.countries-map-legend__swatch--negative { background: #ef4444; }
.countries-map-legend__swatch--none { background: #94a3b8; }

.country-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
  color: #6ea6ff;
  font-weight: 600;
  text-decoration: none;
}

.country-card__link span {
  transition: transform 180ms ease;
}

.country-card__link:hover span,
.country-card__link:focus span {
  transform: translateX(3px);
}

.countries-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
  background: #e9eef5;
}

.countries-map-fallback h2 {
  margin: 0;
  font-size: 1rem;
  color: #0b1f35;
}

.countries-map-fallback p {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
}

.countries-map-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  color: rgba(169, 181, 200, 0.9);
  font-size: 0.82rem;
}

.countries-map-hint svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  opacity: 0.75;
}

.countries-grid-section {
  display: grid;
  gap: 1.25rem;
}

.countries-grid-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.countries-grid-section__title {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
}

.countries-grid-section__description {
  margin: 0;
  color: rgba(169, 181, 200, 0.9);
}

.countries-grid-section__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.countries-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(115, 154, 204, 0.28);
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(169, 181, 200, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

.countries-compare-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.countries-compare-btn:hover,
.countries-compare-btn:focus-visible {
  border-color: #2563eb;
  color: #2563eb;
}

.countries-grid-nav {
  display: flex;
  gap: 0.5rem;
}

.countries-grid-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(115, 154, 204, 0.28);
  border-radius: 0.6rem;
  background: transparent;
  color: rgba(169, 181, 200, 0.9);
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

.countries-grid-nav__btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.countries-grid-nav__btn:hover,
.countries-grid-nav__btn:focus-visible {
  border-color: #2563eb;
  color: #2563eb;
}

.countries-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.25rem;
}

.countries-grid .country-card {
  scroll-snap-align: start;
}

.countries-grid .country-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}

@media (min-width: 1200px) {
  .countries-grid {
    grid-auto-flow: initial;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
  }

  .countries-grid-nav {
    display: none;
  }
}

/* Leaflet chrome: match the app's rounded, shadowed control style instead of
   Leaflet's stock square buttons. */
.countries-map .leaflet-control {
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.14);
}

.countries-map .leaflet-bar a {
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  color: #33506e;
}

.countries-map .leaflet-bar a svg {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.countries-map .leaflet-control-scale-line {
  border-color: #33506e;
  color: #33506e;
  background: rgba(255, 255, 255, 0.85);
}

.countries-map .leaflet-tooltip.map-country-tooltip {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}

.countries-map .leaflet-tooltip.map-country-tooltip::before {
  display: none;
}

.map-country-tooltip__name {
  display: block;
  color: #0b1f35;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 6px rgba(255, 255, 255, 0.65);
}

.map-country-tooltip__growth {
  display: block;
  margin-top: 0.1rem;
  color: rgba(11, 31, 53, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 6px rgba(255, 255, 255, 0.65);
}

.countries-map .leaflet-tooltip.map-capital-label {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 0 0 0.3rem;
  color: #5c7898;
  font-size: 0.68rem;
  font-weight: 600;
  pointer-events: none;
}

.countries-map .leaflet-tooltip.map-capital-label::before {
  display: none;
}

.map-neighbor-label {
  color: rgba(51, 80, 110, 0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

.country-card {
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.country-card:hover,
.country-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(115, 154, 204, 0.34);
  box-shadow: 0 24px 45px rgba(1, 8, 20, 0.28);
}

.country-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 2.45;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.country-card__image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(4, 12, 25, 0.18));
  transition: transform 250ms ease;
}

.country-card:hover .country-card__image-overlay,
.country-card:focus-within .country-card__image-overlay {
  transform: scale(1.05);
}

.country-card-image--kazakhstan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.08), rgba(8, 25, 55, 0.42)),
    radial-gradient(circle at 55% 20%, rgba(141, 189, 255, 0.7), transparent 24%),
    linear-gradient(180deg, #3a5f8f 0%, #182b45 60%, #102035 100%);
}

.country-card-image--uzbekistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.12), rgba(8, 25, 55, 0.4)),
    radial-gradient(circle at 40% 35%, rgba(109, 167, 255, 0.44), transparent 20%),
    linear-gradient(180deg, #6c87b0 0%, #395677 55%, #16273f 100%);
}

.country-card-image--kyrgyzstan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.14), rgba(8, 25, 55, 0.42)),
    linear-gradient(160deg, #7ea1ca 0%, #34516f 52%, #12233c 100%);
}

.country-card-image--tajikistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.12), rgba(8, 25, 55, 0.44)),
    radial-gradient(circle at 62% 28%, rgba(193, 162, 255, 0.28), transparent 18%),
    linear-gradient(180deg, #58739a 0%, #2a4464 55%, #15263f 100%);
}

.country-card-image--turkmenistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.1), rgba(8, 25, 55, 0.42)),
    radial-gradient(circle at 48% 22%, rgba(174, 232, 227, 0.26), transparent 24%),
    linear-gradient(180deg, #7497ab 0%, #345568 55%, #16283d 100%);
}

.country-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
}

.country-card__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.country-card__title {
  margin: 0;
  font-size: 1.2rem;
}

.country-card__title a {
  color: #ffffff;
  text-decoration: none;
}

.country-card__capital {
  color: rgba(247, 250, 255, 0.76);
}

.country-card__summary {
  margin: 0;
  color: rgba(169, 181, 200, 0.92);
  line-height: 1.7;
}

.country-metrics {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.country-metrics__item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.65rem;
  align-items: start;
}

.country-metrics__label {
  color: rgba(169, 181, 200, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.country-metrics__value {
  color: rgba(247, 250, 255, 0.9);
  font-weight: 600;
}

.compare-countries {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  padding: 1.35rem;
}

.compare-countries__title {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.compare-countries__description {
  margin: 0 0 1rem;
  color: rgba(169, 181, 200, 0.92);
  line-height: 1.75;
}

.compare-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.compare-feature-item {
  padding: 1rem;
}

.compare-feature-item__title {
  margin: 0.75rem 0 0.4rem;
  color: #ffffff;
  font-size: 1rem;
}

.compare-feature-item__description {
  margin: 0;
  color: rgba(169, 181, 200, 0.9);
  line-height: 1.65;
}

@media (max-width: 1199.98px) {
  .compare-countries {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .compare-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .countries-hero,
  .compare-countries {
    padding: 1rem;
  }

  .country-stats-grid,
  .compare-feature-grid {
    grid-template-columns: 1fr;
  }

  /* The interactive map needs real width to be usable; on narrow viewports
     the country cards below cover the same information. */
  .countries-explorer {
    display: none;
  }
}

.page-country-profile {
  display: grid;
  gap: 1.25rem;
}

.country-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(169, 181, 200, 0.8);
  font-size: 0.9rem;
}

.country-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.country-breadcrumbs .is-active {
  color: #ffffff;
}

.country-profile-hero,
.country-tabs,
.country-overview-card,
.country-summary-card,
.table-card,
.chart-card,
.financial-sector-snapshot,
.financial-sector-card,
.sidebar-card,
.explore-country,
.explore-country__compare {
  border: 1px solid rgba(115, 154, 204, 0.16);
  border-radius: 1rem;
  background: rgba(8, 27, 53, 0.74);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.country-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 1.05fr) minmax(17rem, 0.72fr);
  gap: 1rem;
  padding: 1.25rem;
}

.country-profile-subtitle {
  margin-bottom: 0.8rem;
  color: rgba(169, 181, 200, 0.88);
  font-size: 1.05rem;
}

.country-profile-indicators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.country-profile-indicator {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.country-profile-indicator__icon {
  color: #6ea6ff;
}

.country-profile-indicator__icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.country-profile-indicator__label {
  color: rgba(169, 181, 200, 0.72);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.country-profile-indicator__value {
  color: #ffffff;
  line-height: 1.55;
}

.country-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: 0.9rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.country-hero-image {
  position: relative;
  min-height: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.country-hero-image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(4, 12, 25, 0.38));
}

.country-hero-image__photo,
.publication-hero-media__photo,
.article-hero-image__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-hero-image__overlay--gallery {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(4, 12, 25, 0.08), rgba(4, 12, 25, 0.78));
}

.country-hero-image__gallery-copy {
  max-width: 24rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 0.9rem;
  background: rgba(4, 15, 31, 0.5);
  backdrop-filter: blur(10px);
}

.country-hero-image__gallery-copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f7faff;
}

.country-hero-image__gallery-copy p {
  margin: 0;
  color: #a7b4c8;
  line-height: 1.5;
}

.country-hero-image__thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.country-hero-image__thumb {
  flex: 0 0 4.25rem;
  height: 4.25rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(120, 160, 210, 0.22);
  border-radius: 0.85rem;
  background: rgba(4, 15, 31, 0.55);
}

.country-hero-image__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-risk-panel {
  display: grid;
  gap: 1rem;
}

.country-risk-card,
.country-key-indicators {
  padding: 1rem;
  border: 1px solid rgba(115, 154, 204, 0.14);
  border-radius: 0.95rem;
  background: rgba(4, 15, 31, 0.54);
}

.country-risk-card__label {
  margin-bottom: 0.55rem;
  color: rgba(169, 181, 200, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.country-risk-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  min-height: 2.6rem;
  border-radius: 0.85rem;
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  font-size: 1.5rem;
  font-weight: 800;
}

/* Tone reflects how strong the underlying rating letter grade actually is
   (see CountryProfilePageViewModel.RiskRatingTone) instead of always showing
   the same "positive" color regardless of the country's real rating. */
.country-risk-card__badge--positive {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
}

.country-risk-card__badge--neutral {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

.country-risk-card__badge--caution {
  background: rgba(217, 119, 6, 0.2);
  color: #fcd34d;
}

.country-risk-card__badge--negative {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
}

.country-risk-card__value {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw + 0.6rem, 2rem);
  font-weight: 800;
  overflow-wrap: break-word;
  hyphens: auto;
}

.country-risk-card__meta {
  margin-top: 0.5rem;
  color: rgba(169, 181, 200, 0.88);
}

.country-key-indicators__title {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: 1rem;
}

.country-key-indicators__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(115, 154, 204, 0.12);
  color: rgba(169, 181, 200, 0.92);
}

.country-key-indicators__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.country-key-indicators__row strong {
  color: #ffffff;
}

.country-tabs {
  display: flex;
  gap: 0.45rem;
  padding: 0.7rem;
  overflow-x: auto;
}

.country-tabs__button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.8rem;
  padding: 0.8rem 0.95rem;
  color: rgba(169, 181, 200, 0.9);
  background: transparent;
}

.country-tabs__button.is-active {
  color: #ffffff;
}

.country-tabs__button::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.country-tabs__button.is-active::after {
  background: #4f8cff;
}

.country-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.72fr);
  gap: 1rem;
}

.country-main-content,
.country-sidebar {
  display: grid;
  gap: 1rem;
}

.country-overview-card,
.financial-sector-snapshot,
.table-card,
.chart-card,
.sidebar-card,
.explore-country__compare {
  padding: 1.15rem;
}

.country-overview-card h2,
.table-card h2,
.financial-sector-snapshot h2 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 1.25rem;
}

.country-overview-card p,
.table-card__footnote,
.sidebar-card__item p,
.explore-country__item a,
.explore-country__compare a,
.compare-feature-item__description {
  color: #6b7280;
}

.country-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.country-highlight-item {
  padding: 0.95rem;
  border: 1px solid rgba(115, 154, 204, 0.12);
  border-radius: 0.95rem;
  background: rgba(4, 15, 31, 0.48);
}

.country-highlight-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.7rem;
  border-radius: 0.75rem;
  color: #6ea6ff;
  background: rgba(79, 140, 255, 0.12);
}

.country-highlight-item__icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.country-highlight-item h3 {
  margin: 0 0 0.45rem;
  color: #ffffff;
  font-size: 1rem;
}

.country-highlight-item p {
  margin: 0;
  line-height: 1.65;
}

.country-metric-grid,
.financial-sector-snapshot__grid,
.country-banking-grid,
.macro-overview {
  display: grid;
  gap: 1rem;
}

/* Country profile indicator charts: one per indicator with history, filling the row. */
.country-indicator-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.country-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.country-summary-card__label,
.financial-sector-card__label {
  color: rgba(169, 181, 200, 0.74);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.country-summary-card__value,
.financial-sector-card__value {
  margin: 0.6rem 0 0.35rem;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
}

.country-summary-card__description,
.financial-sector-card__description {
  color: #7db1ff;
}

.macro-overview {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
}

.table-card__scroll {
  overflow-x: auto;
}

.country-data-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(247, 250, 255, 0.92);
}

.country-data-table th,
.country-data-table td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(115, 154, 204, 0.12);
  text-align: left;
}

.country-data-table th {
  color: rgba(169, 181, 200, 0.84);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chart-card__header {
  margin-bottom: 0.8rem;
}

.chart-card__title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
}

.chart-card__canvas-shell {
  position: relative;
  min-height: 17rem;
}

.financial-sector-snapshot__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.financial-sector-card {
  padding: 1rem;
}

.country-banking-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.table-card__link,
.sidebar-card__link,
.explore-country__item a,
.explore-country__compare a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.table-card__link span,
.sidebar-card__link span,
.explore-country__item a span,
.explore-country__compare a span {
  transition: transform 180ms ease;
}

.table-card__link:hover span,
.sidebar-card__link:hover span,
.explore-country__item a:hover span,
.explore-country__compare a:hover span {
  transform: translateX(3px);
}

.explore-country__item a:hover,
.explore-country__compare a:hover {
  color: #1d4ed8;
}

.sidebar-card__title {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.sidebar-card__items {
  display: grid;
  gap: 0.85rem;
}

.sidebar-card__item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(115, 154, 204, 0.12);
}

.sidebar-card__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-card__item h3 {
  margin: 0 0 0.3rem;
  color: #ffffff;
  font-size: 0.98rem;
}

.sidebar-card__item--institution h3::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0.2rem rgba(52, 211, 153, 0.12);
}

.explore-country {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(243, 247, 252, 0.92) 100%);
  box-shadow: 0 20px 48px rgba(15, 39, 66, 0.08);
}

.explore-country__title {
  margin: 0 0 0.85rem;
  color: #0f2742;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  line-height: 1.2;
}

.explore-country__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.explore-country__item {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-country__item h3,
.explore-country__compare h3 {
  margin: 0 0 0.45rem;
  color: #0f2742;
}

.explore-country__compare {
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-country__item:hover,
.explore-country__compare:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}

@media (max-width: 1399.98px) {
  .country-profile-hero {
    grid-template-columns: 1fr 1fr;
  }

  .country-risk-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .macro-overview,
  .country-banking-grid,
  .explore-country__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .country-profile-layout,
  .explore-country {
    grid-template-columns: 1fr;
  }

  .financial-sector-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .country-profile-hero,
  .country-profile-indicators,
  .country-metric-grid,
  .country-highlights-grid,
  .country-risk-panel,
  .macro-overview,
  .country-banking-grid,
  .explore-country__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .country-profile-hero,
  .country-overview-card,
  .country-summary-card,
  .table-card,
  .chart-card,
  .financial-sector-snapshot,
  .sidebar-card,
  .explore-country {
    padding: 1rem;
  }

  .financial-sector-snapshot__grid {
    grid-template-columns: 1fr;
  }

  .country-hero-image {
    min-height: 14rem;
  }
}

.quick-country-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #7dbbff;
  font-weight: 600;
  text-decoration: none;
}

.quick-country-access {
  display: grid;
  grid-template-columns: 1.15fr repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.15rem;
}

.quick-country-access__intro,
.quick-country-card {
  padding: 1rem;
  border: 1px solid rgba(120, 160, 210, 0.14);
  border-radius: 0.95rem;
  background: rgba(4, 15, 31, 0.52);
}

.quick-country-access__intro h2,
.quick-country-card h3 {
  margin: 0 0 0.45rem;
  color: #fff;
}

.quick-country-access__intro p,
.quick-country-card p {
  margin: 0 0 0.7rem;
  color: rgba(167, 180, 200, 0.9);
}

.quick-country-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-country-card:hover,
.quick-country-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(20, 118, 255, 0.34);
}

.quick-country-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 1.8rem;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #1476ff, #0b63f6);
  font-size: 0.78rem;
  font-weight: 700;
}


.page-about {
  display: grid;
  gap: 1.4rem;
}

.about-hero,
.about-feature-item,
.about-section,
.about-mission-card,
.coverage-card,
.source-item,
.workflow-step,
.audience-card,
.about-bottom-cta {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.75);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.95fr);
  gap: 1rem;
  padding: 1.2rem;
}

.about-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.about-feature-item,
.coverage-card,
.source-item,
.workflow-step,
.audience-card {
  padding: 1rem;
}

.about-feature-item__icon,
.coverage-card__icon,
.source-item__icon,
.workflow-step__number,
.audience-card__icon,
.about-mission-card__icon,
.about-bottom-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  color: #7dbbff;
  background: rgba(20, 118, 255, 0.12);
  font-weight: 700;
}

.about-feature-item h3,
.coverage-card h3,
.source-item h3,
.workflow-step h3,
.audience-card h3,
.about-mission-card h3 {
  margin: 0 0 0.45rem;
  color: #f7faff;
  font-size: 1rem;
}

.about-feature-item p,
.coverage-card p,
.source-item p,
.workflow-step p,
.about-mission-card p,
.about-bottom-cta p,
.about-section p,
.about-list {
  color: #a7b4c8;
  line-height: 1.75;
}

.about-section {
  padding: 1.2rem;
}

.about-section h2 {
  margin: 0 0 0.75rem;
  color: #f7faff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.about-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.8fr);
  gap: 1rem;
}

.about-mission-card {
  padding: 1rem;
  background: rgba(4, 15, 31, 0.42);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.geographic-coverage__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: start;
}

.about-list {
  margin: 0;
  padding-left: 1.15rem;
}

.about-list li + li {
  margin-top: 0.45rem;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.audience-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.audience-card:hover,
.audience-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(20, 118, 255, 0.3);
}

.about-bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.about-bottom-cta h2 {
  margin: 0 0 0.5rem;
  color: #f7faff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

@media (max-width: 1399.98px) {
  .sources-grid,
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .about-hero,
  .about-section__grid,
  .about-bottom-cta {
    grid-template-columns: 1fr;
  }

  .about-feature-row,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .sources-grid,
  .workflow,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .about-hero,
  .about-section,
  .about-bottom-cta {
    padding: 1rem;
  }

  .about-feature-row,
  .coverage-grid,
  .sources-grid,
  .workflow,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .about-hero .hero-actions .btn,
  .about-bottom-cta .btn {
    width: 100%;
  }
}

.page-intelligence-detail {
  display: grid;
  gap: 1.2rem;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #7f8fa6;
  font-size: 0.9rem;
}

.article-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus,
.article-breadcrumbs .is-active {
  color: #7dbbff;
}

.article-hero,
.article-tabs,
.article-section,
.sidebar-card,
.article-premium-banner {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.75);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

/* The mockup's evidence/source rows are plain flat bordered boxes — no
   shadow, no hover-lift. Only the big hero/main/sidebar containers get a
   shadow there. */
.key-change-card,
.impact-card,
.document-download-card {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 0.7rem;
  background: rgba(8, 27, 55, 0.75);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 1rem;
  padding: 1.2rem;
}

.article-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(20, 118, 255, 0.25);
  border-radius: 0.5rem;
  color: #7dbbff;
  background: rgba(11, 99, 246, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-badge-row__country {
  color: rgba(247, 250, 255, 0.84);
}

.article-title {
  margin: 0 0 0.8rem;
  color: #f7faff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.article-lead {
  margin: 0 0 1rem;
  color: #a7b4c8;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #a7b4c8;
  margin-bottom: 1rem;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.article-actions button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: rgba(247, 250, 255, 0.82);
  background: rgba(3, 15, 32, 0.48);
  font-weight: 650;
}

.article-actions svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.article-actions button:hover,
.article-actions button:focus,
.article-actions button.is-active {
  color: #7dbbff;
  border-color: rgba(20, 118, 255, 0.3);
}

.article-actions .is-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0b63f6, #1476ff);
  border-color: transparent;
}

.article-actions .is-primary:hover,
.article-actions .is-primary:focus {
  color: #ffffff;
  border-color: transparent;
}

.article-hero-image {
  position: relative;
  min-height: 19rem;
  border-radius: 0.95rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.article-hero-image__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(3,15,32,0.4));
}

.article-hero-image--kazakhstan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.08), rgba(8, 25, 55, 0.42)),
    radial-gradient(circle at 55% 20%, rgba(141, 189, 255, 0.7), transparent 24%),
    linear-gradient(180deg, #3a5f8f 0%, #182b45 60%, #102035 100%);
}

.article-hero-image--uzbekistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.12), rgba(8, 25, 55, 0.4)),
    radial-gradient(circle at 40% 35%, rgba(109, 167, 255, 0.44), transparent 20%),
    linear-gradient(180deg, #6c87b0 0%, #395677 55%, #16273f 100%);
}

.article-hero-image--kyrgyzstan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.14), rgba(8, 25, 55, 0.42)),
    linear-gradient(160deg, #7ea1ca 0%, #34516f 52%, #12233c 100%);
}

.article-hero-image--tajikistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.12), rgba(8, 25, 55, 0.44)),
    radial-gradient(circle at 62% 28%, rgba(193, 162, 255, 0.28), transparent 18%),
    linear-gradient(180deg, #58739a 0%, #2a4464 55%, #15263f 100%);
}

.article-hero-image--turkmenistan {
  background:
    linear-gradient(180deg, rgba(8, 25, 55, 0.1), rgba(8, 25, 55, 0.42)),
    radial-gradient(circle at 48% 22%, rgba(174, 232, 227, 0.26), transparent 24%),
    linear-gradient(180deg, #7497ab 0%, #345568 55%, #16283d 100%);
}

.article-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem;
  overflow-x: auto;
}

.article-tabs__button {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  padding: 0.8rem 0.2rem;
  color: #a7b4c8;
  background: transparent;
  text-decoration: none;
}

.article-tabs__button.is-active {
  color: #f7faff;
}

.article-tabs__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.article-tabs__button.is-active::after {
  background: #1476ff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.7fr);
  gap: 1rem;
}

.article-main,
.article-sidebar {
  display: grid;
  gap: 1rem;
}

/* The reference mockup wraps the whole article body in ONE card and keeps the
   individual sections flat inside it, instead of each section having its own
   boxed card. .article-section is shared with Publications (already flattened
   there via .page-publication-details), so scope this to Intelligence only. */
.page-intelligence-detail .article-main {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.75);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
  padding: 1.85rem;
}

/* Bootstrap's default h1-h6 font-weight (500) leaks through wherever a
   heading class doesn't set its own — the mockup's headings are bold/800,
   ours were rendering visibly thinner. Scoped to Intelligence since
   .article-section h2 / .sidebar-card h2 are shared with Publications/Countries. */
.page-intelligence-detail .article-hero,
body.theme-home .page-intelligence-detail .article-hero {
  padding: 1.85rem;
}

.page-intelligence-detail .article-section h2 {
  font-weight: 800;
}

.page-intelligence-detail .article-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 2.5rem 0 0;
}

.page-intelligence-detail .article-section:first-of-type {
  margin-top: 0;
}

.article-assessment {
  margin-top: 0.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-left: 4px solid #1476ff;
  border-radius: 0.9rem;
  background: rgba(8, 27, 55, 0.55);
}

.article-section .article-assessment p {
  margin: 0 0 0.75rem;
  color: #dbe6f4;
}

.article-section .article-assessment p:last-child {
  margin-bottom: 0;
}

.article-section,
.sidebar-card,
.article-premium-banner {
  padding: 1.15rem;
}

.article-section h2,
.sidebar-card h2 {
  margin: 0 0 0.8rem;
  color: #f7faff;
  font-size: 1.2rem;
}

.article-section p,
.key-change-card p,
.impact-card p,
.document-download-card p,
.article-info-box__text,
.article-sidebar__link-list p,
.stay-updated-card p {
  color: #a7b4c8;
  line-height: 1.7;
}

.article-info-box {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(20, 118, 255, 0.32);
  border-radius: 0.95rem;
  background: rgba(11, 99, 246, 0.1);
}

.article-info-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #7dbbff;
  background: rgba(20, 118, 255, 0.16);
  font-weight: 700;
}

.article-info-box__title {
  margin-bottom: 0.3rem;
  color: #f7faff;
  font-weight: 700;
}

.key-changes-grid,
.impact-analysis-grid {
  display: grid;
  gap: 1rem;
}

.key-changes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-analysis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.key-change-card,
.impact-card {
  padding: 1rem;
}

.key-change-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 0.7rem;
  color: #7dbbff;
  background: rgba(20, 118, 255, 0.12);
  font-weight: 700;
}

.key-change-card h3,
.impact-card h3,
.document-download-card h3,
.article-sidebar__link-list h3 {
  margin: 0 0 0.5rem;
  color: #f7faff;
  font-size: 1rem;
}

.impact-card__label {
  margin-top: 0.8rem;
  font-weight: 700;
}

.impact-high { color: #fb7185; }
.impact-medium { color: #fbbf24; }
.impact-positive { color: #34d399; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding-top: 1.6rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(120, 160, 210, 0.14);
}

.timeline-item__dot {
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: #64748b;
}

.timeline-item--current .timeline-item__dot {
  background: #1476ff;
  box-shadow: 0 0 0 0.22rem rgba(20, 118, 255, 0.16);
}

.timeline-item__date {
  margin-bottom: 0.45rem;
  color: #f7faff;
  font-weight: 700;
}

.timeline-item__description {
  color: #a7b4c8;
  line-height: 1.65;
}

.document-download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.document-download-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  color: #7dbbff;
  background: rgba(20, 118, 255, 0.12);
  font-weight: 800;
}

.document-download-card__meta {
  color: #7f8fa6;
}

.document-download-card__button-disabled {
  pointer-events: none;
  opacity: 0.72;
}

.article-sidebar__definition-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 0;
}

.article-sidebar__definition-list dt {
  color: #7f8fa6;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.article-sidebar__definition-list dd {
  margin: 0;
  color: #f7faff;
}

.article-sidebar__check-list {
  padding-left: 1.1rem;
  margin: 0;
  color: #dbe8ff;
}

.article-sidebar__check-list li + li {
  margin-top: 0.55rem;
}

.article-sidebar__link-list,
.article-sidebar__status-list {
  display: grid;
  gap: 0.8rem;
}

.article-sidebar__link-list article {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(120, 160, 210, 0.12);
}

.article-sidebar__link-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-sidebar__link-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-sidebar__link-item:hover h3,
.article-sidebar__link-item:focus h3 {
  color: #8bb8ff;
}

.article-sidebar__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #a7b4c8;
}

.article-sidebar__status-row strong {
  color: #f7faff;
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 0.16rem rgba(52, 211, 153, 0.12);
}

.article-premium-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.article-premium-banner--detail {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.article-premium-banner__preview {
  display: grid;
  gap: 0.65rem;
}

.article-premium-banner__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 118, 255, 0.24);
  background: rgba(11, 99, 246, 0.12);
  color: #7dbbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-premium-banner__preview h2 {
  margin: 0;
  color: #f7faff;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.article-premium-banner__preview p {
  margin: 0;
  max-width: 54rem;
  color: #a7b4c8;
  line-height: 1.75;
}

.article-empty-block,
.article-related-card {
  padding: 1rem;
  border: 1px solid rgba(120, 160, 210, 0.14);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
}

.article-empty-block h3,
.article-related-card__title {
  margin: 0 0 0.45rem;
  color: #f7faff;
  font-size: 1rem;
}

.article-related-card__title {
  display: block;
  text-decoration: none;
}

.article-related-card__title:hover,
.article-related-card__title:focus {
  color: #8bb8ff;
}

.article-related-card__label {
  margin-bottom: 0.55rem;
  color: #6ea6ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1399.98px) {
  .key-changes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

@media (max-width: 991.98px) {
  .article-hero,
  .key-changes-grid,
  .impact-analysis-grid,
  .timeline,
  .article-related-grid {
    grid-template-columns: 1fr;
  }

  .document-download-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .article-section,
  .sidebar-card,
  .article-premium-banner,
  .article-hero {
    padding: 1rem;
  }

  .article-title {
    font-size: 2rem;
  }
}

.page-publications {
  display: grid;
  gap: 1.25rem;
}

.publications-header,
.publication-card,
.publication-sidebar-card,
.benefits-strip,
.benefit-item,
.publications-empty-state,
.publications-loading-state {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.75);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.publications-header {
  padding: 0.35rem 0 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.publications-header__copy {
  max-width: 54rem;
}

.publications-header__title {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.publications-header__description {
  max-width: 34rem;
  margin: 0.45rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(169, 181, 200, 0.86);
}

.publications-results-header {
    display: grid;
    grid-template-columns: auto minmax(20rem, 34rem);
    align-items: center;
    gap: 1.5rem;
    justify-content: start;
    width: fit-content;
    max-width: 100%;
}

.publications-results-header__count {
    color: rgba(169, 181, 200, 0.9);
    white-space: nowrap;
}

.publications-results-header__search {
    display: flex;
    justify-content: flex-start;
    min-width: 0;
}

.publications-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 34rem;
}

.publications-filter-bar__search {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
}

.publications-filter-bar__search input,
.publications-filter-modal select {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 0.75rem;
  color: var(--cafri-text-light);
  background: rgba(3, 15, 31, 0.82);
  outline: none;
}

.publications-filter-bar__search input {
  min-height: 3rem;
  padding: 0.6rem 2.4rem 0.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(115, 154, 204, 0.26);
  border-radius: 0;
  background: transparent;
}

.publications-filter-bar__search input::placeholder {
  color: rgba(169, 181, 200, 0.82);
}

.publications-filter-bar__search input:focus {
  border-bottom-color: rgba(20, 118, 255, 0.72);
}

.publications-filter-bar__submit {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247, 250, 255, 0.68);
  transform: translateY(-50%);
  cursor: pointer;
}

.publications-filter-bar__submit:hover,
.publications-filter-bar__submit:focus {
  color: #ffffff;
}

.publications-filter-bar__submit svg,
.publications-filter-bar__modal-trigger svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.publications-filter-bar__modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  min-width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(115, 154, 204, 0.2);
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.84);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.publications-filter-bar__modal-trigger:hover,
.publications-filter-bar__modal-trigger:focus {
  border-color: rgba(20, 118, 255, 0.46);
  color: #ffffff;
  background: rgba(20, 118, 255, 0.08);
}

.publications-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.62fr);
    gap: 1rem;
    align-items: start;
}

.publications-main,
.publications-sidebar {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.publications-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    overflow-x: auto;
}

.publications-tabs__button {
  position: relative;
  flex: 0 0 auto;
  padding: 0.8rem 0.2rem;
  color: #a7b4c8;
  text-decoration: none;
  background: transparent;
}

.publications-tabs__button.is-active {
  color: #f7faff;
}

.publications-tabs__button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.publications-tabs__button.is-active::after {
  background: #1476ff;
}

.publications-grid,
.publications-loading-state {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.publications-grid--single {
    grid-template-columns: minmax(0, 21rem);
}

.publications-grid--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publication-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.publication-card:hover,
.publication-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(47, 139, 255, 0.55);
  box-shadow: 0 18px 50px rgba(0, 40, 100, 0.25);
}

.publication-card__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.publication-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  color: #7dbbff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(20, 118, 255, 0.12);
}

.publication-card__country {
  color: rgba(247, 250, 255, 0.82);
  font-size: 0.88rem;
}

.publication-card__title {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.publication-card__title a {
  color: #f7faff;
  text-decoration: none;
}

.publication-card__description {
  margin: 0 0 1rem;
  color: #a7b4c8;
  line-height: 1.7;
}

.publication-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.publication-meta {
  color: #7f8fa6;
  font-size: 0.86rem;
}

.publication-card__footer a,
.publication-sidebar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #7dbbff;
  font-weight: 600;
  text-decoration: none;
}

.publication-sidebar-card {
  padding: 1rem;
}

.publication-sidebar-card h2 {
  margin: 0 0 0.9rem;
  color: #f7faff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.publication-category-list,
.publication-latest-list {
  display: grid;
  gap: 0.55rem;
}

.publication-category-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.7rem 0.75rem;
    border-radius: 0.8rem;
    color: #d9e6fb;
    background: rgba(4, 15, 31, 0.32);
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.publication-category-item:hover,
.publication-category-item:focus-visible {
    color: #f7faff;
    border-color: rgba(47, 139, 255, 0.32);
    background: rgba(11, 99, 246, 0.1);
}

.publication-category-item.is-active {
    background: rgba(11, 99, 246, 0.14);
    border-color: rgba(47, 139, 255, 0.3);
}

.publication-category-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.45rem;
  color: #7dbbff;
  background: rgba(20, 118, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
}

.publication-category-item__count {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.65);
  color: #f7faff;
  font-size: 0.8rem;
}

.publication-latest-item {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(120, 160, 210, 0.12);
}

.publication-latest-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.publication-latest-item h3 {
  margin: 0 0 0.3rem;
  color: #f7faff;
  font-size: 0.98rem;
}

.publication-latest-item p {
  margin: 0;
  color: #a7b4c8;
}

.publications-empty-state {
  padding: 2rem;
  text-align: center;
}

.publications-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.publications-filter-modal[hidden] {
  display: none;
}

.publications-filter-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 24, 0.72);
  backdrop-filter: blur(8px);
}

.publications-filter-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 42rem);
  border: 1px solid rgba(115, 154, 204, 0.18);
  border-radius: 1rem;
  background: rgba(3, 17, 38, 0.96);
  box-shadow: 0 30px 60px rgba(1, 8, 20, 0.4);
}

.publications-filter-modal__form {
  display: grid;
}

.publications-filter-modal__header,
.publications-filter-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.publications-filter-modal__header {
  border-bottom: 1px solid rgba(115, 154, 204, 0.14);
}

.publications-filter-modal__footer {
  border-top: 1px solid rgba(115, 154, 204, 0.14);
}

.publications-filter-modal__eyebrow {
  margin-bottom: 0.35rem;
  color: #7bb2ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publications-filter-modal__title {
  margin: 0;
  color: #f7faff;
  font-size: 1.3rem;
}

.publications-filter-modal__close {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(115, 154, 204, 0.18);
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.88);
  background: rgba(255, 255, 255, 0.03);
}

.publications-filter-modal__close svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.publications-filter-modal__body {
  padding: 1.2rem;
}

.publications-filter-modal__grid {
  display: grid;
  gap: 1rem;
}

.publications-filter-modal__actions {
  display: flex;
  gap: 0.75rem;
}

.publications-filter-modal__reset,
.publications-filter-modal__secondary,
.publications-filter-modal__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border-radius: 0.8rem;
  text-decoration: none;
}

.publications-filter-modal__reset,
.publications-filter-modal__secondary {
  border: 1px solid rgba(115, 154, 204, 0.18);
  color: #dbe8ff;
  background: rgba(255, 255, 255, 0.03);
}

.publications-filter-modal__primary {
  border: 1px solid rgba(36, 112, 255, 0.48);
  color: #ffffff;
  background: linear-gradient(180deg, #1476ff 0%, #0b63f6 100%);
}

.publications-loading-state {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.publications-skeleton-card {
  min-height: 15rem;
  border: 1px solid rgba(120, 160, 210, 0.16);
  border-radius: 1rem;
  background:
    linear-gradient(90deg, rgba(15, 31, 57, 0.9) 25%, rgba(28, 51, 85, 0.95) 50%, rgba(15, 31, 57, 0.9) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s linear infinite;
}

.publications-pagination {
  padding-top: 0.2rem;
}

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 247, 251, 0.93) 100%);
  box-shadow: 0 20px 48px rgba(15, 39, 66, 0.06);
}

.benefit-item {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 39, 66, 0.04);
}

.benefit-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.7rem;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  font-weight: 700;
}

.benefit-item h3 {
  margin: 0 0 0.45rem;
  color: #0f2742;
  font-size: 1rem;
}

.benefit-item p {
  margin: 0;
  color: #6b7280;
  line-height: 1.65;
}

@media (max-width: 1399.98px) {
  .publications-grid,
  .publications-loading-state {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .publications-grid--single {
    grid-template-columns: minmax(0, 21rem);
  }

  .publications-grid--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .publications-results-header {
      grid-template-columns: 1fr;
      align-items: flex-start;
      width: 100%;
    }

  .publications-results-header__search {
      width: 100%;
      justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .publications-grid,
  .publications-loading-state,
  .benefits-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publications-grid--single,
  .publications-grid--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .publications-grid,
  .publications-loading-state,
  .benefits-strip {
    grid-template-columns: 1fr;
  }

  .publications-grid--single,
  .publications-grid--double {
    grid-template-columns: 1fr;
  }

  .publications-header__title {
    font-size: clamp(1.8rem, 7vw, 2.25rem);
  }

  .publications-filter-bar {
    max-width: none;
  }

  .publications-results-header {
    gap: 0.75rem;
  }

  .publications-results-header__count {
    white-space: normal;
  }

  .publications-filter-modal {
    padding: 0.85rem;
  }

  .publications-filter-modal__header,
  .publications-filter-modal__body,
  .publications-filter-modal__footer {
    padding-inline: 1rem;
  }

  .publications-filter-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .publications-filter-modal__actions {
    flex-direction: column;
  }
}

.page-publication-details {
  display: grid;
  gap: 1rem;
}

.publication-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #7f8fa6;
  font-size: 0.9rem;
}

.publication-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.publication-breadcrumbs a:hover,
.publication-breadcrumbs a:focus,
.publication-breadcrumbs .is-active {
  color: #dbe8ff;
}

.publication-tabs,
.kpi-grid,
.article-section,
.publication-sidebar-card,
.related-publications {
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.75);
  box-shadow: 0 20px 45px rgba(1, 8, 20, 0.22);
}

.publication-hero {
  display: block;
}

.publication-hero-content,
.publication-main,
.publication-sidebar {
  display: grid;
  gap: 1rem;
}

.publication-hero__title {
  margin: 0;
  color: #f7faff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.publication-hero__lead {
  margin: 0;
  color: #a7b4c8;
  font-size: 1.08rem;
  line-height: 1.75;
}

.publication-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.publication-badge--topic {
  color: #92d8ff;
  background: rgba(85, 198, 255, 0.12);
}

.publication-badge--coverage {
  color: #dbe8ff;
  background: rgba(148, 163, 184, 0.12);
}

.publication-meta--hero {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.publication-actions button,
.publication-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(120, 160, 210, 0.24);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  color: #dbe8ff;
  background: rgba(4, 15, 31, 0.44);
  text-decoration: none;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.publication-actions svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.publication-actions button:hover,
.publication-actions button:focus,
.publication-actions a:hover,
.publication-actions a:focus {
  border-color: rgba(47, 139, 255, 0.55);
  color: #ffffff;
}

.publication-actions .is-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0b63f6, #1476ff);
}

.publication-actions .is-secondary {
  border-color: rgba(62, 146, 255, 0.3);
  background: rgba(20, 118, 255, 0.12);
}

.publication-hero-media {
  position: relative;
  min-height: 21rem;
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(120, 160, 210, 0.22);
  background:
    radial-gradient(circle at top right, rgba(20, 118, 255, 0.36), transparent 38%),
    linear-gradient(160deg, rgba(2, 11, 24, 0.2), rgba(2, 11, 24, 0.82)),
    linear-gradient(135deg, #0a1f3d, #08162d 48%, #122b4c);
}

.publication-hero-media--trade-corridors::before,
.publication-hero-media--trade-corridors::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(0.3px);
}

.publication-hero-media--trade-corridors::before {
  top: 18%;
  left: 10%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 118, 255, 0), rgba(20, 118, 255, 0.92), rgba(85, 198, 255, 0));
  transform: rotate(-10deg);
  box-shadow: 0 0 18px rgba(20, 118, 255, 0.65);
}

.publication-hero-media--trade-corridors::after {
  top: 44%;
  left: 16%;
  width: 68%;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 224, 181, 0), rgba(77, 224, 181, 0.92), rgba(77, 224, 181, 0));
  transform: rotate(-18deg);
  box-shadow: 0 0 18px rgba(77, 224, 181, 0.55);
}

.publication-hero-media__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 17, 38, 0.08), rgba(3, 17, 38, 0.75)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 68px);
}

.publication-hero-media__content {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  max-width: 18rem;
  padding: 1rem;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 0.9rem;
  background: rgba(4, 15, 31, 0.58);
  backdrop-filter: blur(8px);
}

.publication-hero-media__content span {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: #7dbbff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.publication-hero-media__content strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.publication-hero-media__content p {
  margin: 0;
  color: #a7b4c8;
  line-height: 1.6;
}

.publication-tabs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1rem;
}

.publication-tabs__link {
  position: relative;
  flex: 0 0 auto;
  padding: 0.95rem 0.1rem;
  color: #a7b4c8;
  text-decoration: none;
  white-space: nowrap;
}

.publication-tabs__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}

.publication-tabs__link:hover,
.publication-tabs__link:focus,
.publication-tabs__link.is-active {
  color: #f7faff;
}

.publication-tabs__link.is-active::after {
  background: #1476ff;
}

.publication-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.publication-sidebar {
  position: sticky;
  top: 5.5rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1rem;
}

.kpi-card {
  padding: 1rem;
  border: 1px solid rgba(120, 160, 210, 0.16);
  border-radius: 0.9rem;
  background: rgba(4, 15, 31, 0.38);
}

.kpi-card__label {
  margin-bottom: 0.55rem;
  color: #a7b4c8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kpi-card__value {
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
}

.kpi-card__detail {
  margin-top: 0.55rem;
  color: #a7b4c8;
}

.kpi-card--positive .kpi-card__detail {
  color: #6ce5b9;
}

.kpi-card--accent .kpi-card__detail {
  color: #7dbbff;
}

.publication-highlight-list,
.publication-bullet-list {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  color: #dbe8ff;
}

.publication-highlight-list li::marker,
.publication-bullet-list li::marker {
  color: #1476ff;
}

.publication-findings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.publication-finding-card,
.publication-chart-card,
.publication-map__route-card,
.document-card {
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 0.95rem;
  background: rgba(4, 15, 31, 0.36);
}

.publication-finding-card {
  padding: 1rem;
}

.publication-finding-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 0.6rem;
  color: #7dbbff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(20, 118, 255, 0.12);
}

.publication-finding-card h3,
.publication-map__route-card h3,
.document-card h3,
.publication-chart-card h3 {
  margin: 0 0 0.55rem;
  color: #ffffff;
  font-size: 1.05rem;
}

.publication-finding-card p,
.publication-chart-card p,
.publication-map__route-card p,
.document-card p,
.photo-gallery__featured-copy p,
.publication-sidebar-list__item span {
  margin: 0;
  color: #a7b4c8;
  line-height: 1.65;
}

.article-callout {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid #1476ff;
  border-radius: 0.9rem;
  background: rgba(5, 18, 36, 0.7);
}

.article-callout__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #7dbbff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-callout h3 {
  margin: 0 0 0.4rem;
  color: #ffffff;
  font-size: 1rem;
}

.article-callout--warning {
  border-left-color: #ff8a5b;
  background: rgba(45, 16, 12, 0.28);
}

.article-callout--warning .article-callout__label {
  color: #ffb08f;
}

.article-callout--success {
  border-left-color: #4de0b5;
  background: rgba(11, 38, 33, 0.32);
}

.article-callout--success .article-callout__label {
  color: #7af0cb;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.publication-chart-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.publication-chart-card__header p {
  color: #7f8fa6;
}

.publication-chart-card__canvas-shell {
  position: relative;
  min-height: 18rem;
}

.publication-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 56rem;
}

.publication-data-table th,
.publication-data-table td {
  padding: 0.95rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(120, 160, 210, 0.12);
}

.publication-data-table thead th {
  position: sticky;
  top: 0;
  color: #dbe8ff;
  background: rgba(3, 17, 38, 0.94);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.publication-data-table tbody tr:hover {
  background: rgba(20, 118, 255, 0.08);
}

.publication-map {
  display: grid;
  gap: 1rem;
}

.publication-map__visual {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 1rem;
  background: rgba(4, 15, 31, 0.36);
}

.publication-map__visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.publication-map__visual text {
  fill: #dbe8ff;
  font-size: 16px;
  font-weight: 600;
}

.publication-map__legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.publication-map__route-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1rem;
  padding: 1rem;
}

.publication-map__route-line {
  width: 0.3rem;
  border-radius: 999px;
  background: var(--route-color);
  box-shadow: 0 0 14px color-mix(in srgb, var(--route-color) 55%, transparent);
}

.publication-map__route-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.8rem;
  margin: 0;
  color: #a7b4c8;
}

.publication-map__route-card dt {
  color: #7f8fa6;
}

.publication-map__route-card dd {
  margin: 0;
  color: #f7faff;
}

.photo-gallery {
  display: grid;
  /* minmax(0, 1fr): the scrolling thumbnail strip must not widen the gallery past its container. */
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.photo-gallery__featured,
.photo-gallery__thumb {
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
}

.photo-gallery__featured {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 1rem;
  background: rgba(4, 15, 31, 0.36);
}

.photo-gallery__featured-visual,
.photo-gallery__thumb-visual,
.photo-gallery__lightbox-visual {
  min-height: 14rem;
  background-size: cover;
  background-position: center;
}

.photo-gallery__featured-image,
.photo-gallery__thumb-image,
.photo-gallery__lightbox-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.photo-gallery__featured-image,
.photo-gallery__lightbox-image {
  min-height: 14rem;
  max-height: 32rem;
}

.photo-gallery__thumb-image {
  min-height: 7rem;
  height: 7rem;
}

.photo-gallery__featured-copy {
  padding: 1rem;
}

.photo-gallery__featured-copy h3,
.photo-gallery__lightbox-copy h3 {
  margin: 0 0 0.5rem;
  color: #ffffff;
}

/* Thumbnails form one horizontally scrolling strip (with snap) instead of wrapping rows. */
.photo-gallery__strip {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.photo-gallery__thumbs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.photo-gallery__thumbs > .photo-gallery__thumb {
  flex: 0 0 clamp(9rem, 24%, 12rem);
  scroll-snap-align: start;
}

.photo-gallery__nav {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(120, 160, 210, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1f35;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.photo-gallery__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.photo-gallery__nav[hidden] {
  display: none;
}

.photo-gallery__thumb {
  overflow: hidden;
  border: 1px solid rgba(120, 160, 210, 0.18);
  border-radius: 0.9rem;
  background: rgba(4, 15, 31, 0.3);
}

.photo-gallery__thumb-visual {
  min-height: 7rem;
}

.photo-gallery__thumb span {
  display: block;
  padding: 0.8rem;
  color: #dbe8ff;
  font-size: 0.9rem;
}

.publication-gallery__visual--port,
.publication-gallery__visual--dry-port,
.publication-gallery__visual--rail,
.publication-gallery__visual--customs {
  position: relative;
  overflow: hidden;
}

.publication-gallery__visual--port {
  background:
    linear-gradient(180deg, rgba(1, 18, 42, 0.15), rgba(1, 18, 42, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(85, 198, 255, 0.4), transparent 24%),
    linear-gradient(135deg, #0b1d39, #15355b);
}

.publication-gallery__visual--dry-port {
  background:
    linear-gradient(180deg, rgba(1, 18, 42, 0.15), rgba(1, 18, 42, 0.78)),
    radial-gradient(circle at 72% 18%, rgba(20, 118, 255, 0.35), transparent 22%),
    linear-gradient(135deg, #08192f, #1f4769);
}

.publication-gallery__visual--rail {
  background:
    linear-gradient(180deg, rgba(1, 18, 42, 0.1), rgba(1, 18, 42, 0.78)),
    radial-gradient(circle at 40% 26%, rgba(77, 224, 181, 0.28), transparent 22%),
    linear-gradient(135deg, #12233e, #294f74);
}

.publication-gallery__visual--customs {
  background:
    linear-gradient(180deg, rgba(1, 18, 42, 0.12), rgba(1, 18, 42, 0.82)),
    radial-gradient(circle at 60% 18%, rgba(246, 183, 74, 0.28), transparent 22%),
    linear-gradient(135deg, #0a1b33, #22476c);
}

.publication-gallery__visual--port::before,
.publication-gallery__visual--dry-port::before,
.publication-gallery__visual--rail::before,
.publication-gallery__visual--customs::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 18px, transparent 18px 36px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.photo-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(2, 11, 24, 0.82);
  backdrop-filter: blur(10px);
}

.photo-gallery__lightbox-frame {
  width: min(100%, 64rem);
  overflow: hidden;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.94);
}

.photo-gallery__lightbox-visual {
  min-height: 26rem;
}

.photo-gallery__lightbox-image {
  min-height: 26rem;
}

.photo-gallery__lightbox-copy {
  padding: 1rem;
}

.photo-gallery__lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(120, 160, 210, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(4, 15, 31, 0.6);
}

.document-list,
.related-publications__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.document-list__empty {
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(120, 160, 210, 0.35);
  border-radius: 0.95rem;
  color: inherit;
  opacity: 0.7;
}

.document-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.document-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.75rem;
  color: #7dbbff;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(20, 118, 255, 0.12);
}

.document-card__content span {
  color: #7f8fa6;
  font-size: 0.86rem;
}

.document-card__link,
.publication-sidebar-card__link {
  color: #7dbbff;
  text-decoration: none;
}

.publication-sidebar-card {
  padding: 1rem;
}

.publication-sidebar-card h2,
.related-publications__header h2 {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-toc,
.publication-sidebar-list {
  display: grid;
  gap: 0.55rem;
}

.publication-toc__link,
.publication-sidebar-list__item {
  padding: 0.72rem 0.78rem;
  border-radius: 0.8rem;
  color: #dbe8ff;
  text-decoration: none;
  background: rgba(4, 15, 31, 0.3);
  transition: background 180ms ease, color 180ms ease;
}

.publication-toc__link:hover,
.publication-toc__link:focus,
.publication-toc__link.is-active,
.publication-sidebar-list__item:hover,
.publication-sidebar-list__item:focus {
  color: #ffffff;
  background: rgba(20, 118, 255, 0.14);
}

.publication-sidebar-list__item strong {
  display: block;
  margin-bottom: 0.28rem;
  color: #ffffff;
  font-size: 0.94rem;
}

.publication-info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.85rem;
  margin: 0;
}

.publication-info-list dt {
  color: #7f8fa6;
}

.publication-info-list dd {
  margin: 0;
  color: #f7faff;
  text-align: right;
}

.related-publications {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.related-publications__header p {
  margin: 0;
  color: #a7b4c8;
}

.publication-card--related {
  min-height: 100%;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 1399.98px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .document-list,
  .related-publications__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .publication-hero,
  .publication-layout {
    grid-template-columns: 1fr;
  }

  .publication-sidebar {
    position: static;
  }

  .publication-findings-grid,
  .publication-map__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .kpi-grid,
  .chart-grid,
  .publication-findings-grid,
  .photo-gallery__thumbs,
  .document-list,
  .related-publications__grid,
  .publication-map__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-card {
    grid-template-columns: auto 1fr;
  }

  .document-card__link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .publication-hero,
  .kpi-grid,
  .chart-grid,
  .publication-findings-grid,
  .photo-gallery__thumbs,
  .document-list,
  .related-publications__grid,
  .publication-map__legend {
    grid-template-columns: 1fr;
  }

  .publication-tabs {
    padding-bottom: 0.1rem;
  }

  .publication-actions button,
  .publication-actions a {
    width: 100%;
    justify-content: center;
  }

  .publication-hero-media {
    min-height: 17rem;
  }

  .publication-map__visual text {
    font-size: 12px;
  }

  .publication-data-table {
    min-width: 44rem;
  }

  .photo-gallery__lightbox-visual {
    min-height: 18rem;
  }

  .photo-gallery__lightbox-image {
    min-height: 18rem;
  }

  .publication-info-list {
    grid-template-columns: 1fr;
  }

  .publication-info-list dd {
    text-align: left;
  }
}

.publication-hero__image {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 1rem;
  margin: 1rem 0 0;
}

.publication-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.publication-fact {
  padding: 1rem;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 0.75rem;
  background: rgba(8, 27, 55, 0.55);
}

.publication-fact__label {
  color: #a7b4c8;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.publication-fact__value {
  margin-top: 0.4rem;
  color: #f7faff;
  font-size: 0.92rem;
  font-weight: 650;
}

.publication-summary {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-left: 4px solid #1476ff;
  border-radius: 0.9rem;
  background: rgba(8, 27, 55, 0.55);
}

.publication-summary__label {
  display: block;
  margin-bottom: 0.5rem;
  color: #7bb2ff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.publication-summary p {
  margin: 0 0 0.75rem;
  color: #dbe6f4;
  line-height: 1.7;
}

.publication-summary p:last-child {
  margin-bottom: 0;
}

.publication-findings-inline {
  margin: 1.75rem 0;
}

.publication-findings-inline__label {
  display: block;
  margin-bottom: 0.85rem;
  color: #7bb2ff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.publication-sidebar-card__source-name {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
}

.publication-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.publication-sidebar-tag {
  padding: 0.4rem 0.7rem;
  border-radius: 0.6rem;
  background: rgba(4, 15, 31, 0.3);
  color: #dbe8ff;
  font-size: 0.82rem;
}

@media (max-width: 650px) {
  .publication-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.theme-home {
  color: #1f2937;
  background:
    radial-gradient(circle at top center, rgba(37, 99, 235, 0.08), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
}

.site-topline {
  background: #07182a;
  color: #dce5f1;
  font-size: 10px;
}

/* Header spans the full width with 4% side gutters, as in the design templates. */
.site-topline .site-container,
.site-header__bar .site-container {
  width: 100%;
  max-width: none;
  padding-inline: 4%;
}

.site-topline__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: relative;
  z-index: 1000;
}

.site-header__bar {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #46576b;
  border-bottom: 1px solid #5b6b7f;
  box-shadow: 0 5px 18px rgba(7, 25, 45, 0.08);
}

.site-nav {
  position: relative;
  min-height: 60px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.site-brand::before {
  content: "";
  display: block;
  width: 7px;
  height: 25px;
  border-radius: 4px;
  background: #6d9aff;
}

.site-brand__title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.site-nav__links {
  gap: 7px;
}

.site-nav__links .nav-link {
  padding: 10px 13px;
  border-radius: 8px;
  color: #d0d7e1;
  font-size: 12px;
  transition: background 0.15s, color 0.15s;
}

.site-nav__links .nav-link:hover,
.site-nav__links .nav-link:focus {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.site-nav__links .nav-link.is-active {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 -2px 0 #79a5ff;
  color: #ffffff;
}

.site-nav__links .nav-link::after {
  content: none;
}

.site-nav__actions {
  gap: 9px;
  padding: 0;
}

.site-nav__dashboard,
.site-ghost-button,
.site-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.site-nav__dashboard,
.site-ghost-button {
  padding: 0 14px;
  border: 1px solid #a9b5c4;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

.site-nav__dashboard:hover,
.site-nav__dashboard:focus,
.site-ghost-button:hover,
.site-ghost-button:focus {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.site-primary-cta {
  padding: 0 14px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #15263d;
  box-shadow: 0 3px 9px rgba(7, 25, 45, 0.11);
}

.site-primary-cta:hover,
.site-primary-cta:focus {
  background: #eef3fb;
  color: #15263d;
  transform: translateY(-1px);
}

/* Center the primary navigation in the bar regardless of the brand/actions widths. */
@media (min-width: 1200px) {
  .site-nav__links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .site-nav__actions {
    margin-left: auto;
  }
}

/* .site-main starts below the 30px topline; clear the 60px fixed bar plus a 3.5rem gap. */
.site-main {
  padding: calc(61px + 3.5rem) 0 3.5rem;
}

.site-main--home {
  padding-top: 0;
}

.site-footer {
  padding: 3.2rem 0 1.15rem;
  background: #07182a;
  color: #cbd5e1;
  border-top: 0;
}

.site-footer__grid {
  grid-template-columns: 1.4fr repeat(4, minmax(9rem, 1fr));
  gap: 2rem;
}

.site-footer__title {
  color: #ffffff;
  font-size: 2rem;
}

.site-footer__brand p,
.site-footer__meta,
.site-footer__links a {
  color: #cbd5e1;
}

.site-footer__heading {
  color: #ffffff;
  font-size: 0.9rem;
}

.site-footer__links a:hover,
.site-footer__links a:focus,
.site-footer__meta a:hover,
.site-footer__meta a:focus {
  color: #ffffff;
}

.site-footer__bottom {
  grid-template-columns: 1fr 2fr auto;
  color: rgba(203, 213, 225, 0.72);
  border-top-color: rgba(255, 255, 255, 0.09);
}

.home-v2 {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  color: #1f2937;
}

.home-v2 .site-container,
.home-v2-section,
.home-v2-intro,
.home-v2-countries,
.home-v2-latest,
.home-v2-about {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.home-v2-hero {
  position: relative;
  min-height: 48rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
}

.home-v2-hero__media,
.home-v2-visual-panel,
.home-v2-feature-card {
  background-size: cover;
  background-position: center;
}

.home-v2-hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 24, 42, 0.96) 0%, rgba(7, 24, 42, 0.82) 44%, rgba(7, 24, 42, 0.42) 100%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
}

.home-v2-hero__fade {
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(180deg, transparent, #f1f5fb);
}

.home-v2-hero__content {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  padding-top: 8rem;
}

.home-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
  margin-bottom: 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.11);
  color: #dbeafe;
  font-size: 0.88rem;
  font-weight: 800;
}

.home-v2-eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #d8a63f;
  box-shadow: 0 0 0 0.4rem rgba(216, 166, 63, 0.18);
}

.home-v2-hero__title {
  max-width: 58rem;
  margin: 0 0 1.4rem;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.08em;
  font-weight: 850;
}

.home-v2-hero__lead {
  max-width: 44rem;
  margin-bottom: 2rem;
  color: #dbeafe;
  font-size: 1.2rem;
  line-height: 1.7;
}

.home-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.home-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.35rem;
  border-radius: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-v2-button:hover,
.home-v2-button:focus {
  transform: translateY(-2px);
}

.home-v2-button--primary {
  background: #ffffff;
  color: #0b1f35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.home-v2-button--ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.home-v2-region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-v2-region-list span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  font-size: 0.88rem;
}

.home-v2-intro {
  position: relative;
  z-index: 2;
  margin-top: -1rem;
  padding: 0 0 1rem;
}

.home-v2-intro__card {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 1.8rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.9rem;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 39, 66, 0.08);
}

.home-v2-intro__card h2,
.home-v2-section__head h2,
.home-v2-about__box h2 {
  margin: 0;
  color: #0b1f35;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.home-v2-intro__card p,
.home-v2-section__head p {
  margin: 0;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-v2-section,
.home-v2-countries,
.home-v2-latest,
.home-v2-about {
  padding: 5.4rem 0;
}

.home-v2-section__head {
  max-width: 48rem;
  margin-bottom: 2.3rem;
}

.home-v2-section__label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-v2-directions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-v2-direction-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.65rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.65rem;
  background: #ffffff;
  color: #1f2937;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(15, 39, 66, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-v2-direction-card:hover,
.home-v2-direction-card:focus {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: 0 24px 54px rgba(15, 39, 66, 0.1);
  color: #1f2937;
}

.home-v2-direction-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.3rem;
  border-radius: 1rem;
  background: #eaf2ff;
  color: #2563eb;
  font-weight: 850;
  font-size: 0.85rem;
}

.home-v2-direction-card h3,
.home-v2-country-row h3,
.home-v2-visual-panel__caption h3,
.home-v2-feature-card h3,
.home-v2-article-card h3 {
  margin: 0 0 0.8rem;
  color: #0b1f35;
  letter-spacing: -0.03em;
}

.home-v2-direction-card h3 {
  font-size: 1.45rem;
}

.home-v2-direction-card p,
.home-v2-country-row p,
.home-v2-article-card p {
  margin: 0;
  color: #6b7280;
  line-height: 1.65;
}

.home-v2-direction-card__link {
  margin-top: 1.2rem;
  color: #2563eb;
  font-weight: 850;
  font-size: 0.9rem;
}

.home-v2-direction-card--wide {
  grid-column: span 2;
  color: #ffffff;
  background-image:
    linear-gradient(135deg, rgba(8, 27, 49, 0.96), rgba(37, 99, 235, 0.7)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=80");
  border-color: transparent;
}

.home-v2-direction-card--wide h3,
.home-v2-direction-card--wide p,
.home-v2-direction-card--wide .home-v2-direction-card__link {
  color: #ffffff;
}

.home-v2-direction-card--wide .home-v2-direction-card__number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-v2-countries {
  background: #ffffff;
  padding-inline: 2rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 2rem;
  overflow: hidden;
}

.home-v2-countries__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 2.75rem;
  align-items: center;
}

.home-v2-country-list {
  display: grid;
  gap: 0.9rem;
}

.home-v2-country-row {
  display: grid;
  grid-template-columns: 4.25rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  background: #f8fafc;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-v2-country-row:hover,
.home-v2-country-row:focus {
  background: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.07);
}

.home-v2-country-row__code {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 1rem;
  background: transparent;
  border: 0;
}

.home-v2-country-row__flag-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.12);
}

.home-v2-country-row__arrow {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2563eb;
  font-weight: 900;
}

.home-v2-visual-panel {
  min-height: 32rem;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background-image:
    linear-gradient(180deg, rgba(8, 27, 49, 0.12), rgba(8, 27, 49, 0.76)),
    url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=1400&q=80");
  box-shadow: 0 22px 60px rgba(15, 39, 66, 0.12);
}

.home-v2-visual-panel__caption {
  position: absolute;
  left: 1.6rem;
  right: 1.6rem;
  bottom: 1.6rem;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.4rem;
  background: rgba(8, 27, 49, 0.68);
  backdrop-filter: blur(12px);
}

.home-v2-visual-panel__caption h3,
.home-v2-about__box h2,
.home-v2-feature-card h3,
.home-v2-article-card--main h3 {
  color: #ffffff;
}

.home-v2-visual-panel__caption p,
.home-v2-feature-card p,
.home-v2-article-card--main p,
.home-v2-about__box p {
  color: #dbeafe;
}

.home-v2-section--features {
  background: transparent;
}

.home-v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.home-v2-feature-card {
  min-height: 22.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  padding: 1.6rem;
  border-radius: 1.75rem;
  color: #ffffff;
  text-decoration: none;
}

.home-v2-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 49, 0.08), rgba(8, 27, 49, 0.88));
}

.home-v2-feature-card > * {
  position: relative;
  z-index: 1;
}

.home-v2-feature-card--investment {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1100&q=80");
}

.home-v2-feature-card--regulatory {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1100&q=80");
}

.home-v2-feature-card--publications {
  background-image: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1100&q=80");
}

.home-v2-latest {
  background: #ffffff;
  padding-inline: 2rem;
  border-top: 1px solid #e5e7eb;
  border-radius: 2rem;
  overflow: hidden;
}

.home-v2-latest__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.15rem;
}

.home-v2-article-card {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background: #f8fafc;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-v2-article-card:hover,
.home-v2-article-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 39, 66, 0.08);
  background: #ffffff;
}

.home-v2-article-card--main {
  background: #0b1f35;
  color: #ffffff;
}

/* Keep the dark card dark on hover — the generic .home-v2-article-card:hover rule
   above sets background: #ffffff, which combined with this card's white/light-blue
   text (color: #ffffff / #dbeafe below) made the text disappear into the background
   on hover. Same selector specificity, so source order decides; this must stay after
   the generic hover rule to win. */
.home-v2-article-card--main:hover,
.home-v2-article-card--main:focus-within {
  background: #142c48;
}

.home-v2-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-v2-article-card--main .home-v2-article-card__meta {
  color: #cbd5e1;
}

.home-v2-article-card h3 {
  font-size: 1.45rem;
}

.home-v2-article-card--main h3 {
  font-size: 1.9rem;
}

.home-v2-article-card a {
  color: #2563eb;
  font-weight: 850;
  text-decoration: none;
}

.home-v2-article-card--main a {
  color: #ffffff;
}

.home-v2-about__box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2.7rem;
  border-radius: 2.1rem;
  background-image:
    linear-gradient(135deg, rgba(8, 27, 49, 0.97), rgba(16, 44, 74, 0.94)),
    url("https://images.unsplash.com/photo-1488972685288-c3fd157d7c7a?auto=format&fit=crop&w=1500&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.home-v2-about__box p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.home-v2-about__list {
  display: grid;
  gap: 0.9rem;
}

.home-v2-about__item {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 750;
}

@media (max-width: 1199.98px) {
  .home-v2-directions,
  .home-v2-feature-grid,
  .home-v2-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v2-direction-card--wide {
    grid-column: span 2;
  }

  .home-v2-countries__layout,
  .home-v2-intro__card,
  .home-v2-about__box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .site-topline {
    display: none;
  }

  .site-header__bar {
    top: 0;
  }

  .site-main {
    padding-top: 5.5rem;
  }

  .site-main--home {
    padding-top: 0;
  }

  .site-nav {
    min-height: 4.1rem;
  }

  .site-nav__links {
    padding: 0.75rem 0 0.25rem;
  }

  .site-nav__links .nav-link {
    padding: 0.7rem 0.8rem;
  }

  .site-nav__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 1rem;
  }

  .home-v2-hero {
    min-height: 44rem;
  }

  .home-v2-hero__content {
    padding-top: 7rem;
  }

  .site-footer__grid,
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .home-v2-hero__title {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .home-v2-hero__lead {
    font-size: 1.05rem;
  }

  .home-v2-directions,
  .home-v2-feature-grid,
  .home-v2-latest__grid {
    grid-template-columns: 1fr;
  }

  .home-v2-direction-card--wide {
    grid-column: span 1;
  }

  .home-v2-intro__card,
  .home-v2-about__box {
    padding: 1.6rem;
    border-radius: 1.5rem;
  }

  .home-v2-countries {
    padding-inline: 1.6rem;
  }

  .home-v2-latest {
    padding-inline: 1.6rem;
  }

  .home-v2-section,
  .home-v2-countries,
  .home-v2-latest,
  .home-v2-about {
    padding: 4rem 0;
  }

  .home-v2-visual-panel {
    min-height: 24rem;
  }

  .home-v2-country-row {
    grid-template-columns: 3.4rem 1fr auto;
  }
}

body.theme-home .page-intelligence {
  display: grid;
  gap: 2rem;
  color: #1f2937;
}

body.theme-home .intelligence-header--editorial {
  display: block;
  padding: 0 0 0.4rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-home .intelligence-header__copy {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

body.theme-home .intelligence-header__title {
  margin: 0 0 0.9rem;
  color: #0b1f35;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

body.theme-home .intelligence-header__description {
  margin: 0;
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.75;
}

body.theme-home .intelligence-layout {
  grid-template-columns: 1fr;
  gap: 0;
}

body.theme-home .intelligence-content {
  display: grid;
  gap: 1.6rem;
}

body.theme-home .intelligence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

body.theme-home .intelligence-card {
  min-height: 100%;
  padding: 1.45rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(18, 48, 95, 0.08);
}

body.theme-home .intelligence-card:hover,
body.theme-home .intelligence-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

body.theme-home .category-label {
  margin-bottom: 0.75rem;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .intelligence-card__country-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

body.theme-home .intelligence-card__country-name,
body.theme-home .intelligence-card__date,
body.theme-home .intelligence-card__source,
body.theme-home .intelligence-card__divider {
  color: #7b8698;
  font-size: 0.9rem;
  line-height: 1.45rem;
}

body.theme-home .intelligence-card__date {
  margin-bottom: 0;
  white-space: nowrap;
}

body.theme-home .intelligence-card__title {
  margin: 0 0 0.8rem;
  color: #0b1f35;
  font-size: 1.2rem;
  line-height: 1.42;
}

body.theme-home .intelligence-card__title a {
  color: inherit;
}

body.theme-home .intelligence-card__title a:hover,
body.theme-home .intelligence-card__title a:focus {
  color: #2563eb;
}

body.theme-home .intelligence-card__description {
  color: #6b7280;
  line-height: 1.72;
}

body.theme-home .intelligence-card__footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #edf1f7;
}

body.theme-home .intelligence-card__link {
  color: #2563eb;
  font-weight: 800;
}

body.theme-home .intelligence-empty-state {
  padding: 3rem 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .intelligence-empty-state h2 {
  color: #0b1f35;
}

body.theme-home .intelligence-empty-state p {
  color: #6b7280;
}

body.theme-home .intelligence-empty-state__button {
  margin-top: 0.6rem;
  color: #0b1f35;
  border-color: rgba(11, 31, 53, 0.18);
  background: transparent;
}

body.theme-home .pagination-shell {
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
  color: #6b7280;
  justify-content: center;
}

body.theme-home .pagination {
  justify-content: center;
}

body.theme-home .pagination__item,
body.theme-home .pagination__compact {
  border-color: #d9e1ee;
  background: #ffffff;
  color: #4b5563;
}

body.theme-home .pagination__item:hover,
body.theme-home .pagination__item:focus {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
}

body.theme-home .pagination__item--active {
  border-color: #bfdbfe;
  background: #eaf2ff;
  color: #2563eb;
}

body.theme-home .pagination__item--disabled {
  background: #f8fafc;
  color: #9aa4b2;
}

body.theme-home .pagination__item--ellipsis {
  border-color: transparent;
  background: transparent;
}

/* Intelligence landing (/intelligence) and archive (/intelligence/archive).
   Sizes follow documentation/template/cafri_intelligence_listing_by_country_latest_v4.html
   and cafri_intelligence_archive_practical_v6.html. */
body.theme-home .page-intelligence {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  gap: 0;
  font-size: 14px;
  line-height: 1.5;
}

body.theme-home .page-intelligence a:not(.home-v2-button) {
  text-decoration: none;
}

/* Bootstrap sets headings to 500 / 1.2; the templates use the browser default bold and inherit 1.5. */
body.theme-home .page-intelligence h2,
body.theme-home .page-intelligence h3 {
  font-weight: 700;
  line-height: 1.5;
}

body.theme-home .page-intelligence .intelligence-header--editorial {
  padding: 0 0 20px;
}

body.theme-home .page-intelligence .intelligence-header__copy {
  max-width: none;
}

body.theme-home .page-intelligence .home-v2-section__label {
  display: block;
  margin: 0;
  color: #245bdb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

body.theme-home .page-intelligence .intelligence-header__title {
  margin: 4px 0 8px;
  color: #10233d;
  font-size: 40px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body.theme-home .page-intelligence .intelligence-header__description {
  max-width: none;
  color: #64758e;
  font-size: 13px;
  line-height: 1.5;
}

body.theme-home .intel-subnav {
  display: flex;
  align-items: center;
  gap: 27px;
  /* The first section head's 25px top margin provides the gap (margins don't collapse in the grid page). */
  margin-bottom: 0;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #d9e1ed;
}

body.theme-home .intel-subnav a {
  padding: 13px 0 12px;
  border-bottom: 2px solid transparent;
  color: #61728a;
  font-size: 12px;
  font-weight: 700;
}

body.theme-home .intel-subnav a.is-active {
  border-bottom-color: #245bdb;
  color: #245bdb;
}

body.theme-home .intel-subnav__meta {
  margin-left: auto;
  color: #8290a4;
  font-size: 11px;
}

body.theme-home .intel-section {
  scroll-margin-top: 110px;
}

body.theme-home .intel-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 25px 0 14px;
}

body.theme-home .intel-section-head h2 {
  margin: 0;
  color: #10233d;
  font-size: 20px;
  letter-spacing: -0.025em;
}

body.theme-home .intel-section-head p {
  margin: 3px 0 0;
  color: #667891;
  font-size: 12px;
}

body.theme-home .intel-section-head__link {
  color: #245bdb;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

body.theme-home .intel-read {
  color: #245bdb;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

body.theme-home .intel-section-head__link:hover,
body.theme-home .intel-section-head__link:focus,
body.theme-home .intel-read:hover,
body.theme-home .intel-read:focus {
  color: #194bc0;
}

body.theme-home .intel-eyebrow {
  color: #245bdb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Typographic stand-in used until an item has an uploaded image (no stock photography). */
body.theme-home .intel-visual--placeholder {
  background:
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.28), transparent 45%),
    linear-gradient(135deg, #0b1f35 0%, #163457 100%);
}

body.theme-home .intel-visual__label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 4px;
  background: #ffffff;
  color: #245bdb;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .intel-visual__code {
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.theme-home .intel-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
}

body.theme-home .intel-lead,
body.theme-home .intel-side-card,
body.theme-home .intel-trend-card {
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(24, 43, 69, 0.035);
}

body.theme-home .intel-lead__visual {
  position: relative;
  display: block;
  height: 315px;
  overflow: hidden;
  color: #ffffff;
}

body.theme-home .intel-lead__visual img,
body.theme-home .intel-side-card__visual img,
body.theme-home .intel-trend-card__visual img,
body.theme-home .intelligence-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-home .intel-lead__visual img,
body.theme-home .intel-trend-card__visual img {
  position: absolute;
  inset: 0;
}

body.theme-home .intel-lead__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 24, 44, 0.73), transparent 68%);
}

body.theme-home .intel-lead__overlay {
  position: absolute;
  right: 22px;
  bottom: 19px;
  left: 22px;
  z-index: 1;
}

body.theme-home .intel-lead__overlay .intel-eyebrow {
  color: #c1d4ff;
}

body.theme-home .intel-lead__overlay h3 {
  max-width: 760px;
  margin: 7px 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.17;
  letter-spacing: -0.03em;
}

body.theme-home .intel-lead__overlay p {
  max-width: 650px;
  margin: 0;
  color: #e4ebf4;
  font-size: 12px;
  line-height: 1.55;
}

body.theme-home .intel-lead__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 19px;
  color: #758198;
  font-size: 11px;
}

body.theme-home .intel-side-list {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 17px;
}

body.theme-home .intel-side-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
}

body.theme-home .intel-side-card__visual {
  display: grid;
  place-items: center;
  min-height: 170px;
  overflow: hidden;
}

body.theme-home .intel-side-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
}

body.theme-home .intel-side-card__copy h3 {
  margin: 6px 0;
  color: #10233d;
  font-size: 15px;
  line-height: 1.3;
}

body.theme-home .intel-side-card__copy h3 a {
  color: inherit;
}

body.theme-home .intel-side-card__copy h3 a:hover,
body.theme-home .intel-side-card__copy h3 a:focus {
  color: #245bdb;
}

body.theme-home .intel-side-card__copy p {
  margin: 0 0 10px;
  color: #667891;
  font-size: 11px;
}

body.theme-home .intel-side-card__copy .intel-read {
  margin-top: auto;
}

body.theme-home .intel-country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.theme-home .intel-country {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 15px 15px 12px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(24, 43, 69, 0.03);
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.theme-home .intel-country:hover {
  border-color: #c9d6e8;
  box-shadow: 0 8px 22px rgba(24, 43, 69, 0.06);
}

body.theme-home .intel-country__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

body.theme-home .intel-country__head h3 {
  margin: 0;
  color: #10233d;
  font-size: 14px;
  letter-spacing: -0.01em;
}

body.theme-home .intel-country__head p {
  margin: 2px 0 0;
  color: #8994a5;
  font-size: 10px;
}

body.theme-home .intel-country__flag {
  display: block;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: contain;
  box-shadow: 0 4px 10px rgba(15, 39, 66, 0.12);
}

body.theme-home .intel-country__code {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e9efff;
  color: #245bdb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body.theme-home .intel-country__code--uz { background: #e6f4fa; color: #187ca5; }
body.theme-home .intel-country__code--kg { background: #fff0e5; color: #c65319; }
body.theme-home .intel-country__code--tj { background: #f2eafa; color: #784bb0; }
body.theme-home .intel-country__code--tm { background: #e5f5ee; color: #26805f; }

body.theme-home .intel-country__total {
  margin-left: auto;
  padding: 4px 6px;
  border-radius: 5px;
  background: #f4f6fa;
  color: #74839a;
  font-size: 9px;
  white-space: nowrap;
}

body.theme-home .intel-country__story {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f4;
  color: inherit;
}

body.theme-home .intel-country__story strong {
  color: #1b2e47;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

body.theme-home .intel-country__story:hover strong,
body.theme-home .intel-country__story:focus strong {
  color: #245bdb;
}

body.theme-home .intel-country__date,
body.theme-home .intel-country__topic {
  color: #8793a5;
  font-size: 9px;
}

body.theme-home .intel-country__empty {
  margin: 0;
  padding: 12px 0;
  color: #8793a5;
  font-size: 11px;
}

body.theme-home .intel-country__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  color: #245bdb;
  font-size: 10px;
  font-weight: 800;
}

body.theme-home .intel-country__more span {
  font-size: 14px;
}

body.theme-home .intel-trending {
  margin-top: 36px;
  padding: 21px;
  border: 1px solid #dce5f0;
  border-radius: 15px;
  background: #eaf0f8;
}

body.theme-home .intel-trending .intel-section-head {
  margin: 0 0 15px;
  align-items: center;
}

body.theme-home .intel-trending .intel-section-head h2 {
  letter-spacing: normal;
}

body.theme-home .intel-trending .intel-section-head p {
  margin-top: 2px;
  color: #74829a;
  font-size: 11px;
}

body.theme-home .intel-trending__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

body.theme-home .intel-trend-card {
  display: block;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}

body.theme-home .intel-trend-card:hover,
body.theme-home .intel-trend-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(24, 43, 69, 0.09);
}

body.theme-home .intel-trend-card__visual {
  position: relative;
  height: 105px;
}

body.theme-home .intel-trend-card__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 4px;
  background: #ffffff;
  color: #245bdb;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

body.theme-home .intel-trend-card__body {
  padding: 11px;
}

body.theme-home .intel-trend-card__body .intel-eyebrow {
  font-size: 8px;
}

body.theme-home .intel-trend-card__body h3 {
  margin: 5px 0 7px;
  color: #10233d;
  font-size: 13px;
  line-height: 1.35;
}

body.theme-home .intel-trend-card__meta {
  color: #8591a3;
  font-size: 10px;
}

/* Archive toolbar (v6) */
body.theme-home .intel-toolbar {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 14px;
  border: 1px solid #dfe5ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(16, 35, 61, 0.03);
}

body.theme-home .intel-toolbar__search {
  position: relative;
}

body.theme-home .intel-toolbar__search input {
  width: 100%;
  height: 44px;
  padding: 0 15px 0 42px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fbfcfe;
  color: #17283f;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

body.theme-home .intel-toolbar__search-submit {
  position: absolute;
  top: 50%;
  left: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #718198;
  transform: translateY(-50%);
}

body.theme-home .intel-toolbar__search-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.theme-home .intel-toolbar__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body.theme-home .intel-toolbar__filters select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #dce4ef;
  border-radius: 9px;
  background-color: #ffffff;
  color: #3d4d63;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

body.theme-home .intel-toolbar__search input:focus,
body.theme-home .intel-toolbar__filters select:focus {
  border-color: #7898ed;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(36, 91, 219, 0.07);
}

body.theme-home .intel-toolbar__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 24px;
  padding-top: 2px;
}

body.theme-home .intel-toolbar__count {
  padding: 0 2px;
  color: #738198;
  font-size: 11px;
}

body.theme-home .intel-toolbar__reset,
body.theme-home .intel-toolbar__apply {
  min-height: 28px;
  padding: 5px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #245bdb;
  font-size: 11px;
  font-weight: 750;
}

body.theme-home .intel-toolbar__reset:hover,
body.theme-home .intel-toolbar__reset:focus {
  background: #f0f4ff;
  color: #1748b5;
}

body.theme-home .page-intelligence .intelligence-content {
  gap: 0;
}

/* The archive template (v6) is a little narrower with a 36px title. */
body.theme-home .page-intelligence--archive {
  max-width: 1184px;
}

body.theme-home .page-intelligence--archive .intelligence-header__title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

/* Archive heading (v6): title left, caption right on one baseline. */
body.theme-home .page-intelligence .intelligence-content > .intel-section-head:first-child {
  align-items: baseline;
  margin: 0 0 13px;
}

body.theme-home .page-intelligence .intelligence-content > .intel-section-head h2 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

body.theme-home .page-intelligence .intelligence-content > .intel-section-head p {
  margin: 0;
  font-size: 11px;
}

body.theme-home #countries .intel-section-head {
  margin-top: 30px;
}

/* Archive cards (v6) */
body.theme-home .page-intelligence .intelligence-grid {
  gap: 16px;
}

body.theme-home .page-intelligence .intelligence-card {
  padding: 13px 14px 14px;
  border: 1px solid #dfe5ed;
  border-radius: 11px;
  box-shadow: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

body.theme-home .page-intelligence .intelligence-card:hover,
body.theme-home .page-intelligence .intelligence-card:focus-within {
  transform: translateY(-2px);
  border-color: #dfe5ed;
  box-shadow: 0 8px 20px rgba(16, 35, 61, 0.07);
}

body.theme-home .page-intelligence .intelligence-card--with-image {
  overflow: hidden;
}

body.theme-home .page-intelligence .intelligence-card__image {
  display: block;
  height: 155px;
  margin: -13px -14px 13px;
  overflow: hidden;
  background: #dce5f0;
}

body.theme-home .page-intelligence .category-label {
  margin-bottom: 8px;
  color: #245bdb;
  font-size: 9px;
  letter-spacing: 0.06em;
}

body.theme-home .page-intelligence .intelligence-card__country-row {
  gap: 7px;
  margin-bottom: 8px;
}

body.theme-home .page-intelligence .intelligence-card__country-name,
body.theme-home .page-intelligence .intelligence-card__date,
body.theme-home .page-intelligence .intelligence-card__divider {
  color: #7a879a;
  font-size: 10px;
  line-height: 1.5;
}

body.theme-home .page-intelligence .country-badge {
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
  color: #245bdb;
  font-size: 10px;
  font-weight: 850;
}

body.theme-home .page-intelligence .intelligence-card__title {
  margin: 0 0 7px;
  color: #15263d;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

body.theme-home .page-intelligence .intelligence-card__description {
  margin: 0 0 14px;
  color: #66758a;
  font-size: 12px;
  line-height: 1.5;
}

body.theme-home .page-intelligence .intelligence-card__footer {
  gap: 8px;
  padding-top: 10px;
  border-top-color: #edf0f4;
}

body.theme-home .page-intelligence .intelligence-card__source {
  overflow: hidden;
  color: #8994a5;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.theme-home .page-intelligence .intelligence-card__link {
  color: #245bdb;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

body.theme-home .load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

body.theme-home .load-more__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  min-height: 44px;
  padding: 12px 23px;
  border: 1px solid #245bdb;
  border-radius: 10px;
  background: #245bdb;
  box-shadow: 0 4px 10px rgba(36, 91, 219, 0.13);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

body.theme-home .load-more__button:hover,
body.theme-home .load-more__button:focus {
  background: #194bc0;
  box-shadow: 0 7px 15px rgba(36, 91, 219, 0.17);
  color: #ffffff;
  transform: translateY(-1px);
}

body.theme-home .load-more__button[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

body.theme-home .load-more__note {
  margin: 0;
  color: #7d899b;
  font-size: 11px;
}

body.theme-home .page-intelligence .intelligence-empty-state {
  margin-top: 0;
}

@media (max-width: 1100px) {
  body.theme-home .intel-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-home .intel-toolbar__filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  body.theme-home .intel-lead-grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .intel-side-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  body.theme-home .intel-side-card {
    grid-template-columns: 1fr;
  }

  body.theme-home .intel-side-card__visual {
    min-height: 140px;
  }

  body.theme-home .intel-country-grid,
  body.theme-home .intel-trending__grid,
  body.theme-home .intel-toolbar__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  body.theme-home .page-intelligence .intelligence-header__title {
    font-size: 34px;
  }

  body.theme-home .intel-subnav {
    gap: 20px;
  }

  body.theme-home .intel-subnav__meta {
    display: none;
  }

  body.theme-home .intel-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  body.theme-home .intel-lead__visual {
    height: 280px;
  }

  body.theme-home .intel-lead__overlay h3 {
    font-size: 23px;
  }

  body.theme-home .intel-lead__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  body.theme-home .intel-side-list,
  body.theme-home .intel-country-grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .intel-side-card {
    grid-template-columns: 40% minmax(0, 1fr);
  }

  body.theme-home .intel-side-card__visual {
    min-height: 155px;
  }

  body.theme-home .intel-trending {
    padding: 13px;
  }

  body.theme-home .intel-trend-card__visual {
    height: 90px;
  }

  body.theme-home .intel-trend-card__body {
    padding: 9px;
  }

  body.theme-home .intel-toolbar {
    gap: 9px;
    padding: 10px;
  }

  body.theme-home .intel-toolbar__filters {
    gap: 8px;
  }

  body.theme-home .intel-toolbar__filters select:last-child {
    grid-column: 1 / -1;
  }

  body.theme-home .page-intelligence .intelligence-card__image {
    height: 190px;
  }

  body.theme-home .load-more__button {
    width: 100%;
    max-width: 340px;
    min-width: 0;
  }
}

/* Publications library (/publications).
   Sizes follow documentation/template/cafri_publications_homepage_demo.html. */
body.theme-home .page-publications-library {
  width: 100%;
  max-width: 1184px;
  margin-inline: auto;
  color: #15263d;
  font-size: 14px;
  line-height: 1.5;
}

body.theme-home .page-publications-library a {
  text-decoration: none;
}

body.theme-home .page-publications-library h1,
body.theme-home .page-publications-library h2,
body.theme-home .page-publications-library h3 {
  font-weight: 700;
}

body.theme-home .pub-section-head h2 {
  line-height: 1.5;
}

body.theme-home .pub-hero {
  padding: 0 0 25px;
  text-align: center;
}

body.theme-home .pub-hero__eyebrow {
  color: #245bdb;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.theme-home .pub-hero h1 {
  margin: 5px 0 8px;
  color: #15263d;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

body.theme-home .pub-hero p {
  margin: 0;
  color: #6d7b90;
  font-size: 13px;
}

body.theme-home .pub-toolbar {
  margin-bottom: 23px;
  padding: 19px 19px 13px;
  border: 1px solid #dfe5ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 35, 61, 0.03);
}

body.theme-home .pub-toolbar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

body.theme-home .pub-toolbar__title {
  display: flex;
  align-items: center;
  gap: 11px;
}

body.theme-home .pub-toolbar__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid #dce6fb;
  border-radius: 10px;
  background: #f0f4ff;
  color: #245bdb;
}

body.theme-home .pub-toolbar__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.theme-home .pub-toolbar__title h2 {
  margin: 0 0 3px;
  color: #15263d;
  font-size: 15px;
  line-height: 1.2;
}

body.theme-home .pub-toolbar__title p {
  margin: 0;
  color: #7a879a;
  font-size: 11px;
}

body.theme-home .pub-toolbar__count {
  color: #718096;
  font-size: 11px;
  white-space: nowrap;
}

body.theme-home .pub-toolbar__count strong {
  margin-right: 4px;
  color: #15263d;
  font-size: 18px;
}

body.theme-home .pub-toolbar__search {
  position: relative;
  margin-bottom: 12px;
}

body.theme-home .pub-toolbar__search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid #dfe5ed;
  border-radius: 9px;
  background: #fbfcfe;
  color: #15263d;
  font-size: 12px;
  outline: none;
}

body.theme-home .pub-toolbar__search-submit {
  position: absolute;
  top: 50%;
  left: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8aa1;
  transform: translateY(-50%);
}

body.theme-home .pub-toolbar__search-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.theme-home .pub-toolbar__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.theme-home .pub-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

body.theme-home .pub-field label {
  color: #8190a4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .pub-field select {
  width: 100%;
  min-width: 0;
  height: 39px;
  padding: 0 11px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background-color: #f9fbfd;
  color: #24364e;
  font-size: 11px;
  cursor: pointer;
  outline: none;
}

body.theme-home .pub-toolbar__search input:focus,
body.theme-home .pub-field select:focus,
body.theme-home .pub-toolbar__sort select:focus {
  border-color: #91acee;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(36, 91, 219, 0.08);
}

body.theme-home .pub-toolbar__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
}

body.theme-home .pub-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7b8799;
  font-size: 10px;
}

body.theme-home .pub-toolbar__sort select {
  height: 31px;
  padding: 0 9px;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  background-color: #ffffff;
  color: #24364e;
  font-size: 11px;
  outline: none;
}

body.theme-home .pub-toolbar__reset {
  padding: 8px 11px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffff;
  color: #52647d;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

body.theme-home .pub-toolbar__reset:hover,
body.theme-home .pub-toolbar__reset:focus {
  border-color: #cbd8fa;
  background: #edf2ff;
  color: #245bdb;
}

body.theme-home .pub-section-head {
  margin: 0 0 13px;
}

body.theme-home .pub-section-head h2 {
  margin: 0;
  color: #15263d;
  font-size: 19px;
  letter-spacing: -0.025em;
}

body.theme-home .pub-section-head p {
  margin: 3px 0 0;
  color: #6d7b90;
  font-size: 11px;
}

body.theme-home .pub-list {
  display: grid;
  gap: 12px;
}

body.theme-home .pub-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.theme-home .pub-row:hover {
  border-color: #c7d5e9;
  box-shadow: 0 8px 20px rgba(16, 35, 61, 0.05);
}

/* Drawn document cover: no stock imagery, tinted by publication type. */
body.theme-home .pub-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #dbe5f1, #a5b9d1);
}

body.theme-home .pub-cover::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 86px;
  border: 1px solid #ffffff;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 8px 7px 0 rgba(24, 54, 84, 0.07);
  transform: rotate(-5deg);
}

body.theme-home .pub-cover::after {
  content: "";
  position: absolute;
  top: 46px;
  left: calc(50% - 18px);
  z-index: 1;
  width: 36px;
  height: 2px;
  background: #9eb2cb;
  box-shadow: 0 10px #c3cfdd, 0 20px #c3cfdd, 0 30px #c3cfdd;
}

/* Publication hero image replaces the drawn document when one is uploaded. */
body.theme-home .pub-cover--image {
  background: #dce5f0;
}

body.theme-home .pub-cover--image::before,
body.theme-home .pub-cover--image::after {
  content: none;
}

body.theme-home .pub-cover img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-home .pub-cover--reg {
  background: linear-gradient(145deg, #d7e0ed, #849bb8);
}

body.theme-home .pub-cover--report {
  background: linear-gradient(145deg, #d5e9e6, #83b6b2);
}

body.theme-home .pub-cover--data {
  background: linear-gradient(145deg, #e6dfef, #afa0cf);
}

body.theme-home .pub-cover__mark {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 4px 5px;
  border-radius: 4px;
  background: #ffffff;
  color: #245bdb;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.theme-home .pub-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

body.theme-home .pub-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: #7d8ba0;
  font-size: 10px;
}

body.theme-home .pub-row__source {
  color: #4f6685;
  font-weight: 750;
}

body.theme-home .pub-row__dot {
  color: #b2bdca;
}

body.theme-home .pub-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

body.theme-home .pub-tag {
  padding: 3px 6px;
  border-radius: 4px;
  background: #eef3ff;
  color: #245bdb;
  font-size: 9px;
  font-weight: 800;
}

body.theme-home .pub-tag--neutral {
  background: #f1f3f6;
  color: #65758b;
}

body.theme-home .pub-row__title {
  margin: 7px 0 5px;
  color: #15263d;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

body.theme-home .pub-row__title a {
  color: inherit;
}

body.theme-home .pub-row__title a:hover,
body.theme-home .pub-row__title a:focus {
  color: #245bdb;
}

body.theme-home .pub-row__summary {
  max-width: 760px;
  margin: 0 0 8px;
  color: #68778d;
  font-size: 11px;
}

body.theme-home .pub-row__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: #8793a5;
  font-size: 10px;
}

body.theme-home .pub-row__filetype {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #526783;
  font-weight: 850;
}

body.theme-home .pub-row__filetype b {
  padding: 2px 4px;
  border-radius: 3px;
  background: #f2f4f7;
  color: #53647b;
  font-size: 9px;
}

body.theme-home .pub-row__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  min-width: 112px;
}

body.theme-home .pub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

body.theme-home .pub-btn--primary {
  border: 1px solid #245bdb;
  background: #245bdb;
  color: #ffffff;
}

body.theme-home .pub-btn--primary:hover,
body.theme-home .pub-btn--primary:focus {
  background: #194bc0;
  color: #ffffff;
}

body.theme-home .pub-btn--secondary {
  border: 1px solid #dce4ef;
  background: #ffffff;
  color: #52647d;
}

body.theme-home .pub-btn--secondary:hover,
body.theme-home .pub-btn--secondary:focus {
  background: #f4f7fc;
  color: #52647d;
}

body.theme-home .pub-empty {
  padding: 35px;
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  background: #ffffff;
  color: #6d7b90;
  text-align: center;
}

body.theme-home .pub-empty a {
  color: #245bdb;
  font-weight: 750;
}

body.theme-home .page-publications-library .load-more {
  margin-top: 23px;
}

body.theme-home .page-publications-library .load-more__button {
  min-width: 220px;
  min-height: 43px;
  border-radius: 9px;
  font-size: 11px;
}

body.theme-home .page-publications-library .load-more__note {
  font-size: 10px;
}

@media (max-width: 900px) {
  body.theme-home .pub-toolbar__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-home .pub-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  body.theme-home .pub-row__actions {
    grid-column: 2;
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
  }

  body.theme-home .pub-btn {
    min-width: 105px;
  }
}

@media (max-width: 620px) {
  body.theme-home .pub-hero h1 {
    font-size: 31px;
  }

  body.theme-home .pub-toolbar {
    padding: 14px 12px;
  }

  body.theme-home .pub-toolbar__head {
    align-items: flex-start;
  }

  body.theme-home .pub-toolbar__filters {
    gap: 8px;
  }

  body.theme-home .pub-toolbar__filters .pub-field:last-child {
    grid-column: 1 / -1;
  }

  body.theme-home .pub-toolbar__foot {
    flex-wrap: wrap;
  }

  body.theme-home .pub-section-head h2 {
    font-size: 17px;
  }

  body.theme-home .pub-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }

  body.theme-home .pub-cover {
    min-height: 110px;
  }

  body.theme-home .pub-row__title {
    font-size: 13px;
  }

  body.theme-home .pub-row__summary {
    font-size: 10px;
  }

  body.theme-home .pub-row__actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  body.theme-home .pub-btn {
    min-width: 0;
  }
}

@media (max-width: 1199.98px) {
  body.theme-home .intelligence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .intelligence-grid {
    grid-template-columns: 1fr;
  }

  body.theme-home .intelligence-header__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

body.theme-home .page-intelligence-detail {
  display: grid;
  gap: 1.35rem;
  color: #1f2937;
}

body.theme-home .article-breadcrumbs {
  color: #7b8698;
}

body.theme-home .article-breadcrumbs a {
  color: inherit;
}

body.theme-home .article-breadcrumbs a:hover,
body.theme-home .article-breadcrumbs a:focus,
body.theme-home .article-breadcrumbs .is-active {
  color: #2563eb;
}

body.theme-home .article-hero,
body.theme-home .article-tabs,
body.theme-home .article-section,
body.theme-home .sidebar-card,
body.theme-home .article-premium-banner {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .page-intelligence-detail .article-main {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
  border-radius: 1.5rem;
}

body.theme-home .page-intelligence-detail .article-section {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

body.theme-home .article-assessment {
  border-color: #e5e7eb;
  border-left-color: #2563eb;
  background: #f8fbff;
}

body.theme-home .article-section .article-assessment p {
  color: #1f2937;
}

body.theme-home .article-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.92fr);
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 1.8rem;
}

body.theme-home .article-category-badge {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
}

body.theme-home .article-badge-row__country,
body.theme-home .article-meta {
  color: #7b8698;
}

body.theme-home .article-title {
  color: #0b1f35;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

body.theme-home .article-lead {
  color: #6b7280;
  font-size: 1.08rem;
  line-height: 1.75;
}

body.theme-home .article-actions button {
  border-color: #d9e1ee;
  background: #ffffff;
  color: #4b5563;
}

body.theme-home .article-actions button:hover,
body.theme-home .article-actions button:focus,
body.theme-home .article-actions button.is-active {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
}

body.theme-home .article-actions .is-primary {
  background: #0b1f35;
  color: #ffffff;
  border-color: transparent;
}

body.theme-home .article-actions .is-primary:hover,
body.theme-home .article-actions .is-primary:focus {
  background: #0b1f35;
  color: #ffffff;
  border-color: transparent;
}

body.theme-home .article-hero-image {
  border-color: #e5e7eb;
  background:
    linear-gradient(180deg, rgba(8, 27, 49, 0.08), rgba(8, 27, 49, 0.48)),
    linear-gradient(135deg, #dde8f9, #b7caec 48%, #9eb8e8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.theme-home .article-hero-image__overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 27, 49, 0.32)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 35%);
}

body.theme-home .article-tabs {
  padding: 0 1.2rem;
  border-radius: 1.4rem;
}

body.theme-home .article-tabs__button {
  color: #7b8698;
}

body.theme-home .article-tabs__button:hover,
body.theme-home .article-tabs__button:focus,
body.theme-home .article-tabs__button.is-active {
  color: #0b1f35;
}

body.theme-home .article-tabs__button.is-active::after {
  background: #2563eb;
}

body.theme-home .article-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(19rem, 0.76fr);
  gap: 1.15rem;
}

body.theme-home .article-main,
body.theme-home .article-sidebar {
  gap: 1.15rem;
}

body.theme-home .article-section,
body.theme-home .sidebar-card,
body.theme-home .article-premium-banner {
  border-radius: 1.5rem;
}

body.theme-home .article-section h2,
body.theme-home .sidebar-card h2 {
  color: #0b1f35;
}

body.theme-home .article-section p,
body.theme-home .article-info-box__text,
body.theme-home .article-sidebar__link-list p,
body.theme-home .article-empty-block p,
body.theme-home .article-related-card p,
body.theme-home .article-premium-banner__preview p {
  color: #6b7280;
}

body.theme-home .article-info-box {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.96));
}

body.theme-home .article-info-box__icon {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

body.theme-home .article-info-box__title {
  color: #0b1f35;
}

body.theme-home .key-change-card,
body.theme-home .impact-card,
body.theme-home .document-download-card,
body.theme-home .article-empty-block,
body.theme-home .article-related-card {
  border-color: #e5e7eb;
  background: #f8fafc;
}

body.theme-home .timeline-item::before {
  background: #d9e1ee;
}

body.theme-home .timeline-item__dot {
  border-color: #d9e1ee;
  background: #ffffff;
}

body.theme-home .timeline-item--current .timeline-item__dot {
  background: #2563eb;
  box-shadow: 0 0 0 0.35rem rgba(37, 99, 235, 0.14);
}

body.theme-home .timeline-item__date {
  color: #0b1f35;
}

body.theme-home .timeline-item__description {
  color: #6b7280;
}

body.theme-home .article-sidebar__definition-list dt,
body.theme-home .article-sidebar__status-row span {
  color: #7b8698;
}

body.theme-home .article-sidebar__definition-list dd,
body.theme-home .article-sidebar__check-list li,
body.theme-home .article-sidebar__link-list h3,
body.theme-home .article-sidebar__status-row strong {
  color: #0b1f35;
}

body.theme-home .article-sidebar__link-item:hover h3,
body.theme-home .article-sidebar__link-item:focus h3,
body.theme-home .article-related-card__title:hover,
body.theme-home .article-related-card__title:focus {
  color: #2563eb;
}

body.theme-home .status-dot {
  color: #138a5a;
}

body.theme-home .article-premium-banner {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.98)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent);
}

body.theme-home .article-premium-banner__eyebrow,
body.theme-home .article-related-card__label {
  color: #2563eb;
}

body.theme-home .article-premium-banner__preview h2,
body.theme-home .article-empty-block h3,
body.theme-home .article-related-card__title {
  color: #0b1f35;
}

body.theme-home .stay-updated-card .home-v2-button--ghost {
  border-color: #d9e1ee;
  color: #0b1f35;
}

body.theme-home .stay-updated-card .home-v2-button--ghost:hover,
body.theme-home .stay-updated-card .home-v2-button--ghost:focus {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
}

@media (max-width: 1199.98px) {
  body.theme-home .article-hero,
  body.theme-home .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  body.theme-home .key-changes-grid,
  body.theme-home .impact-analysis-grid,
  body.theme-home .article-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .article-title {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  body.theme-home .key-changes-grid,
  body.theme-home .impact-analysis-grid,
  body.theme-home .article-related-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-home .page-publications {
  display: grid;
  gap: 2rem;
  color: #1f2937;
}

body.theme-home .publications-header--editorial {
  display: block;
  padding: 0 0 1.1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-home .publications-header__copy {
  max-width: 42rem;
}

body.theme-home .publications-header__title {
  margin: 0 0 0.9rem;
  color: #0b1f35;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

body.theme-home .publications-header__description {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.75;
}

body.theme-home .publications-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.72fr);
  gap: 1.15rem;
  align-items: start;
}

body.theme-home .publications-main,
body.theme-home .publications-sidebar {
  display: grid;
  gap: 1.15rem;
}

body.theme-home .publications-tabs,
body.theme-home .publication-card,
body.theme-home .publication-sidebar-card,
body.theme-home .publications-empty-state,
body.theme-home .benefit-item {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .publications-tabs {
  padding: 0 1.2rem;
  border-radius: 1.4rem;
}

body.theme-home .publications-tabs__button {
  color: #7b8698;
}

body.theme-home .publications-tabs__button:hover,
body.theme-home .publications-tabs__button:focus,
body.theme-home .publications-tabs__button.is-active {
  color: #0b1f35;
}

body.theme-home .publications-tabs__button.is-active::after {
  background: #2563eb;
}

body.theme-home .publications-results-header--editorial {
  display: grid;
  grid-template-columns: auto minmax(20rem, 1fr);
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .publications-results-header__count {
  color: #6b7280;
  font-size: 0.95rem;
  white-space: nowrap;
}

body.theme-home .publications-results-header__search {
  width: 100%;
}

body.theme-home .publications-filter-bar {
  max-width: 100%;
  width: 100%;
  align-items: center;
  gap: 0.85rem;
}

body.theme-home .publications-filter-bar__search {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(11, 31, 53, 0.18);
  border-radius: 0;
  background: transparent;
}

body.theme-home .publications-filter-bar__search input {
  min-height: 2.85rem;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b1f35;
}

body.theme-home .publications-filter-bar__search input::placeholder {
  color: #8a94a6;
}

body.theme-home .publications-filter-bar__search input:focus {
  box-shadow: none;
  outline: none;
}

body.theme-home .publications-filter-bar__submit,
body.theme-home .publications-filter-bar__modal-trigger {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #d9e1ee;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1f35;
}

body.theme-home .publications-filter-bar__submit:hover,
body.theme-home .publications-filter-bar__submit:focus,
body.theme-home .publications-filter-bar__modal-trigger:hover,
body.theme-home .publications-filter-bar__modal-trigger:focus {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
}

body.theme-home .publications-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

body.theme-home .publications-grid--single {
  grid-template-columns: minmax(0, 24rem);
}

body.theme-home .publications-grid--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-home .publication-card {
  min-height: 100%;
  padding: 1.45rem;
  border-radius: 1.5rem;
}

body.theme-home .publication-card:hover,
body.theme-home .publication-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

body.theme-home .publication-badge {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
}

body.theme-home .publication-card__country,
body.theme-home .publication-meta,
body.theme-home .publication-latest-item p {
  color: #7b8698;
}

body.theme-home .publication-card__title {
  color: #0b1f35;
  font-size: 1.2rem;
  line-height: 1.42;
}

body.theme-home .publication-card__title a {
  color: inherit;
}

body.theme-home .publication-card__title a:hover,
body.theme-home .publication-card__title a:focus {
  color: #2563eb;
}

body.theme-home .publication-card__description {
  color: #6b7280;
  line-height: 1.72;
}

body.theme-home .publication-card__footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #edf1f7;
}

body.theme-home .publication-card__footer a,
body.theme-home .publication-sidebar-card__link {
  color: #2563eb;
  font-weight: 800;
}

body.theme-home .publication-sidebar-card {
  padding: 1rem;
  border-radius: 1.4rem;
}

body.theme-home .publication-sidebar-card h2 {
  color: #0b1f35;
}

body.theme-home .publication-category-item {
  border-color: #edf1f7;
  background: #f8fafc;
  color: #0b1f35;
}

body.theme-home .publication-category-item:hover,
body.theme-home .publication-category-item:focus-visible {
  border-color: #bfdbfe;
  background: #ffffff;
}

body.theme-home .publication-category-item.is-active {
  background: #eaf2ff;
  border-color: #bfdbfe;
}

body.theme-home .publication-category-item__icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

body.theme-home .publication-category-item__count {
  background: #ffffff;
  color: #4b5563;
}

body.theme-home .publication-latest-item h3 {
  color: #0b1f35;
}

body.theme-home .publications-empty-state {
  padding: 3rem 1.5rem;
  border-radius: 1.5rem;
}

body.theme-home .publications-empty-state h2 {
  color: #0b1f35;
}

body.theme-home .publications-empty-state p {
  color: #6b7280;
}

body.theme-home .publications-empty-state__button {
  margin-top: 0.6rem;
  color: #0b1f35;
  border-color: rgba(11, 31, 53, 0.18);
  background: transparent;
}

body.theme-home .publications-filter-modal__dialog {
  border: 1px solid #d9e1ee;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 39, 66, 0.16);
}

body.theme-home .publications-filter-modal__eyebrow {
  color: #2563eb;
}

body.theme-home .publications-filter-modal__title {
  color: #0b1f35;
}

body.theme-home .publications-filter-modal__close,
body.theme-home .publications-filter-modal__reset,
body.theme-home .publications-filter-modal__secondary {
  color: #4b5563;
}

body.theme-home .publications-filter-modal select {
  border-color: #d9e1ee;
  background: #ffffff;
  color: #0b1f35;
}

body.theme-home .publications-filter-modal__primary {
  background: #0b1f35;
}

body.theme-home .publications-pagination {
  justify-content: center;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .benefits-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-home .benefit-item {
  padding: 1.25rem;
  border-radius: 1.4rem;
}

body.theme-home .benefit-item h3 {
  color: #0b1f35;
}

body.theme-home .benefit-item p {
  color: #6b7280;
}

body.theme-home .benefit-item__icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

@media (max-width: 1199.98px) {
  body.theme-home .publications-layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .publications-grid,
  body.theme-home .benefits-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.theme-home .publications-results-header--editorial {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

@media (max-width: 767.98px) {
  body.theme-home .publications-grid,
  body.theme-home .publications-grid--single,
  body.theme-home .publications-grid--double,
  body.theme-home .benefits-strip {
    grid-template-columns: 1fr;
  }

  body.theme-home .publications-header__title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

body.theme-home .page-publication-details {
  display: grid;
  gap: 1.35rem;
  color: #1f2937;
}

body.theme-home .publication-breadcrumbs {
  color: #7b8698;
}

body.theme-home .publication-breadcrumbs a {
  color: inherit;
}

body.theme-home .publication-breadcrumbs a:hover,
body.theme-home .publication-breadcrumbs a:focus,
body.theme-home .publication-breadcrumbs .is-active {
  color: #2563eb;
}

body.theme-home .publication-tabs,
body.theme-home .kpi-grid,
body.theme-home .article-section,
body.theme-home .publication-sidebar-card,
body.theme-home .related-publications {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .publication-hero__title {
  color: #0b1f35;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

body.theme-home .publication-hero__lead {
  color: #6b7280;
  font-size: 1.08rem;
  line-height: 1.75;
}

body.theme-home .publication-badge {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.14);
}

body.theme-home .publication-badge--topic {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

body.theme-home .publication-badge--coverage,
body.theme-home .publication-meta--hero {
  color: #7b8698;
}

body.theme-home .publication-actions button,
body.theme-home .publication-actions a {
  border-color: #d9e1ee;
  background: #ffffff;
  color: #4b5563;
}

body.theme-home .publication-actions button:hover,
body.theme-home .publication-actions button:focus,
body.theme-home .publication-actions a:hover,
body.theme-home .publication-actions a:focus {
  border-color: #bfdbfe;
  background: #f8fbff;
  color: #2563eb;
}

body.theme-home .publication-actions .is-primary {
  background: #0b1f35;
  color: #ffffff;
}

body.theme-home .publication-actions .is-secondary {
  border-color: #bfdbfe;
  background: #eaf2ff;
  color: #2563eb;
}

body.theme-home .publication-hero-media {
  border-color: #e5e7eb;
  background:
    linear-gradient(180deg, rgba(8, 27, 49, 0.08), rgba(8, 27, 49, 0.48)),
    linear-gradient(135deg, #dde8f9, #b7caec 48%, #9eb8e8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.theme-home .publication-hero-media__overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 27, 49, 0.32)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 35%);
}

body.theme-home .publication-tabs {
  padding: 0 1.2rem;
  border-radius: 1.4rem;
}

body.theme-home .publication-tabs__link {
  color: #7b8698;
}

body.theme-home .publication-tabs__link:hover,
body.theme-home .publication-tabs__link:focus,
body.theme-home .publication-tabs__link.is-active {
  color: #0b1f35;
}

body.theme-home .publication-tabs__link.is-active::after {
  background: #2563eb;
}

body.theme-home .publication-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(19rem, 0.76fr);
  gap: 1.15rem;
}

body.theme-home .publication-main,
body.theme-home .publication-sidebar {
  gap: 1.15rem;
}

body.theme-home .publication-sidebar {
  position: sticky;
  top: 5.75rem;
}

body.theme-home .kpi-grid,
body.theme-home .article-section,
body.theme-home .publication-sidebar-card,
body.theme-home .related-publications {
  border-radius: 1.5rem;
}

body.theme-home .kpi-grid {
  background: rgba(255, 255, 255, 0.9);
}

body.theme-home .kpi-card {
  border-color: #edf1f7;
  background: #f8fafc;
}

body.theme-home .kpi-card__label {
  color: #7b8698;
}

body.theme-home .kpi-card__value {
  color: #0b1f35;
}

body.theme-home .kpi-card__detail {
  color: #6b7280;
}

body.theme-home .article-section h2,
body.theme-home .publication-sidebar-card h2,
body.theme-home .related-publications__header h2 {
  color: #0b1f35;
}

body.theme-home .article-section p,
body.theme-home .publication-finding-card p,
body.theme-home .publication-chart-card p,
body.theme-home .document-card p,
body.theme-home .publication-sidebar-list__item span,
body.theme-home .photo-gallery__featured-copy p,
body.theme-home .related-publications__header p {
  color: #6b7280;
}

body.theme-home .publication-highlight-list,
body.theme-home .publication-bullet-list {
  color: #1f2937;
}

body.theme-home .publication-highlight-list li::marker,
body.theme-home .publication-bullet-list li::marker {
  color: #2563eb;
}

body.theme-home .publication-finding-card,
body.theme-home .publication-chart-card,
body.theme-home .publication-map__route-card,
body.theme-home .document-card,
body.theme-home .photo-gallery__featured,
body.theme-home .photo-gallery__thumb,
body.theme-home .publication-toc__link,
body.theme-home .publication-sidebar-list__item {
  border-color: #e5e7eb;
  background: #f8fafc;
}

body.theme-home .publication-finding-card__icon,
body.theme-home .document-card__icon {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

body.theme-home .publication-finding-card h3,
body.theme-home .publication-chart-card h3,
body.theme-home .publication-map__route-card h3,
body.theme-home .document-card h3,
body.theme-home .photo-gallery__featured-copy h3,
body.theme-home .photo-gallery__lightbox-copy h3,
body.theme-home .publication-sidebar-list__item strong,
body.theme-home .publication-info-list dd {
  color: #0b1f35;
}

body.theme-home .article-callout {
  background: #f8fbff;
  border-left-color: #2563eb;
}

body.theme-home .article-callout__label {
  color: #2563eb;
}

body.theme-home .article-callout h3 {
  color: #0b1f35;
}

body.theme-home .article-callout--warning {
  background: #fff5ef;
  border-left-color: #ff8a5b;
}

body.theme-home .article-callout--warning .article-callout__label {
  color: #c86434;
}

body.theme-home .article-callout--success {
  background: #effcf6;
  border-left-color: #4de0b5;
}

body.theme-home .article-callout--success .article-callout__label {
  color: #138a5a;
}

body.theme-home .publication-chart-card__header p,
body.theme-home .publication-map__route-card dt,
body.theme-home .publication-info-list dt {
  color: #7b8698;
}

body.theme-home .publication-data-table thead th {
  color: #0b1f35;
  background: #f8fafc;
}

body.theme-home .publication-data-table th,
body.theme-home .publication-data-table td {
  border-bottom-color: #edf1f7;
}

body.theme-home .publication-data-table tbody tr:hover {
  background: #f8fbff;
}

body.theme-home .photo-gallery__featured,
body.theme-home .photo-gallery__lightbox-frame {
  background: #ffffff;
}

body.theme-home .photo-gallery__thumb span {
  color: #0b1f35;
}

body.theme-home .photo-gallery__lightbox {
  background: rgba(11, 31, 53, 0.58);
}

body.theme-home .photo-gallery__lightbox-close {
  border-color: #d9e1ee;
  background: #ffffff;
  color: #0b1f35;
}

body.theme-home .document-card__content span,
body.theme-home .publication-sidebar-card__link {
  color: #2563eb;
}

body.theme-home .publication-toc__link,
body.theme-home .publication-sidebar-list__item {
  color: #0b1f35;
}

body.theme-home .publication-toc__link:hover,
body.theme-home .publication-toc__link:focus,
body.theme-home .publication-toc__link.is-active,
body.theme-home .publication-sidebar-list__item:hover,
body.theme-home .publication-sidebar-list__item:focus {
  color: #2563eb;
  background: #f8fbff;
  border-color: #bfdbfe;
}

body.theme-home .related-publications {
  padding: 1rem;
}

@media (max-width: 1399.98px) {
  body.theme-home .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  body.theme-home .publication-hero,
  body.theme-home .publication-layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .publication-sidebar {
    position: static;
  }
}

@media (max-width: 991.98px) {
  body.theme-home .kpi-grid,
  body.theme-home .chart-grid,
  body.theme-home .publication-findings-grid,
  body.theme-home .photo-gallery__thumbs,
  body.theme-home .document-list,
  body.theme-home .related-publications__grid,
  body.theme-home .publication-map__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .publication-hero__title {
    font-size: clamp(2rem, 8vw, 2.9rem);
  }

  body.theme-home .kpi-grid,
  body.theme-home .chart-grid,
  body.theme-home .publication-findings-grid,
  body.theme-home .photo-gallery__thumbs,
  body.theme-home .document-list,
  body.theme-home .related-publications__grid,
  body.theme-home .publication-map__legend {
    grid-template-columns: 1fr;
  }
}

body.theme-home .publication-fact {
  border-color: #e5e7eb;
  background: #f8fafc;
}

body.theme-home .publication-fact__label {
  color: #7b8698;
}

body.theme-home .publication-fact__value {
  color: #0b1f35;
}

body.theme-home .publication-summary {
  border-color: #e5e7eb;
  border-left-color: #2563eb;
  background: #f8fbff;
}

body.theme-home .publication-summary__label {
  color: #2563eb;
}

body.theme-home .publication-summary p {
  color: #1f2937;
}

body.theme-home .publication-findings-inline__label {
  color: #2563eb;
}

body.theme-home .publication-sidebar-card__source-name {
  color: #0b1f35;
}

body.theme-home .publication-sidebar-tag {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #1f2937;
}

/* Flatten the boxed article sections on the publication detail page into plain
   flowing typography (title + content, no card chrome), matching the simple
   editorial layout of the reference mockup. Scoped to .page-publication-details
   so Intelligence Details (which reuses .article-section/.related-publications)
   keeps its own boxed look untouched. */
body.theme-home .page-publication-details .article-section {
  margin: 2.75rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-home .page-publication-details .article-section:first-of-type {
  margin-top: 0;
}

body.theme-home .page-publication-details .article-section h2 {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

body.theme-home .page-publication-details .related-publications {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.theme-home .page-publication-details .publication-hero__image {
  border-radius: 0.75rem;
}

body.theme-home .page-publication-details .publication-finding-card {
  border-left: 3px solid #2563eb;
  background: #f8fbff;
}

body.theme-home .page-publication-details .document-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

body.theme-home .page-publication-details .document-card {
  border-radius: 0.85rem;
}

/* The Intelligence and Publications templates use a tighter gap under the header. */
@media (min-width: 992px) {
  .site-main:has(.page-intelligence) {
    padding-top: calc(61px + 26px);
  }

  .site-main:has(.page-publications-library) {
    padding-top: calc(61px + 32px);
  }
}

body.theme-home .page-countries {
  display: grid;
  gap: 2rem;
  color: #1f2937;
}

body.theme-home .countries-hero--editorial {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 0 0.5rem;
}

body.theme-home .countries-hero-content .page-title,
body.theme-home .country-profile-info .page-title {
  color: #0b1f35;
}

body.theme-home .countries-hero-content .page-lead,
body.theme-home .country-profile-info .page-lead,
body.theme-home .compare-countries__description {
  color: #6b7280;
}

body.theme-home .countries-map-shell {
  border: 1px solid #e5e7eb;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.10), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 18px 42px rgba(15, 39, 66, 0.08);
}

body.theme-home .countries-map-toolbar__title h2 {
  color: #0b1f35;
}

body.theme-home .countries-map-year-select {
  color: #6b7280;
}

body.theme-home .countries-map-year-select select {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0b1f35;
}

body.theme-home .countries-map-legend {
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 39, 66, 0.08);
}

body.theme-home .countries-map-legend__title {
  color: #0b1f35;
}

body.theme-home .countries-map-legend li {
  color: #6b7280;
}

body.theme-home .countries-grid-section__title {
  color: #0b1f35;
}

body.theme-home .countries-grid-section__description {
  color: #6b7280;
}

body.theme-home .countries-compare-btn,
body.theme-home .countries-grid-nav__btn {
  border-color: #e5e7eb;
  color: #33506e;
}

body.theme-home .countries-compare-btn:hover,
body.theme-home .countries-compare-btn:focus-visible,
body.theme-home .countries-grid-nav__btn:hover,
body.theme-home .countries-grid-nav__btn:focus-visible {
  border-color: #2563eb;
  color: #2563eb;
}

body.theme-home .access-request-page {
  display: grid;
  gap: 1.5rem;
}

body.theme-home .access-request-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1.25rem;
  padding: 0 0 0.5rem;
  align-items: stretch;
}

body.theme-home .access-request-hero__copy .page-title,
body.theme-home .access-request-form-card h2,
body.theme-home .access-request-sidecard h2 {
  color: #0b1f35;
}

body.theme-home .access-request-hero__copy .page-lead,
body.theme-home .access-request-form-card > p,
body.theme-home .access-request-stat p,
body.theme-home .access-request-list {
  color: #6b7280;
}

body.theme-home .access-request-hero__meta,
body.theme-home .access-request-layout {
  display: grid;
  gap: 1rem;
}

body.theme-home .access-request-hero__copy {
  display: grid;
  align-content: start;
}

body.theme-home .access-request-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: start;
}

body.theme-home .access-request-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

body.theme-home .access-request-stat,
body.theme-home .access-request-form-card,
body.theme-home .access-request-sidecard {
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .access-request-stat,
body.theme-home .access-request-sidecard {
  padding: 1.2rem 1.25rem;
}

body.theme-home .access-request-form-card {
  padding: 1.5rem;
}

body.theme-home .access-request-stat,
body.theme-home .access-request-sidecard,
body.theme-home .access-request-form-card {
  height: 100%;
}

body.theme-home .access-request-form-card h2,
body.theme-home .access-request-sidecard h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

body.theme-home .access-request-form-card > p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  max-width: 42rem;
}

body.theme-home .access-request-stat span {
  display: block;
  margin-bottom: 0.45rem;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .access-request-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #0b1f35;
  font-size: 1.2rem;
}

body.theme-home .access-request-stat p {
  margin: 0;
  line-height: 1.65;
}

body.theme-home .access-form--editorial .row {
  --bs-gutter-y: 1.15rem;
}

body.theme-home .access-form--editorial .form-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #35506b;
  font-weight: 600;
}

body.theme-home .access-form--editorial .form-control {
  min-height: 3.2rem;
  border: 1px solid #d9e1ee;
  border-radius: 1rem;
  background: #ffffff;
  color: #0b1f35;
  box-shadow: none;
}

body.theme-home .access-form--editorial textarea.form-control {
  min-height: 10rem;
  resize: vertical;
}

body.theme-home .access-form--editorial .text-danger {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
}

body.theme-home .access-form--editorial .form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

body.theme-home .access-form--editorial .form-control:focus {
  border-color: #9ec5ff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

body.theme-home .access-request-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.75;
}

body.theme-home .access-shell {
  display: grid;
  gap: 1.5rem;
}

body.theme-home .access-shell__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 1.25rem;
  padding: 0 0 0.5rem;
  align-items: stretch;
}

body.theme-home .access-shell__copy {
  display: grid;
  align-content: start;
}

body.theme-home .access-shell__copy .page-title,
body.theme-home .access-shell__panel h2,
body.theme-home .access-shell__sidecard h2,
body.theme-home .access-detail-card h3 {
  color: #0b1f35;
}

body.theme-home .access-shell__copy .page-lead,
body.theme-home .access-shell__panel > p,
body.theme-home .access-shell__summary-card p,
body.theme-home .access-shell__note,
body.theme-home .access-detail-list dt,
body.theme-home .access-request-list {
  color: #6b7280;
}

body.theme-home .access-shell__summary,
body.theme-home .access-shell__layout,
body.theme-home .access-shell__sidebar {
  display: grid;
  gap: 1rem;
}

body.theme-home .access-shell__layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: start;
}

body.theme-home .access-shell__layout--compact {
  grid-template-columns: minmax(0, 48rem);
}

body.theme-home .access-shell__summary-card,
body.theme-home .access-shell__panel,
body.theme-home .access-shell__sidecard,
body.theme-home .access-detail-card {
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.98));
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .access-shell__summary-card,
body.theme-home .access-shell__sidecard,
body.theme-home .access-detail-card {
  padding: 1.2rem 1.25rem;
}

body.theme-home .access-shell__panel {
  padding: 1.5rem;
}

body.theme-home .access-shell__summary-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-home .access-shell__summary-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #0b1f35;
  font-size: 1.2rem;
}

body.theme-home .access-shell__summary-card p,
body.theme-home .access-shell__note {
  margin: 0;
  line-height: 1.65;
}

body.theme-home .access-shell__panel h2,
body.theme-home .access-shell__sidecard h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

body.theme-home .access-shell__panel > p {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  max-width: 42rem;
}

body.theme-home .access-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.theme-home .access-detail-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

body.theme-home .access-detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(9rem, auto) 1fr;
  gap: 0.55rem 1rem;
}

body.theme-home .access-detail-list dt,
body.theme-home .access-detail-list dd {
  margin: 0;
}

body.theme-home .access-detail-list dd {
  color: #0b1f35;
}

body.theme-home .access-form__check {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #35506b;
}

body.theme-home .access-form__check .form-check-input {
  margin: 0;
}

body.theme-home .access-form__check-label {
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  body.theme-home .access-request-hero,
  body.theme-home .access-request-layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .access-shell__hero,
  body.theme-home .access-shell__layout,
  body.theme-home .access-detail-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-home .country-stats-card,
body.theme-home .country-card,
body.theme-home .compare-countries__intro,
body.theme-home .compare-feature-item,
body.theme-home .country-profile-hero,
body.theme-home .country-tabs,
body.theme-home .country-overview-card,
body.theme-home .country-summary-card,
body.theme-home .table-card,
body.theme-home .chart-card,
body.theme-home .sidebar-card,
body.theme-home .financial-sector-card,
body.theme-home .quick-country-access,
body.theme-home .quick-country-card {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .country-stats-card,
body.theme-home .country-card,
body.theme-home .compare-countries__intro,
body.theme-home .compare-feature-item,
body.theme-home .country-overview-card,
body.theme-home .country-summary-card,
body.theme-home .table-card,
body.theme-home .chart-card,
body.theme-home .sidebar-card,
body.theme-home .financial-sector-card,
body.theme-home .quick-country-card {
  border-radius: 1.5rem;
}

body.theme-home .country-stats-card__icon,
body.theme-home .country-metrics__icon,
body.theme-home .country-highlight-item__icon,
body.theme-home .country-profile-indicator__icon,
body.theme-home .compare-feature-item__icon,
body.theme-home .quick-country-card__badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

body.theme-home .country-stats-card__icon,
body.theme-home .country-stats-card__value {
  background: transparent;
}

body.theme-home .compare-feature-item__icon {
  background: transparent;
}

body.theme-home .country-stats-card__title,
body.theme-home .country-card__title,
body.theme-home .compare-countries__title,
body.theme-home .compare-feature-item__title,
body.theme-home .country-overview-card h2,
body.theme-home .table-card h2,
body.theme-home .chart-card h2,
body.theme-home .sidebar-card__title,
body.theme-home .financial-sector-card__value,
body.theme-home .country-key-indicators__title,
body.theme-home .country-risk-card__value,
body.theme-home .quick-country-access__intro h2,
body.theme-home .quick-country-card h3,
body.theme-home .chart-card__title,
body.theme-home .sidebar-card__item h3 {
  color: #0b1f35;
}

body.theme-home .sidebar-card__item h3 a {
  color: inherit;
  text-decoration: none;
}

body.theme-home .sidebar-card__item h3 a:hover,
body.theme-home .sidebar-card__item h3 a:focus {
  color: #2563eb;
}

body.theme-home .sidebar-card__empty {
  margin: 0;
  color: #6b7280;
}

body.theme-home .country-stats-card__description,
body.theme-home .country-card__capital,
body.theme-home .country-card__summary,
body.theme-home .country-metrics__label,
body.theme-home .compare-feature-item__description,
body.theme-home .country-overview-card p,
body.theme-home .country-highlight-item p,
body.theme-home .country-summary-card__label,
body.theme-home .country-summary-card__description,
body.theme-home .country-profile-subtitle,
body.theme-home .country-profile-indicator__label,
body.theme-home .country-risk-card__label,
body.theme-home .country-risk-card__meta,
body.theme-home .quick-country-access__intro p,
body.theme-home .quick-country-card p,
body.theme-home .sidebar-card__item p {
  color: #6b7280;
}

body.theme-home .country-card:hover,
body.theme-home .country-card:focus-within,
body.theme-home .quick-country-card:hover,
body.theme-home .quick-country-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

body.theme-home .country-card__title a,
body.theme-home .country-card__link,
body.theme-home .sidebar-card__link,
body.theme-home .table-card__link,
body.theme-home .quick-country-card a {
  color: #2563eb;
}

body.theme-home .compare-countries {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.4fr);
  gap: 1.15rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.8rem;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 18px 42px rgba(15, 39, 66, 0.08);
}

body.theme-home .compare-countries__intro,
body.theme-home .compare-feature-item {
  border: 1px solid #e5e7eb;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.98));
  box-shadow: 0 14px 30px rgba(15, 39, 66, 0.06);
}

body.theme-home .compare-countries__button {
  margin-top: 1rem;
  color: #0b1f35;
  border-color: rgba(11, 31, 53, 0.18);
  background: transparent;
}

body.theme-home .country-breadcrumbs {
  color: #7b8698;
}

body.theme-home .country-breadcrumbs a {
  color: inherit;
}

body.theme-home .country-breadcrumbs .is-active,
body.theme-home .country-breadcrumbs a:hover,
body.theme-home .country-breadcrumbs a:focus {
  color: #2563eb;
}

body.theme-home .page-country-profile {
  display: grid;
  gap: 1.35rem;
  color: #1f2937;
  background: transparent;
}

body.theme-home .country-profile-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 1fr) minmax(16rem, 0.8fr);
  gap: 1.15rem;
  padding: 1.25rem;
  border-radius: 1.8rem;
}

body.theme-home .country-code-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.14);
}

body.theme-home .country-profile-indicator {
  border-color: #edf1f7;
  background: #f8fafc;
}

body.theme-home .country-profile-indicator__value,
body.theme-home .country-key-indicators__row strong,
body.theme-home .country-summary-card__value,
body.theme-home .country-metrics__value {
  color: #0b1f35;
}

body.theme-home .country-hero-image {
  border-color: #e5e7eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.theme-home .country-hero-image__overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 27, 49, 0.32)),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 35%);
}

body.theme-home .country-hero-image__gallery-copy strong {
  color: #ffffff;
}

body.theme-home .country-hero-image__gallery-copy p {
  color: #dbeafe;
}

body.theme-home .country-hero-image__thumb {
  border-color: rgba(255, 255, 255, 0.18);
}

body.theme-home .country-risk-card,
body.theme-home .country-key-indicators {
  border-color: #edf1f7;
  background: #f8fafc;
}

body.theme-home .country-risk-card__badge--positive {
  background: #dcfce7;
  color: #15803d;
}

body.theme-home .country-risk-card__badge--neutral {
  background: #eaf2ff;
  color: #2563eb;
}

body.theme-home .country-risk-card__badge--caution {
  background: #fef3c7;
  color: #b45309;
}

body.theme-home .country-risk-card__badge--negative {
  background: #fee2e2;
  color: #b91c1c;
}

body.theme-home .country-tabs {
  padding: 0 1.2rem;
  border-radius: 1.4rem;
}

body.theme-home .country-tabs__button {
  color: #7b8698;
}

body.theme-home .country-tabs__button.is-active,
body.theme-home .country-tabs__button:hover,
body.theme-home .country-tabs__button:focus {
  color: #0b1f35;
}

body.theme-home .country-tabs__button.is-active::after {
  background: #2563eb;
}

body.theme-home .country-profile-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.72fr);
  gap: 1.15rem;
}

body.theme-home .financial-sector-snapshot {
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .financial-sector-snapshot h2 {
  color: #0b1f35;
}

body.theme-home .country-main-content,
body.theme-home .country-sidebar {
  display: grid;
  gap: 1.15rem;
}

body.theme-home .country-sidebar {
  position: sticky;
  top: 5.75rem;
}

body.theme-home .country-highlights-grid,
body.theme-home .country-metric-grid,
body.theme-home .macro-overview,
body.theme-home .country-banking-grid,
body.theme-home .financial-sector-snapshot__grid {
  gap: 1rem;
}

body.theme-home .country-highlight-item,
body.theme-home .country-summary-card,
body.theme-home .financial-sector-card {
  border: 1px solid #edf1f7;
  background: #f8fafc;
}

body.theme-home .country-data-table th {
  color: #0b1f35;
  background: #f8fafc;
}

body.theme-home .country-data-table th,
body.theme-home .country-data-table td {
  border-bottom-color: #edf1f7;
}

body.theme-home .country-data-table tbody tr:hover {
  background: #f8fbff;
}

body.theme-home .table-card__footnote {
  color: #7b8698;
}

@media (max-width: 1199.98px) {
  body.theme-home .compare-countries,
  body.theme-home .country-profile-layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .country-profile-hero {
    grid-template-columns: 1fr;
  }

  body.theme-home .country-sidebar {
    position: static;
  }
}

@media (max-width: 991.98px) {
  body.theme-home .country-stats-grid,
  body.theme-home .compare-feature-grid,
  body.theme-home .country-profile-indicators,
  body.theme-home .country-metric-grid,
  body.theme-home .country-highlights-grid,
  body.theme-home .country-risk-panel,
  body.theme-home .macro-overview,
  body.theme-home .country-banking-grid,
  body.theme-home .financial-sector-snapshot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .countries-hero-content .page-title,
  body.theme-home .country-profile-info .page-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  body.theme-home .country-stats-grid,
  body.theme-home .compare-feature-grid,
  body.theme-home .country-profile-indicators,
  body.theme-home .country-metric-grid,
  body.theme-home .country-highlights-grid,
  body.theme-home .country-risk-panel,
  body.theme-home .macro-overview,
  body.theme-home .country-banking-grid,
  body.theme-home .financial-sector-snapshot__grid {
    grid-template-columns: 1fr;
  }
}

body.theme-home .page-about {
  display: grid;
  gap: 1.6rem;
  color: #1f2937;
}

body.theme-home .about-hero--editorial {
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 1.25rem;
  padding: 2.5rem 1.25rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1.8rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .about-hero .page-title {
  color: #0b1f35;
}

body.theme-home .about-hero .page-lead,
body.theme-home .about-feature-item p,
body.theme-home .workflow-step p,
body.theme-home .about-mission-card p,
body.theme-home .about-bottom-cta p,
body.theme-home .about-section p,
body.theme-home .about-list,
body.theme-home .audience-card p {
  color: #6b7280;
}

body.theme-home .about-hero-media,
body.theme-home .about-feature-item,
body.theme-home .about-section,
body.theme-home .about-mission-card,
body.theme-home .coverage-card,
body.theme-home .source-item,
body.theme-home .workflow-step,
body.theme-home .audience-card,
body.theme-home .about-bottom-cta {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 39, 66, 0.06);
}

body.theme-home .about-hero-media,
body.theme-home .about-feature-item,
body.theme-home .about-section,
body.theme-home .about-mission-card,
body.theme-home .coverage-card,
body.theme-home .source-item,
body.theme-home .workflow-step,
body.theme-home .audience-card,
body.theme-home .about-bottom-cta {
  border-radius: 1.5rem;
}

body.theme-home .about-hero-media {
  overflow: hidden;
  min-height: 22rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(8, 27, 49, 0.08)),
    radial-gradient(circle at 72% 24%, rgba(37, 99, 235, 0.12), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #edf4ff 100%);
}

body.theme-home .about-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.theme-home .about-feature-item__icon,
body.theme-home .workflow-step__number,
body.theme-home .audience-card__icon,
body.theme-home .about-mission-card__icon,
body.theme-home .about-bottom-cta__icon,
body.theme-home .coverage-card__icon,
body.theme-home .source-item__icon {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

body.theme-home .about-feature-item h3,
body.theme-home .workflow-step h3,
body.theme-home .audience-card h3,
body.theme-home .about-mission-card h3,
body.theme-home .coverage-card h3,
body.theme-home .source-item h3,
body.theme-home .about-bottom-cta h2,
body.theme-home .about-section h2 {
  color: #0b1f35;
}

body.theme-home .about-section {
  padding: 1.5rem;
}

body.theme-home .about-section__grid {
  gap: 1.25rem;
}

body.theme-home .geographic-coverage__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-content: flex-start;
}

body.theme-home .workflow {
  gap: 1rem;
}

body.theme-home .audience-card:hover,
body.theme-home .audience-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

body.theme-home .about-bottom-cta {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.98)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent);
}

body.theme-home .about-bottom-cta .btn,
body.theme-home .about-bottom-cta .site-primary-cta,
body.theme-home .about-bottom-cta .home-v2-button {
  color: #0b1f35;
}

@media (max-width: 1199.98px) {
  body.theme-home .about-hero--editorial,
  body.theme-home .about-section__grid,
  body.theme-home .about-bottom-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  body.theme-home .about-feature-row,
  body.theme-home .coverage-grid,
  body.theme-home .sources-grid,
  body.theme-home .workflow,
  body.theme-home .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .about-hero .page-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  body.theme-home .about-feature-row,
  body.theme-home .coverage-grid,
  body.theme-home .sources-grid,
  body.theme-home .workflow,
  body.theme-home .audience-grid {
    grid-template-columns: 1fr;
  }
}

body.theme-home .article-hero,
body.theme-home .publication-hero,
body.theme-home .country-profile-hero {
  margin-top: 1.5rem;
}

body.theme-home .quick-country-card a {
  color: #2563eb;
}

body.theme-home .quick-country-access {
  gap: 1rem;
}

body.theme-home .quick-country-card:hover,
body.theme-home .quick-country-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 22px 48px rgba(18, 48, 95, 0.12);
}

@media (max-width: 991.98px) {
  body.theme-home .quick-country-access {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.theme-home .quick-country-access {
    grid-template-columns: 1fr;
  }
}
.article-richtext {
  display: grid;
  gap: 1rem;
  color: var(--home-v2-text-primary);
}

.article-richtext p,
.article-richtext ul,
.article-richtext ol {
  margin: 0;
}

.content-download-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.content-download-modal[hidden] {
  display: none;
}

.content-download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 24, 0.72);
  backdrop-filter: blur(10px);
}

.content-download-modal__dialog {
  position: relative;
  width: min(100%, 38rem);
  margin: 8vh auto 0;
  padding: 1.5rem;
  border: 1px solid rgba(120, 160, 210, 0.24);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(6, 23, 47, 0.98) 0%, rgba(4, 18, 37, 0.98) 100%);
  box-shadow: 0 30px 80px rgba(0, 20, 45, 0.45);
}

.content-download-modal__header,
.content-download-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.content-download-modal__eyebrow {
  color: #8bb8ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.content-download-modal__header h2 {
  margin: 0.35rem 0 0;
  color: #f7faff;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.8rem);
}

.content-download-modal__close {
  border: 0;
  background: transparent;
  color: #a7b4c8;
  font-size: 1.8rem;
  line-height: 1;
}

.content-download-modal__body {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.content-download-modal__option {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(120, 160, 210, 0.2);
  border-radius: 1rem;
  background: rgba(8, 27, 55, 0.68);
  cursor: pointer;
}

.content-download-modal__option input {
  margin-top: 0.25rem;
}

.content-download-modal__option-copy {
  display: grid;
  gap: 0.2rem;
}

.content-download-modal__option-copy strong {
  color: #f7faff;
  font-weight: 600;
}

.content-download-modal__option-copy span,
.content-download-modal__option-copy small {
  color: #a7b4c8;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .content-download-modal__dialog {
    width: calc(100% - 1.5rem);
    margin-top: 4vh;
    padding: 1.1rem;
  }

  .content-download-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Guest view of locked Intelligence articles and Publications.
   Sizes follow documentation/template/cafri_article_signin_gate_demo.html. */
body.theme-home .page-access-gate {
  width: 100%;
  max-width: 992px;
  margin-inline: auto;
  color: #17283f;
  font-size: 14px;
  line-height: 1.6;
}

body.theme-home .access-gate a {
  text-decoration: none;
}

body.theme-home .access-gate__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #78879a;
  font-size: 11px;
}

body.theme-home .access-gate__breadcrumbs a {
  color: #456aa9;
}

body.theme-home .access-gate__kicker {
  margin-bottom: 10px;
  color: #245bdb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.theme-home .access-gate__title {
  max-width: 850px;
  margin: 0 0 15px;
  color: #17283f;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

body.theme-home .access-gate__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: #75849a;
  font-size: 11px;
}

body.theme-home .access-gate__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: #a6b2c2;
  vertical-align: middle;
}

body.theme-home .access-gate__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

body.theme-home .access-gate__tag {
  padding: 4px 8px;
  border: 1px solid #dce6f7;
  border-radius: 5px;
  background: #eaf0fb;
  color: #36578d;
  font-size: 10px;
  font-weight: 700;
}

body.theme-home .access-gate__rule {
  height: 0;
  margin: 25px 0 24px;
  border: 0;
  border-top: 1px solid #dfe6ef;
  background: none;
  opacity: 1;
}

body.theme-home .access-gate__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 26px;
  align-items: start;
}

body.theme-home .access-gate__main {
  min-width: 0;
}

body.theme-home .access-gate__cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 180px;
  margin-bottom: 22px;
  padding: 20px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(130deg, #10243b, #244c7a);
  color: #ffffff;
}

body.theme-home .access-gate__cover::before,
body.theme-home .access-gate__cover::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -70px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

body.theme-home .access-gate__cover::after {
  top: -120px;
  right: 40px;
  width: 250px;
  height: 250px;
}

/* An uploaded hero image replaces the drawn circles; a gradient keeps the caption legible. */
body.theme-home .access-gate__cover--image::before {
  content: none;
}

body.theme-home .access-gate__cover--image::after {
  inset: 0;
  top: 0;
  right: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(0deg, rgba(8, 24, 44, 0.82), rgba(8, 24, 44, 0.15) 70%);
}

body.theme-home .access-gate__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.theme-home .access-gate__cover-copy {
  position: relative;
  z-index: 1;
}

body.theme-home .access-gate__cover-label {
  color: #c8d8ee;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.theme-home .access-gate__cover-title {
  max-width: 470px;
  margin-top: 6px;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.25;
}

body.theme-home .access-gate__preview {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #6c7b90;
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

body.theme-home .access-card {
  position: relative;
  overflow: hidden;
  padding: 23px 24px;
  border: 1px solid #d9e3f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(16, 43, 75, 0.04);
}

body.theme-home .access-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #245bdb, #84aaff);
}

body.theme-home .access-card__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

body.theme-home .access-card__lock {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  border: 1px solid #dce7ff;
  border-radius: 13px;
  background: #edf3ff;
  color: #245bdb;
}

body.theme-home .access-card__lock svg {
  width: 23px;
  height: 23px;
}

body.theme-home .access-card__eyebrow {
  margin-bottom: 7px;
  color: #5875a7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

body.theme-home .access-card h2 {
  margin: 0 0 10px;
  color: #13253d;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

body.theme-home .access-card p {
  max-width: 440px;
  margin: 0 auto;
  color: #6e7d91;
  font-size: 13px;
  line-height: 1.7;
}

body.theme-home .access-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}

body.theme-home .access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

body.theme-home .access-btn--primary {
  background: #245bdb;
  box-shadow: 0 3px 8px rgba(36, 91, 219, 0.13);
  color: #ffffff;
}

body.theme-home .access-btn--primary:hover,
body.theme-home .access-btn--primary:focus {
  background: #194bc0;
  color: #ffffff;
}

body.theme-home .access-btn--secondary {
  border-color: #d6dfeb;
  background: #ffffff;
  color: #233752;
}

body.theme-home .access-btn--secondary:hover,
body.theme-home .access-btn--secondary:focus {
  background: #f4f7fc;
  color: #233752;
}

body.theme-home .access-gate__request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dfe6ef;
}

body.theme-home .access-gate__request h3 {
  margin: 0 0 3px;
  color: #17283f;
  font-size: 14px;
  font-weight: 700;
}

body.theme-home .access-gate__request p {
  margin: 0;
  color: #75849a;
  font-size: 11px;
}

body.theme-home .access-gate__sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.theme-home .access-gate__side-card {
  padding: 16px;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  background: #ffffff;
}

body.theme-home .access-gate__side-title {
  margin-bottom: 12px;
  color: #17283f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.theme-home .access-gate__side-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #edf0f5;
  font-size: 11px;
}

body.theme-home .access-gate__side-row span:first-child {
  color: #78869a;
}

body.theme-home .access-gate__side-row span:last-child {
  font-weight: 650;
  text-align: right;
}

body.theme-home .access-gate__related {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

body.theme-home .access-gate__related a {
  color: #314c70;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

body.theme-home .access-gate__related a:hover,
body.theme-home .access-gate__related a:focus {
  color: #245bdb;
}

body.theme-home .access-gate__related small {
  display: block;
  margin-bottom: 3px;
  color: #8b98a9;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .site-main:has(.page-access-gate) {
    padding-top: calc(61px + 34px);
  }
}

@media (max-width: 760px) {
  body.theme-home .access-gate__title {
    font-size: 29px;
  }

  body.theme-home .access-gate__layout {
    grid-template-columns: 1fr;
  }

  body.theme-home .access-gate__sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-home .access-card {
    padding: 25px 18px;
  }
}

@media (max-width: 480px) {
  body.theme-home .access-gate__title {
    font-size: 26px;
  }

  body.theme-home .access-gate__meta {
    gap: 7px 12px;
  }

  body.theme-home .access-gate__cover {
    height: 145px;
    padding: 15px;
  }

  body.theme-home .access-gate__cover-title {
    font-size: 18px;
  }

  body.theme-home .access-card {
    padding: 23px 15px;
  }

  body.theme-home .access-card h2 {
    font-size: 20px;
  }

  body.theme-home .access-card p {
    font-size: 12px;
  }

  body.theme-home .access-btn {
    white-space: normal;
    text-align: center;
  }

  body.theme-home .access-gate__sidebar {
    grid-template-columns: 1fr;
  }

  body.theme-home .access-gate__request {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------------------------
   Country profile v3: identity header, About the country, gallery, snapshot.
   --------------------------------------------------------------------------- */
.cp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0.75rem;
  min-height: 21rem;
  background: #0b223a;
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(11, 34, 58, 0.09);
}

.cp-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4, 16, 29, 0.72), transparent 55%),
    linear-gradient(90deg, rgba(5, 19, 34, 0.94) 0%, rgba(7, 25, 45, 0.82) 52%, rgba(7, 25, 45, 0.48) 100%);
  pointer-events: none;
}

.cp-hero__content {
  position: relative;
  padding: 1.5rem 1.9rem 1.4rem;
}

.cp-hero__topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  color: #c0d0e2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cp-hero__updated {
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 3px;
  padding: 0.35rem 0.55rem;
  color: #e4edf7;
  white-space: nowrap;
}

.cp-hero__identity {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 50rem;
  margin: 2.1rem 0 1.9rem;
}

.cp-hero__flag {
  width: 5.1rem;
  height: auto;
  margin-top: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

.cp-hero__region {
  margin-bottom: 0.3rem;
  color: #b8cbe2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cp-hero__title {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.cp-hero__lead {
  max-width: 41rem;
  margin: 0;
  color: #d4dfeb;
  font-size: 0.85rem;
  line-height: 1.65;
}

.cp-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cp-hero__fact {
  min-width: 0;
  padding: 0 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.21);
}

.cp-hero__fact:first-child {
  padding-left: 0;
}

.cp-hero__fact:last-child {
  border-right: 0;
}

.cp-hero__fact dt {
  margin-bottom: 0.3rem;
  color: #b7c9dd;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cp-hero__fact dd {
  margin: 0;
}

.cp-hero__fact strong {
  display: block;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.cp-hero__fact small {
  display: block;
  margin-top: 0.25rem;
  color: #c1cede;
  font-size: 0.62rem;
  line-height: 1.4;
}

.cp-hero__source {
  margin-top: 0.85rem;
  color: #a9bcd2;
  font-size: 0.62rem;
}

.cp-section {
  margin-top: 1.5rem;
}

.cp-section__head {
  margin-bottom: 0.8rem;
}

.cp-section__head h2 {
  margin: 0;
  color: #0b1f35;
  font-size: 1.05rem;
  font-weight: 750;
}

.cp-section__head p {
  margin: 0.2rem 0 0;
  color: #718096;
  font-size: 0.75rem;
}

.cp-about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e3e9f0;
  border-radius: 0.5rem;
  background: #ffffff;
}

.cp-about--text-only {
  grid-template-columns: 1fr;
}

.cp-about__text p {
  margin: 0 0 0.65rem;
  color: #536477;
  font-size: 0.82rem;
  line-height: 1.75;
}

.cp-about__text p:last-child {
  margin-bottom: 0;
}

.cp-about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.1rem;
  margin: 0;
  padding-left: 1.4rem;
  border-left: 1px solid #e3e9f0;
}

.cp-about__facts dt {
  color: #68788b;
  font-size: 0.7rem;
  font-weight: 650;
}

.cp-about__facts dd {
  margin: 0.15rem 0 0;
  color: #13283e;
  font-size: 0.8rem;
  font-weight: 700;
}

/* The gallery sits in a white card, like the other profile panels. */
.cp-gallery {
  padding: 1rem 1.05rem 0.9rem;
}

.cp-gallery .cp-card__sub {
  margin-bottom: 0.7rem;
}

.cp-gallery__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.cp-gallery__hint {
  color: #718096;
  font-size: 0.62rem;
}

.cp-gallery__arrows {
  display: flex;
  gap: 0.35rem;
}

.cp-gallery__arrows button {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid #e3e9f0;
  border-radius: 4px;
  background: #ffffff;
  color: #40536a;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.cp-gallery__arrows button:hover,
.cp-gallery__arrows button:focus-visible {
  border-color: #c7d4e4;
  background: #f1f5fb;
}

.cp-gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 30%);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.cp-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #dce4ec;
  scroll-snap-align: start;
}

.cp-gallery__item img {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cp-gallery__item:hover img {
  transform: scale(1.025);
}

.cp-gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 0.75rem 0.6rem;
  background: linear-gradient(transparent, rgba(7, 25, 45, 0.87));
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 650;
}

.cp-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 0.8rem;
}

.cp-snapshot__card {
  padding: 1rem 1.05rem;
  border: 1px solid #e3e9f0;
  border-radius: 0.45rem;
  background: #ffffff;
}

.cp-snapshot__label {
  color: #68788b;
  font-size: 0.72rem;
  font-weight: 650;
}

.cp-snapshot__value {
  margin-top: 0.4rem;
  color: #13283e;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

@media (max-width: 850px) {
  .cp-hero__content {
    padding: 1.3rem;
  }

  .cp-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.95rem;
  }

  .cp-hero__fact:nth-child(2) {
    border-right: 0;
  }

  .cp-hero__fact:nth-child(3) {
    padding-left: 0;
  }

  .cp-hero__fact:nth-child(n + 3) {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.21);
  }

  .cp-about {
    grid-template-columns: 1fr;
  }

  .cp-about__facts {
    padding: 0.9rem 0 0;
    border-left: 0;
    border-top: 1px solid #e3e9f0;
  }

  .cp-gallery__track {
    grid-auto-columns: minmax(13.75rem, 82%);
  }
}

@media (max-width: 560px) {
  .cp-hero {
    min-height: 0;
  }

  .cp-hero__content {
    padding: 1.05rem;
  }

  .cp-hero__identity {
    gap: 0.75rem;
    margin: 1.5rem 0 1.3rem;
  }

  .cp-hero__flag {
    width: 3.6rem;
    margin-top: 0.25rem;
  }

  .cp-hero__fact {
    padding: 0 0.6rem;
  }

  .cp-hero__fact strong {
    font-size: 1rem;
  }
}

/* Country profile v3: data and editorial sections. */
.cp-section__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.cp-asof {
  color: #718096;
  font-size: 0.68rem;
  white-space: nowrap;
}

.cp-tag {
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  background: #edf3ff;
  color: #315bb0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cp-snapshot__foot {
  color: #718096;
  font-size: 0.68rem;
}

.cp-snapshot__source {
  margin-top: 0.6rem;
  color: #8b98a8;
  font-size: 0.62rem;
}

.cp-delta {
  margin-right: 0.3rem;
  font-weight: 700;
}

.cp-delta--positive {
  color: #16856b;
}

.cp-delta--negative {
  color: #b7791f;
}

.cp-delta--neutral {
  color: #526b91;
}

.cp-two,
.cp-analysis {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0.9rem;
  align-items: stretch;
}

.cp-analysis {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.cp-two--single {
  grid-template-columns: 1fr;
}

.cp-card {
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid #e3e9f0;
  border-radius: 0.45rem;
  background: #ffffff;
}

.cp-card__title {
  margin: 0 0 0.2rem;
  color: #13283e;
  font-size: 0.85rem;
  font-weight: 750;
}

.cp-card__heading {
  margin: 0 0 0.55rem;
  color: #1a2d43;
  font-size: 0.95rem;
  font-weight: 750;
}

.cp-card__sub {
  margin: 0 0 1rem;
  color: #718096;
  font-size: 0.66rem;
}

.cp-card__foot {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e3e9f0;
  color: #8290a1;
  font-size: 0.62rem;
  line-height: 1.5;
}

.cp-note {
  margin: 0.7rem 0 0;
  color: #718096;
  font-size: 0.66rem;
  line-height: 1.5;
}

.cp-kicker {
  margin-bottom: 0.5rem;
  color: #5273ad;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cp-gdp__chart {
  display: block;
  width: 100%;
  height: auto;
  /* Full-width cards (no macro signals) would otherwise draw a very tall chart. */
  max-height: 18.5rem;
}

.cp-gdp__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  color: #718096;
  font-size: 0.64rem;
}

.cp-gdp__legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cp-swatch {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: #9bb5e9;
}

.cp-swatch--latest {
  background: #245bdb;
}

.cp-swatch--contraction {
  background: #d49b63;
}

.cp-swatch--projection {
  border: 1px dashed #7f9bd6;
  background: #dbe5f8;
}

.cp-gdp__table {
  margin-top: 0.9rem;
}

.cp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.7rem;
}

.cp-table th {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid #e3e9f0;
  background: #f8fafc;
  color: #718096;
  font-weight: 650;
  text-align: left;
}

.cp-table td {
  padding: 0.6rem;
  border-bottom: 1px solid #edf1f5;
  color: #26394e;
}

.cp-table tr:last-child td {
  border-bottom: 0;
}

.cp-table__value {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.cp-signals {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cp-signal {
  display: grid;
  grid-template-columns: 0.5rem 1fr;
  gap: 0.6rem;
}

.cp-signal__dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #b7791f;
}

.cp-signal__dot--positive {
  background: #16856b;
}

.cp-signal strong,
.cp-priority strong {
  display: block;
  margin-bottom: 0.1rem;
  color: #13283e;
  font-size: 0.72rem;
}

.cp-signal span,
.cp-priority span {
  display: block;
  color: #64748b;
  font-size: 0.66rem;
  line-height: 1.45;
}

.cp-debt {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.4rem 0 0.75rem;
}

.cp-debt strong {
  color: #13283e;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.cp-debt span {
  color: #718096;
  font-size: 0.66rem;
}

.cp-debt__bar {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 9px;
  background: #edf1f5;
}

.cp-debt__bar span {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: #426bc2;
}

.cp-analysis__lead {
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e3e9f0;
  color: #43566c;
  font-size: 0.78rem;
  line-height: 1.65;
}

.cp-analysis__point {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.cp-analysis__index {
  padding-top: 0.1rem;
  color: #8298bb;
  font-size: 0.66rem;
  font-weight: 800;
}

.cp-analysis__point strong {
  color: #13283e;
  font-size: 0.72rem;
}

.cp-analysis__point p {
  margin: 0.2rem 0 0;
  color: #65758a;
  font-size: 0.68rem;
  line-height: 1.55;
}

.cp-priority {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border-top: 1px solid #edf1f5;
}

.cp-priority__level {
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.cp-priority__level--high {
  background: #fff1e8;
  color: #a55322;
}

.cp-priority__level--medium {
  background: #eef3fb;
  color: #526b91;
}

.cp-priority__level--low {
  background: #eef7f3;
  color: #2f7a5f;
}

.cp-news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cp-news__item,
.cp-source {
  padding: 0.85rem;
  border: 1px solid #e3e9f0;
  border-radius: 0.4rem;
  background: #ffffff;
}

.cp-news__type {
  color: #245bdb;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cp-news__item h3 {
  margin: 0.45rem 0;
  color: #13283e;
  font-size: 0.78rem;
  line-height: 1.45;
}

.cp-news__item p {
  margin: 0 0 0.4rem;
  color: #718096;
  font-size: 0.66rem;
}

.cp-news__item a,
.cp-source a {
  color: #245bdb;
  font-size: 0.66rem;
  text-decoration: none;
}

.cp-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.cp-source strong {
  display: block;
  color: #13283e;
  font-size: 0.72rem;
}

.cp-source span {
  display: block;
  color: #718096;
  font-size: 0.66rem;
}

.cp-source a {
  display: block;
  margin-top: 0.45rem;
}

.cp-disclaimer {
  margin-top: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #f1dfb8;
  border-radius: 0.3rem;
  background: #fff8e8;
  color: #77551b;
  font-size: 0.66rem;
}

.cp-gallery__credit {
  margin-top: 0.4rem;
  color: #718096;
  font-size: 0.62rem;
}

@media (max-width: 850px) {
  .cp-two,
  .cp-analysis,
  .cp-news {
    grid-template-columns: 1fr;
  }

  .cp-sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cp-sources {
    grid-template-columns: 1fr;
  }

  .cp-section__head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}
