/* ============================================================
 * Articles & Knowledge Center — Resource Hub
 * Practical regulatory guidance, compliance articles, and expert field
 * guides for founders & QA leaders navigating FDA & Health Canada.
 * ============================================================ */

.page-articles { background: var(--gr-paper); color: var(--gr-ink); font-family: var(--gr-sans); }
.page-articles main { overflow-x: clip; }
.page-articles :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.page-articles :where(.related, .contents) :where(ul, ol) { list-style: none; }

/* ============ 1. Resource Hub Utility Header ============ */
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .logo__mark--white {
  display: none;
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .logo__mark--navy {
  display: block;
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .logo__name {
  color: var(--gr-navy);
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .logo__sub {
  color: var(--gr-navy-2);
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .primary-nav a:not(.nav-cta),
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-dropdown__link,
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-dropdown__toggle {
  color: var(--gr-navy);
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .primary-nav a:not(.nav-cta):hover,
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-dropdown__link:hover,
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-dropdown__toggle:hover {
  color: var(--gr-navy-2);
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-cta {
  background: var(--gr-navy);
  color: #ffffff;
  border-color: var(--gr-navy);
}
.js .page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-cta:hover {
  background: var(--gr-navy-2);
  border-color: var(--gr-navy-2);
  color: #ffffff;
}
.page-articles:not(.page-article) .site-header:not(.is-scrolled) .nav-toggle__bar {
  background: var(--gr-navy);
}

.rh-hero {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid var(--gr-rule);
  padding: clamp(6.5rem, 11vh, 8.5rem) var(--gr-gutter) clamp(2.5rem, 5vh, 3.5rem);
}
.rh-hero__inner {
  max-width: var(--gr-max);
  margin: 0 auto;
}
.rh-hero__header {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.rh-hero__title {
  font-family: var(--gr-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  color: var(--gr-navy);
  text-wrap: balance;
  max-width: 18ch;
}
.rh-hero__lede {
  margin-top: 0.85rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--gr-ink);
  max-width: 64ch;
}

/* ---------- Search & Filters Panel ---------- */
.rh-search-panel {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.rh-search {
  position: relative;
  max-width: 52rem;
  width: 100%;
}
.rh-search__icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gr-navy-2);
  pointer-events: none;
}
.rh-search__input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 3rem 0.85rem 3.25rem;
  font-family: var(--gr-sans);
  font-size: 0.96rem;
  color: var(--gr-ink);
  background: var(--gr-paper);
  border: 1.5px solid rgba(3, 47, 79, 0.2);
  border-radius: 4px;
  transition: border-color 180ms var(--gr-ease), box-shadow 180ms var(--gr-ease), background-color 180ms var(--gr-ease);
}
.rh-search__input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gr-navy-2);
  box-shadow: 0 0 0 3px rgba(3, 74, 119, 0.14);
}
.rh-search__input::placeholder {
  color: var(--gr-ink-2);
  opacity: 0.85;
}
.rh-search__clear {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gr-ink-2);
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms var(--gr-ease), color 180ms var(--gr-ease);
}
.rh-search__clear:hover {
  background: rgba(3, 74, 119, 0.09);
  color: var(--gr-navy);
}

.rh-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.rh-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}
.rh-filters__label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gr-ink-2);
  min-width: 4rem;
}
.rh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-family: var(--gr-sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gr-navy);
  background: #ffffff;
  border: 1px solid rgba(16, 48, 74, 0.2);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--gr-ease), border-color 180ms var(--gr-ease), color 180ms var(--gr-ease), transform 180ms var(--gr-ease);
}
.rh-pill svg { flex: none; }
.rh-pill:hover {
  border-color: var(--gr-navy-2);
  background: var(--gr-paper);
}
.rh-pill.is-active,
.rh-pill[aria-pressed="true"] {
  background: var(--gr-navy);
  border-color: var(--gr-navy);
  color: #ffffff;
}
.rh-pill:focus-visible {
  outline: 2px solid var(--gr-navy-2);
  outline-offset: 2px;
}
.rh-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(16, 48, 74, 0.08);
  color: var(--gr-navy);
  font-feature-settings: "tnum";
}
.rh-pill.is-active .rh-pill__count,
.rh-pill[aria-pressed="true"] .rh-pill__count {
  background: rgba(176, 242, 250, 0.25);
  color: var(--gr-aqua);
}

/* ============ 2. Curated Essential Resources (Spotlight) ============ */
.rh-spotlight {
  padding: clamp(3rem, 6vh, 4.5rem) var(--gr-gutter);
  background: #ffffff;
  border-bottom: 1px solid var(--gr-rule);
}
.rh-spotlight__inner {
  max-width: var(--gr-max);
  margin: 0 auto;
}
.rh-section-head {
  margin-bottom: 1.75rem;
}
.rh-section-title {
  font-family: var(--gr-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  color: var(--gr-navy);
}
.rh-section-sub {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gr-ink-2);
  max-width: 64ch;
}
.rh-spotlight__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem;
}

/* ---------- Shared Card Styles ---------- */
.rh-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--gr-rule);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--gr-ease), border-color 220ms var(--gr-ease), box-shadow 220ms var(--gr-ease);
}
.rh-card:hover {
  border-color: var(--gr-navy-2);
  box-shadow: 0 8px 24px rgba(3, 47, 79, 0.08);
  transform: translateY(-2px);
}
.rh-card a:focus-visible { outline: none; }
.rh-card:has(a:focus-visible) {
  outline: 2px solid var(--gr-navy-2);
  outline-offset: 3px;
}
.rh-card__title a {
  color: var(--gr-navy);
  text-decoration: none;
}
.rh-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.rh-card:hover .rh-card__title a {
  color: var(--gr-navy-2);
}
.rh-card:hover .rh-card__action svg {
  transform: translateX(4px);
}
.rh-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}
.rh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  line-height: 1.2;
}
.rh-badge svg { flex: none; }
.rh-badge--accent {
  background: var(--gr-navy);
  color: #ffffff;
}
.rh-badge--format {
  background: rgba(3, 74, 119, 0.09);
  color: var(--gr-navy-2);
}
.rh-badge--topic {
  background: rgba(16, 48, 74, 0.06);
  color: var(--gr-ink-2);
}
.rh-card__time {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gr-ink-2);
  margin-left: auto;
}
.rh-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gr-rule);
  font-size: 0.84rem;
  color: var(--gr-ink-2);
}
.rh-card__footer time {
  font-size: 0.82rem;
}
.rh-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gr-navy-2);
  margin-left: auto;
}
.rh-card__action svg {
  transition: transform 220ms var(--gr-ease);
}
.rh-card__tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: #025066;
}

/* Spotlight Card Variations */
.rh-card--hero {
  grid-row: 1 / span 2;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--gr-paper);
  border: 1.5px solid rgba(3, 74, 119, 0.28);
}
.rh-card--hero .rh-card__title {
  margin-top: 1.15rem;
  font-family: var(--gr-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.2;
}
.rh-card--hero .rh-card__excerpt {
  margin-top: 0.85rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gr-ink);
  max-width: 54ch;
}
.rh-card--hero .rh-card__author {
  font-weight: 600;
  color: var(--gr-navy);
}

.rh-card--secondary {
  padding: 1.5rem;
}
.rh-card--secondary .rh-card__title {
  margin-top: 0.85rem;
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.28;
}
.rh-card--secondary .rh-card__excerpt {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gr-ink-2);
}

/* ============ 3. Complete Resource Library ============ */
.rh-library {
  scroll-margin-top: 88px;
  padding: clamp(3.5rem, 7vh, 5.5rem) var(--gr-gutter);
  background: var(--gr-paper);
}
.rh-library__inner {
  max-width: var(--gr-max);
  margin: 0 auto;
}
.rh-library__bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--gr-navy);
}
.rh-library__count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gr-ink-2);
  font-feature-settings: "tnum";
}

.rh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 1.75rem;
}
.rh-card--standard {
  padding: 1.5rem;
  background: #ffffff;
}
.rh-card--standard .rh-card__title {
  margin-top: 0.85rem;
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  font-size: 1.18rem;
  line-height: 1.3;
}
.rh-card--standard .rh-card__excerpt {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gr-ink-2);
}

/* ---------- Zero Results State ---------- */
.rh-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #ffffff;
  border: 1px dashed rgba(16, 48, 74, 0.28);
  border-radius: 6px;
  margin: 1.5rem 0;
}
.rh-empty__icon {
  color: var(--gr-navy-2);
  margin-bottom: 1rem;
}
.rh-empty__title {
  font-family: var(--gr-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gr-navy);
  margin-bottom: 0.45rem;
}
.rh-empty__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gr-ink-2);
  max-width: 46ch;
  margin: 0 auto 1.5rem;
}
.rh-empty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.35rem;
  font-family: var(--gr-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gr-navy-2);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 180ms var(--gr-ease);
}
.rh-empty__btn:hover {
  background: var(--gr-navy);
}
.rh-empty__btn:focus-visible {
  outline: 2px solid var(--gr-navy);
  outline-offset: 2px;
}

/* ---------- Pagination ---------- */
.rh-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--gr-rule);
}
.rh-page-numbers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rh-page-btn,
.rh-page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  font-family: var(--gr-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gr-navy);
  background: #ffffff;
  border: 1px solid rgba(16, 48, 74, 0.2);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 180ms var(--gr-ease), border-color 180ms var(--gr-ease), color 180ms var(--gr-ease);
}
.rh-page-btn:hover:not(.is-disabled),
.rh-page-num:hover:not(.is-active) {
  background: var(--gr-paper);
  border-color: var(--gr-navy-2);
  color: var(--gr-navy-2);
}
.rh-page-btn:focus-visible,
.rh-page-num:focus-visible {
  outline: 2px solid var(--gr-navy);
  outline-offset: 2px;
}
.rh-page-num.is-active {
  background: var(--gr-navy);
  border-color: var(--gr-navy);
  color: #ffffff;
  font-weight: 700;
}
.rh-page-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: transparent;
  border-color: rgba(16, 48, 74, 0.12);
  color: var(--gr-ink-2);
}

/* ============ Close ============ */
.read-close { background: var(--gr-paper); padding: clamp(4.5rem, 9vw, 7rem) var(--gr-gutter); }
.page-articles .rh-library + .read-close,
.page-articles .archive + .read-close { padding-top: 0; }
.read-close__inner {
  position: relative;
  max-width: var(--gr-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gr-navy);
}
.read-close__inner::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-navy); }
.read-close h2 {
  grid-row: span 2;
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  line-height: 1.02;
  color: var(--gr-navy);
  text-wrap: balance;
}
.read-close p { font-size: 1rem; line-height: 1.7; color: var(--gr-ink); max-width: 44ch; }
.read-close__action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--gr-navy-2);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 220ms var(--gr-ease);
}
.read-close__action svg { transition: transform 320ms var(--gr-ease); }
.read-close__action:hover { background: var(--gr-navy); color: #fff; }
.read-close__action:hover svg { transform: translateX(4px); }
.read-close--split h2 { grid-row: span 3; }
.read-close__alt { font-size: 0.95rem; color: var(--gr-ink-2); }
.read-close__alt a { color: var(--gr-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.read-close__alt a:hover { text-decoration-thickness: 2px; }

/* ============ Article page ============ */
.article__head { position: relative; isolation: isolate; overflow: hidden; background: var(--gr-navy); color: var(--gr-on-navy); padding: clamp(2.75rem, 6vh, 4rem) var(--gr-gutter) clamp(2.75rem, 6vh, 3.75rem); }
/* the still swirl, cropped off the right edge, in its deep tones behind the headline */
.article__head-swirl {
  position: absolute;
  z-index: -1;
  top: -30%;
  right: clamp(-360px, -18vw, -100px);
  height: 160%;
  aspect-ratio: 1;
  background: linear-gradient(225deg, var(--gr-navy-3) 0%, var(--gr-navy-2) 70%);
  -webkit-mask: url("../images/brand/bor-swirl-white.svg") center / contain no-repeat;
          mask: url("../images/brand/bor-swirl-white.svg") center / contain no-repeat;
  pointer-events: none;
}
.article__head-inner { max-width: var(--gr-max); margin: 0 auto; }
.article__trail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; font-size: 0.86rem; font-weight: 600; }
.article__trail a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; color: var(--gr-on-navy-2); text-decoration: none; }
.article__trail svg { transition: transform 320ms var(--gr-ease); }
.article__trail a:hover svg { transform: translateX(-4px); }
.article__trail a:hover { color: #fff; }
.article__trail a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.article__byline .article__topic { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--gr-aqua); text-decoration: none; }
.article__topic::before { content: ""; width: 7px; height: 7px; background: var(--gr-aqua); }
.article__byline .article__topic:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.article__head a:focus-visible { outline-color: var(--gr-aqua); }
.article__title {
  margin-top: 1.25rem;
  font-family: var(--gr-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  line-height: 1.02;
  color: var(--gr-on-navy);
  text-wrap: balance;
  max-width: 24ch;
}
.article__byline { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 1.25rem; font-size: 0.88rem; color: var(--gr-on-navy-2); }
.article__byline .article__author a,
.article__byline .article__reviewer a { color: var(--gr-on-navy); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.article__byline .article__author a:hover,
.article__byline .article__reviewer a:hover { color: var(--gr-aqua); }

.article__page {
  max-width: var(--gr-max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gr-gutter) clamp(4rem, 8vw, 6rem);
  box-sizing: content-box;
}
.article__page.has-contents {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 2.5rem clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

/* ---------- Contents rail ---------- */
.contents { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.contents__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gr-navy);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gr-navy);
  list-style: none;
  cursor: pointer;
}
.contents__title::-webkit-details-marker { display: none; }
.contents__title::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--gr-navy-2);
  border-bottom: 1.5px solid var(--gr-navy-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 260ms var(--gr-ease);
}
.contents__fold[open] .contents__title::after { transform: rotate(-135deg) translateY(-2px); }
.contents__title:focus-visible { outline: 2px solid var(--gr-navy-2); outline-offset: 3px; }
.contents__list li { border-bottom: 1px solid var(--gr-rule); }
.contents__list a {
  position: relative;
  display: block;
  padding: 0.6rem 0 0.6rem 0.9rem;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--gr-ink-2);
  text-decoration: none;
  transition: color 180ms var(--gr-ease);
}
.contents__list a::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem; bottom: 0.55rem;
  width: 3px;
  background: var(--gr-navy-2);
  transform: scaleY(0);
  transition: transform 260ms var(--gr-ease);
}
.contents__list a:hover { color: var(--gr-navy); }
.contents__list a[aria-current] { color: var(--gr-navy); font-weight: 600; }
.contents__list a[aria-current]::before { transform: scaleY(1); }

/* ---------- The reading column ---------- */
.article__body { max-width: 60ch; font-size: 1.06rem; line-height: 1.75; color: var(--gr-ink); }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 {
  position: relative;
  margin-top: 2.4em;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gr-navy);
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  color: var(--gr-navy);
  text-wrap: balance;
  scroll-margin-top: 100px;
}
.article__body h2::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-navy); }
.article__body > h2:first-child { margin-top: 0; }
.article__body h3 {
  margin-top: 1.8em;
  font-family: var(--gr-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  color: var(--gr-navy);
}
.article__body h2 + *, .article__body h3 + * { margin-top: 0.7em; }
.article__body strong { font-weight: 700; color: var(--gr-navy); }
.article__body a { color: var(--gr-navy-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article__body a:hover { color: var(--gr-navy); }
.article__body ul,
.article__body ol { padding-left: 1.4rem; }
.article__body ul { list-style: none; padding-left: 1.25rem; }
.article__body ul li { position: relative; }
.article__body ul li::before { content: ""; position: absolute; left: -1.15rem; top: 0.72em; width: 6px; height: 6px; background: var(--gr-navy-2); }
.article__body ol li::marker { font-family: var(--gr-display); font-weight: 650; color: var(--gr-navy-2); }
.article__body li + li { margin-top: 0.45em; }
.article__body hr { height: 0; margin: 2.2em 0; border: 0; border-top: 1px solid var(--gr-rule); }
.article__video { aspect-ratio: 16 / 9; background: var(--gr-navy); }
.article__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.article__body hr:has(+ h2) { display: none; }
.article__body blockquote {
  margin: 1.6em 0;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 1px solid var(--gr-navy);
  font-family: var(--gr-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--gr-navy);
}

/* ---------- Related reading ---------- */
.related { padding: 0 var(--gr-gutter) clamp(4.5rem, 9vw, 7rem); }
.related__inner { max-width: var(--gr-max); margin: 0 auto; }
.related__title {
  margin-bottom: 1.25rem;
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  color: var(--gr-navy);
}
.article .related { padding-bottom: 0; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .rh-spotlight__grid { grid-template-columns: 1fr; }
  .rh-card--hero { grid-row: auto; }
  .archive__inner { grid-template-columns: 1fr; }
  .topics { position: static; }
  .topics__list { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
}

@media (max-width: 900px) {
  .read-close__inner { grid-template-columns: 1fr; }
  .read-close h2 { grid-row: auto; }
  .article__page.has-contents { grid-template-columns: 1fr; }
  .contents { position: static; max-height: none; }
  .rh-grid { grid-template-columns: 1fr; }
  .entry { grid-template-columns: minmax(0, 1fr) auto; }
  .entry__body { grid-row: 1; grid-column: 1; }
  .entry__arrow { grid-row: 1; grid-column: 2; }
  .entry__meta { grid-row: 2; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; }
}

@media (max-width: 600px) {
  .rh-search__input { font-size: 0.9rem; padding: 0.8rem 2.5rem 0.8rem 2.75rem; }
  .rh-filters__row { gap: 0.4rem; }
  .rh-pill { font-size: 0.8rem; padding: 0.4rem 0.75rem; }
  .topics__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-card,
  .rh-pill,
  .rh-search__input,
  .rh-empty__btn,
  .rh-card:hover,
  .rh-card__action svg,
  .entry__arrow,
  .contents__list a::before,
  .read-close__action svg { transition: none; transform: none; }
}
