/* Research hub and multilingual search study — scoped to the research asset. */
.bsc-research,
.bsc-research * {
  min-width: 0;
}

.bsc-research {
  --research-lime: #b8f34a;
  --research-blue: #52c8ff;
  --research-coral: #ff8168;
  overflow-x: clip;
}

/* WordPress may insert empty paragraphs around block HTML via wpautop. They
 * must not become anonymous Grid items and push real card content off-column. */
.bsc-research p:empty {
  display: none !important;
  margin: 0 !important;
}

.bsc-study-explorer,
.bsc-research [data-copy-citation],
.bsc-research [data-print-study] {
  display: none;
}

.bsc-research-js .bsc-study-explorer {
  display: grid;
}

.bsc-research-js .bsc-research [data-copy-citation],
.bsc-research-js .bsc-research [data-print-study] {
  display: inline-flex;
}

.bsc-research [id] {
  scroll-margin-top: 150px;
}

.bsc-research-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 6vw, 68px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(82, 200, 255, .2), transparent 32%),
    radial-gradient(circle at 86% 74%, rgba(184, 243, 74, .15), transparent 36%),
    linear-gradient(135deg, #061827, #0a3045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(6, 24, 39, .22);
}

.bsc-research-feature::after {
  position: absolute;
  z-index: -1;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  pointer-events: none;
}

.bsc-research-feature h2 {
  max-width: 760px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -1.7px;
}

.bsc-research-feature__copy > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
}

.bsc-research-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.bsc-research-feature .bsc-button--dark {
  color: var(--bsc-navy);
  background: var(--research-lime);
  border-color: var(--research-lime);
  box-shadow: none;
}

.bsc-research-feature__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bsc-research-feature__stats > div {
  display: grid;
  align-content: center;
  min-height: 138px;
  padding: 22px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.bsc-research-feature__stats strong {
  color: var(--research-lime);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.bsc-research-feature__stats span {
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.5;
}

.bsc-research-jump {
  position: sticky;
  z-index: 80;
  top: 78px;
  background: rgba(255, 255, 255, .94);
  border-block: 1px solid var(--bsc-line);
  backdrop-filter: blur(14px);
}

body.admin-bar .bsc-research-jump {
  top: 110px;
}

.bsc-research-jump .bsc-container {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding-block: 13px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.bsc-research-jump .bsc-container::-webkit-scrollbar {
  display: none;
}

.bsc-research-jump a {
  flex: 0 0 auto;
  color: #304754;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.bsc-research-jump a:hover {
  color: #087d72;
}

.bsc-research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.bsc-research-meta span {
  padding: 7px 12px;
  color: #38515f;
  background: #edf5f7;
  border: 1px solid #d9e8ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.bsc-research-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 54px;
  background: var(--bsc-navy);
  border-radius: 24px;
  box-shadow: var(--bsc-shadow);
}

.bsc-research-kpis > div {
  display: grid;
  gap: 7px;
  padding: 28px;
  border-inline-start: 1px solid rgba(255, 255, 255, .1);
}

.bsc-research-kpis > div:first-child {
  border-inline-start: 0;
}

.bsc-research-kpis strong {
  color: var(--research-lime);
  font-size: clamp(29px, 4vw, 45px);
  font-weight: 950;
  line-height: 1;
}

.bsc-research-kpis span {
  color: #fff;
  font-weight: 850;
}

.bsc-research-kpis small {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.55;
}

.bsc-research-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 36px;
  align-items: start;
}

.bsc-research-disclosure,
.bsc-research-limits {
  padding: 28px;
  background: #e8f8f5;
  border: 1px solid #c6ebe5;
  border-radius: 20px;
}

.bsc-research-disclosure strong {
  display: block;
  margin-bottom: 8px;
  color: #08756b;
  font-size: 14px;
}

.bsc-research-disclosure p,
.bsc-research-limits p {
  margin: 0;
  color: #304754;
  font-size: 14px;
}

.bsc-cohort-figure {
  margin: 0;
}

.bsc-cohort-figure figcaption {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 800;
}

.bsc-cohort-bar {
  display: flex;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 22px;
}

.bsc-cohort-bar > span {
  display: flex;
  flex: 0 0 var(--share);
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  color: var(--bsc-navy);
}

.bsc-cohort-bar b {
  font-size: clamp(34px, 5vw, 62px);
  line-height: .85;
}

.bsc-cohort-bar small {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.bsc-cohort-bar .is-strong { background: var(--research-lime); }
.bsc-cohort-bar .is-moderate { background: var(--research-blue); }
.bsc-cohort-bar .is-down { background: var(--research-coral); }

.bsc-cohort-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.bsc-cohort-legend span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.bsc-cohort-legend i {
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
}

.bsc-cohort-legend i.is-strong { color: var(--research-lime); }
.bsc-cohort-legend i.is-moderate { color: var(--research-blue); }
.bsc-cohort-legend i.is-down { color: var(--research-coral); }

.bsc-research .bsc-note {
  color: #6b7f8b;
  font-size: 13px;
}

.bsc-section--dark .bsc-research-principles {
  margin-top: 34px;
}

.bsc-section--dark .bsc-research-principles .bsc-card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
}

.bsc-section--dark .bsc-research-principles .bsc-card h3 {
  color: #fff;
}

.bsc-section--dark .bsc-research-principles .bsc-card p {
  color: rgba(255, 255, 255, .67);
}

.bsc-section--dark .bsc-cohort-figure .bsc-note,
.bsc-section--dark p.bsc-note {
  color: #6c4a09;
}

.bsc-study-explorer {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: 28px;
  margin-bottom: 34px;
  padding: clamp(24px, 4vw, 42px);
  background: #f5f9fa;
  border: 1px solid var(--bsc-line);
  border-radius: 24px;
}

.bsc-study-controls {
  display: grid;
  gap: 22px;
}

.bsc-study-control-label {
  display: block;
  margin-bottom: 9px;
  color: #46606d;
  font-size: 12px;
  font-weight: 900;
}

.bsc-study-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bsc-study-options button {
  min-height: 44px;
  padding: 8px 13px;
  color: #304754;
  background: #fff;
  border: 1px solid #cadbe1;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.bsc-study-options button:hover {
  border-color: #65bcb3;
}

.bsc-study-options button[aria-pressed="true"] {
  color: #fff;
  background: var(--bsc-navy);
  border-color: var(--bsc-navy);
}

.bsc-study-result {
  display: grid;
  align-content: center;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(82, 200, 255, .2), transparent 38%),
    var(--bsc-navy);
  border-radius: 19px;
}

.bsc-study-result__head,
.bsc-study-values {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.bsc-study-result__head span {
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  font-weight: 800;
}

.bsc-study-result__head strong {
  color: var(--research-lime);
  font-size: 20px;
}

.bsc-study-values {
  margin: 25px 0 18px;
}

.bsc-study-values > div {
  flex: 1 1 0;
}

.bsc-study-values small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .56);
  font-size: 11px;
}

.bsc-study-values b {
  font-size: clamp(25px, 4vw, 39px);
  line-height: 1.1;
}

.bsc-study-result > p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.bsc-research-case {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--bsc-line);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(6, 24, 39, .07);
}

.bsc-research-case__head {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.bsc-research-case h3 {
  margin: 5px 0 0;
  color: var(--bsc-navy);
  font-size: clamp(25px, 4vw, 37px);
}

.bsc-research-case > p {
  max-width: 900px;
  color: #304754;
}

.bsc-research-case .bsc-table-wrap:focus {
  outline: 3px solid rgba(20, 184, 166, .28);
  outline-offset: 3px;
}

.bsc-research .bsc-data-table {
  min-width: 680px;
}

.bsc-research-findings {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.bsc-research-findings article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--bsc-line);
  border-radius: 18px;
}

.bsc-research-findings article > span {
  color: #087d72;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.bsc-research-findings article > span {
  grid-column: 1;
  grid-row: 1;
}

.bsc-research-findings article > div {
  grid-column: 2;
  grid-row: 1;
}

.bsc-research-findings h3 {
  margin: 0 0 7px;
  color: var(--bsc-navy);
  font-size: 20px;
}

.bsc-research-findings p {
  margin: 0;
  color: #526875;
  font-size: 14px;
}

.bsc-research-limits {
  background: #fff8e8;
  border-color: #f0dab0;
}

.bsc-research-limits h3 {
  margin: 9px 0 16px;
  color: var(--bsc-navy);
  font-size: 25px;
}

.bsc-research-authors .bsc-card {
  align-self: start;
  background: #fff;
}

.bsc-research-authors .bsc-card .bsc-button--ghost {
  color: var(--bsc-navy);
  border-color: #aebfc7;
}

.bsc-research-status {
  min-height: 1.6em;
  margin-top: 12px !important;
  color: #087d72 !important;
  font-size: 12px !important;
  font-weight: 800;
}

.bsc-research-next .bsc-card {
  display: flex;
  flex-direction: column;
}

.bsc-research-next .bsc-card__link {
  margin-top: auto;
  padding-top: 20px;
}

.bsc-research a:focus-visible,
.bsc-research button:focus-visible {
  outline: 3px solid #0c9688;
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .bsc-research-feature,
  .bsc-research-lead-grid,
  .bsc-study-explorer {
    grid-template-columns: 1fr;
  }

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

  .bsc-research-kpis > div:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .bsc-research-kpis > div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, .1);
  }
}

@media (max-width: 782px) {
  .bsc-research-jump {
    top: 78px;
  }

  body.admin-bar .bsc-research-jump {
    top: 124px;
  }

  .bsc-research-jump .bsc-container {
    width: 100%;
    padding-inline: 20px;
  }

  .bsc-cohort-bar {
    min-height: 145px;
  }

  .bsc-cohort-bar > span {
    padding: 17px;
  }
}

@media (max-width: 620px) {
  .bsc-research-feature {
    gap: 30px;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .bsc-research-feature::after {
    display: none;
  }

  .bsc-research-feature__stats {
    grid-template-columns: 1fr 1fr;
  }

  .bsc-research-feature__stats > div {
    min-height: 112px;
    padding: 16px;
  }

  .bsc-research-kpis {
    grid-template-columns: 1fr;
    border-radius: 19px;
  }

  .bsc-research-kpis > div,
  .bsc-research-kpis > div:nth-child(3) {
    padding: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-inline-start: 0;
  }

  .bsc-research-kpis > div:first-child {
    border-top: 0;
  }

  .bsc-cohort-bar {
    display: grid;
    gap: 8px;
    min-height: 0;
    padding: 8px;
    background: rgba(255, 255, 255, .03);
  }

  .bsc-cohort-bar > span {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 76px;
    overflow: hidden;
    color: #fff;
    background: rgba(255, 255, 255, .06) !important;
  }

  .bsc-cohort-bar > span::after {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: var(--share);
    height: 8px;
    content: "";
  }

  .bsc-cohort-bar > span.is-strong::after { background: var(--research-lime); }
  .bsc-cohort-bar > span.is-moderate::after { background: var(--research-blue); }
  .bsc-cohort-bar > span.is-down::after { background: var(--research-coral); }

  .bsc-cohort-bar b {
    color: #fff;
    font-size: 30px;
  }

  .bsc-cohort-bar small {
    color: rgba(255, 255, 255, .76);
  }

  .bsc-study-result__head,
  .bsc-study-values,
  .bsc-research-case__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bsc-study-values > span {
    display: none;
  }

  .bsc-study-values > div {
    width: 100%;
  }

  .bsc-research-findings article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 20px;
  }
}

@media (max-width: 390px) {
  .bsc-research-feature__stats {
    grid-template-columns: 1fr;
  }

  .bsc-research-actions,
  .bsc-research-actions .bsc-button {
    width: 100%;
  }

  .bsc-study-options {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media print {
  .bsc-topbar,
  .bsc-header,
  .bsc-footer,
  .bsc-research-jump,
  .bsc-study-explorer,
  .bsc-research-actions,
  .bsc-cta {
    display: none !important;
  }

  .bsc-page-hero,
  .bsc-research .bsc-section,
  .bsc-research-feature {
    padding-block: 24px !important;
    color: #111 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .bsc-page-hero h1,
  .bsc-page-hero p,
  .bsc-page-hero .bsc-eyebrow,
  .bsc-section--dark .bsc-prose,
  .bsc-section--dark .bsc-prose p,
  .bsc-section--dark .bsc-prose h3,
  .bsc-section--dark .bsc-check-list li,
  .bsc-section--dark .bsc-research-principles .bsc-card h3,
  .bsc-section--dark .bsc-research-principles .bsc-card p,
  .bsc-cohort-figure figcaption,
  .bsc-cohort-legend,
  .bsc-section--dark p.bsc-note {
    color: #111 !important;
  }

  .bsc-research-kpis,
  .bsc-study-result,
  .bsc-cohort-bar,
  .bsc-section--dark {
    color: #111 !important;
    background: #fff !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
  }

  .bsc-research-kpis strong,
  .bsc-research-kpis span,
  .bsc-research-kpis small,
  .bsc-study-result *,
  .bsc-section--dark .bsc-section-head p,
  .bsc-section--dark h2,
  .bsc-section--dark .bsc-note {
    color: #111 !important;
  }

  .bsc-research-case,
  .bsc-study-explorer,
  .bsc-research-findings article,
  .bsc-research-limits {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .bsc-table-wrap {
    overflow: visible;
  }

  .bsc-data-table {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsc-research *,
  .bsc-research *::before,
  .bsc-research *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
