/* Individual Research template. Scoped to avoid changing existing pages. */
.research-detail { --rd-ink: #123d32; --rd-muted: #496158; }
.research-detail a { text-underline-offset: 4px; }
.research-detail a:focus-visible,.research-detail button:focus-visible { outline: 3px solid #12664f; outline-offset: 5px; }
.research-detail .institute-brand-sub { color: #087657; }
.rd-wrap { width: min(1240px, 88%); margin-inline: auto; }
.rd-skip { position: absolute; top: -100px; left: 16px; padding: 12px 20px; background: white; color: #171717; z-index: 5; }
.rd-skip:focus { top: 12px; }
.research-detail .rd-breadcrumb { display: block; padding: 24px 0; }
.rd-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; font-size: 13px; }
.rd-breadcrumb li + li::before { content: '/'; margin-right: 10px; color: #496158; }
.research-detail .rd-breadcrumb a { color: #295247; text-decoration: underline; font-size: inherit; }
.rd-notice { display: flex; align-items: center; gap: 30px; padding: 20px 24px; border: 1px solid #b5d6ca; border-left: 4px solid #087657; margin-bottom: 28px; background: #f4faf8; }
.rd-notice strong { flex: 0 0 145px; font-size: 11px; letter-spacing: .12em; color: #175743; }
.rd-notice p { font-size: 14px; max-width: 850px; }
.rd-hero { background: #00c896; padding: 65px 0 72px; color: #123d32; }
.rd-hero-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 50px; align-items: end; }
.rd-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; margin-bottom: 24px; }
.rd-hero h1 { font-size: clamp(46px, 6.5vw, 92px); line-height: .98; margin: 0 0 30px; letter-spacing: -.055em; }
.rd-deck { font-size: 20px; max-width: 650px; margin-bottom: 32px; }
.rd-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 1px solid #123d32; background: #123d32; color: white; padding: 13px 21px; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.rd-button:hover { background: #225a49; color: white; }
.rd-button-outline { background: white; color: #123d32; }
.rd-button[hidden] { display: none; }
.rd-hero-aside { border-left: 1px solid #127459; padding-left: 35px; }
.rd-orbit { display: grid; place-items: center; width: 120px; height: 120px; border: 1px solid #127459; border-radius: 50%; font-size: 75px; line-height: 1; margin-bottom: 40px; }
.rd-hero-aside p { font-size: 24px; line-height: 1.2; font-weight: 700; margin-bottom: 25px; letter-spacing: -.03em; }
.rd-hero-aside > span:last-child { display: block; font-size: 10px; letter-spacing: .12em; }
.rd-metadata { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding: 28px 0; border-bottom: 1px solid #d8e6e1; }
.rd-metadata dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #496158; margin-bottom: 6px; }
.rd-metadata dd { font-size: 13px; font-weight: 700; }
.rd-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 70px; padding: 65px 0 80px; }
.rd-sidebar nav { display: flex; flex-direction: column; gap: 0; }
.rd-sidebar nav a { color: #295247; font-size: 13px; padding: 12px 0; border-bottom: 1px solid #d8e6e1; }
.rd-sidebar nav a:hover { text-decoration: underline; }
.rd-sidebar-note { font-size: 13px; color: #496158; margin-top: 35px; }
.rd-content { max-width: 840px; }
.rd-content section { scroll-margin-top: 30px; padding-bottom: 55px; margin-bottom: 55px; border-bottom: 1px solid #d8e6e1; }
.rd-content section:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.rd-content .rd-kicker { color: #087657; }
.rd-content h2,.rd-contact h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; margin-bottom: 26px; }
.rd-content h3 { font-size: 19px; line-height: 1.3; margin: 25px 0 10px; }
.rd-content p { margin-bottom: 18px; }
.rd-content a:not(.rd-button) { color: #086a50; }
.rd-lead { font-size: 23px; line-height: 1.4; }
.rd-callout { background: #f4faf8; border-left: 3px solid #00c896; padding: 24px 28px; margin-top: 28px; }
.rd-callout h3 { margin-top: 0; }
.rd-callout p { margin-bottom: 0; }
.rd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 35px 0; }
.rd-stats > div { border-top: 3px solid #00c896; padding-top: 16px; }
.rd-stats strong { display: block; font-size: 48px; line-height: 1.2; letter-spacing: -.04em; color: #123d32; }
.rd-stats small { font-size: 20px; }
.rd-stats span { font-size: 13px; color: #496158; }
.rd-chart { background: #f4faf8; padding: 30px; margin-bottom: 26px; }
.rd-chart figcaption strong,.rd-chart figcaption span { display: block; }
.rd-chart figcaption span { color: #496158; font-size: 12px; margin-top: 5px; }
.rd-bars { margin: 28px 0; display: grid; gap: 18px; }
.rd-bars > div { display: grid; grid-template-columns: 55px minmax(0,1fr) 24px; align-items: center; gap: 14px; font-size: 13px; }
.rd-bars > div > div { border-left: 1px solid #799f90; background: #e3eee9; }
.rd-bars i { display: block; width: var(--bar); height: 27px; background: #087657; }
.rd-chart .rd-small { margin: 0; }
.rd-small { font-size: 13px; color: #496158; }
.rd-table-wrap { overflow-x: auto; margin: 25px 0; }
.rd-content table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.rd-content caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.rd-content th,.rd-content td { padding: 13px 12px; border-bottom: 1px solid #d8e6e1; }
.rd-content thead { background: #f4faf8; }
.rd-steps,.rd-source-list { padding-left: 24px; }
.rd-steps li,.rd-source-list li { padding-left: 8px; }
.rd-steps li::marker,.rd-source-list li::marker { color: #087657; font-weight: 700; }
.rd-limitations { padding-left: 20px; }
.rd-limitations li { padding: 0 0 18px 6px; }
.rd-citation { border-left: 3px solid #00c896; padding: 22px; background: #f4faf8; margin: 25px 0; }
.rd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rd-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 20px; }
.rd-downloads a { border: 1px solid #b5d6ca; padding: 23px; text-decoration: none; }
.rd-downloads a:hover { background: #f4faf8; }
.rd-downloads strong { display: flex; justify-content: space-between; margin-bottom: 10px; }
.rd-downloads a > span { font-size: 13px; color: #496158; }
.rd-contact { padding: 70px 0; background: #00c896; color: #123d32; }
.rd-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.rd-contact-grid p { margin-bottom: 24px; max-width: 460px; }
.research-detail .institute-footer { gap: 25px; flex-wrap: wrap; }
@media (max-width: 1050px) {
  .research-detail .institute-navbar { flex-wrap: wrap; gap: 22px; padding-block: 24px; }
  .research-detail .institute-nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
  .research-detail .institute-nav .back-to-mole { margin-left: 0; padding-left: 0; border: 0; }
  .rd-layout { grid-template-columns: 180px minmax(0,1fr); gap: 35px; }
}
@media (max-width: 700px) {
  .rd-wrap { width: 90%; }
  .rd-notice { display: block; padding: 18px; }
  .rd-notice strong { display: block; margin-bottom: 8px; }
  .rd-hero { padding: 45px 0; }
  .rd-hero-grid,.rd-contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .rd-hero-aside { display: none; }
  .rd-deck { font-size: 18px; }
  .rd-metadata { grid-template-columns: 1fr 1fr; }
  .rd-layout { grid-template-columns: 1fr; gap: 40px; padding: 35px 0 55px; }
  .rd-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .rd-sidebar .rd-kicker { grid-column: 1 / -1; margin-bottom: 5px; }
  .rd-sidebar-note { display: none; }
  .rd-content section { padding-bottom: 38px; margin-bottom: 38px; }
  .rd-stats { gap: 10px; }
  .rd-stats strong { font-size: 36px; }
  .rd-stats small { font-size: 16px; }
  .rd-chart { padding: 20px 16px; }
  .rd-content th,.rd-content td { padding: 10px 6px; }
  .rd-downloads { grid-template-columns: 1fr; }
  .rd-contact { padding: 50px 0; }
}
@media (prefers-reduced-motion: reduce) { html:has(.research-detail) { scroll-behavior: auto; } }
@media print {
  .research-detail { font-size: 10pt; color: #000; }
  .research-detail .institute-navbar,.rd-breadcrumb,.rd-sidebar,.rd-actions,.rd-skip,.research-detail .institute-footer,.rd-contact { display: none !important; }
  .rd-wrap { width: 100%; }
  .rd-hero { padding: 25px 0; background: white; color: #000; }
  .rd-hero h1 { font-size: 34pt; }
  .rd-hero-aside,.rd-hero .rd-button { display: none; }
  .rd-hero-grid,.rd-layout { display: block; }
  .rd-layout { padding: 20px 0; }
  .rd-content { max-width: none; }
  .rd-content section { margin-bottom: 20px; padding-bottom: 20px; }
  .rd-content h2 { font-size: 22pt; break-after: avoid; }
  .rd-notice,.rd-chart,.rd-stats,table,.rd-citation { break-inside: avoid; }
  .rd-notice { display: block; border: 2px solid #000; }
  .rd-notice p { font-size: 10pt; }
}
