/* Research report reading layout. Loaded only by report.php. */
body:has(.report-article) .site {
  max-width: none;
}

body:has(.report-article) .page {
  padding-bottom: 0;
}

body:has(.report-article) .page-breadcrumb {
  position: static;
  visibility: visible;
  width: calc(100% - 48px);
  max-width: 1120px;
  margin: 0 auto 34px;
  padding-top: 4px;
}

.report-article {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px 110px;
}

.report-article__header {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: left;
}

.report-article__category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 11px;
  border: 1px solid rgba(82, 230, 255, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-3);
}

.report-article__header h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #fff;
}

.report-article__subtitle {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(244, 242, 255, 0.6);
}

.report-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 20px;
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

.report-article__meta span,
.report-article__meta time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.report-article__meta a {
  color: rgba(244, 242, 255, 0.72);
}

.report-article__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 790px);
  align-items: start;
  justify-content: center;
  gap: 32px;
}

.report-article__aside {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.report-toc {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.report-toc summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 242, 255, 0.8);
  cursor: pointer;
  list-style: none;
}

.report-toc summary::-webkit-details-marker {
  display: none;
}

.report-toc summary::after {
  content: '+';
  margin-left: auto;
  font-size: 16px;
  font-weight: 300;
  color: var(--accent-3);
}

.report-toc[open] summary::after {
  content: '−';
}

.report-toc nav {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 0 14px 14px;
}

.report-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
}

.report-toc li {
  margin: 0 0 8px;
  padding-left: 2px;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(244, 242, 255, 0.3);
}

.report-toc a {
  color: rgba(244, 242, 255, 0.58);
}

.report-toc a:hover {
  color: #fff;
}

.report-article__trust-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.report-article__trust-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 3px;
  font-size: 10.5px;
  color: rgba(159, 208, 255, 0.65);
}

.report-article__main {
  min-width: 0;
  padding: 54px 62px 48px;
  border-radius: 3px;
  background: #fbfbfc;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  color: #242936;
}

.report-article__summary {
  margin-bottom: 24px;
  padding: 24px 26px;
  border-left: 4px solid #376eff;
  background: #eff4ff;
}

.report-article__summary > span {
  display: block;
  margin-bottom: 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #376eff;
}

.report-article__summary h2 {
  margin: 0 0 9px;
  font-size: 18px;
  color: #182039;
}

.report-article__summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #3d475e;
}

.report-article__body {
  font-size: 16px;
  line-height: 2.05;
  color: #303643;
}

.report-article__body p {
  margin: 0 0 25px;
}

.report-article__body h2 {
  scroll-margin-top: 110px;
  margin: 58px 0 19px;
  padding-top: 6px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #151a27;
}

.report-article__body h2::before {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #376eff;
}

.report-article__body img {
  max-width: 100%;
  height: auto;
  margin: 28px 0;
  border-radius: 8px;
}

.report-article__body ul {
  margin: 0 0 26px;
  padding: 20px 24px 18px 42px;
  border-radius: 8px;
  background: #f3f5f8;
}

.report-article__body li {
  margin-bottom: 9px;
}

.report-article__body blockquote {
  margin: 0 0 28px;
  padding: 18px 22px;
  border-left: 4px solid #376eff;
  background: #f4f7ff;
  color: #1e2943;
  font-weight: 600;
}

.report-article__body blockquote p {
  margin: 0;
}

.report-stat {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
  margin: 4px 16px 28px 0;
  padding: 18px 22px;
  border: 1px solid #d9e5ff;
  border-radius: 8px;
  background: #f5f8ff;
}

.report-stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2558db;
}

.report-stat__value small {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #58657d;
}

.report-stat__caption {
  font-size: 12.5px;
  color: #647087;
}

.report-system-link {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 0 0 34px;
  padding: 17px 20px;
  border-radius: 8px;
  background: #376eff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.report-system-link > i:first-child {
  font-size: 23px;
}

.report-system-link > i:last-child {
  margin-left: auto;
}

.report-system-link span {
  display: grid;
  gap: 2px;
}

.report-system-link small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.report-system-link:hover {
  background: #2458dc;
  transform: translateY(-2px);
}

.report-video-section {
  margin: 0 0 46px;
  padding-bottom: 42px;
  border-bottom: 1px solid #e1e4ea;
}

.report-video-section__heading > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e32941;
}

.report-video-section__heading h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.55;
  color: #171c29;
}

.report-video-section__heading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #697386;
}

.report-video {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  margin: 18px 0 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0a0c;
}

.report-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.report-table {
  display: block;
  width: 100%;
  margin: 0 0 30px;
  overflow-x: auto;
  border: 1px solid #e0e4eb;
  border-radius: 7px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

.report-table th,
.report-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e5e8ee;
  text-align: left;
  white-space: nowrap;
}

.report-table th {
  color: #2458dc;
  font-weight: 600;
}

.report-table td {
  color: #3d4555;
}

.report-references {
  margin-top: 58px;
  padding: 28px;
  border: 1px solid #dfe3ea;
  border-radius: 9px;
  background: #f6f7f9;
}

.report-references__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #376eff;
}

.report-references h2 {
  margin: 0 0 16px;
  font-size: 19px;
  color: #1a2131;
}

.report-references ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-references a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff;
  color: #273149;
}

.report-references strong {
  font-size: 11px;
  line-height: 1.55;
}

.report-references a span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  white-space: nowrap;
  color: #66718a;
}

.report-article__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #e2e5eb;
}

.report-article__footer p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.report-article__footer p span {
  font-size: 9px;
  color: #838b9c;
}

.report-article__footer p a {
  font-size: 13px;
  font-weight: 600;
  color: #242c3d;
}

.report-article__footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.report-article__footer nav a {
  font-size: 10px;
  color: #526789;
}

@media (max-width: 899px) {
  body:has(.report-article) .page-breadcrumb {
    width: calc(100% - 32px);
    margin-bottom: 24px;
  }

  .report-article {
    padding: 0 16px 78px;
  }

  .report-article__header {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .report-article__header h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.32;
  }

  .report-article__subtitle {
    margin-top: 14px;
    font-size: 14px;
  }

  .report-article__meta {
    gap: 8px 15px;
    margin-top: 17px;
    font-size: 10px;
  }

  .report-article__layout {
    grid-template-columns: minmax(0, 790px);
    gap: 14px;
  }

  .report-article__aside {
    position: static;
  }

  .report-article__trust-links {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 2px 0;
  }

  .report-article__main {
    padding: 38px 34px 36px;
  }
}

@media (max-width: 520px) {
  .report-article__category {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .report-article__header h1 {
    font-size: 30px;
  }

  .report-article__main {
    margin-right: -16px;
    margin-left: -16px;
    padding: 30px 20px 32px;
    border-radius: 0;
  }

  .report-article__summary {
    padding: 20px;
  }

  .report-article__summary p {
    font-size: 13px;
  }

  .report-system-link {
    padding: 15px 16px;
    font-size: 12px;
  }

  .report-video-section__heading h2 {
    font-size: 17px;
  }

  .report-article__body {
    font-size: 15px;
    line-height: 2;
  }

  .report-article__body h2 {
    margin-top: 48px;
    font-size: 21px;
  }

  .report-article__body ul {
    padding: 17px 17px 16px 34px;
  }

  .report-stat {
    width: 100%;
    margin-right: 0;
  }

  .report-references {
    padding: 22px 18px;
  }

  .report-references a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .report-references a span {
    white-space: normal;
  }

  .report-article__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-article__footer nav {
    justify-content: flex-start;
  }
}
