/* Self-hosted fonts (free Google Fonts, SIL Open Font License) */
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/manrope-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/manrope-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/manrope-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/source-sans-3-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:600;font-display:swap;src:url(../fonts/source-sans-3-latin-600-italic.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/source-sans-3-latin-700-italic.woff2) format("woff2")}

/* My Resource Partners: global design tokens, header, footer and base styles.
   Page sections keep their layout styles; this file sets the shared look. */
:root {
  --mrp-blue: #043C63;        /* main brand blue: headings, body text, dark sections */
  --mrp-blue-2: #0A5580;      /* hero gradient start */
  --mrp-blue-card: #0F5079;   /* cards on dark backgrounds */
  --mrp-footer: #043752;      /* footer (matches the Careers page footer) */
  --mrp-link: #0B5E9C;        /* links and small labels on white (passes AA) */
  --mrp-green: #8DC63F;       /* accent, primary button on dark */
  --mrp-green-text: #4E8A00;  /* green used as text on white (passes AA) */
  --mrp-light: #F2F6F9;       /* light section background */
  --mrp-line: #E1E8EE;        /* borders */
  --mrp-muted: #2E4656;       /* secondary text */
  --mrp-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mrp-font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mrp-wrap: 1200px;
  --mrp-radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: #fff; color: var(--mrp-blue);
  font-family: var(--mrp-font-body); font-weight: 400;
  font-size: clamp(17px, 16.6px + 0.11vw, 18px); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--mrp-font-head); color: inherit; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--mrp-link); }
a:hover { color: var(--mrp-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #23A0FF; outline-offset: 3px;
}
input, select, textarea { font-size: 16px; font-family: inherit; } /* 16px stops iPhone zoom on focus */
.mrp-wrap { max-width: var(--mrp-wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
.mrp-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--mrp-blue); color: #fff; padding: 10px 16px; border-radius: 6px; font-family: var(--mrp-font-head); font-weight: 700; }
.mrp-skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.mrp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-family: var(--mrp-font-head); font-weight: 800; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.mrp-btn--green { background: var(--mrp-green); color: var(--mrp-blue); }
.mrp-btn--green:hover { background: #A8DD57; color: var(--mrp-blue); }
.mrp-btn--blue { background: var(--mrp-blue); color: #fff; }
.mrp-btn--blue:hover { background: var(--mrp-blue-2); color: #fff; }
.mrp-btn--outline { border-color: currentColor; color: inherit; background: transparent; }

/* ---------- Utility bar ---------- */
.mrp-topbar { background: var(--mrp-blue); color: #DCE6EE; font-size: 14px; }
.mrp-topbar .mrp-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; align-items: center; min-height: 38px; }
.mrp-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.mrp-topbar a:hover { color: var(--mrp-green); }

/* ---------- Header ---------- */
.mrp-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--mrp-line); }
.mrp-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.mrp-logo { display: block; line-height: 0; flex: 0 0 auto; }
.mrp-logo img { height: 52px; width: auto; display: block; }
.mrp-nav { display: flex; align-items: center; gap: 8px; }
.mrp-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.mrp-nav__item { position: relative; }
.mrp-nav__link, .mrp-nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  font-family: var(--mrp-font-head); font-weight: 700; font-size: 15px; color: var(--mrp-blue);
  text-decoration: none; background: none; border: 0; border-radius: 8px; cursor: pointer; white-space: nowrap;
}
.mrp-nav__link:hover, .mrp-nav__toggle:hover, .mrp-nav__item.is-open > .mrp-nav__toggle { background: var(--mrp-light); color: var(--mrp-blue); }
.mrp-nav__link[aria-current="page"], .mrp-nav__item.is-current > .mrp-nav__toggle { box-shadow: inset 0 -3px 0 var(--mrp-green); }
.mrp-nav__toggle svg { transition: transform .2s; }
.mrp-nav__item.is-open > .mrp-nav__toggle svg { transform: rotate(180deg); }
.mrp-nav__cta { margin-left: 8px; }
.mrp-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff;
  border: 1px solid var(--mrp-line); border-radius: var(--mrp-radius); box-shadow: 0 18px 40px rgba(4,60,99,.16);
  padding: 14px; display: none;
}
.mrp-nav__item.is-open > .mrp-menu { display: block; }
.mrp-header__bar { position: relative; }
.mrp-nav__item.has-mega { position: static; }
.mrp-menu--mega { display: none; top: calc(100% - 6px); left: auto; right: 0; width: min(1180px, 100%); box-sizing: border-box; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 16px; padding: 22px; }
.mrp-nav__item.is-open > .mrp-menu--mega { display: grid; }
.mrp-menu__heading { display: block; font-family: var(--mrp-font-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mrp-green-text); margin: 4px 10px 6px; }
.mrp-menu ul { list-style: none; margin: 0; padding: 0; }
.mrp-menu a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--mrp-blue); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.mrp-menu a:hover { background: var(--mrp-light); color: var(--mrp-link); }
.mrp-menu a small { display: block; font-weight: 400; color: var(--mrp-muted); font-size: 13.5px; margin-top: 2px; }
.mrp-burger { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--mrp-blue); border-radius: 999px; background: #fff; color: var(--mrp-blue); font-family: var(--mrp-font-head); font-weight: 800; font-size: 15px; cursor: pointer; }

@media (max-width: 1240px) {
  .mrp-burger { display: inline-flex; }
  .mrp-nav { display: none; position: fixed; inset: var(--mrp-header-h, 76px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--mrp-line); }
  .mrp-header.is-menu-open .mrp-nav { display: flex; }
  .mrp-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .mrp-nav__item { border-bottom: 1px solid var(--mrp-line); }
  .mrp-nav__link, .mrp-nav__toggle { width: 100%; justify-content: space-between; min-height: 54px; font-size: 17px; padding: 0 6px; }
  .mrp-menu, .mrp-menu--mega { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 0 0 12px; }
  .mrp-nav__item.is-open > .mrp-menu--mega { display: block; }
  .mrp-menu__group + .mrp-menu__group { margin-top: 8px; }
  .mrp-nav__cta { margin: 18px 0 0; width: 100%; min-height: 54px; font-size: 17px; }
  body.mrp-noscroll { overflow: hidden; }
}
@media (max-width: 480px) { .mrp-logo img { height: 42px; } .mrp-topbar .mrp-hide-sm { display: none; } }

/* ---------- Footer ---------- */
.mrp-footer { background: var(--mrp-footer); color: #C9D6DF; font-size: 16px; }
.mrp-footer a { color: #fff; text-decoration: none; }
.mrp-footer a:hover { color: var(--mrp-green); text-decoration: underline; }
.mrp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.mrp-footer h2 { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mrp-green); }
.mrp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mrp-footer__brand p { margin: 14px 0 0; line-height: 1.55; }
.mrp-footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; line-height: 0; }
.mrp-footer__logo img { height: 44px; width: auto; }
.mrp-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mrp-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); }
.mrp-footer__social a:hover { background: var(--mrp-green); color: var(--mrp-blue); text-decoration: none; }
.mrp-footer__news { border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.mrp-footer__news form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 380px; max-width: 520px; }
.mrp-footer__news input { flex: 1 1 220px; min-height: 48px; border-radius: 999px; border: 0; padding: 0 18px; }
.mrp-footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.mrp-footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .mrp-footer__grid { grid-template-columns: 1fr 1fr; } .mrp-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .mrp-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Preview helpers ---------- */
.mrp-preview-note { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200; background: var(--mrp-blue); color: #fff; padding: 12px 18px; border-radius: 12px; font-family: var(--mrp-font-head); font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: none; max-width: calc(100vw - 32px); }
.mrp-preview-note.is-on { display: block; }

/* Page content safety on small screens */
main [style*="min-width: 0"] { min-width: 0; }
main table { max-width: 100%; }
@media (max-width: 640px) {
  main [style*="padding: 96px"], main [style*="padding: 88px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* =========================================================
   Section library (theme sections). Class names map 1:1 to
   the reusable sections in the site specification.
   ========================================================= */
.s { padding: 88px 0; }
.s--light { background: var(--mrp-light); }
.s--dark { background: var(--mrp-blue); color: #fff; }
.s--tight { padding: 56px 0; }
.s-eyebrow { margin: 0 0 12px; font-family: var(--mrp-font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mrp-link); }
.s--dark .s-eyebrow, .s-hero .s-eyebrow { color: var(--mrp-green); }
.s-h2 { margin: 0; font-weight: 800; font-size: clamp(26px, 22.7px + 0.88vw, 36px); line-height: 1.15; letter-spacing: -0.01em; max-width: 820px; }
.s-lead { margin: 14px 0 0; font-size: 19px; color: var(--mrp-muted); max-width: 720px; }
.s--dark .s-lead { color: #DCE6EE; }
.s-head { margin-bottom: 40px; }
.s-label { display: inline-block; margin-bottom: 18px; padding: 4px 10px; border-radius: 6px; background: #FFF4D6; color: #6B4E00; font-family: var(--mrp-font-head); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* 1 Hero */
.s-hero { background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); color: #fff; padding: 72px 0 88px; position: relative; overflow: hidden; }
.s-hero__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.s-hero__text { flex: 1 1 560px; min-width: 0; }
.s-hero__side { flex: 0 1 400px; min-width: 0; }
.s-hero h1 { margin: 0; font-weight: 800; font-size: clamp(34px, 28.2px + 1.55vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.s-hero p.s-hero__lead { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: #DCE6EE; max-width: 640px; }
.s-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 15px; color: #B9CAD6; }
.s-crumbs a { color: #B9CAD6; }
.s-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.s-hero .mrp-btn--outline { color: #fff; }
.s-card-white { background: #fff; color: var(--mrp-blue); border-radius: 18px; padding: 28px; box-shadow: 0 20px 48px rgba(0,0,0,.25); }
.s-card-white h2, .s-card-white h3 { margin: 0 0 10px; font-size: 20px; }
.s-card-white ul { margin: 0; padding-left: 20px; color: var(--mrp-muted); }

/* 2 Stats */
.s-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.s-stats b { display: block; font-family: var(--mrp-font-head); font-weight: 800; font-size: 40px; line-height: 1; }
.s-stats span { display: block; margin-top: 8px; color: var(--mrp-muted); font-weight: 600; }

/* 3 Text + image */
.s-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.s-split > * { flex: 1 1 420px; min-width: 0; }
.s-split img, .s-split .s-media { width: 100%; border-radius: 18px; display: block; }
.s-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #DCE8F0, #F2F6F9); display: flex; align-items: center; justify-content: center; color: var(--mrp-muted); font-weight: 600; }
.s-split--reverse > :first-child { order: 2; }

/* 4 Cards */
.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
/* 3, 5, 6 or 9 cards sit in rows of 3 so no card is left alone on a row */
.s-cards:has(> :nth-child(3):last-child), .s-cards:has(> :nth-child(5):last-child), .s-cards:has(> :nth-child(6):last-child), .s-cards:has(> :nth-child(9):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1000px) { .s-cards:has(> :nth-child(3):last-child), .s-cards:has(> :nth-child(5):last-child), .s-cards:has(> :nth-child(6):last-child), .s-cards:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.s-card { background: #fff; border: 1px solid var(--mrp-line); border-radius: var(--mrp-radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.s--light .s-card { border-color: transparent; box-shadow: 0 10px 28px rgba(4,60,99,.08); }
.s-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.s-card p { margin: 0; color: var(--mrp-muted); }
.s-card .s-pill, .s-feature .s-pill { align-self: flex-start; }
.s-card .s-more { margin-top: auto; padding-top: 6px; font-family: var(--mrp-font-head); font-weight: 800; font-size: 15px; text-decoration: none; }
.s-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--mrp-blue); color: var(--mrp-green); display: inline-flex; align-items: center; justify-content: center; }

/* 5 Steps */
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.s-steps li { background: #fff; border-radius: var(--mrp-radius); padding: 28px; box-shadow: 0 10px 28px rgba(4,60,99,.08); counter-increment: step; }
.s-steps li::before { content: counter(step, decimal-leading-zero); display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--mrp-blue); color: #fff; font-family: var(--mrp-font-head); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.s-steps h3 { margin: 0 0 6px; font-size: 19px; }
.s-steps p { margin: 0; color: var(--mrp-muted); }

/* 6 Audience cards */
.s-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.s-audience > div { border-top: 4px solid var(--mrp-green); padding-top: 18px; }
.s-audience h3 { margin: 0 0 6px; font-size: 19px; }
.s-audience p { margin: 0; color: var(--mrp-muted); }
.s--dark .s-audience p { color: #DCE6EE; }

/* 7 Comparison table */
.s-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--mrp-radius); border: 1px solid var(--mrp-line); background: #fff; }
.s-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.s-table th, .s-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--mrp-line); vertical-align: top; }
.s-table thead th { background: var(--mrp-blue); color: #fff; font-family: var(--mrp-font-head); font-size: 14px; letter-spacing: .03em; }
.s-table tbody th { font-family: var(--mrp-font-head); }

/* 8 Case study feature */
.s-feature { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid #D5DFE6; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(4,60,99,.08); text-decoration: none; color: var(--mrp-blue); }
.s-feature img { flex: 1 1 380px; min-width: 0; min-height: 280px; object-fit: cover; }
.s-feature > div { flex: 1 1 420px; padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.s-feature h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.s-feature .s-nums { display: flex; flex-wrap: wrap; gap: 28px; }
.s-feature .s-nums b { display: block; font-family: var(--mrp-font-head); font-size: 30px; line-height: 1; }
.s-feature .s-nums span { font-size: 15px; color: var(--mrp-muted); }

/* 9 Quote */
.s-quote { margin: 0; max-width: 860px; }
.s-quote p { margin: 0; font-family: var(--mrp-font-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.s-quote footer { margin-top: 18px; color: var(--mrp-muted); font-weight: 600; }
.s--dark .s-quote footer { color: #DCE6EE; }

/* 10 Logo wall */
.s-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.s-logos li { min-height: 72px; border: 1px solid var(--mrp-line); border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-family: var(--mrp-font-head); font-weight: 700; color: var(--mrp-muted); background: #fff; }

/* 11 FAQ */
.s-faq { max-width: 860px; }
.s-faq details { border-bottom: 1px solid var(--mrp-line); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--mrp-font-head); font-weight: 800; font-size: 19px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--mrp-link); }
.s-faq details[open] summary::after { content: "–"; }
.s-faq summary h3 { margin: 0; font-size: inherit; }
.s-faq details p { margin: 0 0 20px; color: var(--mrp-muted); }

/* 12 Blog cards / 13 video cards / 14 events */
.s-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.s-post { display: flex; flex-direction: column; border-radius: var(--mrp-radius); overflow: hidden; background: #fff; border: 1px solid var(--mrp-line); }
.s-post .s-thumb { aspect-ratio: 16 / 9; background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 60%); color: #fff; display: flex; align-items: flex-end; padding: 16px; font-family: var(--mrp-font-head); font-weight: 800; }
.s-post > div:last-child { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.s-post small { font-family: var(--mrp-font-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mrp-green-text); }
.s-post h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.s-post h3 a { color: var(--mrp-blue); text-decoration: none; }
.s-post p { margin: 0; color: var(--mrp-muted); font-size: 16px; }
.s-event { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--mrp-line); border-radius: var(--mrp-radius); padding: 22px; background: #fff; }
.s-date { flex: 0 0 72px; text-align: center; background: var(--mrp-blue); color: #fff; border-radius: 12px; padding: 10px 0; font-family: var(--mrp-font-head); font-weight: 800; line-height: 1.1; }
.s-date span { display: block; font-size: 13px; color: var(--mrp-green); letter-spacing: .08em; }
.s-date b { display: block; font-size: 28px; }
.s-event h3 { margin: 0 0 4px; font-size: 19px; }
.s-event p { margin: 0; color: var(--mrp-muted); font-size: 16px; }
.s-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #E6F0F7; color: var(--mrp-link); font-family: var(--mrp-font-head); font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }

/* 15 CTA band */
.s-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.s-cta h2 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; }
.s-cta p { margin: 8px 0 0; color: #DCE6EE; }

/* 16 Form */
.s-formgrid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.s-formgrid > :first-child { flex: 1 1 380px; min-width: 0; }
.s-form { flex: 1 1 440px; min-width: 0; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 14px 36px rgba(4,60,99,.12); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.s-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mrp-font-head); font-weight: 700; font-size: 14px; }
.s-form .s-full { grid-column: 1 / -1; }
.s-form input, .s-form select, .s-form textarea { min-height: 48px; border: 1px solid #B9CAD6; border-radius: 10px; padding: 10px 12px; color: var(--mrp-blue); background: #fff; font-weight: 400; }
.s-form textarea { min-height: 110px; }
.s-form label { min-width: 0; }
.s-form input:not([type=checkbox]), .s-form select, .s-form textarea { width: 100%; box-sizing: border-box; min-width: 0; }
.s-form .s-check { flex-direction: row; align-items: flex-start; gap: 10px; font-family: var(--mrp-font-body); font-weight: 400; font-size: 14px; color: var(--mrp-muted); }
.s-form .s-check input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; }
.s-checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.s-checklist li { padding-left: 30px; position: relative; }
.s-checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 10px; border-left: 3px solid var(--mrp-green-text); border-bottom: 3px solid var(--mrp-green-text); transform: rotate(-45deg); }
@media (max-width: 560px) { .s-form { grid-template-columns: 1fr; padding: 22px; } }

/* 17 Related solutions */
.s-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.s-related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--mrp-radius); background: #fff; border: 1px solid var(--mrp-line); font-family: var(--mrp-font-head); font-weight: 800; color: var(--mrp-blue); text-decoration: none; }
.s-related a:hover { border-color: var(--mrp-link); color: var(--mrp-link); }

/* 18 Rich text */
.s-rich { max-width: 760px; }
.s-rich h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.4em 0 .4em; }
.s-rich h3 { font-size: 21px; margin: 1.2em 0 .3em; }
.s-rich p, .s-rich li { color: var(--mrp-muted); }

/* 19 Team grid */
.s-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.s-team article { background: #fff; border-radius: var(--mrp-radius); overflow: hidden; box-shadow: 0 10px 28px rgba(4,60,99,.1); }
.s-team .s-photo { aspect-ratio: 4 / 5; background: #E4ECF2; display: flex; align-items: center; justify-content: center; font-family: var(--mrp-font-head); font-weight: 800; font-size: 48px; border-bottom: 6px solid var(--mrp-green); }
.s-team .s-photo img { width: 100%; height: 100%; object-fit: cover; }
.s-team article > div:last-child { padding: 20px; }
.s-team h3 { margin: 0; font-size: 20px; }
.s-team p { margin: 4px 0 0; color: var(--mrp-link); font-family: var(--mrp-font-head); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* Library page labels */
.lib-tag { display: inline-block; max-width: 100%; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: #FFF4D6; color: #6B4E00; font-family: var(--mrp-font-head); font-weight: 800; font-size: 13px; }
.lib-sep { border: 0; border-top: 3px dashed #D5DFE6; margin: 0; }

/* Specification page */
.spec { max-width: 980px; }
.spec h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 2em 0 .5em; }
.spec p, .spec li { color: var(--mrp-muted); }
.spec code { font-size: .9em; background: var(--mrp-light); padding: 1px 6px; border-radius: 4px; }
.spec .s-table { min-width: 680px; font-size: 15px; }
.spec .s-table-wrap { margin: 16px 0 8px; }
@media print {
  .mrp-topbar, .mrp-header, .mrp-footer, .mrp-skip, .mrp-preview-note { display: none !important; }
  .s { padding: 0; } body { font-size: 11pt; } .s-table-wrap { overflow: visible; border: 0; } .spec .s-table { min-width: 0; font-size: 9.5pt; }
  .s-table thead th { background: #043C63 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  h2 { break-after: avoid; } tr { break-inside: avoid; }
}

/* ---------- Filter chips (case study hub, blog) ---------- */
.mrp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mrp-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--mrp-line); background: #fff; color: var(--mrp-blue); font-family: var(--mrp-font-head); font-weight: 700; font-size: 15px; cursor: pointer; }
.mrp-chip:hover { border-color: var(--mrp-blue); }
.mrp-chip[aria-pressed="true"] { background: var(--mrp-blue); border-color: var(--mrp-blue); color: #fff; }
[data-filter-list] > [hidden] { display: none !important; }
.mrp-slide[hidden] { display: none !important; }
.s-cards:has(> .s-event) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important; }

/* ---------- Form confirmation ---------- */
.mrp-form-success { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; background: #EAF5DC; border: 1.5px solid #8DC63F; color: var(--mrp-blue); font-size: 16px; line-height: 1.5; outline: none; }
.mrp-form-success strong { font-family: var(--mrp-font-head); font-size: 18px; }
.mrp-footer .mrp-form-success { background: rgba(255,255,255,.08); color: #fff; }
/* ---------- Blog share ---------- */
.mrp-share { position: relative; display: inline-block; }
.mrp-share-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #B4C4D0; background: #fff; color: var(--mrp-blue); font-family: var(--mrp-font-head); font-weight: 700; font-size: 15px; cursor: pointer; }
.mrp-share-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 210px; background: #fff; border: 1px solid var(--mrp-line); border-radius: 14px; box-shadow: 0 16px 36px rgba(4,60,99,.16); padding: 8px; display: flex; flex-direction: column; }
.mrp-share-menu[hidden] { display: none; }
.mrp-share-menu a, .mrp-share-menu button { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--mrp-blue); text-decoration: none; font: inherit; font-weight: 600; font-size: 15px; background: none; border: 0; cursor: pointer; text-align: left; }
.mrp-share-menu a:hover, .mrp-share-menu button:hover { background: var(--mrp-light); }
.mrp-share--up .mrp-share-menu { top: auto; bottom: calc(100% + 8px); }

/* Cookie Notice tables: stack each row as a card on phones */
@media (max-width: 640px) {
  .s-table--stack thead { position: absolute; left: -9999px; }
  .s-table--stack { min-width: 0; }
  .s-table--stack, .s-table--stack tbody, .s-table--stack tr, .s-table--stack td { display: block; width: 100%; box-sizing: border-box; }
  .s-table--stack tr { padding: 14px 16px; border-bottom: 1px solid #E1E8EE; }
  .s-table--stack td { padding: 2px 0 !important; border: 0 !important; }
  .s-table--stack td::before { content: attr(data-label); display: block; font-family: Manrope, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #0B5E9C; margin-top: 8px; }
  .s-table--stack td:first-child::before { margin-top: 0; }
  .s-table--stack td:first-child { font-weight: 600; }
}

/* First-step promise on every free assessment form */
.mrp-form-promise { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #EEF7E3; color: #043C63; font-family: var(--mrp-font-head, Manrope, sans-serif); font-weight: 700; font-size: 16px; line-height: 1.35; }
.mrp-form-promise svg { flex: 0 0 20px; color: #4E8A12; }

/* Quote with a small headshot */
.s-quote footer { display: flex; align-items: center; gap: 14px; }
.s-quote__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: center top; flex: 0 0 120px; background: #E4ECF2; border: 3px solid var(--mrp-green, #8DC63F); }

/* "Schedule now" link beside assessment forms */
.mrp-book-now { margin: 18px 0 0; font-size: 17px; color: var(--mrp-text, #2E4656); }
.mrp-book-now a { font-weight: 700; color: #0B5E9C; }
.s--dark .mrp-book-now, .s--dark .mrp-book-now a { color: #FFFFFF; }

/* Quote band: a little less padding than a full section */
.s.s--quote { padding: 60px 0; }
@media (max-width: 640px) { .s.s--quote { padding: 48px 0; } }
