/* Country insights picker + reusable snapshot card */

.country-picker {
  background: var(--color-surface-light);
  color: var(--color-white);
}

.country-picker__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 64px var(--gutter-block);
}

.country-picker__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 61px;
}

.country-picker__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  color: var(--color-text);
}

.country-picker__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
  color: var(--color-text);
  max-width: 673px;
}

.country-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
  width: 100%;
  max-width: 1120px;
  gap: 24px 16px;
  container-type: inline-size;
}

/* The homepage three-column variant is intentionally limited to three rows. */
@container (min-width: 836px) and (max-width: 1119px) {
  .country-picker__grid > .snapshot-card:nth-child(n + 10) {
    display: none;
  }
}

.snapshot-card {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-height: 140px;
  padding: 16px;
  box-sizing: border-box;
  background: var(--color-surface-card);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.snapshot-card:is(:hover, :focus, :active) {
  background: var(--color-surface-card-hover);
  color: var(--color-white);
}

.snapshot-card:focus-visible {
  outline: 3px solid var(--color-hero-bg);
  outline-offset: 3px;
}

.snapshot-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.snapshot-card__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: inherit;
  word-break: normal;
  overflow-wrap: break-word;
}

.snapshot-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 2px;
  padding: 3px 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: inherit;
  text-decoration: none;
}

.snapshot-card__link svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease-out;
}

.snapshot-card:is(:hover, :focus, :active) .snapshot-card__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.snapshot-card:is(:hover, :focus, :active) .snapshot-card__link svg {
  transform: translateX(4px);
}

.snapshot-card__map {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.snapshot-card__map-circle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-hero-bg);
  transition: background-color 0.3s ease-out, transform 0.3s ease-out;
}

.snapshot-card:is(:hover, :focus, :active) .snapshot-card__map-circle {
  background: #18638C;
  transform: scale(1.08);
}

.snapshot-card__map-img {
  position: absolute;
  inset: 4px;
  width: 100px;
  height: 100px;
  display: block;
  filter: url("#pv-card-art-shape");
}

.country-picker__cta {
  margin-top: 24px;
}

/* Country insights page hero header */
.country-insights-hero {
  background: var(--color-hero-bg);
}

/* Country detail pages only: the hero sits on #174159 while the nav header keeps #112D40. */
.country-insights-static-page .site-header {
  background: var(--color-hero-bg);
}

.country-insights-static-page .country-insights-hero {
  background: #174159;
}

.country-insights-hero [hidden] {
  display: none !important;
}

.country-insights-hero__content {
  display: flex;
  align-items: flex-start;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 182px var(--gutter-block) 64px;
  min-height: 675px;
}

@media (min-width: 1151px) {
  .country-insights-static-page .country-insights-hero__content {
    align-items: center;
    min-height: 575px;
  }

  .country-insights-static-page .country-insights-hero__map {
    margin-top: 0;
  }
}

.country-insights-hero__map {
  flex: none;
  width: 148px;
  height: 148px;
  margin-top: 11px;
}

.country-insights-hero__map img {
  display: block;
  width: 100%;
  height: 100%;
}

.country-insights-hero__row {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 40px;
  min-width: 0;
}

.country-insights-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 408px;
  flex: none;
}

.country-insights-hero__intro-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.country-insights-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.19;
}

.country-insights-hero__divider {
  flex: none;
  width: 1px;
  height: 199px;
  background: #18638C;
}

.country-insights-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 484px;
  min-width: 0;
  padding: 24px;
}

.country-insights-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.country-insights-hero__metric {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 0;
}

.country-insights-hero__metric[data-metric="population"] { order: 1; }
.country-insights-hero__metric[data-metric="gdp"] { order: 2; }
.country-insights-hero__metric[data-metric="life"] { order: 3; }
.country-insights-hero__metric[data-metric="healthcare"] { order: 4; }
.country-insights-hero__metric[data-metric="systems"] { order: 5; }

.country-insights-hero__metric-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #B0B0B0;
}

.country-insights-hero__metric-value {
  display: inline-flex;
  align-items: baseline;
  color: var(--color-white);
}

.country-insights-hero__metric-num {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 29.4px;
}

.country-insights-hero__metric-unit {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
}

.country-insights-hero__metric-split {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.country-insights-hero__metric-pair {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
}

.country-insights-hero__metric-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
}

.country-insights-hero__source {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  color: #E7E7E7;
}

.country-insights-hero__source a {
  color: inherit;
  text-decoration: underline;
}

/* Therapy detail pages use the lower content position from the desktop design. */
@media (min-width: 1201px) {
  .therapy-area-static-page .country-insights-hero__content {
    position: relative;
    display: block;
    height: 623px;
    min-height: 623px;
    padding: 0;
  }

  .therapy-area-static-page .country-insights-hero__map {
    position: absolute;
    top: 141.5px;
    right: 194.5px;
    width: 300px;
    height: 300px;
    margin: 0;
  }

  .therapy-area-static-page .country-insights-hero__row {
    position: absolute;
    top: 230px;
    left: 150px;
    width: 408px;
    margin-left: 0;
  }

  .therapy-area-static-page .country-insights-hero__title {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.18;
  }
}

.country-insights-page__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 48px 148px;
}

@media (max-width: 1200px) {
  .country-insights-page__content {
    padding-inline: 48px;
  }
}

.country-insights-page__goals {
  width: min(100%, 1144px);
  margin-inline: auto;
}

.country-insights-page__goals-details {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: min(100%, 1075px);
}

.country-insights-page__goals-details h2 {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--color-text);
}

.country-insights-page__goals-details p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

/* Country insight visualizations — aligned to the Figma two-column layout. */
.country-insights-insights {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 56px var(--gutter-block) 0;
}

.country-insights-insights[hidden] { display: none; }

.country-insights-insights__details {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: min(100%, 1075px);
}

.country-insights-insights__details h2 {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--color-text);
}

.country-insights-insights__details p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.country-insights-charts {
  display: grid;
  grid-template-columns: minmax(0, 427px) minmax(0, 642px);
  justify-content: space-between;
  align-items: start;
  margin-top: 91px;
}

@media (min-width: 1151px) {
  .country-insights-insights {
    position: relative;
    padding-bottom: 84px;
  }

  .country-insights-insights .engagement-rate .er-caption {
    position: absolute;
    top: 266px;
    left: calc(var(--gutter-block) + 21px);
    margin: 0;
  }
}

@media (max-width: 1150px) {
  .country-insights-insights {
    padding: 48px 24px 0;
  }

  .country-insights-charts {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 32px;
    margin-top: 64px;
  }

  .country-insights-insights .engagement-rate .er-chart,
  .country-insights-insights .engagement-rate .er-caption {
    margin-left: 0;
  }

  .country-insights-insights .engagement-rate .er-chart {
    margin-top: 48px;
  }

  .country-insights-insights .engagement-rate .er-caption {
    width: 100%;
    max-width: 100%;
  }

  .country-insights-hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 140px 24px 48px;
    min-height: 0;
  }

  .country-insights-hero__map {
    margin-top: 0;
    width: 96px;
    height: 96px;
  }

  .country-insights-hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-left: 0;
    width: 100%;
  }

  .country-insights-hero__intro {
    width: 100%;
    max-width: 408px;
  }

  .country-insights-hero__divider {
    display: none;
  }

  .country-insights-hero__stats {
    width: 100%;
    max-width: 484px;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .therapy-area-static-page .country-insights-hero__content {
    position: relative;
    display: block;
    height: 432px;
    min-height: 432px;
    padding: 0;
  }

  .therapy-area-static-page .country-insights-hero__map {
    position: absolute;
    top: 212px;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: 0;
    transform: translateX(-50%);
  }

  .therapy-area-static-page .country-insights-hero__row {
    position: absolute;
    top: 112px;
    left: 20px;
    width: calc(100% - 40px);
    margin-left: 0;
  }

  .therapy-area-static-page .country-insights-hero__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
  }

  .country-insights-page__content {
    padding-inline: 24px;
  }

  .country-insights-page__goals-details h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .country-insights-page__goals-details p {
    font-size: 16px;
    line-height: 26px;
  }

  .country-insights-insights__details h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .country-insights-insights__details p {
    font-size: 16px;
    line-height: 26px;
  }

  .country-insights-charts {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
  }

  .country-insights-charts > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .country-insights-insights .engagement-rate .er-chart {
    margin-top: 0;
  }

  .country-insights-patients {
    min-width: 0;
  }

  .country-picker__grid {
    grid-template-columns: 1fr;
  }

  .country-picker__inner {
    padding: 48px 20px;
  }

  .country-insights-hero__title {
    font-size: 36px;
  }
}

/* Static insight detail component styles. */

.category-accordion {
  font-family: Rubik, system-ui, sans-serif; color: #222;
  width: 100%; max-width: 1144px; margin-inline: auto;
}
.category-accordion .meta { color: #555; font-size: 13px; margin-bottom: 12px; }
.category-accordion .meta[hidden] { display: none; }
.category-accordion .err { color: #b00; }
.category-accordion .ca-list { display: flex; flex-direction: column; gap: 48px; }
.category-accordion .ca-list--split { gap: 48px; }
.category-accordion .ca-group { display: flex; flex-direction: column; gap: 24px; }
.category-accordion .ca-group-list { display: flex; flex-direction: column; gap: 24px; }
.category-accordion .ca-group--actions { gap: 32px; }
.category-accordion .ca-group--actions .ca-group-list { gap: 16px; }
.category-accordion .ca-group-heading { margin: 0; line-height: 0; }
.category-accordion .ca-group-heading .tag-pill {
  padding: 4px 8px; gap: 4px;
  font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: 0.2222em;
}
.category-accordion .ca-group-heading .tag-pill img { width: 22px; height: 14.67px; }
.category-accordion .ca-group-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  width: 100%;
}
.category-accordion .ca-group-intro {
  display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 24px;
}
.category-accordion .ca-group-details {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.category-accordion .ca-group-title {
  margin: 0; color: #222; font-size: 24px; line-height: 32px; font-weight: 600;
}
.category-accordion .ca-group-link {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px;
  color: #3D3D3D; font-size: 18px; line-height: 22px; font-weight: 500; text-decoration: none;
}
.category-accordion .ca-group-link__row {
  display: inline-flex; align-items: center; gap: 4px;
}
.category-accordion .ca-group-link__info,
.category-accordion .ca-group-link__chevron { flex: none; width: 20px; height: 20px; }
.category-accordion .ca-group-link__underline {
  display: block; width: 100%; height: 1px; background: currentColor;
}
.category-accordion .ca-group-link:focus-visible {
  outline: 2px solid #174159; outline-offset: 4px; border-radius: 2px;
}
.category-accordion .ca-expand-all {
  flex: none; display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 20px; border: 0; border-radius: 100px;
  background: #18638C; color: #fff; font: 500 18px/22px Rubik, system-ui, sans-serif;
  cursor: pointer;
}
.category-accordion .ca-expand-all:hover { background: #174159; }
.category-accordion .ca-expand-all:focus-visible {
  outline: 2px solid #174159; outline-offset: 4px;
}
.category-accordion .ca-expand-all img { flex: none; width: 24px; height: 24px; }

.category-accordion .cat-item {
  display: flex; flex-direction: column; gap: 24px;
  background: #F6F6F6; border: 1px solid #E7E7E7; border-radius: 12px;
  padding: 16px;
}
.category-accordion .cat-top { display: flex; flex-direction: column; gap: 16px; }
.category-accordion .cat-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 0;
  background: none; border: 0; font: inherit; text-align: left; cursor: pointer;
}
.category-accordion .cat-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.category-accordion .cat-icon { flex: none; width: 40px; height: 40px; }
.category-accordion .cat-name { font-size: 32px; line-height: 40px; font-weight: 600; color: #3D3D3D; }
.category-accordion .cat-side {
  flex: none; display: flex; align-items: center; gap: 16px;
}
.category-accordion .cat-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 16px; background: #fff;
  box-shadow: 0 8px 16px rgba(23, 65, 89, 0.06);
}
.category-accordion .cat-toggle svg { transition: transform 0.15s ease; }
.category-accordion .cat-header[aria-expanded="true"] .cat-toggle svg { transform: rotate(180deg); }
.category-accordion .cat-pct { order: -1; font-size: 32px; line-height: 40px; font-weight: 600; color: #3D3D3D; }
.category-accordion .cat-stats { display: flex; align-items: center; gap: 16px; }
.category-accordion .cat-stats::after {
  content: ""; flex: none; width: 32px; height: 32px;
}
.category-accordion .cat-bar {
  flex: 1 1 auto; height: 12px; background: #DFDFDF; border-radius: 4px; overflow: hidden;
}
.category-accordion .cat-bar-fill { display: block; height: 100%; background: #18638C; border-radius: 4px; }
.category-accordion .cat-bar-fill--interaction { background: #1F5C68; }
.category-accordion .cat-bar-fill--actions { background: #B85016; }
.category-accordion .mention-pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px; background: rgba(24, 99, 140, 0.1);
  font-size: 13px; font-weight: 500; text-transform: uppercase; color: #174159;
}
.category-accordion .mention-pill img { width: 12px; height: 12px; }
.category-accordion .mention-pill--sm {
  gap: 4px; padding: 6px 8px; background: rgba(24, 84, 116, 0.1);
  font-size: 12px; letter-spacing: 0.02em;
}
.category-accordion .cat-panel { display: flex; flex-direction: column; gap: 12px; padding-inline: 32px; }
.category-accordion .cat-panel[hidden] { display: none; }
.category-accordion .sub-card {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  background: #fff; border-radius: 12px; padding: 16px 24px;
}
.category-accordion .sub-main {
  display: flex; align-items: flex-end; gap: 20px; width: 100%;
}
.category-accordion .sub-pct {
  flex: none; padding: 0 8px; font-size: 26px; line-height: 32px; font-weight: 600; color: #3D3D3D;
}
.category-accordion .sub-name { flex: 1 1 auto; min-width: 0; font-size: 18px; line-height: 26px; color: #222; }
.category-accordion .ca-group--actions .sub-card { padding-inline: 20px; }
.category-accordion .ca-group--actions .sub-main { justify-content: flex-end; }
.category-accordion .tag-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 8px; border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.category-accordion .tag-pill img { width: 18px; height: 12px; }
.category-accordion .tag-pill--interaction { background: #1F4E5A; color: #EEFDFD; }
.category-accordion .tag-pill--actions { background: #B85016; color: #FEF8EE; }

.engagement-rate[hidden] { display: none; }
.engagement-rate { font-family: var(--font-sans); color: var(--color-text-secondary); }
.engagement-rate .er-chart { width: 340px; max-width: 100%; margin: 85px 0 0 20px; }
.engagement-rate .er-chart svg { display: block; width: 100%; height: auto; }
.engagement-rate .er-legend {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.engagement-rate .er-legend-item { display: flex; align-items: center; gap: 8px; }
.engagement-rate .er-swatch { width: 12px; height: 12px; flex: none; }
.engagement-rate .er-swatch--engaged { background: var(--color-chart-highlight); }
.engagement-rate .er-swatch--other { background: var(--color-chart-bar); }
.engagement-rate .er-caption {
  width: 427px; max-width: none; margin: 16px 0 0 21px;
  font-size: 18px; line-height: 26px; color: var(--color-text-secondary);
}

.patients-reached {
  max-width: var(--max-width); margin-inline: auto; padding: 64px var(--gutter-block) 0;
  font-family: var(--font-sans);
}
.patients-reached[hidden] { display: none; }
.patients-reached .pr-title {
  margin: 0; font-size: 16px; font-weight: 400; line-height: 26px; color: var(--color-text-secondary);
}
.patients-reached .pr-total { margin: 0; font-size: 16px; line-height: 26px; color: var(--color-text-muted); }
.patients-reached .pr-patients-total {
  margin: 0 0 46px; font-size: 18px; line-height: 26px; color: var(--color-text-secondary);
}
.patients-reached .pr-chart { max-width: 660px; margin-top: 16px; }
.patients-reached .pr-chart svg { display: block; width: 100%; height: auto; }
.country-insights-charts .country-insights-patients > .patients-reached {
  max-width: none;
  padding: 0;
}

.patient-voices { background: var(--color-surface-gray); font-family: var(--font-sans); }
.patient-voices[hidden] { display: none; }
.pv-inner { max-width: var(--max-width); margin-inline: auto; padding: 42px var(--gutter-block) 52px; }
.pv-title { margin-bottom: 40px; font-size: 40px; line-height: 48px; font-weight: 600; color: var(--color-text-secondary); }
.pv-carousel { position: relative; }
.pv-viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.pv-viewport::-webkit-scrollbar { display: none; }
.pv-track { display: flex; gap: 30px; }
.pv-card {
  flex: 0 0 100%; scroll-snap-align: start; background: var(--color-white);
  border: 1px solid #E2EEF4; border-radius: 20px; box-shadow: 0 8px 16px rgba(23, 65, 89, 0.06);
  position: relative; padding: 32px 40px; display: flex; flex-direction: column; gap: 20px;
}
.pv-card__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pv-card__tag { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; }
.pv-mark { position: absolute; top: 72px; left: 30px; width: 36px; height: 24px; }
.pv-original-toggle {
  display: inline-flex; align-items: center; flex: none; max-width: 50%; padding: 8px;
  border: 0; border-radius: 6px; background: transparent; color: #174159;
  font: inherit; font-size: 16px; line-height: 20px; font-weight: 500; text-align: right;
  cursor: pointer;
}
.pv-original-toggle > span { padding-inline: 4px; border-bottom: 1px solid currentColor; }
.pv-original-toggle:hover { color: #174159; }
.pv-original-toggle:focus-visible { outline: 2px solid #174159; outline-offset: 4px; border-radius: 2px; }
.pv-quote {
  max-width: 972px; align-self: center; padding-top: 24px;
  font-size: 20px; line-height: 32px; font-style: italic; color: var(--color-text-secondary);
}
.pv-divider { border: 0; border-top: 1px solid var(--color-surface-card); }
.pv-org { font-size: 24px; line-height: 32px; font-weight: 600; color: #1C7DAD; }
.pv-category { font-size: 18px; line-height: 22px; font-weight: 500; color: #174159; }
.pv-divider, .pv-meta { width: 100%; max-width: 1017px; align-self: center; }
.patient-voices .tag-pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 8px; border-radius: 6px; font-size: 13px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.patient-voices .tag-pill img { width: 18px; height: 12px; }
.patient-voices .tag-pill--interaction { background: #1F4E5A; color: #EEFDFD; }
.patient-voices .tag-pill--actions { background: #B85016; color: #FEF8EE; }
.pv-arrow {
  position: absolute; top: 50%; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-white); border: 1px solid #E2EEF4; box-shadow: 0 5px 11px rgba(23, 65, 89, 0.1);
  display: flex; align-items: center; justify-content: center;
}
.pv-arrow[hidden] { display: none; }
.pv-arrow--prev { left: 0; transform: translate(-50%, -50%); }
.pv-arrow--next { right: 0; transform: translate(50%, -50%); }
.pv-arrow--next img { transform: scaleX(-1); }
.pv-arrow:disabled { opacity: 0.4; cursor: default; }
.pv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pv-dots[hidden] { display: none; }
.pv-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #B3B3B3; background: var(--color-white);
}
.pv-dot.is-active { background: #1C7DAD; border-color: #1C7DAD; }

@media (min-width: 1151px) {
  .pv-viewport { margin-inline: 18px 25px; }
  .pv-arrow--prev { left: 19.5px; }
  .pv-arrow--next { right: 28px; }
}

.responses { font: 14px/1.4 system-ui, sans-serif; color: #000; }
.responses .filters { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-bottom: 16px; }
.responses .filter { display: flex; flex-direction: column; gap: 4px; }
.responses .filter label { font-weight: 600; font-size: 12px; color: #444; }
.responses .filter select { padding: 4px 6px; min-width: 180px; font: inherit; }
.responses button { padding: 6px 12px; font: inherit; cursor: pointer; }
.responses .meta { color: #555; margin-bottom: 12px; }
.responses .err { color: #b00; }
.responses #table-wrap { width: 100%; overflow-x: auto; }
.responses #results { border-collapse: collapse; width: 100%; font-size: 13px; }
.responses #results th, .responses #results td {
  padding: 4px 8px; vertical-align: top; word-break: break-word; white-space: pre-line; border-bottom: 1px solid #ccc;
}
.responses #results th { text-align: left; font-weight: 600; }
.responses #results td.col-english { width: 40%; }
.responses #results td.col-nowrap { white-space: nowrap; }

@media (max-width: 640px) {
  .category-accordion {
    width: calc(100% + 18px); margin-inline: -9px;
  }
  .category-accordion .ca-list--split { gap: 24px; }
  .category-accordion .ca-group-header { gap: 16px; }
  .category-accordion .ca-group-intro { gap: 16px; }
  .category-accordion .ca-group-details { gap: 12px; }
  .category-accordion .ca-group-heading .tag-pill { white-space: nowrap; }
  .category-accordion .ca-group-title { font-size: 20px; line-height: 28px; }
  .category-accordion .ca-group-link { font-size: 16px; line-height: 22px; }
  .category-accordion .ca-group-link__row { align-items: flex-start; }
  .category-accordion .ca-expand-all { gap: 16px; padding: 12px 20px; font-size: 18px; line-height: 22px; }
  .category-accordion .cat-item { padding: 16px; }
  .category-accordion .cat-icon { width: 32px; height: 32px; }
  .category-accordion .cat-name { font-size: 22px; line-height: 28px; font-weight: 700; }
  .category-accordion .cat-pct { font-size: 32px; line-height: 32px; }
  .category-accordion .cat-side { gap: 12px; }
  .category-accordion .cat-stats { gap: 18px; }
  .category-accordion .cat-bar { height: 4px; }
  .category-accordion .mention-pill { font-size: 11px; }
  .category-accordion .cat-panel { padding-inline: 0; }
  .category-accordion .cat-stats::after { display: none; }
  .category-accordion .sub-card,
  .category-accordion .ca-group--actions .sub-card { padding: 16px; }
}

@media (max-width: 1150px) {
  .pv-inner { padding: 40px 24px 44px; }
  .pv-arrow { display: none; }
}

@media (max-width: 768px) {
  .pv-inner { width: min(345px, 100%); padding: 16px 0; }
  .pv-title {
    height: 76px; padding: 0 16px; margin: 0; font-size: 30px; line-height: 38px; font-weight: 700;
  }
  .pv-carousel { margin-top: 18px; }
  .pv-viewport { width: min(339px, 100%); margin-inline: auto; }
  .pv-track { width: max-content; gap: 16px; padding: 0 24px; align-items: flex-start; }
  .pv-card { flex: 0 0 294px; align-self: flex-start; padding: 24px; gap: 16px; }
  .pv-card__topline { flex-direction: column; gap: 10px; padding-bottom: 12px; }
  .pv-card__tag { padding-bottom: 0; }
  .pv-original-toggle { align-self: flex-end; max-width: 100%; font-size: 16px; line-height: 20px; }
  .pv-mark { position: static; width: 24px; height: 14px; }
  .pv-quote { max-width: none; padding-top: 0; font-size: 18px; line-height: 26px; }
  .patient-voices .tag-pill { font-size: 12px; line-height: 14px; }
  .pv-org { font-size: 13px; line-height: 18px; }
  .pv-category { font-size: 16px; line-height: 20px; font-weight: 600; color: #3D3D3D; }
  .pv-arrow { display: flex; top: 50%; transform: translateY(-50%); }
  .pv-arrow--prev { left: 0; }
  .pv-arrow--next { right: 6px; }
  .pv-dots { height: 12px; margin-top: 18px; }
}

/* The glossary keeps the static accordion structure and interaction styles,
   but replaces data metrics with the report's explanatory copy. */
.glossary-page-static .site-header {
  background: var(--color-hero-bg);
}

.glossary-page {
  color: var(--color-text-secondary);
  background: var(--color-white);
}

.glossary-page__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: calc(101px + 96px) 148px 96px;
}

.glossary-page__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(786px, 100%);
}

.glossary-page__title {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 72px;
  line-height: 1.1;
  font-weight: 600;
}

.glossary-page__description {
  width: min(698px, 100%);
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 26px;
}

.glossary-page__body {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.glossary-page .ca-list--split {
  gap: 64px;
}

.glossary-page .cat-item {
  gap: 16px;
  padding: 24px 20px;
}

.glossary-page .ca-group--actions .cat-item {
  padding: 24px 20px;
}

.glossary-page .cat-top {
  gap: 20px;
}

.glossary-page .cat-icon {
  width: 24px;
  height: 24px;
}

.glossary-page .cat-name {
  color: #3D3D3D;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.glossary-page .cat-side {
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.glossary-page .cat-panel {
  gap: 12px;
  padding-inline: 16px;
}

.glossary-page .ca-group--actions .cat-panel {
  padding-inline: 16px;
}

.glossary-page .glossary-entry {
  align-items: stretch;
  gap: 8px;
  padding: 16px;
}

.glossary-page .glossary-entry__title,
.glossary-page .glossary-entry__description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 26px;
}

.glossary-page .glossary-entry__title {
  font-weight: 500;
}

.glossary-page .glossary-entry__description {
  font-weight: 400;
}

@media (max-width: 768px) {
  .glossary-page__content {
    gap: 40px;
    padding: calc(65px + 96px) 20px 48px;
  }

  .glossary-page__title {
    font-size: 48px;
    line-height: 56px;
  }

  .glossary-page .category-accordion {
    width: 100%;
    margin-inline: 0;
  }

  .glossary-page .ca-group-heading .tag-pill {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .glossary-page .ca-list--split {
    gap: 40px;
  }

  .glossary-page .cat-item,
  .glossary-page .ca-group--actions .cat-item {
    padding: 20px 16px;
  }

  .glossary-page .ca-group--actions .cat-panel {
    padding-inline: 16px;
  }
}
