/* =====================================================================
   G.F. Baker & Co. — site redesign (Dec 2026)
   Loaded last on every page. Applies the G.F. Baker & Co. Web Design
   System: Open Sans, navy header with photo heroes, square buttons,
   light-weight headings, full-width page with a 1160px content column.
   ===================================================================== */
@font-face { font-family: "Open Sans"; src: url("/fonts/open-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/fonts/open-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --rd-navy: #253851;
  --rd-navy-dark: #18263A;
  --rd-grey: #BCC3CF;
  --rd-text: #2B2F36;
  --rd-muted: #555E6E;
  --rd-line: #D8DCE2;
  --rd-tint: #F5F6F8;
  --rd-wrap: 1160px;
  --rd-pad: 24px;
  --rd-h2: clamp(1.5rem, 1.368rem + .563vw, 1.875rem);
  --rd-h1: clamp(2.5rem, 2.016rem + 2.066vw, 3.875rem);
  --rd-h1-sm: clamp(2rem, 1.648rem + 1.502vw, 3rem);

  --burgundy: #253851;
  --burgundy-dark: #18263A;
  --burgundy-tint: #EEF1F5;
  --navy: #253851;
  --text: #2B2F36;
  --pewter: #555E6E;
  --hairline: #D8DCE2;
  --alabaster: #F5F6F8;
  --limestone: #FFFFFF;
  --font-heading: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 767px) { :root { --rd-pad: 16px; } }

html { -webkit-text-size-adjust: 100%; }
body { background: #FFFFFF; font-family: var(--font-body); color: var(--rd-text); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); text-transform: none; letter-spacing: 0; color: var(--rd-navy); }
a { color: var(--rd-navy); }

/* ---------- Page shell: full width, content in a centred column ---------- */
.page, .home .page { width: auto !important; max-width: none !important; margin: 0 !important; box-shadow: none !important; background: #FFFFFF; }
.content { max-width: var(--rd-wrap); margin: 0 auto; padding: 48px var(--rd-pad) 80px; min-height: 0; box-sizing: content-box; }
.subnav { max-width: var(--rd-wrap); margin: 0 auto !important; padding: 18px var(--rd-pad) 0 !important; border-bottom: 0 !important; box-sizing: content-box; }
.subnav + .content, .rd-hero + .subnav + .content { padding-top: 28px; }
.breadcrumbs a { color: var(--rd-navy); font-weight: 700; }
.rd-wrap { max-width: var(--rd-wrap); margin: 0 auto; padding-left: var(--rd-pad); padding-right: var(--rd-pad); box-sizing: content-box; }
@media (max-width: 767px) { .content { padding: 32px var(--rd-pad) 56px; } }

/* ---------- Header ---------- */
.rd-top { background: var(--rd-navy); color: #FFFFFF; position: relative; }
.rd-top.rd-photo { background-size: cover; background-position: center; }
.rd-top .utility-bar { display: block !important; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid rgba(188,195,207,.18) !important; background: #111B2A; }
.rd-top .utility-links { max-width: var(--rd-wrap); margin: 0 auto; padding: 8px calc(var(--rd-pad) + 12px) 8px var(--rd-pad); display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 13px; line-height: 20px; box-sizing: content-box; }
.rd-top .utility-links a { color: #BCC3CF !important; text-decoration: none; display: inline; gap: 0; }
.rd-top .utility-links a:hover { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 3px; }
.rd-top .utility-links a.util-phone { color: #FFFFFF !important; font-weight: 700; }
.rd-top .utility-links a[aria-current="page"] { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 4px; }
.rd-top .utility-links .util-welcome { color: #FFFFFF !important; font-weight: 700 !important; }
.rd-top .site-nav { max-width: var(--rd-wrap); margin: 0 auto; height: 84px; padding: 0 var(--rd-pad); border-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: content-box; }
.rd-top .brand img { height: 34px; width: auto; display: block; }
.rd-top .nav-links { display: flex; align-items: center; gap: 4px; }
.rd-top .nav-links a { color: #FFFFFF !important; text-decoration: none; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 12px; }
.rd-top .nav-links a:hover { box-shadow: inset 0 -2px 0 rgba(188,195,207,.6); }
.rd-top .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 #BCC3CF; color: #FFFFFF !important; font-weight: 700; }
.rd-top .nav-call { display: none !important; }
.rd-top .menu-toggle { display: none; width: auto; height: 48px; margin: 0; padding: 0 0 0 8px; color: #FFFFFF; align-items: center; gap: 10px; font: 700 13px/20px var(--font-body); letter-spacing: 1px; }
.rd-top .menu-toggle span { position: static; display: block; background: #FFFFFF; }
.rd-top .menu-toggle .rd-bars { position: relative; width: 22px; height: 16px; display: inline-block; }
.rd-top .menu-toggle .rd-bars span { position: absolute; left: 0; width: 22px; height: 2px; }
.rd-top .menu-toggle .rd-bars span:nth-child(1) { top: 0; }
.rd-top .menu-toggle .rd-bars span:nth-child(2) { top: 7px; }
.rd-top .menu-toggle .rd-bars span:nth-child(3) { top: 14px; }
.rd-top .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.rd-top .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(2) { opacity: 0; }
.rd-top .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .rd-top .utility-bar { display: none !important; }
  .rd-top .site-nav { height: 64px; }
  .rd-top .brand img { height: 24px; width: auto !important; }
  .rd-top .nav-links { display: none; }
  .rd-top .menu-toggle { display: inline-flex; }
}
.mobile-menu { background: #FFFFFF; }
.mm-main { border-top: 3px solid var(--rd-navy) !important; }
.mm-main a { color: var(--rd-navy) !important; font-weight: 700; }
.mm-main a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--rd-navy); padding-left: 12px !important; }

/* ---------- Page hero (title band under the header) ---------- */
.rd-hero { max-width: var(--rd-wrap); margin: 0 auto; padding: 40px var(--rd-pad) 56px; box-sizing: content-box; color: #FFFFFF; }
.rd-hero h1, .rd-hero .page-title { margin: 0; padding: 0; border: 0; max-width: 900px; font-size: var(--rd-h1); line-height: 1.1; font-weight: 300; color: #FFFFFF; text-transform: none; letter-spacing: 0; }
.rd-hero h1 b { font-weight: 800; font-style: italic; color: #BCC3CF; }
.rd-hero .rd-sub { margin: 16px 0 0; max-width: 760px; font-size: 19px; line-height: 30px; color: rgba(255,255,255,.92); }
.rd-hero .rd-sub a { color: #FFFFFF; }
@media (max-width: 767px) { .rd-hero { padding: 24px var(--rd-pad) 40px; } .rd-hero .rd-sub { font-size: 17px; line-height: 27px; } }

/* Title on pages without a hero (articles, offering, etc.) */
.page-title { font-size: var(--rd-h1-sm); line-height: 1.15; font-weight: 300; color: var(--rd-navy); text-transform: none; letter-spacing: 0; border-bottom: 0; padding-bottom: 0; margin: 0 0 8px; }

/* ---------- Type ---------- */
.section-title, .about-body h2, .learn-article h2, .perf-section h2, h2.section-title {
  font-size: var(--rd-h2) !important; line-height: 1.25; font-weight: 300 !important; color: var(--rd-navy) !important;
  text-transform: none !important; letter-spacing: 0 !important; border-bottom: 0 !important; padding-bottom: 0; font-style: normal;
}
.section-title b, .section-title em, .section-title strong { font-weight: inherit; font-style: inherit; }
h3, .sub-title { text-transform: none; letter-spacing: 0; font-weight: 800; color: var(--rd-navy); }
.eyebrow, .eyebrow-row, .feat-eyebrow, .section-eyebrow { display: none !important; }
.about-body, .learn-article { font-size: 17px; line-height: 28px; }
.lead { font-size: 19px; line-height: 30px; color: var(--rd-text); }

/* ---------- Buttons: square, navy, italic ---------- */
.btn, a.btn, button.btn, .learn-cta-btn, .login-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-height: 48px; padding: 0 24px; border-radius: 0 !important; border: 2px solid var(--rd-navy) !important;
  background: var(--rd-navy) !important; color: #FFFFFF !important; text-decoration: none;
  font-family: var(--font-body) !important; font-size: 16px !important; font-weight: 800 !important; font-style: italic; letter-spacing: 0 !important; text-transform: none !important;
}
.btn:hover, a.btn:hover, button.btn:hover, .learn-cta-btn:hover, .login-submit:hover { background: var(--rd-navy-dark) !important; border-color: var(--rd-navy-dark) !important; }
.btn-secondary, .btn.btn-secondary, .btn.step-back { background: #FFFFFF !important; color: var(--rd-navy) !important; border-color: var(--rd-navy) !important; }
.btn-secondary:hover, .btn.step-back:hover { background: var(--rd-tint) !important; color: var(--rd-navy) !important; }
input, select, textarea { border-radius: 0; }

/* ---------- Footer ---------- */
.rd-footer { background: linear-gradient(rgba(24,38,58,.93), rgba(24,38,58,.96)), var(--rd-footer-img, none) center 30% / cover; color: #FFFFFF; padding: 72px 0 32px; }
.rd-footer a { color: #FFFFFF; text-decoration: none; }
.rd-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rd-footer .rd-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.rd-footer .rd-logo { height: 36px; width: auto; max-width: 100%; display: block; }
.rd-footer .rd-label { margin: 0 0 10px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #BCC3CF; }
.rd-footer .rd-links { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 30px; }
.rd-footer .rd-about { margin: 0; font-size: 14px; line-height: 22px; color: rgba(255,255,255,.9); }
.rd-footer .rd-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(188,195,207,.25); display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 18px; color: rgba(255,255,255,.85); }
.rd-footer .rd-legal p { margin: 0; }
.rd-footer .rd-legal a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1023px) { .rd-footer .rd-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rd-footer { padding: 48px 0 28px; } .rd-footer .rd-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Shared components ---------- */
table th { text-transform: none; letter-spacing: 0; }
.detail-note, .disclosure, .legal-note { color: var(--rd-muted); }
.rd-band { background: var(--rd-tint); }
.rd-pill, .status-pill, .offer-status, .badge-status { border-radius: 999px !important; }

/* Learn: sidebar CTA (Put It Into Practice) */
.learn-cta { background: var(--rd-navy) !important; color: #FFFFFF !important; padding: 24px !important; border: 0 !important; }
.learn-cta .learn-cta-title { color: #FFFFFF !important; font-size: 20px !important; line-height: 26px; font-weight: 300 !important; text-transform: none !important; letter-spacing: 0 !important; border: 0 !important; }
.learn-cta p { color: rgba(255,255,255,.9) !important; }
.learn-cta a:not(.learn-cta-btn) { color: #FFFFFF !important; }
.learn-cta .learn-cta-btn { width: 100%; height: 44px; min-height: 44px; padding: 0 20px; background: #FFFFFF !important; color: var(--rd-navy) !important; border-color: #FFFFFF !important; font-size: 15px !important; white-space: nowrap; }
.learn-cta .learn-cta-btn:hover { background: var(--rd-tint) !important; }

/* ---------- Homepage ---------- */
.rd-home-hero { padding: 72px var(--rd-pad) 96px; }
.rd-home-hero h1 { max-width: 960px; }
.home .content { max-width: none; padding: 0; }
.home .home-hero { display: block !important; margin: 0; padding: 0; border: 0; }
.rd-section { padding: 80px 0; }
.rd-section.rd-tint { background: var(--rd-tint); }
.rd-h2 { margin: 0 0 24px; font-size: var(--rd-h2); line-height: 1.25; font-weight: 300; color: var(--rd-navy); }
.rd-market { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin: 0; }
.rd-market > div { border-top: 1px solid var(--rd-line); padding-top: 14px; }
.rd-market dt { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--rd-muted); order: 2; }
.rd-market > div { display: flex; flex-direction: column; }
.rd-market dd { margin: 0; order: 1; font-size: clamp(1.75rem, 1.6rem + .6vw, 2.25rem); line-height: 1.2; font-weight: 800; font-style: italic; color: var(--rd-navy); }
.rd-market sup a, .rd-stats sup a { color: var(--rd-muted); text-decoration: none; }
.rd-find { margin-top: 48px; background: var(--rd-tint); padding: 28px; }
.rd-find .find-title { margin: 0 0 16px; font-size: 20px; line-height: 26px; font-weight: 300; color: var(--rd-navy); text-transform: none; letter-spacing: 0; }
.rd-find .find-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.rd-find .find-field label { display: block; margin-bottom: 6px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rd-muted); }
.rd-find .find-select { position: relative; }
.rd-find select { width: 100%; height: 48px; box-sizing: border-box; border: 1px solid #848E9F; background: #FFFFFF; padding: 0 44px 0 14px; font: 400 16px var(--font-body); color: var(--rd-text); appearance: none; -webkit-appearance: none; }
.rd-find .find-select svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; pointer-events: none; color: var(--rd-navy); }
.rd-find .find-btn { height: 48px; margin: 0 !important; }
.rd-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.rd-split p { margin: 0; font-size: 17px; line-height: 28px; }
.rd-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; margin: 0; }
.rd-stats > div { display: flex; flex-direction: column; border-top: 1px solid var(--rd-line); padding-top: 14px; }
.rd-stats dd { order: 1; margin: 0; font-size: clamp(1.75rem, 1.6rem + .6vw, 2.25rem); line-height: 1.2; font-weight: 800; font-style: italic; color: var(--rd-navy); }
.rd-stats dt { order: 2; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--rd-muted); }
.rd-strat { color: #FFFFFF; background: linear-gradient(rgba(24,38,58,.9), rgba(37,56,81,.86)), var(--rd-strat-img) center / cover; }
.rd-strat .rd-h2 { color: #FFFFFF; }
.rd-strat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rd-strat-grid > div { border-top: 2px solid #BCC3CF; padding-top: 16px; }
.rd-strat-grid h3 { margin: 0 0 8px; font-size: 19px; line-height: 26px; font-weight: 800; color: #FFFFFF; }
.rd-strat-grid p { margin: 0; font-size: 15px; line-height: 24px; color: rgba(255,255,255,.9); }
.rd-strat-grid sup a { color: #BCC3CF; }
.rd-explore { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: #FFFFFF; color: var(--rd-navy); padding: 24px !important; border-top: 0 !important; text-decoration: none; }
.rd-explore h3 { color: var(--rd-navy) !important; }
.rd-explore p { color: var(--rd-text) !important; }
.rd-explore .rd-go { font-weight: 800; font-style: italic; }
.rd-notes ol { margin: 0; padding-left: 22px; font-size: 13px; line-height: 20px; color: var(--rd-muted); }
.rd-notes li { margin: 0 0 6px; }
.rd-notes h2 { margin: 0 0 12px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--rd-muted); }
@media (max-width: 1023px) {
  .rd-market { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rd-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rd-strat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-find .find-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rd-home-hero { padding: 40px var(--rd-pad) 56px; }
  .rd-section { padding: 48px 0; }
  .rd-market { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .rd-market > div:last-child { grid-column: 1 / -1; }
  .rd-strat-grid { grid-template-columns: minmax(0, 1fr); }
  .rd-find { padding: 20px; }
  .rd-find .find-form { grid-template-columns: minmax(0, 1fr); }
  .rd-find .find-btn { width: 100%; }
  .rd-find .find-field, .rd-find .find-select { min-width: 0; }
}

.rd-market > div, .rd-stats > div { text-align: left; align-items: flex-start; }
.rd-market dd, .rd-market dt, .rd-stats dd, .rd-stats dt { text-align: left; }

/* ---------- Login / grant access ---------- */
.rd-login .content { padding-top: 0; }
.login-card { border-radius: 0 !important; }

/* ---------- Print: keep the page plain ---------- */
@media print { .rd-top, .rd-footer { background: none !important; color: #000 !important; } .rd-top .utility-bar, .rd-top .menu-toggle { display: none !important; } .rd-top .brand img { filter: invert(1) brightness(.2); } }

/* ---------- Listings: three-column cards, photo on top, four key facts ---------- */
.offers { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; grid-auto-rows: auto !important; }
.offer-link { flex-direction: column !important; border: 1px solid var(--rd-line) !important; background: #FFFFFF; }
.offer-link:hover, .offer-link:focus-visible { border-color: var(--rd-navy) !important; box-shadow: none !important; }
.offer-photo { flex: 0 0 200px !important; height: 200px; min-height: 0 !important; aspect-ratio: auto !important; width: 100%; position: relative; }
.offer-body { padding: 18px 20px 20px !important; }
.offer-eyebrow { font-size: 13px !important; color: var(--rd-muted) !important; margin-bottom: 4px !important; flex-wrap: wrap; }
.offer-eyebrow .eyebrow-dot { display: none; }
.offer-status { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--rd-tint); border: 1px solid var(--rd-line); color: var(--rd-navy); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.offer-name { font-size: 19px !important; line-height: 25px !important; font-weight: 800 !important; color: var(--rd-navy) !important; margin-bottom: 12px !important; -webkit-line-clamp: 2 !important; line-clamp: 2 !important; }
.offer-facts tbody { display: block !important; }
.offer-facts tr { flex-direction: row !important; justify-content: space-between; align-items: baseline; gap: 12px !important; padding: 8px 0; border-top: 1px solid var(--rd-line); }
.offer-facts th { white-space: nowrap; font-size: 14px !important; color: var(--rd-muted) !important; flex: 0 0 auto; }
.offer-facts td { min-width: 0; overflow: hidden !important; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal !important; text-align: right !important; font-size: 14px; font-weight: 700; color: var(--rd-text); }
/* Cards show Property Type, Projected Year-1 Distribution Rate, Offering LTV and 721 Exchange Exit (the table view keeps every column) */
.offer-facts tr:nth-child(2), .offer-facts tr:nth-child(3), .offer-facts tr:nth-child(6), .offer-facts tr:nth-child(7) { display: none !important; }
.offer-facts tr:nth-child(4) th { font-size: 0 !important; }
.offer-facts tr:nth-child(4) th::after { content: "Projected Year-1 Dist. Rate"; font-size: 14px; }
.results-bar { border-bottom: 1px solid var(--rd-line) !important; }
.results-count { text-transform: none !important; letter-spacing: 0 !important; color: var(--rd-navy); }
.filters summary, .filters-title { text-transform: none !important; letter-spacing: 0 !important; }
.view-switch button[aria-pressed="true"] { background: var(--rd-navy) !important; }
@media (max-width: 1279px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .offers { grid-template-columns: minmax(0, 1fr) !important; } }

/* Logged-out notice */
.gate-banner { border-radius: 0 !important; }
.gate-btn { border-radius: 0 !important; background: var(--rd-navy) !important; font-style: italic; font-weight: 800 !important; }

/* ---------- Header menu button (overrides the old hamburger rules) ---------- */
.rd-top .menu-toggle .rd-bars { position: relative !important; left: auto !important; top: auto !important; width: 22px !important; height: 16px !important; background: none !important; transform: none !important; opacity: 1 !important; }
.rd-top .menu-toggle[aria-expanded="true"] { color: var(--rd-navy); }
.rd-top .menu-toggle[aria-expanded="true"] .rd-bars span { background: var(--rd-navy); }

/* ---------- About ---------- */
.steps li { padding-left: 0 !important; padding-top: 52px !important; }
.steps li::before { content: "Step " counter(item) !important; top: 14px !important; font-size: 22px !important; line-height: 28px; font-weight: 800; font-style: italic; color: var(--rd-grey) !important; }

/* About: family history as a navy photo band; firm figures in bold italic */
#lineage { background: linear-gradient(rgba(24,38,58,.92), rgba(37,56,81,.88)), url("/img/offering-images/f4b0bb93-3c87-410d-b8bc-10e14a1b32e2?width=1600&resize=contain&quality=70") center / cover; color: #FFFFFF; padding: 40px; }
#lineage h2 { color: #FFFFFF !important; }
#lineage p { color: rgba(255,255,255,.92); }
#lineage a { color: #FFFFFF; }
.numbers dd { font-weight: 800 !important; font-style: italic; color: var(--rd-navy) !important; }
@media (max-width: 767px) { #lineage { padding: 28px 20px; } }

/* Log in / give access card */
.login-title { text-transform: none !important; letter-spacing: 0 !important; font-weight: 300 !important; font-size: var(--rd-h2) !important; color: var(--rd-navy) !important; }
.login-card { border-top: 1px solid var(--rd-line) !important; }

/* Contents boxes ("On This Page") */
.toc-title { text-transform: none !important; letter-spacing: 0 !important; }
.toc a, .learn-nav a { color: var(--rd-navy); }

/* Forms (Request Access, Schedule a Call): title-case headings, sidebar panels */
.group-title { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--rd-h2) !important; line-height: 1.25 !important; font-weight: 300 !important; color: var(--rd-navy) !important; }
.side-title { text-transform: none !important; letter-spacing: 0 !important; font-size: 18px !important; line-height: 24px; font-weight: 800 !important; color: var(--rd-navy) !important; }
.register-side .side-block { background: var(--rd-tint); padding: 24px; border: 0 !important; }
.register-side .side-contact { background: var(--rd-navy) !important; color: #FFFFFF; }
.register-side .side-contact .side-title, .register-side .side-contact a, .register-side .side-contact p { color: #FFFFFF !important; }
.field input, .field select, .field textarea, .find-select select { border-radius: 0 !important; }
/* Dec 3 follow-up: header stays at the top on scroll (solid navy once the page moves), darker top bar,
   smaller logo, larger H2s with space below, homepage search bar and footnote fixes */
:root { --rd-h2: clamp(1.875rem, 1.6rem + 1.1vw, 2.5rem); --rd-bar-h: 121px; }
@media (max-width: 960px) { :root { --rd-bar-h: 64px; } }
.rd-bar { position: sticky; top: 0; z-index: 900; color: #FFFFFF; transition: background-color .2s ease, box-shadow .2s ease; }
.rd-bar.is-stuck { background: var(--rd-navy); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.rd-top { margin-top: calc(-1 * var(--rd-bar-h)); padding-top: var(--rd-bar-h); }
.rd-bar { position: sticky; top: 0; z-index: 900; color: #FFFFFF; transition: background-color .2s ease, box-shadow .2s ease; }
.rd-bar .utility-bar { display: block !important; margin: 0 !important; padding: 0 !important; border-bottom: 1px solid rgba(188,195,207,.18) !important; background: #111B2A; }
.rd-bar .utility-links { max-width: var(--rd-wrap); margin: 0 auto; padding: 8px calc(var(--rd-pad) + 12px) 8px var(--rd-pad); display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 13px; line-height: 20px; box-sizing: content-box; }
.rd-bar .utility-links a { color: #BCC3CF !important; text-decoration: none; display: inline; gap: 0; }
.rd-bar .utility-links a:hover { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 3px; }
.rd-bar .utility-links a.util-phone { color: #FFFFFF !important; font-weight: 700; }
.rd-bar .utility-links a[aria-current="page"] { color: #FFFFFF !important; text-decoration: underline; text-underline-offset: 4px; }
.rd-bar .utility-links .util-welcome { display: inline !important; line-height: 20px !important; color: #FFFFFF !important; font-weight: 700 !important; }
.rd-bar .site-nav { max-width: var(--rd-wrap); margin: 0 auto; height: 84px; padding: 0 var(--rd-pad); border-bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-sizing: content-box; }
.rd-bar .brand img { height: 34px; width: auto; display: block; }
.rd-bar .nav-links { display: flex; align-items: center; gap: 4px; }
.rd-bar .nav-links a { color: #FFFFFF !important; text-decoration: none; font-size: 13px; line-height: 20px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 12px; }
.rd-bar .nav-links a:hover { box-shadow: inset 0 -2px 0 rgba(188,195,207,.6); }
.rd-bar .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 #BCC3CF; color: #FFFFFF !important; font-weight: 700; }
.rd-bar .nav-call { display: none !important; }
.rd-bar .menu-toggle { display: none; width: auto; height: 48px; margin: 0; padding: 0 0 0 8px; color: #FFFFFF; align-items: center; gap: 10px; font: 700 13px/20px var(--font-body); letter-spacing: 1px; }
.rd-bar .menu-toggle span { position: static; display: block; background: #FFFFFF; }
.rd-bar .menu-toggle .rd-bars { position: relative; width: 22px; height: 16px; display: inline-block; }
.rd-bar .menu-toggle .rd-bars span { position: absolute; left: 0; width: 22px; height: 2px; }
.rd-bar .menu-toggle .rd-bars span:nth-child(1) { top: 0; }
.rd-bar .menu-toggle .rd-bars span:nth-child(2) { top: 7px; }
.rd-bar .menu-toggle .rd-bars span:nth-child(3) { top: 14px; }
.rd-bar .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.rd-bar .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(2) { opacity: 0; }
.rd-bar .menu-toggle[aria-expanded="true"] .rd-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.rd-bar .menu-toggle .rd-bars { position: relative !important; left: auto !important; top: auto !important; width: 22px !important; height: 16px !important; background: none !important; transform: none !important; opacity: 1 !important; }
.rd-bar .menu-toggle[aria-expanded="true"] { color: var(--rd-navy); }
.rd-bar .menu-toggle[aria-expanded="true"] .rd-bars span { background: var(--rd-navy); }
@media (max-width: 960px) {
  .rd-bar .utility-bar { display: none !important; }
  .rd-bar .site-nav { height: 64px; }
  .rd-bar .brand img { height: 24px; width: auto !important; }
  .rd-bar .nav-links { display: none; }
  .rd-bar .menu-toggle { display: inline-flex; }
}
@media print { .rd-bar { position: static; background: none !important; } .rd-bar .utility-bar, .rd-bar .menu-toggle { display: none !important; } .rd-bar .brand img { filter: invert(1) brightness(.2); } }
.section-title, .about-body h2, .learn-article h2, .perf-section h2, h2.section-title { margin-bottom: 24px !important; }
.group-title, .login-title { margin-bottom: 20px !important; }
.rd-h2 { margin-bottom: 32px; }
.rd-find .find-form { background: none !important; border: 0 !important; box-shadow: none !important; }
.rd-find .find-field { border: 0 !important; background: none !important; box-shadow: none !important; position: static; }
.rd-find .find-field label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footnote markers inside figures: sit right after the text */
.rd-market sup.fn a, .rd-stats sup.fn a, .rd-strat sup.fn a { display: inline; min-width: 0; min-height: 0; padding: 0 2px; }
.rd-market sup.fn, .rd-stats sup.fn, .rd-strat sup.fn { margin-left: 1px; }

/* Homepage search bar: title in bold, centred on the row of filters */
.rd-find { display: flex; align-items: center; gap: 32px; }
.rd-find .find-title { margin: 0 !important; flex: 0 0 auto; font-weight: 800 !important; white-space: nowrap; }
.rd-find .find-form { flex: 1 1 auto; min-width: 0; align-items: center !important; }
@media (max-width: 1023px) { .rd-find { flex-direction: column; align-items: stretch; gap: 16px; } .rd-find .find-title { white-space: normal; } }

/* Dec 3 follow-up (2): listing cards, Performance page, Learn sidebar, About page */

/* ---------- Listings: status pill on the photo's top-left corner, no sponsor, smaller type ---------- */
.offer-eyebrow > span:first-child { display: none !important; }
.offer-eyebrow { margin: 0 !important; }
.offer-eyebrow, .offer-name { margin-right: 0 !important; }
.offer-status { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0 !important; background: #FFFFFF !important; border-color: #FFFFFF !important; box-shadow: 0 1px 4px rgba(24,38,58,.18); font-size: 11px !important; padding: 3px 10px !important; }
.offer-name { font-size: 16px !important; line-height: 22px !important; font-weight: 600 !important; margin-bottom: 10px !important; }
/* the facts table stays inside the card: label and value share the row, long values wrap */
.offer-facts { display: block !important; width: 100% !important; }
.offer-facts tbody, .offer-facts tr { width: 100%; }
.offer-facts tr { display: flex !important; padding: 7px 0 !important; }
.offer-facts th { flex: 1 1 auto !important; min-width: 0; white-space: normal !important; font-size: 13px !important; line-height: 18px; }
.offer-facts tr:nth-child(4) th::after { font-size: 13px !important; }
.offer-facts td { flex: 0 1 auto !important; max-width: 48%; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-size: 13px !important; line-height: 18px; font-weight: 600 !important; }

/* ---------- Performance: marketplace figures as separate tiles (number, then label), above the text ---------- */
.market-history { display: flex; flex-direction: column; }
.market-history > * { order: 3; }
.market-history > .mh-head { order: 0; }
.market-history > .mh-stats { order: 1; }
.market-history > .perf-explain { order: 2; margin-top: 28px !important; }
.mh-stats { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px !important; border: 0 !important; border-radius: 0 !important; background: none !important; overflow: visible !important; }
.mh-stats .mh-stat { display: flex !important; flex-direction: column; padding: 18px 16px !important; border: 1px solid var(--rd-line) !important; background: #FFFFFF; }
.mh-stats .mh-stat dt { order: 2; margin-top: 8px; font-size: 12px !important; line-height: 16px; font-weight: 700 !important; letter-spacing: .5px !important; color: var(--rd-muted) !important; }
.mh-stats .mh-stat .mh-quote { order: 1; margin: 0 !important; }
.mh-stats .mh-stat .mh-current { font-size: clamp(1.5rem, 1.4rem + .45vw, 2rem) !important; line-height: 1.2 !important; font-weight: 300 !important; font-style: normal !important; color: var(--rd-navy) !important; }
@media (max-width: 1100px) { .mh-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .mh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; } }

/* Performance: more room between paragraphs, clear breaks between sections */
.perf-explain p, .perf-section p, .intro-layout p { margin-bottom: 18px !important; }
.perf-explain p:last-child { margin-bottom: 0 !important; }
.market-history { margin: 56px 0 !important; }
.perf-section { margin-top: 72px !important; padding-top: 56px !important; border-top: 1px solid var(--rd-line); }

/* ---------- Learn sidebar: smaller topic list and call-to-action text ---------- */
.learn-nav-title { font-size: 15px !important; }
.learn-nav .topic-summary { font-size: 15px !important; line-height: 21px !important; padding: 10px 10px !important; }
.learn-nav a, .learn-nav .soon { font-size: 14px !important; line-height: 20px !important; }
.learn-cta .learn-cta-title { font-size: 18px !important; line-height: 24px !important; }
.learn-cta p { font-size: 14px !important; line-height: 21px !important; }
.learn-cta p.learn-cta-note { font-size: 12px !important; line-height: 18px !important; }
.toc a { font-size: 14px !important; line-height: 20px !important; }
.toc-title { font-size: 15px !important; }

/* ---------- About: plain text under the figures, much more space between sections ---------- */
.numbers dd { font-weight: 400 !important; font-style: normal !important; color: var(--rd-muted) !important; }
.about-section + .about-section { margin-top: 96px !important; }
@media (max-width: 767px) { .about-section + .about-section { margin-top: 64px !important; } }

/* ---------- Register: wider "What You Will Receive" column; the form fills the rest ---------- */
@media (min-width: 961px) {
  .register-layout { grid-template-columns: 360px minmax(0, 1fr) !important; gap: 56px !important; }
  .register-main { max-width: none !important; }
}

/* Listing cards: the distribution-rate row is labelled "Current Yield" */
.offer-facts tr:nth-child(4) th::after { content: "Current Yield" !important; }
