/*
 * Ratahome sourcing hubs
 * A field-guide editorial system scoped to the three plugin-owned hub pages.
 */

.rh-sourcing-hub-page {
  background: #fcf7f3;
}

.rh-hub {
  --rh-hub-ink: #2b2c27;
  --rh-hub-ink-soft: #4e5049;
  --rh-hub-paper: #fcf7f3;
  --rh-hub-white: #fff;
  --rh-hub-accent: #c05c15;
  --rh-hub-accent-dark: #98440d;
  --rh-hub-accent-pale: #f1d8c5;
  --rh-hub-line: #ddd4cc;
  --rh-hub-line-dark: rgba(43, 44, 39, 0.2);
  --rh-hub-shadow: 0 18px 50px rgba(43, 44, 39, 0.08);
  color: var(--rh-hub-ink);
  background: var(--rh-hub-paper);
  font-family: var(--font-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 17px;
  line-height: 1.72;
  overflow: clip;
}

.rh-hub *,
.rh-hub *::before,
.rh-hub *::after {
  box-sizing: border-box;
}

.rh-hub :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) {
  margin-top: 0;
}

.rh-hub :where(img, svg) {
  display: block;
  max-width: 100%;
}

.rh-hub :where(a) {
  color: var(--rh-hub-accent-dark);
  text-decoration-color: rgba(152, 68, 13, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.rh-hub :where(a:hover) {
  color: var(--rh-hub-accent);
  text-decoration-color: currentColor;
}

.rh-hub :where(a:focus-visible, summary:focus-visible) {
  border-radius: 2px;
  outline: 3px solid rgba(192, 92, 21, 0.4);
  outline-offset: 4px;
}

.rh-hub-shell {
  width: min(calc(100% - 48px), 1220px);
  margin-inline: auto;
}

.rh-hub-hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  display: grid;
  align-items: end;
  padding-block: clamp(52px, 6vw, 80px) clamp(54px, 6vw, 84px);
  color: #fff;
  background: var(--rh-hub-ink);
}

.rh-hub-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 22, 19, 0.94) 0%, rgba(21, 22, 19, 0.78) 54%, rgba(21, 22, 19, 0.38) 100%);
  content: "";
}

.rh-hub-hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
}

.rh-hub-hero > img,
.rh-hub-hero__media,
.rh-hub-hero__media img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: clamp(42px, 7vw, 112px);
}

.rh-hub-kicker,
.rh-hub-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: #eba56e;
  font-family: var(--font-label, Inter, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rh-hub-kicker::before,
.rh-hub-eyebrow::before {
  width: 34px;
  height: 1px;
  flex: none;
  background: currentColor;
  content: "";
}

.rh-hub-hero h1 {
  max-width: 930px;
  margin-bottom: 26px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.rh-hub-hero__lead,
.rh-hub-deck {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.68;
  text-wrap: pretty;
}

.rh-hub-hero__aside {
  padding: 24px 0 4px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.rh-hub-hero__aside strong {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.rh-hub-hero__actions,
.rh-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.rh-hub-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--rh-hub-accent);
  color: #fff;
  background: var(--rh-hub-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rh-hub-button:hover {
  border-color: #d67835;
  color: #fff;
  background: #d67835;
  text-decoration: none;
  transform: translateY(-1px);
}

.rh-hub-button--light,
.rh-hub-button--secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
  background: transparent;
}

.rh-hub-button--light:hover,
.rh-hub-button--secondary:hover {
  border-color: #fff;
  color: var(--rh-hub-ink);
  background: #fff;
}

.rh-hub-section {
  padding-block: clamp(52px, 6vw, 84px);
  background: var(--rh-hub-paper);
}

.rh-hub-section:nth-of-type(even),
.rh-hub-section--white {
  background: var(--rh-hub-white);
}

.rh-hub-section.rh-hub-section--ink {
  color: rgba(255, 255, 255, 0.76);
  background: var(--rh-hub-ink);
}

.rh-hub .rh-hub-section--ink :is(h2, h3, strong) {
  color: #fff;
}

.rh-hub-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(30px, 7vw, 104px);
  margin-bottom: clamp(38px, 5vw, 68px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--rh-hub-line);
}

.rh-hub-section__head .rh-hub-kicker,
.rh-hub-section__head .rh-hub-eyebrow {
  margin-bottom: 0;
  color: var(--rh-hub-accent);
}

.rh-hub h2 {
  max-width: 900px;
  margin-bottom: 22px;
  color: var(--rh-hub-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.rh-hub h3 {
  margin-bottom: 13px;
  color: var(--rh-hub-ink);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-wrap: balance;
}

.rh-hub h4 {
  margin-bottom: 9px;
  color: var(--rh-hub-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.rh-hub-prose {
  max-width: 780px;
}

.rh-hub-prose > :last-child,
.rh-hub-card > :last-child,
.rh-hub-callout > :last-child {
  margin-bottom: 0;
}

.rh-hub-prose p,
.rh-hub-card p {
  color: var(--rh-hub-ink-soft);
}

.rh-hub-prose :where(ul, ol),
.rh-hub-card :where(ul, ol) {
  padding-left: 1.2em;
}

.rh-hub-prose li + li,
.rh-hub-card li + li {
  margin-top: 0.48em;
}

.rh-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rh-hub-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-hub-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-hub-card {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--rh-hub-line);
  border-top: 3px solid var(--rh-hub-accent);
  background: rgba(255, 255, 255, 0.72);
}

.rh-hub-card--image {
  padding: 0;
  overflow: hidden;
}

.rh-hub-card--image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rh-hub-card--image > div,
.rh-hub-card__body {
  padding: clamp(24px, 3vw, 36px);
}

.rh-hub-card__number,
.rh-hub-stat__number {
  display: block;
  margin-bottom: 25px;
  color: var(--rh-hub-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.rh-hub-card__label,
.rh-hub-label {
  display: block;
  margin-bottom: 12px;
  color: var(--rh-hub-accent-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rh-hub-media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #d8d0c8;
}

.rh-hub-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.rh-hub-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 24px 19px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(transparent, rgba(21, 22, 19, 0.82));
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.rh-hub-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.rh-hub-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--rh-hub-line);
}

.rh-hub-stat {
  min-width: 0;
  padding: 27px clamp(18px, 3vw, 34px);
}

.rh-hub-stat + .rh-hub-stat {
  border-left: 1px solid var(--rh-hub-line);
}

.rh-hub-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rh-hub-ink);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.rh-hub-stat span {
  display: block;
  color: var(--rh-hub-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.rh-hub-callout {
  padding: clamp(28px, 4vw, 46px);
  border-left: 4px solid var(--rh-hub-accent);
  background: #f5e8dd;
}

.rh-hub-callout strong:first-child {
  display: block;
  margin-bottom: 10px;
  color: var(--rh-hub-accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rh-hub-table-wrap,
.rh-hub-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--rh-hub-line);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.rh-hub-table table,
table.rh-hub-table {
  width: 100%;
  min-width: 720px;
  border: 0;
  border-collapse: collapse;
  color: var(--rh-hub-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.rh-hub-table th {
  padding: 17px 20px;
  border-bottom: 1px solid var(--rh-hub-line);
  color: #fff;
  background: var(--rh-hub-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.rh-hub-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rh-hub-line);
  vertical-align: top;
}

.rh-hub-table tr:last-child td {
  border-bottom: 0;
}

.rh-hub-table tbody tr:nth-child(even) {
  background: #fdf9f6;
}

.rh-hub-table td:first-child {
  color: var(--rh-hub-ink);
  font-weight: 600;
}

.rh-hub-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rh-hub-line);
  counter-reset: rh-hub-step;
  list-style: none;
}

.rh-hub-steps > li,
.rh-hub-step {
  display: grid;
  grid-template-columns: 88px minmax(180px, 0.42fr) minmax(260px, 0.58fr);
  gap: clamp(18px, 4vw, 54px);
  padding-block: clamp(28px, 4vw, 45px);
  border-bottom: 1px solid var(--rh-hub-line);
  counter-increment: rh-hub-step;
}

.rh-hub-steps > li::before,
.rh-hub-step::before {
  color: var(--rh-hub-accent);
  content: counter(rh-hub-step, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.rh-hub-steps h3,
.rh-hub-step h3 {
  margin-bottom: 0;
}

.rh-hub-steps p,
.rh-hub-step p {
  margin-bottom: 0;
  color: var(--rh-hub-ink-soft);
}

.rh-hub-faq {
  max-width: 940px;
  margin-inline: auto;
  border-top: 1px solid var(--rh-hub-line);
}

.rh-hub-faq details {
  border-bottom: 1px solid var(--rh-hub-line);
}

.rh-hub-faq summary {
  position: relative;
  padding: 27px 54px 27px 0;
  color: var(--rh-hub-ink);
  cursor: pointer;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.rh-hub-faq summary::-webkit-details-marker {
  display: none;
}

.rh-hub-faq summary::before,
.rh-hub-faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 1px;
  background: var(--rh-hub-accent);
  content: "";
  transition: transform 180ms ease;
}

.rh-hub-faq summary::after {
  transform: rotate(90deg);
}

.rh-hub-faq details[open] summary::after {
  transform: rotate(0deg);
}

.rh-hub-faq details > div,
.rh-hub-faq details > p {
  max-width: 800px;
  margin: -7px 0 0;
  padding: 0 54px 28px 0;
  color: var(--rh-hub-ink-soft);
}

.rh-hub-related .rh-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--rh-hub-line);
}

.rh-hub-related__card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(25px, 3vw, 38px);
  color: var(--rh-hub-ink);
  background: var(--rh-hub-paper);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.rh-hub-related__card:hover {
  color: var(--rh-hub-accent-dark);
  background: #fff;
}

.rh-hub-related__card > span,
.rh-hub-related__card > b {
  color: var(--rh-hub-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rh-hub-related__card > strong {
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.rh-hub-related__card > p {
  margin-bottom: auto;
  color: var(--rh-hub-ink-soft);
}

.rh-hub-sources {
  color: #696b64;
  font-size: 13px;
  line-height: 1.65;
}

.rh-hub-sources h2,
.rh-hub-sources h3 {
  margin-bottom: 17px;
  color: var(--rh-hub-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-hub-sources ol,
.rh-hub-sources ul {
  margin-bottom: 0;
  padding-left: 1.35em;
}

.rh-hub-sources li + li {
  margin-top: 7px;
}

.rh-hub-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(78px, 10vw, 140px);
  color: #fff;
  background: var(--rh-hub-ink);
}

.rh-hub-cta::before {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -80px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.025), 0 0 0 180px rgba(255, 255, 255, 0.018);
  content: "";
}

.rh-hub-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: clamp(36px, 7vw, 100px);
}

.rh-hub-cta h2 {
  margin-bottom: 20px;
  color: #fff;
}

.rh-hub-cta p {
  max-width: 750px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.rh-hub-cta .rh-hub-actions {
  justify-content: flex-end;
  margin-top: 0;
}

/* Template contract ------------------------------------------------------- */

.rh-hub-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: clamp(30px, 4vw, 64px);
}

.rh-hub-hero__copy {
  min-width: 0;
}

.rh-hub-hero__lede {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.68;
  text-wrap: pretty;
}

.rh-hub-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
  margin-bottom: 34px;
  color: #c7c8c3;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.rh-hub-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.rh-hub-breadcrumbs a:hover {
  color: #fff;
}

.rh-hub-byline {
  margin: 26px 0 0;
  color: #c7c8c3;
  font-size: 12px;
  letter-spacing: 0.025em;
  line-height: 1.5;
}

.rh-hub-hero__summary {
  padding: 28px 28px 25px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(22, 23, 20, 0.55);
  backdrop-filter: blur(10px);
}

.rh-hub-hero__summary > p {
  margin-bottom: 18px;
  color: #eba56e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rh-hub-hero__summary ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rh-summary;
}

.rh-hub-hero__summary li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: rh-summary;
}

.rh-hub-hero__summary li::before {
  position: absolute;
  top: 10px;
  left: 0;
  color: #c7c8c3;
  content: counter(rh-summary, decimal-leading-zero);
  font-size: 10px;
}

.rh-hub-hero__summary a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-decoration: none;
}

.rh-hub-hero__summary a:hover {
  color: #fff;
}

.rh-hub-button--primary {
  border-color: var(--rh-hub-accent);
  color: #fff;
  background: var(--rh-hub-accent);
}

.rh-hub-button--ghost {
  border-color: rgba(255, 255, 255, 0.56);
  color: #fff;
  background: transparent;
}

.rh-hub-button--ghost:hover {
  border-color: #fff;
  color: var(--rh-hub-ink);
  background: #fff;
}

.rh-hub-jump {
  position: sticky;
  z-index: 18;
  top: var(--rh-hub-sticky-top, 0px);
  border-bottom: 1px solid var(--rh-hub-line);
  background: rgba(252, 247, 243, 0.94);
  backdrop-filter: blur(14px);
}

.rh-hub-jump .rh-hub-shell {
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 30px;
  scrollbar-width: none;
}

.rh-hub-jump .rh-hub-shell::-webkit-scrollbar {
  display: none;
}

.rh-hub-jump a {
  position: relative;
  flex: none;
  padding-block: 18px 16px;
  color: var(--rh-hub-ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.rh-hub-jump a::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--rh-hub-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.rh-hub-jump a:hover,
.rh-hub-jump a:focus-visible {
  color: var(--rh-hub-accent-dark);
}

.rh-hub-jump a:hover::after,
.rh-hub-jump a:focus-visible::after {
  transform: scaleX(1);
}

.rh-hub-section--paper,
.rh-hub-section.rh-hub-related,
.rh-hub-section.rh-hub-sources {
  background: var(--rh-hub-paper);
}

.rh-hub-section--intro {
  background: #fff;
}

.rh-hub-heading {
  max-width: 840px;
  margin-bottom: clamp(36px, 5vw, 66px);
}

.rh-hub-heading--wide {
  max-width: 1040px;
}

.rh-hub-heading > p:last-child,
.rh-hub-section-note {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--rh-hub-ink-soft);
}

.rh-hub-answer {
  color: var(--rh-hub-ink) !important;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.6;
}

.rh-hub-media-split {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.rh-hub-media-split > figure {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
}

.rh-hub-media-split > figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-hub-media-split > figure figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 22px 18px;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(transparent, rgba(20, 21, 18, 0.82));
  font-size: 12px;
  line-height: 1.5;
}

.rh-hub-bullets,
.rh-hub-numbered {
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.rh-hub-bullets li,
.rh-hub-numbered li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--rh-hub-line-dark);
}

.rh-hub-bullets li::before {
  position: absolute;
  top: 22px;
  left: 4px;
  width: 7px;
  height: 7px;
  background: var(--rh-hub-accent);
  content: "";
}

.rh-hub-numbered {
  counter-reset: rh-numbered;
}

.rh-hub-numbered li {
  counter-increment: rh-numbered;
}

.rh-hub-numbered li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--rh-hub-accent);
  content: counter(rh-numbered, decimal-leading-zero);
  font-size: 11px;
  font-weight: 600;
}

.rh-hub-section--ink .rh-hub-bullets li,
.rh-hub-section--ink .rh-hub-numbered li {
  border-color: rgba(255, 255, 255, 0.16);
}

.rh-hub-section--ink .rh-hub-answer,
.rh-hub-section--ink .rh-hub-bullets strong {
  color: #fff !important;
}

.rh-hub-section--ink .rh-hub-text-link {
  color: #eba56e;
}

.rh-hub-text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--rh-hub-accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.rh-hub-text-link:hover {
  text-decoration: underline;
}

.rh-hub-card__index {
  display: block;
  margin-bottom: 25px;
  color: var(--rh-hub-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.rh-hub-card--accent {
  color: rgba(255, 255, 255, 0.74);
  border-color: var(--rh-hub-ink);
  background: var(--rh-hub-ink);
}

.rh-hub .rh-hub-card--accent :is(h3, dt) {
  color: #fff;
}

.rh-hub .rh-hub-card--accent p,
.rh-hub .rh-hub-card--accent dd {
  color: rgba(255, 255, 255, 0.7);
}

.rh-hub-card dl {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
}

.rh-hub-card dl > div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--rh-hub-line);
}

.rh-hub-card dt,
.rh-hub-card dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.rh-hub-card dt {
  color: var(--rh-hub-ink);
  font-weight: 600;
}

.rh-hub-card dd {
  color: var(--rh-hub-ink-soft);
}

.rh-hub-card--large {
  min-height: 300px;
}

.rh-hub-card--image figcaption {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 3vw, 34px);
}

.rh-hub-card--image figcaption strong {
  color: var(--rh-hub-ink);
  font-size: 20px;
}

.rh-hub-card--image figcaption span {
  color: var(--rh-hub-ink-soft);
}

.rh-hub-feature-image {
  position: relative;
  height: clamp(400px, 58vw, 760px);
  margin: 0;
  overflow: hidden;
  background: #d8d0c8;
}

.rh-hub-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-hub-feature-image figcaption {
  position: absolute;
  right: max(24px, calc((100% - 1220px) / 2));
  bottom: 24px;
  width: min(450px, calc(100% - 48px));
  padding: 20px 22px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(25, 26, 22, 0.82);
  font-size: 13px;
  line-height: 1.55;
  backdrop-filter: blur(10px);
}

.rh-hub-feature-image figcaption span {
  display: block;
  margin-bottom: 7px;
  color: #eba56e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rh-hub-equation {
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 0.7fr);
  gap: 22px;
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid rgba(192, 92, 21, 0.42);
  color: var(--rh-hub-ink-soft);
  background: rgba(192, 92, 21, 0.08);
  font-size: 14px;
  line-height: 1.6;
}

.rh-hub-equation strong {
  color: var(--rh-hub-accent-dark);
}

.rh-hub-section--ink .rh-hub-equation {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(235, 165, 110, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.rh-hub-section--ink .rh-hub-equation strong {
  color: #eba56e;
}

.rh-hub-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rh-hub-compare__panel {
  overflow: hidden;
  padding: 0 32px 30px;
  border: 1px solid var(--rh-hub-line);
  background: #fff;
}

.rh-hub-compare__media {
  height: 300px;
  margin: 0 -32px 27px;
  overflow: hidden;
}

.rh-hub-compare__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rh-hub-compare__panel:hover .rh-hub-compare__media img {
  transform: scale(1.025);
}

.rh-hub-compare__panel ul {
  margin: 20px 0 0;
  padding-left: 1.15em;
  color: var(--rh-hub-ink-soft);
}

.rh-hub-section.rh-hub-section--gallery {
  background: #f3ebe5;
}

.rh-hub-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.rh-hub-photo-card {
  min-width: 0;
  grid-column: span 4;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--rh-hub-line);
  background: #fff;
}

.rh-hub-photo-card--wide {
  grid-column: span 8;
}

.rh-hub-photo-grid--four .rh-hub-photo-card {
  grid-column: span 6;
}

.rh-hub-photo-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ded5cc;
}

.rh-hub-photo-card--wide .rh-hub-photo-card__media {
  aspect-ratio: 16 / 9;
}

.rh-hub-photo-card--portrait .rh-hub-photo-card__media {
  aspect-ratio: 8 / 9;
}

.rh-hub-photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rh-hub-photo-card--contain .rh-hub-photo-card__media img {
  object-fit: contain;
  background: #fff;
}

.rh-hub-photo-card:hover .rh-hub-photo-card__media img {
  transform: scale(1.018);
}

.rh-hub-photo-card figcaption {
  display: grid;
  gap: 7px;
  padding: 18px 20px 21px;
  color: var(--rh-hub-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.rh-hub-photo-card figcaption strong {
  color: var(--rh-hub-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.rh-hub-pullquote {
  max-width: 940px;
  margin: clamp(42px, 6vw, 72px) auto 24px;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--rh-hub-accent);
  color: var(--rh-hub-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.rh-hub-note {
  margin: 28px 0 0;
  padding: 17px 20px;
  border: 1px solid var(--rh-hub-line);
  color: #686a63;
  background: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.65;
}

.rh-hub-checklist {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rh-hub-line);
  list-style: none;
  counter-reset: rh-check;
}

.rh-hub-checklist li {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 0.65fr);
  gap: 22px;
  padding: 20px 0 20px 46px;
  border-bottom: 1px solid var(--rh-hub-line);
  counter-increment: rh-check;
  position: relative;
}

.rh-hub-checklist li::before {
  position: absolute;
  top: 21px;
  left: 0;
  color: var(--rh-hub-accent);
  content: counter(rh-check, decimal-leading-zero);
  font-size: 11px;
  font-weight: 600;
}

.rh-hub-checklist strong {
  color: var(--rh-hub-ink);
}

.rh-hub-checklist span {
  color: var(--rh-hub-ink-soft);
}

.rh-hub-steps > li {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
}

.rh-hub-steps > li::before {
  display: none;
}

.rh-hub-steps > li > span {
  color: var(--rh-hub-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
}

.rh-hub-steps > li > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(260px, 0.6fr);
  gap: clamp(20px, 4vw, 56px);
}

.rh-hub-steps > li p {
  grid-column: auto;
}

.rh-hub-table caption {
  padding: 15px 20px;
  color: var(--rh-hub-ink-soft);
  background: #f2ebe5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
}

.rh-hub-table tbody th {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rh-hub-line);
  color: var(--rh-hub-ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: top;
}

table.rh-hub-table--dark {
  color: rgba(255, 255, 255, 0.72);
  background: #31322d;
}

.rh-hub-table--dark caption {
  color: rgba(255, 255, 255, 0.66);
  background: #21221e;
}

.rh-hub-table--dark th,
.rh-hub-table--dark td,
.rh-hub-table--dark tbody th {
  border-color: rgba(255, 255, 255, 0.13);
}

.rh-hub-table--dark tbody th {
  color: #fff;
  background: transparent;
}

.rh-hub-table--dark tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}

.rh-hub-faq {
  max-width: none;
  margin-inline: 0;
  border-top: 0;
}

.rh-hub-faq__list {
  border-top: 1px solid var(--rh-hub-line);
}

.rh-hub-related__card > b {
  margin-top: auto;
}

.rh-hub-cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(38px, 7vw, 100px);
}

.rh-hub-cta__layout > div:last-child {
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.rh-hub-cta__layout .rh-hub-button {
  margin-top: 16px;
}

@media (max-width: 980px) {
  .rh-hub-hero__grid,
  .rh-hub-hero__layout,
  .rh-hub-section__head,
  .rh-hub-cta__grid,
  .rh-hub-cta__layout {
    grid-template-columns: 1fr;
  }

  .rh-hub-hero__aside {
    max-width: 620px;
  }

  .rh-hub-grid,
  .rh-hub-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-hub-related .rh-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-hub-media-split {
    grid-template-columns: 1fr;
  }

  .rh-hub-media-split > figure {
    min-height: 440px;
  }

  .rh-hub-photo-card,
  .rh-hub-photo-card--portrait,
  .rh-hub-photo-grid--four .rh-hub-photo-card {
    grid-column: span 6;
  }

  .rh-hub-photo-card--wide {
    grid-column: span 12;
  }

  .rh-hub-photo-card--portrait .rh-hub-photo-card__media {
    aspect-ratio: 4 / 3;
  }

  .rh-hub-cta__layout > div:last-child {
    max-width: 720px;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .rh-hub-cta .rh-hub-actions {
    justify-content: flex-start;
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .rh-hub {
    font-size: 16px;
  }

  .rh-hub-shell {
    width: min(calc(100% - 32px), 1220px);
  }

  .rh-hub-hero {
    min-height: 0;
    padding-block: 36px 44px;
  }

  .rh-hub-hero::before {
    background: linear-gradient(180deg, rgba(21, 22, 19, 0.68), rgba(21, 22, 19, 0.94));
  }

  .rh-hub-hero h1 {
    font-size: clamp(37px, 10vw, 54px);
  }

  .rh-hub-hero__aside {
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 0;
  }

  .rh-hub-hero__summary {
    max-width: 560px;
  }

  .rh-hub-grid,
  .rh-hub-grid--two,
  .rh-hub-grid--four,
  .rh-hub-split,
  .rh-hub-related .rh-hub-grid {
    grid-template-columns: 1fr;
  }

  .rh-hub-split {
    gap: 34px;
  }

  .rh-hub-media-split > figure {
    min-height: 340px;
  }

  .rh-hub-photo-card,
  .rh-hub-photo-card--wide,
  .rh-hub-photo-card--portrait,
  .rh-hub-photo-grid--four .rh-hub-photo-card {
    grid-column: 1 / -1;
  }

  .rh-hub-photo-card__media,
  .rh-hub-photo-card--portrait .rh-hub-photo-card__media {
    aspect-ratio: 4 / 3;
  }

  .rh-hub-photo-card--wide .rh-hub-photo-card__media {
    aspect-ratio: 16 / 10;
  }

  .rh-hub-compare {
    grid-template-columns: 1fr;
  }

  .rh-hub-compare__media {
    height: 260px;
  }

  .rh-hub-equation {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rh-hub-checklist li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .rh-hub-stat-grid {
    grid-template-columns: 1fr;
  }

  .rh-hub-stat + .rh-hub-stat {
    border-top: 1px solid var(--rh-hub-line);
    border-left: 0;
  }

  .rh-hub-steps > li,
  .rh-hub-step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px 18px;
  }

  .rh-hub-steps p,
  .rh-hub-step p {
    grid-column: 2;
  }

  .rh-hub-steps > li > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rh-hub-steps > li > div p {
    grid-column: 1;
  }

  .rh-hub-feature-image {
    height: 420px;
  }

  .rh-hub-feature-image figcaption {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .rh-hub-cta__layout > div:last-child {
    padding-top: 22px;
  }

  .rh-hub-related .rh-hub-grid {
    gap: 1px;
  }

  .rh-hub-related__card {
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-hub *,
  .rh-hub *::before,
  .rh-hub *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Editorial refinements: scoped to this plugin, never form screens. */
.rh-hub :where(section[id], h2[id], h3[id]) { scroll-margin-top: 140px; }
.rh-hub .rh-hub-kicker { color: #98440d; }
.rh-hub .rh-hub-hero .rh-hub-eyebrow,
.rh-hub .rh-hub-section--ink .rh-hub-kicker,
.rh-hub .rh-hub-cta .rh-hub-kicker { color: #efb58b; }
.rh-hub .rh-hub-button--primary,
.rh-hub .rh-hub-button:not(.rh-hub-button--ghost):not(.rh-hub-button--light):not(.rh-hub-button--secondary) { background: #98440d; border-color: #98440d; }
.rh-hub .rh-hub-section--ink :is(p,li,dd),
.rh-hub .rh-hub-section--ink .rh-hub-heading > p:last-child { color: #d6d8cf; }
.rh-hub .rh-hub-section--ink a:not(.rh-hub-button) { color: #efb58b; }
.rh-hub .rh-hub-section--ink .rh-hub-note { color: #ebede6; background: #383a32; border-color: #62655b; }
.rh-hub .rh-hub-section--ink .rh-hub-table td:first-child { color: #fff; }
.rh-hub .rh-hub-section--ink .rh-hub-table td { color: #d6d8cf; }
.rh-hub .rh-hub-card--accent dl > div { border-color: #606259; }
.rh-hub .rh-hub-card--accent .rh-hub-card__index { color: #efb58b; }
.rh-hub .rh-hub-section--intro .rh-hub-split { align-items: start; }
.rh-hub-table-wrap:focus-visible { outline: 3px solid #98440d; outline-offset: 4px; }
.rh-hub .rh-hub-table-wrap { scrollbar-width: thin; }
.rh-hub .rh-hub-table-wrap table { margin-bottom: 0; }
.rh-hub .rh-hub-sources { font-size: 14px; }
.rh-hub .rh-hub-photo-card figcaption { font-size: 14px; }
.rh-hub .rh-hub-cta::before { display: none; }
.rh-hub-guide-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--rh-hub-line); }
.rh-hub-guide-links > a { position: relative; padding: 25px 34px 25px 0; margin-right: 25px; border-bottom: 1px solid var(--rh-hub-line); text-decoration: none; }
.rh-hub-guide-links strong { display: block; color: var(--rh-hub-ink); font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.rh-hub-guide-links span { display: block; font-size: 14px; line-height: 1.65; color: var(--rh-hub-ink-soft); }
.rh-hub-guide-links b { position: absolute; right: 0; top: 25px; font-size: 22px; }
.rh-hub-guide-links > a:hover strong { color: var(--rh-hub-accent-dark); text-decoration: underline; text-underline-offset: 4px; }
.rh-hub-skip { position: absolute; z-index: 100; left: 16px; top: -100px; background: #fff; color: #2b2c27; padding: 12px; }
.rh-hub-skip:focus { top: 8px; }
.rh-hub--editorial .rh-hub-hero__summary li { line-height: 1.5; }
.rh-hub--editorial .rh-hub-hero__summary a { display: block; line-height: 1.5; }
.rh-hub-editorial-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.42fr); gap: 44px; align-items: start; }
.rh-hub-editorial-section--text { grid-template-columns: 1fr; max-width: 950px; }
.rh-hub-editorial-section__copy { min-width: 0; }
.rh-hub-editorial-section__copy > .rh-hub-prose { max-width: none; }
.rh-hub-editorial-section__copy .rh-hub-prose > p,
.rh-hub-editorial-section__copy .rh-hub-prose > :is(ul,ol) { max-width: 75ch; }
.rh-hub-editorial-image { margin: 8px 0 0; }
.rh-hub-editorial-image img { width: 100%; height: auto; max-height: 450px; object-fit: contain; background: #eae3db; }
.rh-hub-editorial-image figcaption { padding: 14px 0; border-bottom: 1px solid var(--rh-hub-line); color: var(--rh-hub-ink-soft); font-size: 13px; line-height: 1.6; }
.rh-hub-editorial-section .rh-hub-table-wrap { margin-block: 24px; }
.rh-hub-editorial-section table { min-width: 580px; font-size: 14px; }
.rh-hub-editorial-section tbody th { background: transparent; color: var(--rh-hub-ink); }
.rh-hub-editorial-section :is(ul,ol) { padding-left: 1.2em; }
.rh-hub-editorial-section li + li { margin-top: 8px; }
@media(max-width: 980px) {
  .rh-hub .rh-hub-hero__summary { display: none; }
  .rh-hub-hero__summary ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .rh-hub-hero__summary { max-width: none; padding: 20px; }
  .rh-hub-hero__summary > p { margin-bottom: 12px; }
  .rh-hub-hero__layout { gap: 28px; }
  .rh-hub-editorial-section { grid-template-columns: 1fr; gap: 24px; }
  .rh-hub-editorial-image { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; }
  .rh-hub-editorial-image img { max-height: 320px; }
  .rh-hub-guide-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 820px) {
  .rh-hub { --rh-hub-sticky-top: 69px; }
  .rh-hub-jump { top: var(--rh-hub-sticky-top); }
}
@media(max-width: 767px) {
  .rh-hub-jump .rh-hub-shell { gap: 22px; padding-right: 16px; }
  .rh-hub-jump a { font-size: 10px; padding-block: 15px; }
  .rh-hub .rh-hub-breadcrumbs { margin-bottom: 24px; font-size: 10px; }
  .rh-hub .rh-hub-hero__lede { font-size: 17px; }
  .rh-hub .rh-hub-hero__summary { display: none; } /* The section navigation remains visible. */
  .rh-hub .rh-hub-actions { gap: 10px; margin-top: 26px; }
  .rh-hub .rh-hub-button { min-height: 48px; font-size: 11px; padding: 12px 16px; }
  .rh-hub-table-wrap::before { content: 'Swipe or use arrow keys to explore the table →'; display: block; padding: 10px 12px; color: #4e5049; background: #eee6de; font-size: 11px; position: sticky; left: 0; width: fit-content; max-width: 100%; }
  .rh-hub .rh-hub-feature-image { height: 350px; }
  .rh-hub .rh-hub-photo-card__media { aspect-ratio: 16/10; }
  .rh-hub-editorial-image { display: block; }
  .rh-hub-editorial-image img { max-height: 340px; }
  .rh-hub-guide-links { grid-template-columns: 1fr; }
  .rh-hub-guide-links > a { margin-right: 0; }
}

@media print {
  .rh-hub .rh-hub-section.rh-hub-section--ink,
  .rh-hub .rh-hub-card--accent { background: #fff; }
  .rh-hub .rh-hub-section--ink :is(h2,h3,p,li,strong,dd),
  .rh-hub .rh-hub-card--accent :is(h3,p,dt,dd) { color: #000; }
  .rh-hub .rh-hub-hero__media,
  .rh-hub .rh-hub-hero__summary,
  .rh-hub .rh-hub-jump { display: none; }
  .rh-hub {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .rh-hub-hero,
  .rh-hub-section,
  .rh-hub-cta {
    padding-block: 28px;
    color: #000;
    background: #fff;
  }

  .rh-hub-hero::before,
  .rh-hub-hero::after,
  .rh-hub-cta::before,
  .rh-hub-button,
  .rh-hub-link-strip {
    display: none !important;
  }

  .rh-hub-hero h1,
  .rh-hub-cta h2,
  .rh-hub-section--ink :where(h2, h3, strong) {
    color: #000;
  }

  .rh-hub-card,
  .rh-hub-photo-card,
  .rh-hub-table-wrap,
  .rh-hub-table,
  .rh-hub-faq details {
    break-inside: avoid;
  }
}
