/* ==========================================================================
   DATA HUB — page styles (Figma desktop 22:18875 · mobile 22:19415)
   Scoped to body.page-data-hub. Shared header/subscribe/footer live in styles.css.
   ========================================================================== */

.page-data-hub {
  --dh-ink: #111111;
  --dh-grey: #5A5F63;
  --dh-meta: #8A8F93;
  --dh-silver: #E0DFDD;
  --dh-silver-light: #F2F1EF;
  --dh-paper: #FAFAF8;
  --dh-graphite: #2A2D30;
  --dh-red: #E2232A;
  --dh-indigo: #3F4C8F;
  --dh-indigo-mid: #7E8DBA;
  --dh-indigo-light: #BFC7DE;
  --dh-teal: #1C8FB0;
  --dh-green: #0F3B33;
  --dh-header-h: 76px;
}

.page-data-hub main p,
.page-data-hub main h1,
.page-data-hub main h2,
.page-data-hub main h3 { margin: 0; overflow-wrap: break-word; }

.dh-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* ---------- shared atoms ---------- */
.dh-label {
  font-weight: 800;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.88px;
  color: var(--dh-grey);
  text-transform: uppercase;
}
.dh-label--dark { color: var(--dh-meta); }
.dh-label__num { color: var(--dh-red); }

.dh-note {
  font-size: 12px;
  line-height: 19px;
  font-weight: 400;
  color: var(--dh-grey);
}

.dh-h2 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: -0.8px;
  color: var(--dh-ink);
}

.dh-reading {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 30px;
  color: var(--dh-graphite);
}

.dh-divider {
  border: 0;
  border-top: 1px solid var(--dh-silver);
  height: 0;
  width: 100%;
  margin: 0;
}

/* ==========================================================================
   01 · INTRO
   ========================================================================== */
.dh-intro { background: var(--dh-ink); color: var(--dh-silver); }
.dh-intro__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 40px;
  padding-bottom: 56px;
}
.dh-breadcrumb { font-size: 11px; line-height: 14px; color: var(--dh-silver); }
.dh-breadcrumb a:hover { color: var(--paper); }
.dh-intro__row { display: flex; align-items: flex-end; gap: 80px; }
.dh-intro__title {
  flex: 0 1 860px;
  font-weight: 800;
  font-size: 80px;
  line-height: 1.07;
  letter-spacing: -2.4px;
  color: var(--dh-paper);
}
.dh-intro__edition {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--dh-silver);
}
.dh-intro__edition-label { font-size: 12px; font-weight: 800; line-height: 15px; }
.dh-intro__lede { font-family: var(--font-serif); font-size: 23px; line-height: 1.45; }
.dh-intro__note { font-size: 12px; line-height: 19px; }

/* ==========================================================================
   FILTERS
   ========================================================================== */
.dh-filters { background: var(--dh-silver-light); }
.dh-filters__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.dh-filters__head { display: flex; align-items: center; justify-content: space-between; height: 14px; }
.dh-filters__title { font-size: 11px; font-weight: 800; letter-spacing: 0.66px; color: var(--dh-ink); line-height: 14px; }
.dh-filters__reset,
.dh-stickybar__reset {
  font-size: 11px;
  font-weight: 700;
  color: var(--dh-grey);
  line-height: 14px;
  padding: 0;
}
.dh-filters__reset:hover,
.dh-stickybar__reset:hover { color: var(--dh-red); }
.dh-filters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dh-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dh-field__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 13px;
  color: var(--dh-grey);
}
.dh-select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 52px;
  padding: 0 40px 0 16px;
  background: var(--dh-paper) url("../assets/images/icon-chevron-down.svg") no-repeat right 16px center / 12px 12px;
  border: 1px solid var(--dh-silver);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--dh-ink);
  cursor: pointer;
  text-overflow: ellipsis;
}
.dh-select:hover { border-color: var(--dh-meta); }
.dh-select:focus-visible { outline: 2px solid var(--dh-indigo); outline-offset: 1px; }
.dh-select.is-changed { border-color: var(--dh-ink); }

/* Compact sticky bar (fixed, shown once the main filters scroll away) */
.dh-stickybar {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--dh-header-h);
  z-index: 900;
  background: var(--dh-silver-light);
  border-bottom: 1px solid var(--dh-silver);
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 0.2s ease, visibility 0.2s;
}
.dh-stickybar[hidden] { display: block; }
.dh-stickybar.is-visible { transform: none; visibility: visible; }
.dh-stickybar__inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.dh-stickybar__title { font-size: 10px; font-weight: 800; letter-spacing: 0.7px; color: var(--dh-ink); margin-right: 4px; }
.dh-select--mini { height: 36px; flex: 1 1 0; min-width: 0; font-size: 12px; padding-left: 12px; padding-right: 32px; background-position: right 12px center; }
.dh-stickybar__reset { white-space: nowrap; margin-left: 4px; }

/* ==========================================================================
   02 · NATIONAL BENCHMARKS
   ========================================================================== */
.dh-bench { background: var(--dh-paper); }
.dh-bench__inner { display: flex; flex-direction: column; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.dh-bench__figures { display: flex; gap: 40px; align-items: flex-start; }
.dh-figure { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dh-figure--ger { flex: 0 1 570px; gap: 10px; }
.dh-figure--enr { flex: 0 1 370px; padding-top: 32px; }
.dh-figure--scope { flex: 0 1 260px; padding-top: 32px; }
.dh-figure__num { font-weight: 800; white-space: nowrap; color: var(--dh-ink); }
.dh-figure--ger .dh-figure__num { color: var(--dh-red); letter-spacing: -8.64px; line-height: 1.05; }
.dh-figure--ger .dh-figure__big { font-size: 144px; line-height: 1.05; }
.dh-figure--ger .dh-figure__unit { font-size: 64px; line-height: 1.05; }
.dh-figure--enr .dh-figure__num,
.dh-figure--scope .dh-figure__num { letter-spacing: -3.52px; line-height: 1.1; }
.dh-figure--enr .dh-figure__big,
.dh-figure--scope .dh-figure__big { font-size: 88px; line-height: 1.1; }
.dh-figure--enr .dh-figure__unit { font-size: 30px; line-height: 1.1; }
.dh-figure__num span { display: inline; }
.dh-figure__num { display: block; height: auto; }
.dh-figure--ger .dh-figure__num { height: 151px; }
.dh-figure--enr .dh-figure__num,
.dh-figure--scope .dh-figure__num { height: 97px; }
.dh-figure__label { font-size: 16px; font-weight: 800; line-height: 20px; color: var(--dh-ink); }
.dh-figure__note { font-size: 12px; line-height: 19px; color: var(--dh-grey); }

/* ==========================================================================
   03 · PARTICIPATION BY PLACE
   ========================================================================== */
.dh-place { background: var(--dh-silver-light); }
.dh-place__inner { display: flex; flex-direction: column; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.dh-place__intro { display: flex; align-items: flex-end; gap: 80px; }
.dh-place__title { flex: 0 1 760px; display: flex; flex-direction: column; gap: 16px; }
.dh-place__def { flex: 1 1 0; min-width: 0; }

.dh-place__panels { display: flex; gap: 24px; align-items: stretch; }
.dh-panel {
  background: var(--dh-paper);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  min-width: 0;
  position: relative;
}
.dh-mappanel { flex: 0 1 744px; }
.dh-barpanel { flex: 0 1 512px; }
.dh-panel__title { font-size: 22px; font-weight: 800; line-height: 28px; color: var(--dh-ink); }
.dh-panel__title--tight { line-height: 1.3; }

.dh-mappanel__map { display: flex; justify-content: center; width: 100%; }
.page-data-hub .dh-mappanel__stage { width: 560px; max-width: 100%; margin: 0; }
.page-data-hub .dh-mappanel__stage svg { width: 100%; height: auto; display: block; }
.page-data-hub .dh-mappanel__stage svg [id="Selected state"] { pointer-events: none; }
.page-data-hub .dh-mappanel__stage svg .state-selected-active { stroke: none !important; }
.page-data-hub .dh-mappanel__stage svg .state-interactive:hover { filter: brightness(1.08); stroke: none !important; }
.page-data-hub .dh-mappanel__stage svg .state-interactive.dh-st-off { cursor: default; }
.page-data-hub .dh-mappanel__stage svg .state-interactive.dh-st-off:hover { filter: none; }

/* Map tooltip (22:18993) */
.dh-tooltip {
  position: absolute;
  left: 420px;
  top: 440px;
  width: 272px;
  background: var(--dh-ink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--dh-paper);
  z-index: 2;
  pointer-events: none;
}
.dh-tooltip__state { font-size: 12px; font-weight: 800; line-height: 15px; }
.dh-tooltip__value { font-size: 28px; font-weight: 800; line-height: 35px; }
.dh-tooltip__scope { font-size: 10px; line-height: 17px; color: var(--dh-silver); }
.dh-spark { margin-top: 2px; }
.dh-spark[hidden] { display: none; }
.dh-spark svg { display: block; width: 100%; height: auto; overflow: visible; }
.dh-spark__cap { display: flex; justify-content: space-between; font-size: 9px; line-height: 12px; color: var(--dh-meta); margin-top: 4px; }

.dh-legend { display: flex; flex-wrap: wrap; gap: 12px 16px; list-style: none; margin: 0; padding: 0; }
.dh-legend__item { display: flex; align-items: center; gap: 6px; font-size: 10px; line-height: 13px; color: var(--dh-grey); white-space: nowrap; }
.dh-legend__swatch { display: block; width: 12px; height: 12px; }
.dh-sw--low { background: var(--dh-indigo-light); }
.dh-sw--mid { background: var(--dh-indigo-mid); }
.dh-sw--high { background: var(--dh-indigo); }
.dh-sw--none { background: var(--dh-silver); }

/* Ranked bars (22:19011) */
.dh-benchkey { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; line-height: 14px; color: var(--dh-ink); }
.dh-benchkey__dash { display: block; width: 16px; height: 2px; background: var(--dh-ink); }
.dh-bars__scale { display: flex; gap: 12px; font-size: 10px; line-height: 13px; color: var(--dh-grey); }
.dh-bars__axis { flex: 0 0 142px; }
.dh-bars__ticks { flex: 0 0 244px; display: flex; justify-content: space-between; }
.dh-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dh-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 18px;
  cursor: pointer;
}
.dh-bar__name { flex: 0 0 142px; font-size: 11px; font-weight: 500; line-height: 16px; color: var(--dh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-bar.is-active .dh-bar__name { font-weight: 800; }
.dh-bar:hover .dh-bar__name { text-decoration: underline; text-underline-offset: 2px; }
.dh-bar__plot { flex: 0 0 244px; height: 18px; position: relative; overflow: hidden; }
.dh-bar__grid { position: absolute; top: 0; width: 1px; height: 18px; background: var(--dh-silver); }
.dh-bar__grid--0 { left: 0; }
.dh-bar__grid--50 { left: 121.5px; }
.dh-bar__grid--100 { left: 243px; }
.dh-bar__fill { position: absolute; left: 0; top: 3px; height: 12px; transition: width 0.3s ease; }
.dh-bar__ref {
  position: absolute;
  top: 0;
  width: 1px;
  height: 18px;
  background: repeating-linear-gradient(to bottom, #111 0 2px, transparent 2px 3.5px);
  z-index: 1;
}
.dh-bar__val { flex: 0 0 38px; text-align: right; font-size: 11px; font-weight: 800; line-height: 14px; color: var(--dh-ink); }
.dh-fill--high { background: var(--dh-indigo); }
.dh-fill--mid { background: var(--dh-green); }
.dh-fill--low { background: var(--dh-teal); }
.dh-bars--many { max-height: 392px; overflow-y: auto; padding-right: 4px; }

.dh-takeaway { font-family: var(--font-serif); font-size: 26px; line-height: 1.3; color: var(--dh-ink); }

/* ==========================================================================
   04 · GENDER
   ========================================================================== */
.dh-gender { background: var(--dh-paper); }
.dh-gender__inner { display: flex; flex-direction: column; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.dh-gender__pair { display: flex; gap: 24px; align-items: flex-start; }
.dh-gcard {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  background: var(--dh-silver-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dh-gcard__title { font-size: 24px; font-weight: 800; line-height: 30px; color: var(--dh-ink); }
.dh-gcard__ticks { display: flex; justify-content: space-between; font-size: 11px; line-height: 14px; color: var(--dh-grey); }
.dh-gobs { display: flex; flex-direction: column; gap: 10px; }
.dh-gobs__labels { display: flex; justify-content: space-between; align-items: flex-start; height: 18px; white-space: nowrap; }
.dh-gobs__name { font-size: 13px; font-weight: 700; line-height: 16px; color: var(--dh-ink); }
.dh-gobs__val { font-size: 14px; font-weight: 800; line-height: 18px; }
.dh-gobs__plot {
  position: relative;
  height: 28px;
  overflow: hidden;
  background: linear-gradient(var(--dh-silver), var(--dh-silver)) left 0 top 27px / 100% 1px no-repeat;
}
.dh-gobs__plot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--dh-silver), var(--dh-silver)) left 0 top 0 / 1.128px 28px no-repeat,
    linear-gradient(var(--dh-silver), var(--dh-silver)) 50% 0 / 1.128px 28px no-repeat,
    linear-gradient(var(--dh-silver), var(--dh-silver)) right 0 top 0 / 1.128px 28px no-repeat;
}
.dh-gobs__bar { position: absolute; left: 0; top: 5px; height: 18px; display: block; transition: width 0.3s ease; }
.dh-c-indigo { color: var(--dh-indigo); }
.dh-c-teal { color: var(--dh-teal); }
.dh-bg-indigo { background: var(--dh-indigo); }
.dh-bg-teal { background: var(--dh-teal); }
.dh-gcard__reading { font-family: var(--font-serif); font-size: 24px; line-height: 35px; color: var(--dh-graphite); }

/* ==========================================================================
   05 · POLICY TARGET
   ========================================================================== */
.dh-policy { background: var(--dh-ink); }
.dh-policy__inner { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.dh-policy__row { display: flex; gap: 80px; align-items: flex-start; }
.dh-policy__context { flex: 0 1 448px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dh-policy__title { font-size: 38px; font-weight: 800; line-height: 1.16; letter-spacing: -0.76px; color: var(--dh-paper); }
.dh-policy__gap { font-weight: 800; color: var(--dh-paper); letter-spacing: -6px; line-height: 1.05; height: 126px; white-space: nowrap; }
.dh-policy__gap-big { font-size: 120px; line-height: 1.05; }
.dh-policy__gap-unit { font-size: 40px; line-height: 1.05; }
.dh-policy__reading { font-family: var(--font-serif); font-size: 23px; line-height: 1.45; color: var(--dh-silver); }

.dh-pchart {
  flex: 0 1 752px;
  min-width: 0;
  margin: 0;
  background: var(--charcoal, #1A1A1A);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dh-pchart__title { font-size: 18px; font-weight: 800; line-height: 25px; color: var(--dh-paper); }
.dh-pchart__ticks { display: flex; justify-content: space-between; font-size: 11px; line-height: 14px; color: var(--dh-silver); }
.dh-pobs-list { display: flex; flex-direction: column; gap: 24px; }
.dh-pobs { display: flex; flex-direction: column; gap: 12px; }
.dh-pobs__labels { display: flex; justify-content: space-between; align-items: flex-start; height: 19px; white-space: nowrap; }
.dh-pobs__name { font-size: 12px; font-weight: 700; line-height: 15px; color: var(--dh-silver); }
.dh-pobs__val { font-size: 15px; font-weight: 800; line-height: 19px; color: var(--dh-paper); }
.dh-pobs__plot { position: relative; height: 20px; }
.dh-pobs__plot::after { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: #3C3F41; }
.dh-pobs__bar { position: absolute; left: 0; top: 0; height: 16px; display: block; transition: width 0.3s ease; }
.dh-pobs__bar--teal { background: var(--dh-teal); }
.dh-pobs__bar--indigo { background: var(--dh-indigo); }
.dh-pobs__bar--target { background: var(--charcoal, #1A1A1A); border: 1px dashed var(--dh-silver); }
.dh-pchart__note { font-size: 12px; line-height: 19px; color: var(--dh-silver); }
.dh-policy__calc { font-size: 12px; line-height: 20px; color: var(--dh-silver); }

/* ==========================================================================
   06 · SOURCE TABLES & EXPORT
   ========================================================================== */
.dh-tables { background: var(--dh-paper); }
.dh-tables__inner { display: flex; flex-direction: column; gap: 32px; padding-top: 80px; padding-bottom: 80px; }
.dh-tables__intro { display: flex; align-items: center; gap: 80px; }
.dh-tables__lead { flex: 0 1 850px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.dh-actions { display: flex; gap: 12px; flex-shrink: 0; }
.dh-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 14px 20px;
  background: var(--dh-paper);
  border: 1px solid var(--dh-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 16px;
  color: var(--dh-ink);
  white-space: nowrap;
}
.dh-action__ptr { font-family: Inter, var(--font-sans); font-weight: 400; font-size: 12px; color: var(--dh-red); }
.dh-action:hover { background: var(--dh-ink); color: var(--dh-paper); }

.dh-tables__grid { display: flex; gap: 40px; align-items: flex-start; }
.dh-table { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dh-table--state { flex: 0 1 720px; }
.dh-table--national { flex: 0 1 520px; }
.dh-table__title { font-size: 20px; font-weight: 800; line-height: 25px; color: var(--dh-ink); }

.dh-dtable { width: 100%; border-collapse: separate; border-spacing: 0; }
.dh-dtable thead th {
  background: var(--dh-ink);
  color: var(--dh-paper);
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 16px solid var(--dh-paper); /* the 16px gap between head and rows */
  white-space: nowrap;
}
.dh-dtable thead th button { font: inherit; color: inherit; padding: 0; letter-spacing: inherit; cursor: pointer; }
.dh-dtable thead th button::after { content: ""; display: inline-block; width: 0; margin-left: 0; }
.dh-dtable thead th[aria-sort="ascending"] button::after { content: " ↑"; }
.dh-dtable thead th[aria-sort="descending"] button::after { content: " ↓"; }
.dh-dtable thead th:not([aria-sort="none"]) button::after { width: auto; }
.dh-dtable thead th button:hover { color: var(--dh-silver); }
.dh-dtable .dh-num { text-align: right; }
.dh-dtable tbody td {
  font-size: 13px;
  line-height: 16px;
  padding: 13px 20px 12px;
  border-bottom: 1px solid var(--dh-silver);
  background: var(--dh-paper);
  color: var(--dh-ink);
  white-space: nowrap;
}
.dh-dtable tbody td:first-child { font-weight: 500; }
.dh-dtable tbody td.dh-num { font-weight: 800; }
.dh-dtable--state-rows tbody tr { cursor: pointer; }
#dh-main-table tbody tr { cursor: pointer; }
#dh-main-table tbody tr:hover td { background: var(--dh-silver-light); }
#dh-main-table tbody tr.is-active td { background: var(--dh-silver-light); font-weight: 800; }
.dh-dtable--ref tbody td { padding: 12px 20px 11px; vertical-align: middle; }
.dh-dtable--ref tbody td:first-child { white-space: normal; }
.dh-dtable--ref tbody td strong { display: block; font-size: 12px; font-weight: 700; line-height: 15px; }
.dh-dtable--ref tbody td span { display: block; font-size: 10px; line-height: 13px; color: var(--dh-grey); margin-top: 5px; }
.dh-dtable--ref tbody td.dh-num { font-size: 14px; line-height: 18px; width: 125px; }

/* ==========================================================================
   07 · SOURCES & LIMITS
   ========================================================================== */
.dh-sources { background: var(--dh-silver-light); }
.dh-sources__inner { display: flex; flex-direction: column; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.dh-sources__row { display: flex; gap: 80px; align-items: flex-start; }
.dh-sources__read { flex: 0 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dh-sources__title { font-size: 34px; font-weight: 800; line-height: 39px; letter-spacing: -0.68px; color: var(--dh-ink); }
.dh-unavail { background: var(--dh-paper); border-top: 2px solid var(--dh-silver); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.dh-unavail__title { font-size: 12px; font-weight: 800; line-height: 15px; color: var(--dh-ink); }
.dh-register { flex: 0 1 760px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.dh-register__list { display: flex; flex-direction: column; gap: 24px; }
.dh-source { border-top: 1px solid var(--dh-silver); padding-top: 23px; display: flex; flex-direction: column; gap: 12px; }
.dh-source__title { font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--dh-ink); }
.dh-source__text { font-family: var(--font-serif); font-size: 20px; line-height: 1.45; color: var(--dh-graphite); }
.dh-source__link { font-size: 12px; font-weight: 800; line-height: 20px; color: var(--dh-red); }
.dh-source__link:hover { text-decoration: underline; }
.dh-register__geo { font-size: 11px; font-weight: 700; line-height: 14px; color: var(--dh-grey); }
.dh-register__geo:hover { color: var(--dh-ink); }
.dh-register__cite { font-family: var(--font-serif); font-size: 21px; line-height: 29px; color: var(--dh-ink); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .dh-wrap { padding-left: 48px; padding-right: 48px; }
  .dh-intro__title { font-size: 64px; }
  .dh-figure--ger .dh-figure__big { font-size: 120px; }
  .dh-tooltip { left: auto; right: 32px; }
}

@media (max-width: 1100px) {
  .dh-place__panels { flex-direction: column; }
  .dh-mappanel, .dh-barpanel { flex: 1 1 auto; }
  .dh-bars__ticks, .dh-bar__plot { flex: 1 1 auto; }
  .dh-bar__grid--50 { left: 50%; }
  .dh-bar__grid--100 { left: auto; right: 0; }
  .dh-policy__row, .dh-sources__row, .dh-tables__grid { flex-direction: column; gap: 32px; }
  .dh-policy__context, .dh-pchart, .dh-sources__read, .dh-register, .dh-table--state, .dh-table--national { flex: 1 1 auto; width: 100%; }
  .dh-bench__figures { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .dh-wrap { padding-left: 24px; padding-right: 24px; }
  .dh-h2 { font-size: 30px; letter-spacing: -0.6px; }

  /* Intro (22:19431) */
  .dh-intro__inner { gap: 28px; padding-top: 28px; padding-bottom: 40px; }
  .dh-intro__row { flex-direction: column; align-items: stretch; gap: 28px; }
  .dh-intro__title { flex: none; font-size: 45px; letter-spacing: -1.35px; }
  .dh-intro__edition { flex: none; }
  .dh-intro__lede { font-size: 22px; }

  /* Filters (22:19440) */
  .dh-filters__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .dh-select { font-size: 11px; padding-left: 12px; padding-right: 28px; background-position: right 12px center; }
  .dh-stickybar__title { display: none; }
  .dh-stickybar__inner { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .dh-select--mini { height: 32px; font-size: 10px; padding-left: 8px; padding-right: 20px; background-position: right 6px center; }
  .dh-stickybar__reset { font-size: 10px; margin-left: 0; }

  /* Benchmarks (22:19466) */
  .dh-bench__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-bench__figures { flex-direction: column; gap: 32px; }
  .dh-figure, .dh-figure--ger, .dh-figure--enr, .dh-figure--scope { flex: none; width: 100%; padding-top: 0; }
  .dh-figure--ger .dh-figure__num { letter-spacing: -5.76px; height: 101px; }
  .dh-figure--ger .dh-figure__big { font-size: 96px; }
  .dh-figure--ger .dh-figure__unit { font-size: 44px; }
  .dh-figure--enr .dh-figure__num { letter-spacing: -2.88px; height: 79px; }
  .dh-figure--enr .dh-figure__big { font-size: 72px; }
  .dh-figure--scope .dh-figure__num { letter-spacing: -2.56px; height: 70px; }
  .dh-figure--scope .dh-figure__big { font-size: 64px; }

  /* Place (22:19482) */
  .dh-place__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-place__intro { flex-direction: column; align-items: stretch; gap: 20px; }
  .dh-place__title { flex: none; }
  .dh-place__def { flex: none; }
  .dh-panel { padding: 20px; }
  .dh-panel__title { font-size: 18px; line-height: 23px; }
  .page-data-hub .dh-mappanel__stage { width: 100%; }
  .dh-tooltip { position: static; width: 100%; }
  .dh-bars__axis, .dh-bar__name { flex: 0 0 112px; }
  .dh-bars__ticks, .dh-bar__plot { flex: 0 0 124px; }
  .dh-bar__grid--50 { left: 61.5px; }
  .dh-bar__grid--100 { left: 123px; right: auto; }
  .dh-bar__val { flex: 0 0 30px; }
  .dh-takeaway { font-size: 24px; }

  /* Gender (22:19672) */
  .dh-gender__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-gender__pair { flex-direction: column; }
  .dh-gcard { flex: none; width: 100%; padding: 24px; }
  .dh-gcard__title { font-size: 20px; line-height: 25px; }
  .dh-gobs__labels { height: 16px; }
  .dh-gobs__val { font-size: 12px; line-height: 15px; }
  .dh-gcard__reading { font-size: 22px; line-height: 32px; }

  /* Policy (22:19737) */
  .dh-policy__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-policy__title { font-size: 30px; letter-spacing: -0.6px; }
  .dh-policy__gap { letter-spacing: -4.4px; height: 92px; }
  .dh-policy__gap-big { font-size: 88px; }
  .dh-policy__gap-unit { font-size: 30px; }
  .dh-pchart { padding: 24px; }
  .dh-pobs__name { font-size: 11px; line-height: 14px; }

  /* Tables (22:19774) */
  .dh-tables__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-tables__intro { flex-direction: column; align-items: flex-start; gap: 24px; }
  .dh-tables__lead { flex: none; }
  .dh-tables__grid { gap: 40px; }
  .dh-dtable thead th { padding: 16px 12px; }
  .dh-dtable tbody td { padding-left: 12px; padding-right: 12px; }
  .dh-dtable--ref tbody td.dh-num { font-size: 12px; line-height: 15px; width: 105px; }

  /* Sources (22:19885) */
  .dh-sources__inner { padding-top: 48px; padding-bottom: 48px; }
  .dh-sources__title { font-size: 28px; line-height: 32px; letter-spacing: -0.56px; }
}

/* ---- Small phones (< 375px, below the 390 Figma frame) ---- */
@media (max-width: 374px) {
  .dh-stickybar__inner { overflow-x: auto; scrollbar-width: none; }
  .dh-bar { gap: 8px; }
  .dh-bar__name { flex-basis: 104px; }
  .dh-bar__plot { flex: 1 1 auto; min-width: 0; }
  .dh-bar__grid--50 { left: 50%; }
  .dh-bar__grid--100 { left: auto; right: 0; }
}

/* 06 · India and the world (26 Nov 2026) */
.dh-world { background: var(--dh-paper); border-top: 1px solid var(--dh-silver); }
.dh-world__inner { display: flex; flex-direction: column; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.dh-world__pair { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.dh-world__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dh-world__row { display: grid; grid-template-columns: 132px minmax(0, 1fr) 52px; align-items: center; gap: 12px; }
.dh-world__list--count .dh-world__row { grid-template-columns: 190px minmax(0, 1fr) 44px; }
.dh-world__name { font-size: 13px; font-weight: 600; line-height: 16px; color: var(--dh-ink); }
.dh-world__plot { position: relative; height: 18px; background: var(--dh-silver); }
.dh-world__bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--dh-teal); }
.dh-world__val { font-size: 14px; font-weight: 800; line-height: 18px; text-align: right; color: var(--dh-ink); font-variant-numeric: tabular-nums; }
.dh-world__row--avg .dh-world__bar { background: var(--dh-meta); }
.dh-world__row--avg .dh-world__name { font-weight: 800; }
.dh-world__row--indigo .dh-world__bar { background: var(--dh-indigo); }
.dh-world__row--india .dh-world__bar { background: var(--dh-red); }
.dh-world__row--india .dh-world__name, .dh-world__row--india .dh-world__val { color: var(--dh-red); font-weight: 800; }
@media (max-width: 1100px) { .dh-world__pair { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .dh-world__inner { padding-top: 56px; padding-bottom: 56px; gap: 20px; }
  .dh-world__row { grid-template-columns: 104px minmax(0, 1fr) 46px; gap: 8px; }
  .dh-world__list--count .dh-world__row { grid-template-columns: 120px minmax(0, 1fr) 36px; }
  .dh-world__name { font-size: 12px; }
}
