/* =========================================================
   Bloom Credit — site styles
   Plain CSS, no framework. Organized top-down:
   1. Fonts & tokens   2. Base   3. Layout (sections/grid)
   4. Header & nav     5. Footer 6. Components  7. Posts
   ========================================================= */

/* ---------- 1. Fonts & tokens ---------- */
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-lightitalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "bloom-icons"; src: url("/assets/fonts/bloom-icons.woff2") format("woff2"), url("/assets/fonts/bloom-icons.woff") format("woff"); font-display: block; }

:root {
  --ink: #0c1d40;        /* headings, body text */
  --navy: #2a3970;       /* primary buttons, dark sections */
  --brand: #263c78;      /* logo */
  --blue: #1581e6;
  --violet: #605bbe;
  --sky: #95ccff;
  --mist: #e9ebf3;       /* light card background */
  --line: #e1e1e1;
  --grad: linear-gradient(90deg, var(--blue) 0%, var(--violet) 100%);
  --font: "Poppins", Helvetica, Arial, sans-serif;
  --container: 1434px;
  --gutter: 50px;
  --radius: 20px;
  --header-h: 88px;
  --meta-h: 30px;
}
@media (max-width: 767px) { :root { --gutter: 7.5vw; --header-h: 72px; } }

/* Layout variables set inline on one element must not leak into nested elements */
@property --bg { syntax: "*"; inherits: false; }
@property --bgi { syntax: "*"; inherits: false; }
@property --bgpos { syntax: "*"; inherits: false; }
@property --bgsize { syntax: "*"; inherits: false; }
@property --p { syntax: "*"; inherits: false; }
@property --r { syntax: "*"; inherits: false; }
@property --bd { syntax: "*"; inherits: false; }
@property --sh { syntax: "*"; inherits: false; }
@property --mw { syntax: "*"; inherits: false; }
@property --pt { syntax: "*"; inherits: false; }
@property --pb { syntax: "*"; inherits: false; }
@property --mt { syntax: "*"; inherits: false; }
@property --mb { syntax: "*"; inherits: false; }
@property --h { syntax: "*"; inherits: false; }
@property --w { syntax: "*"; inherits: false; }
@property --cols { syntax: "*"; inherits: false; }

/* Belt-and-braces for browsers without @property: reset layout variables for nested content */
.sec > .wrap, .col > *, .split__part, .row > * { --bg: initial; --bgi: initial; --bgpos: initial; --bgsize: initial; --p: initial; --r: initial; --bd: initial; --sh: initial; --mw: initial; --pt: initial; --pb: initial; --mt: initial; --mb: initial; --ov: initial; --ovo: initial; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); font-weight: 300; font-size: 18px; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: inherit; }
h1 { font-size: 74px; } h2 { font-size: 46px; } h3 { font-size: 36px; } h4 { font-size: 28px; line-height: 1.4; } h5 { font-size: 20px; font-weight: 700; line-height: 1.4; } h6 { font-size: 18px; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--c, var(--line)); margin: 30px 0; }
.center { text-align: center; } .right { text-align: right; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 5px; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* type scale used by converted headings */
.t-display { font-size: 74px; line-height: 1.2; }
.t-xl { font-size: 46px; line-height: 1.2; }
.t-lg { font-size: 36px; line-height: 1.22; }
.t-md { font-size: 28px; line-height: 1.4; }
.t-sm { font-size: 20px; line-height: 1.4; }
.t-xs { font-size: 18px; line-height: 1.5; }
.t-light { font-weight: 400; }
.t-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.t-sky { color: var(--sky); } .t-blue { color: var(--blue); } .t-navy { color: var(--navy); } .t-ink { color: var(--ink); } .t-white { color: #fff; } .t-violet { color: var(--violet); }
@media (max-width: 989px) {
  .t-display, h1 { font-size: 56px; } .t-xl, h2 { font-size: 38px; } .t-lg { font-size: 30px; }
}
@media (max-width: 575px) {
  .t-display, h1 { font-size: 40px; line-height: 1.1; } .t-xl, h2 { font-size: 28px; } .t-lg, h3 { font-size: 26px; } .t-md, h4 { font-size: 22px; }
}

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 1010px; }

/* Each converted section sets --bg, --pt, --pb (and optional --bgi) inline */
.sec { position: relative; background-color: var(--bg, #fff); background-image: var(--bgi, none); background-position: var(--bgpos, center); background-size: var(--bgsize, cover); background-repeat: no-repeat; padding: var(--pt, 70px) 0 var(--pb, 70px); margin-top: var(--mt, 0); margin-bottom: var(--mb, 0); }
.sec--dark { color: #fff; }
.sec--dark a:not(.btn) { color: var(--sky); }
.sec > .wrap > *:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .sec { padding-top: min(var(--pt, 70px), 50px); padding-bottom: min(var(--pb, 70px), 50px); } .hide-mobile { display: none; } }

/* Grid rows: --cols is set inline, e.g. "6fr 6fr" or "4fr 4fr 4fr" */
.row { display: grid; grid-template-columns: var(--cols, 1fr); column-gap: 2.5%; row-gap: 25px; margin: 0 0 25px; align-items: start; }
.row--equal { align-items: stretch; }
.row:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .row { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 989px) { .row[style*="3fr 3fr 3fr 3fr"] { grid-template-columns: 1fr 1fr; } }

.col { position: relative; min-width: 0; max-width: var(--mw, none); background-color: var(--bg, transparent); background-image: var(--bgi, none); background-size: cover; background-position: center; border-radius: var(--r, 0); padding: var(--p, 0); border: var(--bd, 0); box-shadow: var(--sh, none); }
.col > *:last-child { margin-bottom: 0; }
.col, .prose { overflow-wrap: break-word; } /* a word or URL wider than its box wraps instead of spilling out */
.wrap > .col, .col > .col { margin-bottom: 25px; }
.wrap > .col:last-child { margin-bottom: 0; }
.col.v-mid { align-self: center; } .col.v-end { align-self: end; }
.col.on-light { color: var(--ink); }
.col.on-light a:not(.btn) { color: var(--blue); }
.col.on-dark { color: #fff; }
.col--link { transition: transform .2s ease, box-shadow .2s ease; }
.col--link:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(12, 29, 64, .15); }
.col__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.col--link .btn, .col--link a:not(.col__link) { position: relative; z-index: 3; }
@media (max-width: 767px) { .col { padding: min(var(--p-mobile, 30px), 30px); } .col:not([style*="--p"]) { padding: 0; } }

.space { height: var(--h, 30px); }
@media (max-width: 767px) { .space { height: min(var(--h, 30px), 40px); } }

/* Decorative graph-paper grid + falling blue dots behind the homepage hero (from the old theme) */
.hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; min-height: 500px; background-color: #fff;
  background-image: linear-gradient(to right, #e9ebf3 1px, transparent 1px), linear-gradient(to bottom, #e9ebf3 1px, transparent 1px);
  background-size: 30px 30px; background-position: -1px -1px; }
.hero-grid i { position: absolute; width: 4px; height: 4px; background: var(--blue); opacity: 0; transform: translateY(-800px); animation: dropIn 1s ease-out forwards; }
@keyframes dropIn { 0% { transform: translateY(-800px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-grid i { animation: none; opacity: 1; transform: none; } }
@media (max-width: 575px) { .hero-grid i { display: none; } }
.hero-grid i:nth-child(1) { animation-delay: 3.8s; left: 148px; top: 148px; }
.hero-grid i:nth-child(2) { animation-delay: 0.8s; left: 178px; top: 148px; }
.hero-grid i:nth-child(3) { animation-delay: 3.1s; left: 208px; top: 148px; }
.hero-grid i:nth-child(4) { animation-delay: 4.6s; left: 238px; top: 148px; }
.hero-grid i:nth-child(5) { animation-delay: 0.7s; left: 148px; top: 178px; }
.hero-grid i:nth-child(6) { animation-delay: 3.2s; left: 178px; top: 178px; }
.hero-grid i:nth-child(7) { animation-delay: 0.7s; left: 208px; top: 178px; }
.hero-grid i:nth-child(8) { animation-delay: 1.8s; left: 238px; top: 178px; }
.hero-grid i:nth-child(9) { animation-delay: 3s; left: calc(100% - (180px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(10) { animation-delay: 1.2s; left: calc(100% - (210px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(11) { animation-delay: 1.7s; left: calc(100% - (240px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(12) { animation-delay: 0.4s; left: calc(100% - (270px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(13) { animation-delay: 1s; left: calc(100% - (300px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(14) { animation-delay: 1.6s; left: calc(100% - (330px - var(--grid-remainder, 0px)) - 4px); top: 567px; }
.hero-grid i:nth-child(15) { animation-delay: 2.7s; left: calc(100% - (180px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(16) { animation-delay: 2.8s; left: calc(100% - (210px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(17) { animation-delay: 2.9s; left: calc(100% - (240px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(18) { animation-delay: 2.9s; left: calc(100% - (270px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(19) { animation-delay: 0.2s; left: calc(100% - (300px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(20) { animation-delay: 4.4s; left: calc(100% - (330px - var(--grid-remainder, 0px)) - 4px); top: 537px; }
.hero-grid i:nth-child(21) { animation-delay: 2.6s; left: calc(100% - (180px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid i:nth-child(22) { animation-delay: 4.7s; left: calc(100% - (210px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid i:nth-child(23) { animation-delay: 4s; left: calc(100% - (240px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid i:nth-child(24) { animation-delay: 1.7s; left: calc(100% - (270px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid i:nth-child(25) { animation-delay: 5s; left: calc(100% - (300px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid i:nth-child(26) { animation-delay: 2.4s; left: calc(100% - (330px - var(--grid-remainder, 0px)) - 4px); top: 507px; }
.hero-grid ~ * { position: relative; z-index: 1; }
.sec:has(.hero-grid) { padding-top: 70px; }
.sec:has(.hero-grid) > .wrap { position: static; }

/* ---------- 4. Header & nav ---------- */
.topbar { background: var(--grad); color: #fff; font-size: 12px; font-weight: 400; line-height: 20px; }
.topbar .wrap { display: flex; justify-content: flex-end; padding-top: 5px; padding-bottom: 5px; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: var(--meta-h); z-index: 100; background: #fff; transition: background-color .2s; }
.topbar { position: sticky; top: 0; z-index: 101; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: block; width: 272px; color: var(--brand); flex: none; }
.logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; height: var(--header-h); padding: 0 25px; font-size: 16px; font-weight: 500; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--blue); text-decoration: none; }
.nav__cta { margin-left: 125px; padding: 8px 19px; border: 1px solid var(--navy); border-radius: 5px; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.nav__cta:hover { background: var(--navy); color: #fff; text-decoration: none; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px 0; list-style: none; background: #fff; box-shadow: 0 8px 15px rgba(0, 0, 0, .1); border-top: 2px solid var(--blue); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 8px 20px; font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.6; }
.nav__sub a:hover { background: var(--mist); text-decoration: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 1100px) and (min-width: 990px) { .nav__link { padding: 0 16px; font-size: 15px; } }
@media (max-width: 989px) {
  .nav__toggle { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h) + var(--meta-h)) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { height: auto; padding: 14px 0; width: 100%; justify-content: space-between; font-size: 18px; border-bottom: 1px solid var(--mist); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 0 0 10px 12px; }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__cta { margin: 20px 0 0; text-align: center; }
  .nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .logo { width: 180px; }
}
.caret { width: 10px; height: 10px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); display: inline-block; }
@media (min-width: 990px) { .caret { display: none; } }
/* Nested flyout inside a dropdown (Company > Calculators). Opens to the left since Company is the last item. */
.nav__subitem { position: relative; }
.nav__sublink { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px; font: 400 14px/1.6 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer; text-align: left; }
.nav__sublink:hover, .nav__subitem.is-open > .nav__sublink { background: var(--mist); }
.nav__chev { width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.nav__sub--fly { top: -10px; left: auto; right: 100%; transform: translateX(-6px); }
.nav__subitem:hover > .nav__sub--fly, .nav__subitem.is-open > .nav__sub--fly { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 989px) {
  .nav__sublink { font-size: 14px; }
  .nav__sublink:hover, .nav__subitem.is-open > .nav__sublink { background: none; color: var(--blue); }
  .nav__chev { transform: rotate(-45deg); margin-right: 4px; }
  .nav__subitem.is-open .nav__chev { transform: rotate(135deg); }
  .nav__sub--fly { display: none; padding: 0 0 6px 14px; }
  .nav__subitem.is-open > .nav__sub--fly { display: block; }
}

/* Resources mega menu: a card the width of the content area, under the header (partials/mega-resources.njk). Leaving it closes it. */
.nav__item--mega { position: static; }
.mega { --mega-w: min(calc(var(--container) - 2 * var(--gutter)), calc(100% - 2 * var(--gutter))); position: absolute; top: 100%; left: 50%; width: var(--mega-w); margin-left: calc(var(--mega-w) / -2); background: #fff; border: 1px solid var(--mist); border-top: 2px solid var(--blue); border-radius: 0 0 14px 14px; box-shadow: 0 24px 48px -20px rgba(12, 29, 64, .3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item--mega:hover > .mega, .nav__item--mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.site-header .mega > .wrap { display: block; height: auto; max-width: none; padding: 28px 32px 24px; }
.mega__grid { display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: 40px; }
.mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.mega__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); line-height: 1.4; margin-bottom: 8px; }
.mega__head .mega__label { margin: 0; }
.mega__all { font-size: 14px; font-weight: 500; color: var(--navy); white-space: nowrap; }
.mega__all::after { content: " →"; }
.mega__all:hover { color: var(--blue); text-decoration: none; }
.mega__posts, .mega__links { list-style: none; margin: 0; padding: 0; }
.mega__post { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 10px; color: var(--ink); }
.mega__post:hover { background: #f8f9ff; text-decoration: none; }
.mega__thumb, .mega__fimg { display: block; aspect-ratio: 2 / 1; border-radius: 8px; overflow: hidden; background-color: var(--ink); background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 16px 16px; }
.mega__thumb img, .mega__fimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mega__ptext { display: grid; gap: 2px; min-width: 0; }
.mega__kicker { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); line-height: 1.4; }
.mega__ptitle { font-size: 15px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__post:hover .mega__ptitle, .mega__tool:hover .mega__ptitle { color: var(--blue); }
.mega__feature { display: block; border: 1px solid var(--mist); border-radius: 12px; overflow: hidden; color: var(--ink); }
.mega__feature:hover { border-color: var(--sky); text-decoration: none; }
.mega__fimg { border-radius: 0; }
.mega__fbody { display: grid; gap: 6px; padding: 16px 18px 18px; }
.mega__ftitle { font-size: 17px; font-weight: 600; line-height: 1.35; }
.mega__fexcerpt { font-size: 14px; line-height: 1.5; color: #5a6688; }
.mega__fcta { font-size: 14px; font-weight: 500; color: var(--blue); }
.mega__more { border-left: 1px solid var(--mist); padding-left: 32px; display: grid; gap: 26px; align-content: start; }
.mega__links a { display: block; padding: 6px 0; font-size: 16px; font-weight: 400; color: var(--ink); line-height: 1.5; }
.mega__links a:hover, .mega__links a[aria-current] { color: var(--blue); text-decoration: none; }
.mega__tool { display: grid; gap: 2px; color: var(--ink); }
.mega__tool:hover { text-decoration: none; }
.mega__tooltext { font-size: 13px; line-height: 1.45; color: #5a6688; }
.mega__band { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding: 14px 14px 14px 22px; border-radius: 10px; background: #f8f9ff; border: 1px solid var(--mist); font-size: 16px; }
.mega__band strong { font-weight: 600; }
.mega__band .btn { padding: 12px 20px 10px; }
@media (max-width: 1250px) and (min-width: 990px) { .mega__grid { grid-template-columns: 1fr 1fr; } .mega__more { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--mist); padding-top: 20px; grid-template-columns: 1fr 1fr; } }
@media (max-width: 989px) {
  .mega { position: static; width: auto; margin: 0; border-radius: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .nav__item--mega.is-open > .mega { display: block; }
  .site-header .mega > .wrap { padding: 4px 0 14px 12px; }
  .mega__grid { grid-template-columns: 1fr; gap: 18px; }
  .mega__post { grid-template-columns: 1fr; padding: 6px 0; margin: 0; }
  .mega__thumb, .mega__kicker { display: none; }
  .mega__ptitle { font-size: 14px; font-weight: 400; }
  .mega__fimg, .mega__fexcerpt { display: none; }
  .mega__more { border: 0; padding: 0; }
  .mega__links a { font-size: 14px; }
  .mega__band { display: none; }
}

/* ---------- 5. Footer ---------- */
/* Dark sitemap footer with newsletter band (partials/footer.njk) */
.site-footer { background: var(--ink); color: #c9d2ea; padding: 56px 0 36px; font-size: 15px; line-height: 1.5; }
.site-footer a { color: #c9d2ea; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__news { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; margin-bottom: 56px; padding: 30px 36px; border-radius: var(--radius); background: var(--navy); }
.footer__news::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to left, #000, transparent); mask-image: linear-gradient(to left, #000, transparent); }
.footer__newsh { margin: 0 0 4px; font-size: 24px; font-weight: 600; line-height: 1.3; color: #fff; }
.footer__news p { margin: 0; font-size: 15px; }
.footer__form { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.footer__form input { width: 460px; max-width: 100%; min-width: 0; padding: 12px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; background: rgba(255,255,255,.08); color: #fff; font: 400 16px/1.2 var(--font); }
.footer__form input::placeholder { color: #8f9bc0; }
.footer__form input:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(149, 204, 255, .25); }
.footer__form .btn { padding: 12px 22px 10px; }
.footer__form .btn[disabled] { opacity: .6; cursor: default; }
.footer__formmsg { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--sky); }
.footer__formmsg:empty { display: none; }
.footer__top { display: grid; grid-template-columns: 240px 1fr; gap: 56px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { margin: 0; font-size: 14px; color: #8f9bc0; max-width: 26ch; }
.footer__logo { display: block; width: 200px; color: #fff; }
.footer__logo:hover { color: #fff; }
.footer__logo svg { display: block; width: 100%; height: auto; fill: currentColor; }
.footer__badge { width: 88px; border-radius: 6px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; }
.footer__h { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: 0; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li a { display: block; padding: 4px 0; }
.footer__cols .is-ext::after { content: " ↗"; font-size: .85em; opacity: .7; }
.footer__bottom { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.socket__links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; }
.socket__copy { margin: 0; font-size: 12px; line-height: 1.5; color: #8f9bc0; max-width: 90ch; }
.footer__trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer__certchip { display: block; padding: 8px 12px; border-radius: 10px; background: #fff; }
.footer__certs { display: block; width: 230px; max-width: 100%; height: auto; }
.socket__social { display: flex; gap: 14px; }
.socket__social a { display: block; width: 24px; height: 24px; color: #fff; }
.socket__social svg { width: 100%; height: 100%; fill: currentColor; }
@media (max-width: 1200px) and (min-width: 990px) { .footer__form input { width: 340px; } }
@media (max-width: 989px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__news { grid-template-columns: 1fr; padding: 26px 24px; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__trust { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__form input { width: 100%; }
}

/* Breadcrumbs on library pages (partials/breadcrumbs.njk) */
.crumbs { margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: #595959; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin: 0 10px; color: #8a93ad; }
.crumbs a { color: #595959; font-weight: 400; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Glossary search hides whole letter groups; keep them hidden despite their grid display */
.r-letter[hidden] { display: none; }
/* Glossary: the term Enter jumps to flashes briefly (main.js, data-r-search) */
@keyframes r-hit { from { background-color: rgba(21, 129, 230, .18); } to { background-color: transparent; } }
.r-letter li.is-hit > a { animation: r-hit 1.6s ease-out; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .r-letter li.is-hit > a { animation: none; outline: 2px solid var(--blue); } }

/* ---------- 6. Components ---------- */
/* Icon font: <span class="ico" data-i="&#xe82c;"> */
.ico::before { content: attr(data-i); font-family: "bloom-icons"; font-style: normal; font-weight: normal; speak: never; line-height: 1; display: inline-block; }

/* Headings block */
.hd { margin: 0 0 30px; }
.hd > *:last-child { margin-bottom: 0; }
.hd.center { margin-left: auto; margin-right: auto; max-width: 1102px; }
.hd.narrow { max-width: 810px; } .hd.medium { max-width: 920px; }
.hd.center.narrow, .hd.center.medium { margin-left: auto; margin-right: auto; }
.hd-sub { font-size: 18px; line-height: 1.64; margin-top: 1em; }
.hd-sub:first-child { margin: 0 0 .6em; }
.hd.center .hd-sub { max-width: 902px; margin-left: auto; margin-right: auto; }
.hd-sub p:last-child { margin-bottom: 0; }
@media (max-width: 575px) { .hd.center { text-align: left; } }

/* Rich text */
.prose { margin: 0 0 25px; }
.prose > *:last-child { margin-bottom: 0; }
.prose.narrow { max-width: 854px; margin-left: auto; margin-right: auto; }
.prose.lead { font-size: 20px; }
.prose.small { font-size: 15px; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.2em; }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 4px solid var(--blue); font-size: 20px; }
@media (max-width: 767px) { .prose .center { text-align: left; } }

/* Buttons */
.btn-row { margin: 0 0 25px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; } .btn-row.right { justify-content: flex-end; }
@media (max-width: 575px) { .btn-row.center { justify-content: flex-start; } }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 20px 13px; border: 1px solid transparent; border-radius: 5px; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); color: #fff; }
.btn--sky { background: var(--sky); color: var(--ink); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); }
.btn--outline { background: transparent; color: var(--navy); border: 3px solid var(--navy); padding: 12px 20px; font-weight: 700; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: var(--ink); color: #fff; border: 2px solid var(--blue); padding: 10px 20px; font-weight: 700; }
.btn--outline-light:hover { background: var(--blue); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 18px; }
.btn--block { width: 100%; justify-content: center; }
.btn .ico { font-size: 1.1em; }

/* Feature (icon box) */
.feature { display: flex; gap: 20px; margin: 0 0 25px; background: var(--bg, transparent); }
.feature--top { flex-direction: column; }
.feature--right { flex-direction: row-reverse; text-align: right; }
.feature__icon .ico { display: grid; place-items: center; width: calc(var(--ifs, 20px) * 1.9); height: calc(var(--ifs, 20px) * 1.9); border-radius: 50%; background: var(--ibg, transparent); color: var(--ic, var(--blue)); font-size: var(--ifs, 20px); }
.feature__icon:empty { display: none; }
.feature__title { margin: 0 0 .3em; }
.feature__title a { color: inherit; }
.feature .prose { margin: 0; }
.feature__body { min-width: 0; }
/* Icon boxes at smaller widths: same breakpoints as the live (Enfold) site.
   Under 1200px, icon boxes in one-third columns put the icon above the title;
   under 480px every plain left icon box does. Ringed checklist items stay side by side. */
@media (max-width: 1199.98px) {
  .row[style*="--cols:4fr 4fr 4fr"] .feature--left { flex-direction: column; gap: 20px; }
}
@media (min-width: 768px) and (max-width: 989px) {
  .row[style*="--cols:4fr 4fr 4fr"] .feature--left .feature__icon { margin-bottom: 15px; }
}
@media (max-width: 991.98px) {
  .row[style*="--cols:4fr 4fr 4fr"] .feature--left:not(.feature--ring) .feature__title.t-md { font-size: 24px; }
}
@media (max-width: 479.98px) {
  .feature--left:not(.feature--ring) { flex-direction: column; gap: 20px; }
}
.feature__title { overflow-wrap: break-word; }

/* Product cards on the homepage and industry pages (#services): live sizes and breakpoints */
#services .col--link h3.t-lg { font-size: 33px; line-height: 1.2; overflow-wrap: break-word; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  #services .row[style*="--cols:4fr 4fr 4fr"] > .col { padding: 18px 20px; }
}
@media (max-width: 991.98px) {
  #services .row[style*="--cols:4fr 4fr 4fr"] { grid-template-columns: 1fr; }
}

.icon-block { margin: 0 0 20px; color: var(--ic, var(--blue)); font-size: var(--ifs, 30px); line-height: 1; }
.icon-block.center { text-align: center; } .icon-block.right { text-align: right; }
.icon-block.icon-ring .ico { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; border: 1px solid var(--ibd, currentColor); background: var(--ibg, transparent); }
.icon-block a { color: inherit; }

/* Images & embeds */
.img { margin: 0 0 25px; }
.img img { border-radius: var(--r, 0); }
.img.center img { margin: 0 auto; } .img.right img { margin-left: auto; }
.img figcaption { font-size: 14px; margin-top: 8px; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 25px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }

/* Promo link rows (e.g. industries list) */
.promo { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--mist); color: inherit; }
.promo:hover { text-decoration: none; }
.promo .prose { margin: 0; } .promo h4 { font-size: 28px; margin: 0 0 .2em; }
.promo__arrow { flex: none; width: 36px; height: 20px; background: currentColor; color: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M0 9h32l-7-7 1.4-1.4L35.8 10l-9.4 9.4L25 18l7-7H0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M0 9h32l-7-7 1.4-1.4L35.8 10l-9.4 9.4L25 18l7-7H0z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.promo:hover .promo__arrow { transform: translateX(6px); }

/* Logo marquee */
.logos { margin: 0 0 25px; }
.logos__title { text-align: center; margin-bottom: 25px; }
.logos__track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track ul { display: flex; flex: none; gap: 0; list-style: none; margin: 0; padding: 0; animation: marquee 45s linear infinite; }
.logos__track li { width: 280px; flex: none; padding: 0 10px; }
.logos__track img { width: 100%; height: auto; }
.logos__track:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .logos__track ul { animation: none; } .logos__track { overflow-x: auto; } }
@media (max-width: 767px) { .logos__track li { width: 180px; } }

/* Testimonials */
.quotes { margin: 0 0 25px; }
.quote { margin: 0 0 25px; padding: 70px 100px; background: #f5f5f5; border-radius: var(--radius); color: var(--ink); display: grid; grid-template-columns: 1fr 253px; gap: 20px 70px; }
.quote blockquote { margin: 0; grid-column: 1; }
.quote blockquote > * { font-size: var(--qfs, 28px); font-weight: var(--qfw, 600); line-height: 1.45; margin: 0 0 .6em; }
.quote blockquote > *:last-child { margin-bottom: 0; }
.quote figcaption { display: contents; }
.quote__img { grid-column: 2; grid-row: 1; }
.quote__img img { width: 253px; height: 253px; object-fit: cover; border-radius: 50%; border: 1px solid var(--ink); }
.quote__who { grid-column: 1; font-size: 18px; } .quote__who strong { display: block; font-weight: 600; } .quote__who span { display: block; }
.quote .btn, .quote .btn-row { grid-column: 2; justify-self: center; align-self: center; margin: 0; }
.quotes--slider { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; scrollbar-width: none; }
.quotes--slider::-webkit-scrollbar { display: none; }
.quotes--slider .quote { scroll-snap-align: start; margin: 0; }
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.sec--light .slider-dots button { background: rgba(12,29,64,.25); }
.slider-dots button[aria-current="true"] { background: var(--sky); }
@media (max-width: 989px) { .quote { grid-template-columns: 1fr; padding: 40px 30px; } .quote__img { grid-column: 1; grid-row: auto; } .quote__img img { width: 120px; height: 120px; } .quote .btn, .quote .btn-row { grid-column: 1; justify-self: start; } .quote blockquote h4, .quote blockquote p { font-size: 20px; } }

/* Tabs */
.tabs { margin: 0 0 25px; }
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 30px; }
.tabs__tab { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 40px; background: transparent; color: inherit; font: 500 16px/1.2 var(--font); cursor: pointer; }
.sec--light .tabs__tab { border-color: var(--line); }
.tabs__tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tabs__panel { padding: 40px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); max-width: 760px; }
.sec--light .tabs__panel { background: var(--mist); border: 0; }
.tabs__panel h3 { font-size: 36px; }
@media (max-width: 767px) { .tabs__list { justify-content: flex-start; } .tabs__panel { padding: 25px; } }
/* Underlined text tabs (homepage "Why Bloom"), matching the WordPress Enfold tab container */
.tabs--line .tabs__list { gap: 0; margin: 0 0 120px; }
.tabs--line .tabs__tab { gap: 10px; padding: 10px 22px 26px; border: 0; border-bottom: 4px solid transparent; border-radius: 0; background: transparent; color: #fff; font: 700 20px/1.2 var(--font); transition: border-color .2s; }
.tabs--line .tabs__tab .ico { color: var(--blue); font-size: 16px; }
.tabs--line .tabs__tab:hover { border-bottom-color: rgba(21, 129, 230, .45); }
.tabs--line .tabs__tab[aria-selected="true"] { background: transparent; border-color: transparent; border-bottom-color: var(--blue); }
.tabs--line .tabs__panel { max-width: 549px; padding: 50px 0 130px 115px; border: 0; border-radius: 0; background: none; animation: tabs-fade .4s ease; }
/* Stack all panels in one grid cell so the block is always as tall as the tallest tab;
   the section height (and the bottom-pinned photo) then stays put when tabs switch, like live */
.tabs--line .tabs__panels { display: grid; }
.tabs--line .tabs__panel { grid-area: 1 / 1; }
.tabs--line .tabs__panel[hidden] { display: block; visibility: hidden; }
.tabs--line .tabs__panel h3 { font-size: 33px; font-weight: 500; line-height: 1.2; }
.tabs--line .tabs__panel p { font-size: 18px; line-height: 1.65; }
.tabs--line .tabs__panel .btn--outline-light { border-color: transparent; }
.tabs--line .tabs__panel .btn--outline-light:hover { background: var(--blue); }
@keyframes tabs-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tabs--line .tabs__panel { animation: none; } }
/* Photo sits at its natural size in the bottom-right corner, so the heading and tabs stay on plain navy */
.why-bloom { background-size: auto; background-position: 100% 100%; background-repeat: no-repeat; }
.why-bloom .hd { max-width: 900px; margin-bottom: 50px; } .why-bloom .hd h2 { text-wrap: wrap; }
@media (max-width: 1200px) { .why-bloom { background-size: 80% auto; } .tabs--line .tabs__tab { padding: 10px 14px 22px; font-size: 18px; } .tabs--line .tabs__panel { padding-left: 50px; } }

/* Accordion (FAQs) */
.accordion { margin: 0 0 25px; }
.acc + .acc { margin-top: -1px; }
.acc summary { list-style: none; cursor: pointer; padding: 9px 3px 9px 35px; border: 1px solid #ebebeb; background: #fff; font-weight: 600; font-size: 16px; line-height: 1.64; color: var(--ink); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before, .acc summary::after { content: ""; position: absolute; background: var(--blue); }
.acc summary { background-image: linear-gradient(var(--blue), var(--blue)), linear-gradient(var(--blue), var(--blue)); background-size: 9px 3px, 3px 9px; background-position: 14px 50%, 17px 50%; background-repeat: no-repeat; }
.acc summary::before { left: 11px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; box-sizing: border-box; background: none; border: 1px solid var(--blue); }
.acc summary::after { display: none; }
.acc[open] summary { background-size: 9px 3px, 0 0; }
.acc__body { padding: 12px 30px 11px; background: #f8f9ff; font-size: 18px; }
.page-faqs .sec > .wrap { max-width: calc(778px + 2 * var(--gutter)); }

/* Icon list */
.icon-list { list-style: none; padding: 0; margin: 0 0 25px; }
.icon-list li { display: flex; gap: 16px; margin-bottom: 14px; }
.icon-list__icon { flex: none; color: var(--ic, var(--blue)); }
.icon-list__icon .ico { display: grid; place-items: center; width: var(--isz, 32px); height: var(--isz, 32px); border-radius: 50%; background: var(--ibg, transparent); border: var(--ibd, 0); font-size: var(--ifs, 18px); }
.icon-list__title { margin: 0; font-weight: 500; }
.icon-list .prose { margin: 0; } .icon-list .prose:empty { display: none; }

/* Team: round 200px photo on the left, name/title/bio on the right (as on the old site) */
.person { display: grid; grid-template-columns: 200px 1fr; column-gap: 30px; align-items: start; margin: 0 0 25px; }
.person__img { grid-row: 1 / span 4; }
.person__img img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.person__name { font-size: 20px; margin: 7px 0 8px; }
.person__job { color: var(--blue); font-weight: 500; margin: -7px 0 0; padding: 4px 0 15px; font-size: 16px; line-height: 1.5; }
.person .prose { grid-column: 2; }
.person__social { grid-column: 2; }
.person__social a { font-size: 20px; margin-right: 10px; }
@media (max-width: 1100px) { .person { grid-template-columns: 120px 1fr; column-gap: 20px; } .person__img img { width: 120px; height: 120px; } }
@media (max-width: 575px) { .person { grid-template-columns: 1fr; } .person__img { grid-row: auto; margin-bottom: 12px; } .person__img img { width: 160px; height: 160px; } }

/* Stats */
.stat { margin: 0 0 25px; }
.stat__num { font-size: var(--fs, 56px); font-weight: 600; line-height: 1.1; color: var(--c, inherit); margin: 0 0 .2em; }
.stat__label { margin: 0; }

/* Gallery */
.gallery { list-style: none; padding: 0; margin: 0 0 25px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* Cards (post/term grids) */
.cards { list-style: none; padding: 0; margin: 0 0 25px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--mist); display: flex; flex-direction: column; color: var(--ink); transition: box-shadow .2s, transform .2s; position: relative; }
.card:hover { box-shadow: 0 12px 30px rgba(12, 29, 64, .12); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__date { font-size: 14px; color: #5a6477; }
.card__title { font-size: 18px; line-height: 1.4; margin: 0; font-weight: 600; }
.card__title a { color: inherit; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.card > h3 { padding: 16px 20px; margin: 0; } .card > h3 a { color: inherit; }
.sec--dark .card a:not(.btn) { color: var(--ink); }
.sec--dark .news__lead a { color: #fff; }
.news__lead .card__more { margin-top: 10px; }
.news__lead .card__date { color: rgba(255,255,255,.8); }

/* Homepage "Recent News" block */
.news { display: grid; grid-template-columns: 830fr 486fr; gap: 20px; }
.news__lead { position: relative; border-radius: 10px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; background: var(--ink) center / cover no-repeat; }
.news__lead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,29,64,0) 30%, rgba(12,29,64,.9) 85%); }
.news__lead > * { position: relative; }
.news__lead h3 { font-size: 28px; line-height: 1.35; margin: 6px 0 10px; }
.news__lead h3 a { color: #fff; }
.news__lead h3 a::after { content: ""; position: absolute; inset: 0; }
.news__lead p { font-size: 15px; margin: 0 0 6px; }
.news__lead .card__more { color: #fff; }
.news__side { display: grid; gap: 20px; align-content: start; }
.news__side .card { padding: 0; }
@media (max-width: 989px) { .news { grid-template-columns: 1fr; } .news__lead { min-height: 400px; } }

/* Posts index pages */
.post-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.post-filters a { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 500; }
.post-filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Forms (non-HubSpot fallback) */
.form { display: grid; gap: 16px; margin: 0 0 25px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9cdd8; border-radius: 6px; width: 100%; }
.form textarea { min-height: 140px; }
.form button { justify-self: start; }
.hs-form-frame, .hbspt-form { min-height: 200px; }

/* Legacy fallback for anything the converter didn't recognise */
.legacy { margin: 0 0 25px; }
.code-embed { margin: 0 0 25px; }

/* ---------- 7. Posts ---------- */
.post { padding: 50px 0 80px; }
.post__grid { display: grid; grid-template-columns: minmax(0, 876fr) minmax(0, 418fr); column-gap: 40px; align-items: start; }
.post__meta { font-size: 16px; color: #595959; margin: 0 0 10px; }
.post__title { font-size: 50px; line-height: 1.3; margin: 0 0 25px; max-width: 800px; }
.post__img { width: 100%; border-radius: 10px; margin: 0 0 30px; }
.post__body { font-size: 20.7px; line-height: 1.7; }
.post__body .prose { font-size: inherit; }
.post__body p { margin: 0 0 1.3em; }
.post__body ul, .post__body ol { margin-bottom: 1.2em; }
.post__body blockquote { margin: 0 0 1em; padding: 0 0 0 20px; border-left: 7px solid var(--blue); font-size: 25.5px; line-height: 1.5; color: #595959; }
.post__body blockquote p { margin: 1.3em 0; }
.post__body img { border-radius: 10px; margin: 1.5em 0; max-width: 100%; }
.post__body a:not(.btn) { color: var(--blue); }
.post__side { position: sticky; top: calc(var(--header-h) + 20px); }
.grow-box { background: var(--sky); border-radius: 10px; padding: 34px 42px; color: var(--ink); }
.grow-box__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #3cb878; color: #0c1d0c; font-size: 31px; margin-bottom: 13px; }
.grow-box__title { font-size: 33px; font-weight: 500; line-height: 1.27; margin: 0 0 10px; }
.grow-box p { font-size: 18px; }
.grow-box__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.grow-box__btns .btn { padding: 8px 30px 6px; border-radius: 6px; font-size: 16px; line-height: 29.5px; }
.author-box { display: grid; grid-template-columns: 150px 1fr; gap: 27px; align-items: start; margin: 40px 0 0; padding-top: 20px; }
.author-box img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.author-box__name { font-size: 25px; font-weight: 600; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.author-box__name a { color: var(--blue); display: inline-flex; }
.author-box__bio { font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 989px) { .post__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; } .post__side { position: static; } }
@media (max-width: 575px) { .post__title { font-size: 32px; } .post__body { font-size: 18px; } .post__body blockquote { font-size: 21px; } .author-box { grid-template-columns: 90px 1fr; } .author-box img { width: 90px; height: 90px; } }

/* CTA band used at bottom of many pages */
.cta-band { background: var(--sky); padding: 90px 0; text-align: center; }
.cta-band h2 { font-size: 46px; margin-bottom: .4em; }
.cta-band p { max-width: 700px; margin: 0 auto 1.4em; }


/* Section decorations carried over from the old theme */
.sec--bb { border-bottom: 4px solid var(--blue); }
.sec--corners { overflow: hidden; }
.sec--corners::before, .sec--corners::after { content: ""; position: absolute; width: 589px; height: 217px; max-width: 70%; pointer-events: none; background-repeat: no-repeat; }
.sec--corners::before { top: 0; right: 0; background-image: url("/wp-content/themes/bloom/assets/img/gridbg.png"); background-position: top right; background-size: 72% auto; }
.sec--corners::after { bottom: 0; left: 0; background-image: url("/wp-content/themes/bloom/assets/img/gridbg2.png"); background-position: bottom left; background-size: 72% auto; }
.sec--corners.sec--blue::after { background-image: url("/wp-content/themes/bloom/assets/img/gridbg2-blue.png"); }
.sec--corners.sec--blue::before { display: none; }
.sec--corners > .wrap { position: relative; z-index: 1; }
.img.float-right { float: right; width: var(--w, 50%); margin: 0 0 20px 30px; }
.img.float-left { float: left; width: var(--w, 50%); margin: 0 30px 20px 0; }
.col:has(> .img[class*="float-"])::after { content: ""; display: table; clear: both; }
@media (max-width: 767px) { .img.float-right, .img.float-left { float: none; width: 100%; margin: 0 0 20px; } }
.quote--noimg { grid-template-columns: 1fr; padding: 40px 50px; background: var(--mist); }
.quote--noimg .btn, .quote--noimg .btn-row { grid-column: 1; justify-self: start; }
.quotes:has(.quote--noimg) { background: transparent; }
.col[style*="--bg"] .quote { background: transparent; padding: 0; color: inherit; grid-template-columns: 1fr; }
.col.on-dark .quote, .col[style*="--bg:#6"] .quote, .col[style*="--bg:#5"] .quote { color: #fff; }
.post__body h2:not([class]) { font-size: 32px; margin-top: 1.2em; } .post__body h3:not([class]) { font-size: 24px; } .post__body h4:not([class]) { font-size: 20px; }
@media (max-width: 575px) { .post__body h2 { font-size: 26px; } .post__body h3 { font-size: 21px; } }

/* Column split into side-by-side parts (e.g. text left, image right inside one card) */
.split { display: grid; grid-template-columns: var(--cols, 1fr 1fr); column-gap: 0; align-items: start; }
.split__part > *:last-child { margin-bottom: 0; }
.split__part .img { margin-bottom: 0; }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; row-gap: 20px; } .split__part:has(.img) { order: -1; } }

/* Section colour overlay (e.g. white fade over a hero photo) */
.sec[style*="--ov"]::before { content: ""; position: absolute; inset: 0; background: var(--ov); opacity: var(--ovo, 1); pointer-events: none; }
.sec[style*="--ov"] > .wrap { position: relative; z-index: 1; }
@media (max-width: 767px) { .sec[style*="--bgsize:contain"], .sec[style*="--bgsize:auto 100%"] { background-size: cover; } }

.topbar .wrap { justify-content: center; }
.feature__icon .ico { width: var(--isz, calc(var(--ifs, 20px) * 1.9)); height: var(--isz, calc(var(--ifs, 20px) * 1.9)); flex: none; }
.feature--ring .feature__icon .ico { border: 2px solid transparent; background: linear-gradient(var(--ibg, #fff), var(--ibg, #fff)) padding-box, var(--grad) border-box; }
.feature--ring .feature__icon .ico::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Responsive visibility carried over from the old page builder */
@media (min-width: 990px) { .hide-lg { display: none !important; } }
@media (min-width: 768px) and (max-width: 989px) { .hide-md { display: none !important; } }
@media (min-width: 480px) and (max-width: 767px) { .hide-sm { display: none !important; } }
@media (max-width: 479px) { .hide-xs { display: none !important; } }

/* Text blocks drawn as a bordered/filled box */
.prose--box { background: var(--bg, transparent); border: var(--bd, 0); border-radius: var(--r, 0); padding: var(--p, 0); }
.prose .btn { margin-top: 4px; text-decoration: none; }
.prose a.btn--primary { color: #fff; padding: 10px 30px 9px; border-radius: 6px; }
.prose a.btn--primary:hover { color: #fff; }

/* SVG icons (envelope etc.) */
.ico--svg { display: inline-grid; place-items: center; }
.ico--svg svg { width: .6em; height: .6em; }
.feature__icon .ico--svg { font-size: var(--ifs, 30px); }
.feature__icon .ico--svg svg { width: 50%; height: 50%; }

/* ---------- Listing pages (news, media room, resources) ---------- */
.listing { --pt: 50px; --pb: 90px; }
.sec.listing { padding: 50px 0 90px; }
.feature-post { display: grid; grid-template-columns: 460fr 761fr; gap: 33px; align-items: center; background: #f8f9ff; border-radius: 10px; padding: 40px; margin: 0 0 60px; }
.feature-post__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; }
.feature-post__title { font-size: 28px; line-height: 1.3; margin: 4px 0 10px; }
.feature-post__title a, .pcard__title a { color: var(--ink); }
.feature-post__body p { font-size: 16px; margin: 0 0 14px; }
.feature-post__more { font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 43px 43px; }
.pcard { background: #f8f9ff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.pcard__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.pcard__body { padding: 30px 40px 40px; display: flex; flex-direction: column; flex: 1; }
.pcard__date { display: block; font-size: 16px; color: #595959; margin-bottom: 4px; }
.pcard__title { font-size: 18px; line-height: 1.45; font-weight: 600; margin: 0 0 12px; }
.pcard__excerpt { font-size: 16px; margin: 0; }
.pcard__more { margin-top: auto; align-self: flex-start; font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pcard__more:hover { color: var(--blue); text-decoration: none; }
.pcard:hover .pcard__title a { color: var(--blue); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 50px; font-size: 15px; }
.pager__label { margin-left: auto; color: #595959; font-size: 13px; }
.pager a { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e1e1e1; border-radius: 50%; color: var(--ink); font-size: 13px; }
.pager a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager a:hover { text-decoration: none; border-color: var(--navy); }
@media (max-width: 989px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 30px; } .feature-post { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } .feature-post { padding: 24px; } .pcard__body { padding: 24px; } }

/* Decorative grids from the old theme */
.banner-grid { position: absolute; left: -30px; bottom: -60px; width: 50%; height: 217px; background: url("/wp-content/themes/bloom/assets/img/gridbg2.png") top right / 100% auto no-repeat; pointer-events: none; z-index: 1; }
.sec--banner { overflow: hidden; } /* keep the corner grid inside the banner so it doesn't paint a white strip over the next section */
.sec--banner + .sec { position: relative; }
@media (max-width: 575px) { .banner-grid { display: none; } }
@media (min-width: 480px) { .post { background: url("/wp-content/themes/bloom/assets/img/gridbg-blog.png") 0 300px / auto 130px no-repeat; } }
.grow-box { background: var(--sky) url("/wp-content/themes/bloom/assets/img/bloom-sidebar-grid.png") bottom center / 100% auto no-repeat; }

/* Photo gallery: large image + clickable thumbnails (Life at Bloom) */
.gallery2 { margin: 0 0 25px; }
.gallery2 button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gallery2__big { border: 1px solid #ebebeb !important; padding: 7px !important; background: #fff !important; margin-bottom: 0; border-radius: 2px 2px 0 0; }
.gallery2__big img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery2__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--thumbs, 7), 1fr); }
.gallery2__thumbs button { border: 1px solid #ebebeb; background: #fff; }
.gallery2__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .15s; }
.gallery2__thumbs img { opacity: .55; }
.gallery2__thumbs button:hover img, .gallery2__thumbs button[aria-current="true"] img { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(12, 29, 64, .85); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; display: block; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) { .gallery2__thumbs { grid-template-columns: repeat(5, 1fr); } }

/* Homepage: header sits transparently over the hero grid until the page scrolls (like the old site) */
.has-transparent-header .site-header:not(.is-scrolled) { background: transparent; }
.has-transparent-header .site-header { transition: background-color .2s, box-shadow .2s; }
.has-transparent-header main > .sec:first-child { margin-top: calc(-1 * var(--header-h)); padding-top: calc(70px + var(--header-h)); }
.has-transparent-header.nav-open .site-header { background: #fff; }
/* Homepage hero spacing matched to the old site */
.sec:has(.hero-grid) .hd { margin-bottom: 14px; }
.sec:has(.hero-grid) .btn-row { margin-bottom: 0; }
.sec:has(.hero-grid) .space { height: 83px; }

@media (max-width: 1250px) and (min-width: 990px) { .nav__cta { margin-left: 30px; } .logo { width: 220px; } }
html { scroll-padding-top: calc(var(--header-h) + var(--meta-h) + 20px); }

/* About page: department team strips that scroll sideways */
.team-strip { position: relative; }
.team-strip__track { list-style: none; margin: 0; padding: 0 0 10px; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c9cdd8 transparent; cursor: grab; }
.team-strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.tcard { flex: 0 0 auto; width: 214px; padding: 0 20px 0 0; text-align: center; scroll-snap-align: start; }
.tcard img { width: 154px; height: 154px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; background: #fff; pointer-events: none; }
.tcard__name { font-size: 20px; font-weight: 600; margin: 0 0 2px; line-height: 1.3; }
.tcard__job { font-size: 16px; margin: 0; line-height: 1.4; }
.team-strip__btn { position: absolute; top: 60px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e1e1e1; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(12,29,64,.12); }
.team-strip__btn--prev { left: -16px; } .team-strip__btn--next { right: -16px; }
@media (max-width: 767px) { .tcard { width: 160px; } .tcard img { width: 120px; height: 120px; } .team-strip__btn { display: none; } }
.sec.team-strip-sec { padding-top: 20px; padding-bottom: 70px; }

/* Equal-height side-by-side cards: stretch both, centre content vertically when asked */
.row--equal > .col { align-self: stretch; }
.row--equal > .col.v-mid { display: flex; flex-direction: column; justify-content: center; }
.row--equal > .col.v-end { display: flex; flex-direction: column; justify-content: flex-end; }
@media (max-width: 767px) { .row[style*="max-width"] { max-width: none !important; margin-left: 0 !important; } }
.page-faqs h1 { font-size: 50px; font-weight: 500; }
.page-faqs h2 { font-size: 33px; font-weight: 500; }
.page-faqs #banner { --pt: 100px !important; --pb: 139px !important; }
@media (max-width: 767px) { .page-faqs h1 { font-size: 36px; } .page-faqs h2 { font-size: 26px; } }
/* WordPress "plain" page template (FAQs + legal pages) */
.page-plain main { border-top: 1px solid #ebebeb; background-color: #fff; }
@media (min-width: 480px) { .page-plain main { background-image: url("/wp-content/uploads/2025/09/gridbg-blog-top-left.png"); background-repeat: no-repeat; background-size: auto 217px; background-position: 0 0; } }
.page-plain main > .sec:not(.sec--blue) { --bg: transparent !important; }
.page-plain .sec--plain > .wrap { max-width: calc(878px + 2 * var(--gutter)); }
.page-plain .sec--plain .prose { font-size: 18px; font-weight: 300; line-height: 1.65; }
.page-plain .sec--plain .prose p { margin: 1.3em 0; }
.page-plain .sec--plain .prose strong { font-weight: 500; }
.page-plain .sec--plain h1 { font-size: 50px; font-weight: 600; line-height: 1.2; text-align: center; margin: 0; }
.page-plain .sec--plain h2, .page-plain .sec--plain h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin: 30px 0 10px; }
@media (max-width: 767px) { .page-plain .sec--plain h1 { font-size: 36px; } }
.page-plain .sec--plain .hd { margin-bottom: 62px; }
/* Credit term (glossary) pages */
.term { padding: 50px 0; }
.term__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 50px; align-items: start; }
@media (min-width: 992px) { .term__grid { padding-right: calc(var(--gutter) + 50px); } }
.term__side img { display: block; width: 100%; height: auto; }
.term__title { font-size: 42px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 0 0 20px; padding: 0 0 15px; overflow-wrap: break-word; }
.term__body .prose { font-size: 18px; font-weight: 300; line-height: 1.35; color: var(--ink); }
.term__body .prose h2 { font-size: 33px; font-weight: 600; line-height: 1.2; margin: 0 0 10px; }
.term__body .prose * + h2 { margin-top: 49.5px; }
.term__body .prose table + h2 { margin-top: 0; }
.term__body .prose h3 { font-size: 24px; font-weight: 500; line-height: 1.2; margin: 36px 0 8px; }
.term__body .prose p { margin: .85em 0; }
.term__body .prose strong, .term__body .prose b { font-weight: 700; }
.term__body .prose ul, .term__body .prose ol { margin: 0 0 20px 7px; padding: 0; }
.term__body .prose li { margin: 0 0 0 18px; padding: 8px 0; }
.term__body .prose img { display: block; width: 100%; height: auto; margin: 10px 0; padding: 10px 0; }
.term__body .prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: 18px; }
.term__body .prose td, .term__body .prose th { padding: 9px 12px; line-height: 1.35; border: 1px solid #ebebeb; vertical-align: top; text-align: left; color: #595959; }
.term__body .prose tr:nth-child(odd) { background: #f8f8f8; }
.term__body .prose tr:nth-child(odd) td { color: var(--ink); }
.term__body .prose td b, .term__body .prose td strong { color: var(--blue); font-weight: 700; }
.term__body .prose hr { border: 0; border-top: 1px solid #ebebeb; margin: 30px 0; }
@media (max-width: 991px) { .term__grid { grid-template-columns: minmax(0, 1fr); } .term__side { order: -1; max-width: 600px; } }
@media (max-width: 767px) { .term__title { font-size: 32px; } .term__body .prose h2 { font-size: 26px; } .term__body .prose h3 { font-size: 21px; } .term__body .prose table { display: block; overflow-x: auto; } }
/* Cookie bar (matches the WordPress/Enfold bar) */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: rgba(0,0,0,.85); color: rgba(255,255,255,.9); padding: 19.8px var(--gutter); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 300; }
.cookie-bar p { margin: 0 8px 0 0; font-size: 12px; }
.cookie-bar__btn { font: inherit; font-size: 12px; font-weight: 400; padding: 11.2px 13.2px; border-radius: 3px; cursor: pointer; background: #fff; }
.cookie-bar__accept { color: #000; border: 2px solid transparent; }
.cookie-bar__disable { color: #ff75b5; border: 2px solid #fff; }
/* Thank-you pages */
.thanks .hd { margin-bottom: 40px; }
.thanks__more { text-align: center; margin-top: 40px; }
/* Images placed in rich text (Sanity) */
.prose .pimg { margin: 10px 0 20px; }
.prose .pimg img { display: block; max-width: 100%; height: auto; border-radius: 3px; }
.prose .pimg figcaption { font-size: 14px; color: #595959; margin-top: 6px; }
.prose .pimg--right { float: right; margin: 0 0 15px 25px; }
.prose .pimg--left { float: left; margin: 0 25px 15px 0; }
.prose .pimg--center { margin-left: auto; margin-right: auto; text-align: center; }
.prose .pimg--center img { margin: 0 auto; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 575px) { .prose .pimg--right, .prose .pimg--left { float: none; margin: 10px auto 20px; } }
.person__bio { font-size: 16px; }
/* Resource landing pages: content left, form card right (matches WordPress) */
.resource { padding: 50px 0 70px; }
.resource__grid { display: grid; grid-template-columns: minmax(0, 752fr) 462fr; gap: 120px; align-items: start; }
.resource__title { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0; }
.resource__sub { color: var(--blue); font-weight: 600; font-size: 18px; line-height: 1.64; margin: 5px 0 15px; }
.resource__body .prose { color: #444; }
.resource__body .hd { margin: 30px 0 10px; }
.resource__body .btn-row { margin: 10px 0 30px; }
.resource__side { background: #e9ebf3; border-radius: 20px; padding: 50px 35px 35px; scroll-margin-top: 140px; }
.resource__form-title { font-size: 33px; font-weight: 500; line-height: 1.2; color: var(--ink); margin: 0; }
.resource__side p { margin: 5px 0 15px; color: #444; }
@media (max-width: 991px) { .resource__grid { grid-template-columns: 1fr; gap: 40px; } .resource__title { font-size: 32px; } }

/* ---------- 8. Bloom+ ROI calculator (/calculators/bloom-plus-roi-calculator/) ---------- */
.roi-hero .hd { margin-bottom: 36px; }
.roi-hero h1 { font-size: 60px; }
.roi { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; align-items: start; }
.roi__inputs { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius); padding: 40px 36px; box-shadow: 0 12px 30px rgba(12, 29, 64, .06); position: sticky; top: calc(var(--header-h) + var(--meta-h) + 20px); }
.roi__head h2 { margin: 0 0 6px; }
.roi__head p { font-size: 16px; margin: 0 0 26px; }
.roi__scenario { border: 0; padding: 0; margin: 0 0 26px; }
.roi__scenario legend, .field label { display: block; font-size: 15px; font-weight: 500; margin: 0 0 8px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--mist); border-radius: 40px; }
.seg__btn { font: 500 15px/1.2 var(--font); color: var(--ink); background: transparent; border: 0; border-radius: 40px; padding: 11px 14px; cursor: pointer; transition: background-color .15s, color .15s; }
.seg__btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
.seg__btn:hover:not([aria-pressed="true"]) { color: var(--blue); }
.roi__hint { font-size: 13px; line-height: 1.5; color: #5a6477; margin: 8px 0 0; }
.field { margin: 0 0 22px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.field__val { font-size: 20px; font-weight: 600; color: var(--blue); }
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.field--half > div { min-width: 0; }
.field__box input { width: 100%; }
.roi__results::before { content: ""; position: absolute; top: 0; right: 0; width: 300px; height: 180px; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px), radial-gradient(circle, var(--blue) 2px, transparent 2.5px); background-size: 30px 30px, 30px 30px, 30px 30px; background-position: 0 0, 0 0, -15px -15px; -webkit-mask-image: linear-gradient(225deg, #000 20%, transparent 75%); mask-image: linear-gradient(225deg, #000 20%, transparent 75%); }
.roi__results > * { position: relative; }
.field__box { display: flex; align-items: center; border: 1px solid #c9cdd8; border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 129, 230, .15); }
.field__box input { flex: 1; min-width: 0; font: 500 18px/1.2 var(--font); color: var(--ink); border: 0; background: transparent; padding: 13px 14px; outline: 0; }
.field__box span { font-size: 16px; font-weight: 500; color: #5a6477; }
.field__box--usd span { padding-left: 14px; } .field__box--usd input { padding-left: 6px; }
.field__box--pct span { padding-right: 14px; }
.field__box--sm { display: none; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 14px 0 4px; border-radius: 6px; background: var(--mist); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(12, 29, 64, .25); cursor: pointer; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(12, 29, 64, .25); cursor: pointer; }
.range::-moz-range-progress { background: var(--blue); height: 6px; border-radius: 6px; }

.roi__results { position: relative; overflow: clip; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 44px 44px 40px; }
.roi__results p { margin: 0; }
.roi__eyebrow { font-size: 14px; font-weight: 500; color: var(--sky); letter-spacing: .02em; }
.roi__label { font-size: 18px; margin-top: 18px !important; }
.roi__big { font-size: 64px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 4px 0 28px !important; font-variant-numeric: tabular-nums; }
.roi__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 34px; }
.roi__kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 18px 20px; }
.roi__kpi-num { font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--sky); font-variant-numeric: tabular-nums; }
.roi__kpi-label { font-size: 14px; line-height: 1.4; margin-top: 4px !important; color: rgba(255, 255, 255, .85); }
.roi__sub { font-size: 16px; font-weight: 600; margin: 0 0 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.roi__bars { list-style: none; margin: 0 0 14px; padding: 0; }
.roi__bars li { display: grid; grid-template-columns: 1fr 44px; column-gap: 12px; align-items: center; margin: 0 0 14px; }
.roi__bar-top { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.roi__bar-top strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.roi__track { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.roi__fill { height: 100%; width: var(--w, 0%); border-radius: 10px; transition: width .35s ease; }
.roi__fill--1, .dot--1 { background: var(--blue); } .roi__fill--2, .dot--2 { background: var(--sky); } .roi__fill--3, .dot--3 { background: #3cb878; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.roi__pct { font-size: 13px; text-align: right; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.roi__loans { margin: 4px 0 30px; padding: 18px 20px 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.roi__minihead { font-size: 14px; font-weight: 600; color: var(--sky); margin: 0; line-height: 1.4; }
.roi__loans .roi__table { margin-top: 6px; }
.roi__loans .roi__table tbody tr:last-child > * { border-bottom: 0; }
.roi__more { margin: 0 0 26px; }
.roi__more summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--sky); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.roi__more summary::-webkit-details-marker { display: none; }
.roi__more summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.roi__more[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.roi__table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.roi__table th, .roi__table td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: right; font-weight: 300; font-variant-numeric: tabular-nums; }
.roi__table th:first-child { text-align: left; }
.roi__table thead th { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .65); }
.roi__years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; height: 150px; }
.roi__year { display: flex; flex-direction: column; align-items: center; height: 100%; }
.roi__ynum { font-size: 15px; font-weight: 600; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.roi__ycol { flex: 1; width: 100%; max-width: 90px; display: flex; align-items: flex-end; }
.roi__ybar { width: 100%; height: var(--h, 0%); background: linear-gradient(180deg, var(--blue), var(--twilight, #2a3970)); border-radius: 6px 6px 0 0; transition: height .35s ease; }
.roi__ylabel { font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 8px; }
.roi__note { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 12px !important; }
.roi__plus { margin: 26px 0; padding: 16px 18px; border-radius: 10px; border: 1px dashed rgba(149, 204, 255, .5); font-size: 15px; line-height: 1.55; }
.roi__plus strong { color: var(--sky); }
.roi__cta { margin: 0; }
.roi__disclaimer { font-size: 13px; color: #5a6477; max-width: 900px; margin: 26px auto 0; text-align: center; }
.roi-card .feature { margin: 0; }
.roi-card__stat { font-size: 44px; font-weight: 600; line-height: 1.1; color: var(--blue); margin: 4px 0 8px; }
.roi-additive { display: flex; gap: 18px; align-items: flex-start; margin-top: 30px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); }
.roi-additive .ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--ink); font-size: 24px; }
.roi-additive p { margin: 0; }
.roi-additive strong { color: var(--sky); }
@media (prefers-reduced-motion: reduce) { .roi__fill, .roi__ybar { transition: none; } }
@media (max-width: 1100px) { .roi { grid-template-columns: 1fr; } .roi__inputs { position: static; } }
/* Keep the locked state compact */
.roi__lockwrap { margin-top: 4px; }
.is-locked .roi__gated { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.is-locked .roi-gate { position: relative; inset: auto; padding: 0; }
.is-locked .roi__cta { display: none; }
.roi__inputs { padding: 32px 32px 28px; }
.roi__head p { margin-bottom: 20px; }
.roi__scenario { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
@media (min-width: 1101px) and (max-height: 860px) { .roi__inputs { position: static; } }
/* Phone: floating bar with the live number while editing inputs */
.roi-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--ink); color: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(12, 29, 64, .35); }
.roi-bar[hidden] { display: none; }
.roi-bar__label { display: block; font-size: 12px; color: var(--sky); line-height: 1.2; }
.roi-bar__num { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1101px) { .roi-bar { display: none !important; } }

@media (max-width: 989px) { .roi-hero h1 { font-size: 48px; } }
@media (max-width: 575px) {
  .roi-hero h1 { font-size: 36px; }
  .roi__inputs, .roi__results { padding: 28px 22px; }
  .roi__big { font-size: 44px; }
  .roi__kpis { grid-template-columns: 1fr; }
  .roi__kpi-num { font-size: 28px; }
  .field--half { grid-template-columns: 1fr; }
  .roi-additive { flex-direction: column; padding: 22px; }
}

/* ROI calculator gate (v2) */
.roi__lockwrap { position: relative; }
.roi__gated { transition: filter .35s ease, opacity .35s ease; }
.is-locked .roi__gated { filter: blur(7px); opacity: .55; user-select: none; pointer-events: none; }
.roi-gate { position: absolute; inset: 0; z-index: 3; display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.roi-gate__card { width: 100%; max-width: 460px; background: #fff; color: var(--ink); border-radius: 16px; padding: 30px 30px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); text-align: center; }
.roi-gate__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--mist); color: var(--blue); margin-bottom: 10px; }
.roi-gate__title { font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.roi-gate__text { font-size: 15px; line-height: 1.55; margin: 0 0 18px !important; }
.roi-gate__form { text-align: left; }
.roi-gate__fine { font-size: 13px; color: #5a6477; margin: 14px 0 0 !important; }
.roi-gate__fine a { color: var(--blue) !important; }
.roi-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roi-mock label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.roi-mock label.full, .roi-mock .btn { grid-column: 1 / -1; }
.roi-mock input { font: 300 15px/1.3 var(--font); color: var(--ink); background: #fff; padding: 10px 12px; border: 1px solid #c9cdd8; border-radius: 6px; width: 100%; }
.roi-gate__card, .roi__inputs { color-scheme: light; }
.roi-mock input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 129, 230, .15); }
.roi-mock .btn { justify-content: center; margin-top: 4px; }
@media (max-width: 575px) { .roi-gate__card { padding: 24px 18px 18px; } .roi-mock { grid-template-columns: 1fr; } }
.page-roi .site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--mist); }

/* ---------- 9. Resources section (Articles, Webinars, Data Reports, Media Room, Credit Term Glossary) ---------- */
/* Shared pieces: partials/resources.njk (hero, sub-nav). Pages: src/company/news, src/company/resources/{webinars,data-reports}, src/company/media-room, src/credit-term-glossary */
h1, h2, h3, .r-title { text-wrap: balance; }
.r-hero p, .r-card p, .r-feature p { text-wrap: pretty; }
.r-hero { position: relative; overflow: hidden; background: linear-gradient(var(--mist) 1px, transparent 1px) center top / 31px 31px, linear-gradient(90deg, var(--mist) 1px, transparent 1px) center top / 31px 31px, #fff; padding: 56px 0 88px; text-align: center; }
.r-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 45%, #fff 35%, rgba(255,255,255,.6) 70%, rgba(255,255,255,0) 100%); }
.r-hero > .wrap { position: relative; max-width: 1150px; }
.r-dots { position: absolute; width: 97px; height: 35px; background: conic-gradient(from 270deg at 4px 4px, var(--blue) 90deg, transparent 0) 0 0 / 31px 31px; pointer-events: none; }
.r-dots--lg { width: 159px; height: 66px; }
.r-dots--tl { left: 8%; top: 72px; } .r-dots--br { right: 9%; bottom: 64px; }
.r-crumb { font-size: 14px; font-weight: 300; margin: 0 0 28px; }
.r-crumb a { color: var(--navy); } .r-crumb span[aria-hidden] { color: #949494; margin: 0 6px; } .r-crumb [aria-current] { font-weight: 500; }
.r-eyebrow { display: inline-block; margin: 0 0 16px; font-size: 20px; line-height: 1.4; font-weight: 700; }
.r-hero h1 { margin: 0; }
.r-hero__text { max-width: 780px; margin: 24px auto 0; font-size: 18px; line-height: 1.64; }
.r-hero .btn-row { margin: 36px 0 0; justify-content: center; }
.r-search { position: relative; max-width: 640px; margin: 36px auto 0; }
.r-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.r-search input { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 2px solid var(--navy); border-radius: 6px; padding: 16px 18px 16px 56px; }
@media (max-width: 767px) { .r-dots { display: none; } .r-hero { padding: 40px 0 56px; } }

.r-subnav { background: #f8f9ff; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); scroll-margin-top: calc(var(--header-h) + var(--meta-h)); }
.r-subnav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--container); display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; }
.r-subnav a { display: block; padding: 16px 18px; font-size: 15px; font-weight: 500; color: var(--navy); border-bottom: 2px solid transparent; }
.r-subnav a:hover { text-decoration: none; color: var(--blue); }
.r-subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }

.r-sec { padding: 70px 0; }
.r-sec--tight { padding-top: 0; }
.r-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.r-head h2 { margin: 0; } .r-head p { margin: 16px 0 0; }
.r-head--row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; max-width: none; text-align: left; margin-bottom: 36px; }
.r-head--row h2 { font-size: 40px; }
@media (max-width: 575px) { .r-head { text-align: left; } .r-head--row h2 { font-size: 28px; } }

.r-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.r-tag { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--navy); background: var(--mist); border-radius: 80px; padding: 4px 12px; }
.r-tag--sky { color: var(--ink); background: var(--sky); text-transform: uppercase; letter-spacing: .6px; padding: 5px 14px; }
.r-tag--line { background: transparent; border: 1px solid var(--navy); text-transform: uppercase; letter-spacing: .6px; padding: 4px 14px; }
.r-tag--navy { color: #fff; background: var(--navy); }
.r-date { font-size: 14px; font-weight: 300; color: var(--navy); }

.r-feature { border-radius: 20px; padding: 6px; background: var(--grad); }
.r-feature__inner { border-radius: 15px; background: #f8f9ff; display: flex; flex-wrap: wrap; gap: 48px; padding: 40px; align-items: center; }
.r-feature__media { flex: 1 1 480px; min-width: 0; position: relative; display: block; border-radius: 14px; overflow: hidden; }
.r-feature__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.r-feature__media--cover { display: flex; justify-content: center; align-items: center; padding: 40px; min-height: 380px; background: var(--mist) linear-gradient(#fff 1px, transparent 1px) 0 0 / 31px 31px; }
.r-feature__media--cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / 31px 31px; }
.r-feature__media--cover img { position: relative; width: min(100%, 340px); aspect-ratio: auto; object-fit: contain; }
.r-feature__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.r-feature__body h2 { font-size: 40px; line-height: 1.25; margin: 0; }
.r-feature__body h2 a { color: var(--ink); }
.r-feature__body p { margin: 0; font-size: 18px; }
.r-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
@media (max-width: 767px) { .r-feature__inner { padding: 24px; gap: 28px; } .r-feature__body h2 { font-size: 28px; } .r-feature__media--cover { min-height: 0; padding: 24px; } }

.r-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; font-size: 16px; line-height: 1.4; }
.r-check--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r-check li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.r-check li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231581e6' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
@media (max-width: 575px) { .r-check--2 { grid-template-columns: 1fr; } }

.r-people { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.r-people__faces { display: flex; }
.r-people__faces img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #f8f9ff; object-fit: cover; }
.r-people__faces img + img { margin-left: -12px; }
.r-people p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--navy); }

.r-more { align-self: flex-start; font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.r-more:hover, a:hover .r-more { color: var(--blue); text-decoration: none; }

.r-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 26px; }
.r-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.r-card { background: #f8f9ff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease; color: var(--ink); }
.r-card:hover { transform: translateY(-4px); }
.r-card > img, .r-card__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.r-card__body { padding: 30px 40px 40px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.r-card__body h3 { margin: 0; font-size: 28px; line-height: 1.35; }
.r-card__body h3.r-card__title--sm { font-size: 18px; line-height: 1.64; }
.r-card__body h3 a { color: var(--ink); }
.r-card__body p { margin: 0; font-size: 16px; line-height: 1.5; }
.r-card__by { margin-top: auto !important; padding-top: 8px; font-size: 14px !important; font-weight: 500; color: var(--navy); }
.r-card--report { flex-direction: row; flex-wrap: wrap; gap: 30px; padding: 40px; align-items: flex-start; }
.r-card--report .r-card__cover { flex: 0 0 180px; background: var(--mist); border-radius: 14px; padding: 16px; }
.r-card--report .r-card__body { padding: 0; flex: 1 1 260px; min-width: 0; }
.r-card--soon { background: transparent; border: 2px dashed var(--sky); align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 48px 40px; min-height: 420px; }
.r-card--soon:hover { transform: none; }
.r-card--soon h3 { margin: 0; font-size: 28px; } .r-card--soon p { margin: 0; max-width: 340px; font-size: 16px; }
.r-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; flex: none; }
@media (max-width: 575px) { .r-card__body { padding: 24px; } .r-card--report { padding: 24px; } .r-card__body h3 { font-size: 24px; } }

.r-band { background: var(--navy) linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 31px 31px; position: relative; padding: 70px 0; color: #fff; }
.r-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 31px 31px; pointer-events: none; }
.r-band > .wrap { position: relative; }
.r-band .r-head h2, .r-band .r-head p { color: #fff; }
.r-band .r-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.r-band .r-card { color: var(--ink); }
.r-band a.r-card:hover { text-decoration: none; }
.r-person { background: #f8f9ff; border-radius: 20px; padding: 30px; display: flex; gap: 18px; align-items: center; color: var(--ink); }
.r-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.r-person b { display: block; font-size: 18px; line-height: 1.45; font-weight: 600; }
.r-person span { display: block; font-size: 14px; line-height: 1.45; margin-top: 2px; }
.r-stat { background: #f8f9ff; border-radius: 20px; padding: 40px 30px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.r-stat .r-stat__n { margin: 0; font-size: 56px; line-height: 1.15; font-weight: 600; align-self: flex-start; }
.r-stat p { margin: 0; font-size: 16px; line-height: 1.5; }
.r-stat__src { margin-top: auto !important; padding-top: 12px; font-size: 13px !important; font-weight: 500; color: var(--navy); }
.r-award__body { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 8px; }
.r-award__body .r-tag { align-self: flex-start; }
.r-award__name { margin: 6px 0 0; font-size: 20px; line-height: 1.4; font-weight: 600; }
.r-award__body p { margin: 0; font-size: 16px; line-height: 1.4; }

.r-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.r-chips button { font: inherit; font-size: 15px; font-weight: 500; color: var(--navy); background: #fff; border: 2px solid var(--mist); border-radius: 80px; padding: 8px 18px; min-height: 44px; cursor: pointer; }
.r-chips button[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); font-weight: 600; }
.r-loadmore { display: flex; justify-content: center; margin-top: 46px; }
[data-r-item][hidden] { display: none !important; }

.r-audience { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.r-audience > div { flex: 1 1 420px; min-width: 0; }
.r-audience h2 { margin: 0; } .r-audience > div p { margin: 16px 0 0; }
.r-audience ul { flex: 1 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.r-audience li { background: var(--mist); border-radius: 20px; padding: 20px 24px; font-size: 16px; font-weight: 500; margin: 0; }

.r-signup { border-radius: 20px; background: #f8f9ff; border: 1px solid var(--mist); padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.r-signup > div { flex: 1 1 420px; min-width: 0; }
.r-signup h3 { margin: 0; font-size: 33px; line-height: 1.27; font-weight: 500; }
.r-signup > div p { margin: 10px 0 0; font-size: 16px; }
.r-signup form { flex: 1 1 440px; min-width: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.r-signup input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--navy); border-radius: 6px; padding: 14px 16px; }
.r-signup [role="status"] { flex-basis: 100%; margin: 0; font-size: 15px; }
.r-signup--dark { background: var(--navy) linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 31px 31px; border: 0; color: #fff; }
.r-signup--dark input { border-color: #fff; }
@media (max-width: 575px) { .r-signup { padding: 28px; } .r-signup h3 { font-size: 26px; } }

.r-cross { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; color: var(--ink); background: var(--mist); border-radius: 20px; padding: 40px 48px; }
.r-cross:hover { text-decoration: none; }
.r-cross img { flex: none; border-radius: 14px; }
.r-cross > div { flex: 1 1 360px; min-width: 0; }
.r-cross h3 { margin: 6px 0 0; font-size: 28px; line-height: 1.35; }
.r-cross > div p { margin: 6px 0 0; font-size: 16px; }
.r-cross .r-eyebrow { margin: 0; }

.r-kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.r-kit > div { background: var(--mist); border-radius: 20px; padding: 40px 30px; display: flex; gap: 20px; align-items: flex-start; }
.r-kit h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.36; }
.r-kit p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }

.r-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.r-list li { border-bottom: 1px solid var(--mist); margin: 0; }
.r-list a { display: flex; gap: 24px; align-items: center; padding: 16px 12px; color: var(--ink); }
.r-list a:hover { text-decoration: none; background: #f8f9ff; }
.r-list img { flex: none; width: 96px; height: 48px; border-radius: 6px; object-fit: cover; }
.r-list__text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.r-list__text b { font-size: 18px; line-height: 1.55; font-weight: 600; }
.r-list__text span { font-size: 14px; line-height: 1.4; font-weight: 400; color: var(--navy); }
.r-list__arrow { flex: none; font-size: 20px; color: var(--blue); }
@media (max-width: 575px) { .r-list img { width: 72px; height: 36px; } .r-list a { gap: 14px; } .r-list__text b { font-size: 16px; } }

.r-about { background: #f8f9ff; border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; }
.r-about > div:first-child { flex: 1 1 260px; min-width: 0; } .r-about > div:last-child { flex: 2 1 520px; min-width: 0; }
.r-about h2 { margin: 0; font-size: 28px; line-height: 1.36; }
.r-about p { font-size: 16px; line-height: 1.63; }
@media (max-width: 575px) { .r-about { padding: 28px; } }

.r-dict { background: #f8f9ff; padding: 56px 0 70px; }
.r-az { background: #fff; border: 1px solid var(--mist); border-radius: 20px; padding: 14px 24px; display: flex; flex-wrap: wrap; gap: 4px; justify-content: space-between; margin: 0 0 40px; }
.r-az a, .r-az span { min-width: 36px; height: 44px; display: grid; place-items: center; border-radius: 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.r-az a:hover { text-decoration: none; background: var(--mist); }
.r-az span { font-weight: 400; color: #949494; opacity: .6; }
.r-letters { border-top: 1px solid var(--mist); }
.r-letter { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 36px 0; border-bottom: 1px solid var(--mist); }
.r-letter__ch { flex: 0 0 200px; margin: 0; font-size: 50px; line-height: 1.1; font-weight: 600; align-self: flex-start; }
.r-letter ul { flex: 1 1 600px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 4px 48px; }
.r-letter li { margin: 0; }
.r-letter li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; color: var(--ink); font-size: 19px; line-height: 1.45; font-weight: 400; }
.r-letter li a:hover { color: var(--blue); text-decoration: none; }
.r-empty { text-align: center; padding: 40px; background: #fff; border-radius: 20px; }
.r-empty p { margin: 0; } .r-empty p + p { margin-top: 8px; font-size: 16px; }
@media (max-width: 767px) { .r-letter__ch { flex-basis: 100%; } .r-az { justify-content: flex-start; padding: 10px 14px; } }
.r-az a.is-off { font-weight: 400; color: #949494; opacity: .6; pointer-events: none; }
a.r-stat:hover, a.r-card:hover, a.r-cross:hover { text-decoration: none; }

/* ==========================================================================
   11. Disputes+ product page (/products/disputes-plus/)
   ========================================================================== */
.dplus-step { overflow: hidden; }
.dplus-step::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 31px 31px; pointer-events: none; }
.dplus-step > * { position: relative; }
.dplus-step .stat__num { letter-spacing: -2px; font-weight: 400; }
.dplus-step .stat__label h3 { margin: 0 0 10px; }
.dplus-step .stat__label p { font-size: 16px; line-height: 1.5; }
@media (min-width: 990px) and (max-width: 1199.98px) { .dplus-steps { grid-template-columns: 1fr 1fr; } }


/* ==========================================================================
   11. 404 page + site search (Pagefind)
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nf { position: relative; overflow: hidden; padding: 72px 0 64px; }
.nf__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--mist) 1px, transparent 1px), linear-gradient(90deg, var(--mist) 1px, transparent 1px); background-size: 31px 31px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.nf__hero { position: relative; max-width: 1100px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.nf__mark { width: min(478px, 100%); height: auto; margin-bottom: 40px; }
.nf h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.2; font-weight: 600; color: var(--ink); }
.nf__sub { margin: 16px 0 0; max-width: 620px; font-size: 18px; line-height: 1.64; font-weight: 300; color: var(--ink); }
.nf__search { margin-top: 32px; width: 100%; max-width: 600px; display: flex; flex-wrap: wrap; gap: 10px; }
.nf__field { flex: 1 1 300px; position: relative; display: flex; align-items: center; color: var(--navy); }
.nf__field svg { position: absolute; left: 18px; pointer-events: none; }
.nf__field input { width: 100%; height: 56px; padding: 0 18px 0 50px; border: 1px solid #c6c6c6; border-radius: 6px; background: #fff; font: 400 16px/1.2 var(--font); color: var(--ink); }
.nf__field input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.nf__search .btn { height: 56px; padding: 0 28px; justify-content: center; font-weight: 600; }
.nf__btns { margin: 32px 0 0; }
.nf__h2 { margin: 0 0 46px; text-align: center; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.3; font-weight: 600; color: var(--ink); }
.nf__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.nf__card { background: #f8f9ff; border: 1px solid var(--mist); border-radius: var(--radius); padding: 36px 30px 28px; display: flex; flex-direction: column; gap: 20px; }
.nf__cardhd { display: flex; align-items: center; gap: 16px; }
.nf__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: #141414; display: flex; align-items: center; justify-content: center; }
.nf__card h3 { margin: 0; font-size: 26px; line-height: 34px; font-weight: 600; color: var(--ink); }
.nf__card p { margin: 2px 0 0; font-size: 16px; line-height: 1.4; font-weight: 300; color: var(--ink); }
.nf__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.nf__links li { border-bottom: 1px solid var(--mist); margin: 0; }
.nf__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 10px; border-radius: 6px; font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink); text-decoration: none; }
.nf__links a:hover { color: var(--blue); background: #fff; text-decoration: none; }
.nf__arrow { flex: none; transition: transform .15s; }
.nf__links a:hover .nf__arrow { transform: translateX(3px); }
.site-search { --pagefind-ui-scale: 1; --pagefind-ui-primary: var(--navy); --pagefind-ui-text: var(--ink); --pagefind-ui-border: #c6c6c6; --pagefind-ui-tag: var(--mist); --pagefind-ui-border-radius: 6px; --pagefind-ui-font: var(--font); }
.site-search mark { background: #d6ebff; color: inherit; padding: 0 1px; }
