body.flagship .road-research,
body.flagship .road-research-discovery {
  --research-bg: #fffaf4;
  --research-ink: #201b17;
  --research-muted: #50483f;
  --research-link: #721c39;
  --research-line: #b8a89b;
  --research-focus: #111111;
  --research-anchor-offset: 14rem;
  color: var(--research-ink);
  background: var(--research-bg);
  overflow-wrap: anywhere;
  line-height: 1.65;
}

body.flagship .road-research {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--research-line);
  border-radius: .6rem;
  min-width: 0;
}

body.flagship .road-research h1 {
  color: var(--research-ink);
  max-width: none;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.12;
}

body.flagship .road-research h2,
body.flagship .road-research h3,
body.flagship .road-research-discovery h2 {
  color: var(--research-ink);
  border-color: var(--research-line);
  line-height: 1.3;
}

body.flagship .road-research .eyebrow,
body.flagship .road-research figcaption,
body.flagship .road-research caption {
  color: var(--research-muted);
  line-height: 1.5;
}

body.flagship .road-research a,
body.flagship .road-research-discovery a {
  color: var(--research-link);
  text-decoration: underline;
  text-underline-offset: .18em;
}

body.flagship .road-research :focus-visible,
body.flagship .road-research-discovery :focus-visible {
  outline: 3px solid var(--research-focus);
  outline-offset: 4px;
}

body.flagship .road-research [id] {
  scroll-margin-top: var(--research-anchor-offset);
}

body.flagship .road-research .lead {
  color: var(--research-ink);
  font-size: 1.18rem;
}

body.flagship .research-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin: 1.5rem 0;
}

body.flagship .research-jumps a {
  padding: .4rem 0;
}

body.flagship .road-research .research-note,
body.flagship .road-research .research-related,
body.flagship .road-research .research-chain {
  color: var(--research-ink);
  background: var(--research-bg);
  padding: 1rem;
  border: 1px solid var(--research-line);
  border-radius: .4rem;
  margin: 1.5rem 0;
}

body.flagship .road-research figure {
  margin: 1.5rem 0;
}

body.flagship .road-research figure a {
  display: block;
}

body.flagship .road-research img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: contain;
  background: var(--research-bg);
}

body.flagship .road-research figcaption {
  margin-top: .65rem;
  font-size: .95rem;
}

body.flagship .research-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--research-line);
}

body.flagship .research-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--research-ink);
  background: var(--research-bg);
  font-size: .95rem;
}

body.flagship .research-table caption {
  padding: .55rem;
  font-weight: 700;
  text-align: left;
}

body.flagship .research-table th,
body.flagship .research-table td {
  padding: .7rem;
  vertical-align: top;
  text-align: left;
  color: var(--research-ink);
  background: var(--research-bg);
  border-bottom: 1px solid var(--research-line);
  overflow-wrap: anywhere;
  white-space: normal;
}

body.flagship .research-table th:last-child,
body.flagship .research-table td:last-child {
  width: 4.3rem;
}

body.flagship .road-research-discovery {
  box-sizing: border-box;
  max-width: 43.2rem;
  margin: 1rem auto 4rem;
  padding: 1rem 1.3rem;
  border: 2px solid var(--research-link);
  border-radius: .5rem;
}

body.flagship .road-research-discovery h2 {
  margin: 0 0 .65rem;
  padding: 0;
  border: 0;
  font-size: 1.3rem;
}

body.flagship .road-research-discovery ul {
  padding-left: 1.2rem;
  margin: 0;
}

body.flagship .road-research-discovery li + li {
  margin-top: .5rem;
}

@media (max-width: 600px) {
  body.flagship .road-research {
    --research-anchor-offset: 18rem;
  }

  body.flagship .road-research-discovery {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (prefers-color-scheme: dark) {
  body.flagship .road-research,
  body.flagship .road-research-discovery {
    --research-bg: #171b22;
    --research-ink: #f6f4ee;
    --research-muted: #d3cbc1;
    --research-link: #ffd099;
    --research-line: #948b82;
    --research-focus: #ffffff;
  }
}
