/* Public MediBalans visual foundation. Content-specific diagrams and data stay local. */
/* Clip horizontal decoration without creating a second scroll container that
   prevents the shared header from sticking to the viewport. */
html:has(> body.mb-site), body.mb-site { overflow-x: clip; }
/* Lock the viewport while the mobile menu is open, keeping body out of the
   scrolling chain so the close button stays alongside the sticky header. */
html:has(> body.mb-site.mb-menu-open) { overflow: hidden; }
html > body.mb-site.mb-menu-open { overflow: clip visible; }
body.mb-site {
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-heading: var(--font-display);
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ca-body: var(--font-body); --ca-display: var(--font-display); --ca-mono: var(--font-mono);
  --navy: #0b1d33; --navy-mid: #132b4a; --blue: #2e6b9e;
  --white: #fafcfe; --text: #17293b; --text-mid: #465a6d; --text-light: #576c80;
  --border: #d0dbe5; --ice-faint: #edf5fa; --ice: #d8eaf5;
  --ca-muted: #465a6d; --ca-soft: #576c80;
  margin: 0; padding-top: 0; min-width: 320px;
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
body.mb-site *, body.mb-site *::before, body.mb-site *::after { box-sizing: border-box; }
body.mb-site :is(button, input, select, textarea) { font-family: var(--font-body); }
body.mb-site h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 4.5vw, 3.5rem) !important; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
body.mb-site h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.22; text-wrap: balance; }
body.mb-site :is(p, li) { overflow-wrap: break-word; }
body.mb-site :is(img, svg, video) { max-width: 100%; }
body.mb-site :is(a, button, summary):focus-visible { outline: 3px solid #2e6b9e; outline-offset: 4px; }
body.mb-site [id] { scroll-margin-top: 88px; }
body.mb-site #header, body.mb-site #mobileNav { scroll-margin-top: 0; }
.mb-skip-link { position: fixed; top: 8px; left: 8px; z-index: 1100; padding: 12px 18px; color: #fff; background: #0b1d33; transform: translateY(-180%); border-radius: 6px; }
.mb-skip-link:focus { transform: none; }
body.mb-site :is(.hero, .page-hero, .cond-hero, .sec-hero, .research-hero, .hub-hero, .proto-hero) {
  padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px);
  min-height: 0; margin-top: 0;
}
body.mb-site .ca-hero { padding-top: 32px; padding-bottom: 48px; }
body.mb-site .booking-page-hero { padding-top: 40px; }
body.mb-site .author-wrap { padding-top: 48px; }
/* The shared sticky header is already in the document flow. Legacy breadcrumb
   offsets for a fixed header must not reserve a second header-height of space. */
body.mb-site :is(.breadcrumb, .breadcrumbs, .breadcrumb-bar) { margin-top: 0; }
body.mb-site #mobileNav + .breadcrumb { margin-top: 0; }
body.mb-site .breadcrumb { padding-top: 12px; padding-bottom: 12px; color: #465a6d; }
body.mb-site :is(.hero-offer, .hero-consultation) {
  color: #fafcfe; opacity: 1 !important; font-size: 16px !important;
  line-height: 1.55 !important; font-weight: 500; max-width: 70ch;
}
body.mb-site .hero-offer strong { color: inherit; font-weight: 600; }
body.mb-site :is(.hero, .page-hero, .cond-hero, .sec-hero, .research-hero) :is(.hero-sub, .hero-lead, .page-lead, .hero-desc) {
  opacity: 1; font-weight: 400;
}
body.mb-site :is(.btn-primary, .hero-cta, .ca-button--primary, .consultation-entry__book) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 22px; border-radius: 7px;
  color: #fff; background: #2e6b9e; font-family: var(--font-body);
  font-size: 15px; line-height: 1.35; font-weight: 600;
  text-align: center; text-decoration: none; letter-spacing: 0;
}
body.mb-site :is(.btn-primary, .hero-cta, .ca-button--primary, .consultation-entry__book):hover { background: #21577f; }
body.mb-site :is(.ca-button--secondary, .hero-secondary, .btn-secondary) { min-height: 48px; font-family: var(--font-body); font-size: 15px; line-height: 1.35; border-radius: 7px; }
body.mb-site .home-hero-facts { color: #465a6d; font-size: 14px; }
body.mb-site .ca-trust { color: #465a6d; font-size: 15px; }
body.mb-site .fact-grid dt, body.mb-site .author-kicker, body.mb-site .author-updated { color: #526476; opacity: 1; }
body.mb-site .author-lead { color: #465a6d; opacity: 1; }
.mb-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
@media (max-width: 640px) { body.mb-site .mb-responsive-grid { grid-template-columns: 1fr !important; } }
.mb-cma-preview { display: flex; flex-direction: column; gap: 9px; aspect-ratio: 1320 / 2868; padding: 9% 7% 7%; overflow: hidden; border-radius: 23px; background: #f5f2ec; color: #24312e; font: 10px/1.45 var(--font-body); text-align: left; }
.mb-cma-preview__brand { display: flex; justify-content: space-between; align-items: center; font: 10px Georgia, serif; }
.mb-cma-preview__pill { border-radius: 10px; padding: 3px 6px; background: #e5ece6; font: 7px var(--font-body); }
.mb-cma-preview__title { font: 22px/1.05 var(--font-display); margin-top: 5px; }
.mb-cma-preview__accent { width: 25px; height: 2px; background: #d5622d; margin: 3px 0; }
.mb-cma-preview__intro { font-size: 9px; color: #586058; }
.mb-cma-preview__group { padding: 8px; border: 1px solid #e1dfd7; border-radius: 9px; background: #fffdfa; }
.mb-cma-preview__label { margin-bottom: 6px; font-size: 8px; font-weight: 600; color: #566959; }
.mb-cma-preview__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mb-cma-preview__tags span { font-size: 8px; padding: 2px 5px; border-radius: 8px; background: #e9eee7; }
.mb-cma-preview__group:nth-of-type(even) .mb-cma-preview__tags span { background: #eee8df; }
.mb-cma-preview__follow { padding: 8px; background: #e5ece6; border-radius: 9px; font-size: 9px; }
.mb-cma-preview__foot { margin-top: auto; padding-top: 6px; border-top: 1px solid #dad9d1; font-size: 7px; color: #5b625a; }
/* Keep conversion copy visible even when an animation does not run. */
body.mb-site :is(.hero-offer, .hero-actions, .hero-booking) { visibility: visible; }
@media (max-width: 640px) {
  body.mb-site :is(.hero, .page-hero, .cond-hero, .sec-hero, .research-hero, .hub-hero, .proto-hero) { padding-top: 32px; padding-bottom: 36px; }
  body.mb-site .ca-hero { padding-top: 20px; padding-bottom: 32px; }
  body.mb-site .author-wrap { padding-top: 32px; }
  body.mb-site :is(.hero-actions, .hero-booking, .ca-actions) { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.mb-site .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
