:root {
  --main-color: #0c0c35;
  --accent-color: #77c90d;
  --accent-color-dark: #5da507;
  --accent-color-alt: #003399;
  --accent-color-alt-dark: #002675;
  --text-color: #0c0c35;
  --light-grey: #f1f1f9;
  --dark-grey: #d5e3ee;
  --red-color: #b52249;
  --mint: #ddffd8;
  --mint-soft: #edffea;
  --cream: #f4f1e7;
  --cream-light: #faf8f2;
  --line: #dedfd9;
  --muted: #55576a;
  --white: #fff;
  --black: #11111a;
  --shadow-small: 0 8px 24px rgba(12, 12, 53, .09);
  --shadow-panel: 0 30px 90px rgba(0, 0, 0, .22);
  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 28px;
  --shell: 1320px;
  --content: 760px;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-color);
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.has-open-overlay { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-color-alt); }
button, a, input, select, textarea {
  transition-property: color, background-color, border-color, box-shadow, opacity, filter;
  transition-duration: 150ms;
  transition-timing-function: ease;
}
button:hover, a:hover { transform: none; }
:focus-visible { outline: 3px solid rgba(0, 51, 153, .35); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--main-color);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { margin-top: 0; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: #fff;
  background: var(--main-color);
  border-radius: 8px;
}
.site-shell { width: min(calc(100% - 72px), var(--shell)); margin-inline: auto; }
.content-shell { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.site-main { min-height: 55vh; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--main-color);
  font-size: .88rem;
  font-weight: 850;
  letter-spacing: .01em;
}

/* Buttons and links */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 25px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.button--primary { color: #fff; background: var(--accent-color-alt); }
.button--primary:hover { color: #fff; background: var(--accent-color-alt-dark); box-shadow: 0 8px 22px rgba(0, 51, 153, .16); }
.button--outline { color: var(--accent-color-alt); background: transparent; border-color: var(--accent-color-alt); }
.button--outline:hover { color: #fff; background: var(--accent-color-alt); }
.button .icon { width: 20px; height: 20px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color-alt);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover { color: var(--main-color); }
.text-link .icon { width: 21px; height: 21px; }
.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--main-color);
  background: transparent;
}
.icon-button:hover { color: var(--accent-color-alt); background: var(--light-grey); }
.icon-button .icon { width: 25px; height: 25px; }

/* Header */
.site-header { position: relative; z-index: 1200; background: #fff; }
.utility-bar { min-height: 28px; background: #fff; }
.utility-bar__inner { display: flex; min-height: 28px; align-items: center; justify-content: flex-end; }
.utility-nav__list, .utility-nav__list ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.utility-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--black);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none;
}
.utility-nav a:hover { color: var(--accent-color-alt); }
.utility-nav .icon { width: 16px; height: 16px; }
.header-frame { padding-block: 14px 20px; }
.header-main {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 28px;
  padding: 7px 10px 7px 0;
  border-radius: 999px;
  background: #fff;
}
.site-logo {
  display: inline-flex;
  width: 226px;
  height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
  text-decoration: none;
}
.site-logo img { width: 100%; height: auto; max-height: 64px; object-fit: contain; object-position: left center; }
.site-logo__mobile { display: none; }
.primary-nav { display: flex; min-width: 0; flex: 1; align-items: center; gap: 18px; }
.primary-nav__trigger,
.primary-nav__link,
.primary-nav__list > li > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--black);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
}
.primary-nav__trigger:hover,
.primary-nav__trigger[aria-expanded="true"],
.primary-nav__link:hover,
.primary-nav__list > li.current-menu-item > a,
.primary-nav__list > li > a:hover {
  color: var(--accent-color-alt);
  border-bottom-color: var(--accent-color-alt);
}
.primary-nav__trigger .icon { width: 20px; height: 20px; }
.primary-nav__list { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { min-width: 170px; margin-left: 8px; }
.mobile-menu-button { display: none; }


body.overlay-mega-open .site-header,
body.overlay-mega-open .utility-bar { background: transparent; }
body.overlay-mega-open .utility-nav a { color: #fff; }
body.overlay-mega-open .utility-nav a:hover { color: var(--accent-color); }
body.overlay-mega-open .header-main { box-shadow: 0 10px 34px rgba(0, 0, 0, .16); }

/* Overlay foundation */
.overlay,
.mobile-navigation {
  position: fixed;
  z-index: 1100;
  inset: 0;
}
.search-overlay, .mobile-navigation { z-index: 1400; }
.overlay[hidden], .mobile-navigation[hidden] { display: none; }
.overlay__backdrop, .mobile-navigation__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 22, .76);
  opacity: 0;
}
.overlay.is-open .overlay__backdrop,
.mobile-navigation.is-open .mobile-navigation__backdrop { opacity: 1; }
.overlay__stage { position: relative; z-index: 1; padding-top: 104px; }

/* Mega menu — deliberately spacious and close to the supplied reference */
.mega-menu {
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding: 34px 30px 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-panel);
  opacity: 0;
}
.mega-overlay.is-open .mega-menu { opacity: 1; }
.mega-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 2px 30px;
}
.mega-menu__title {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--main-color);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.02em;
  text-decoration: none;
}
.mega-menu__title:hover { color: var(--accent-color-alt); }
.mega-menu__title .icon { width: 27px; height: 27px; }
.mega-menu__close { margin-right: -5px; }
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 72px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}
.mega-menu__grid > li { min-width: 0; }
.mega-menu__grid > li:nth-child(n+5) {
  padding-top: 30px;
  border-top: 1px solid #e5e6e1;
}
.mega-menu__grid > li > a,
.mega-menu__grid > li > span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: var(--main-color);
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}
.mega-menu__grid > li > a:hover { color: var(--accent-color-alt); }
.mega-menu__grid > li > a .icon { width: 22px; height: 22px; }
.mega-menu__grid .sub-menu { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mega-menu__grid .sub-menu a {
  color: #262632;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}
.mega-menu__grid .sub-menu a:hover { color: var(--accent-color-alt); text-decoration: underline; }

/* Search overlay */
.search-overlay__stage { position: relative; z-index: 1; padding-top: 30px; }
.search-overlay__top { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 22px; }
.search-overlay__logo { width: 82px; height: 64px; overflow: hidden; }
.search-overlay__logo img {
  width: 285px;
  max-width: none;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}
.search-overlay__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px 56px;
  min-height: 64px;
  overflow: hidden;
  border: 3px solid var(--accent-color-alt);
  border-radius: 999px;
  background: #fff;
}
.search-overlay__form input {
  min-width: 0;
  padding: 0 28px;
  border: 0;
  outline: 0;
  color: var(--main-color);
  background: transparent;
  font-size: 1.12rem;
}
.search-overlay__submit, .search-overlay__close {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--main-color);
  background: transparent;
}
.search-overlay__submit:hover, .search-overlay__close:hover { color: var(--accent-color-alt); background: var(--light-grey); }
.search-overlay__submit .icon, .search-overlay__close .icon { width: 26px; height: 26px; }
.search-suggestions {
  width: calc(100% - 108px);
  margin: 12px 0 0 auto;
  padding: 34px 36px 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-panel);
  opacity: 0;
}
.search-overlay.is-open .search-suggestions { opacity: 1; }
.search-suggestions__label { margin-bottom: 22px; color: var(--main-color); font-size: .88rem; font-weight: 700; }
.search-suggestions__list { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.search-suggestions__list a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  color: var(--black);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
}
.search-suggestions__list a:hover { color: var(--accent-color-alt); }
.search-suggestions__list .icon { width: 23px; height: 23px; }
.search-suggestion__meta { color: var(--muted); font-size: .78rem; font-weight: 650; }
.search-suggestions__status { color: var(--muted); }

/* Mobile drawer */
.mobile-navigation { display: none; }
.mobile-navigation__panel {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(92vw, 430px);
  height: 100%;
  overflow: auto;
  padding: 20px 22px 32px;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
}
.mobile-navigation__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mobile-navigation__header .site-logo { width: 184px; height: 56px; }
.mobile-navigation__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  margin: 24px 0 30px;
  overflow: hidden;
  border: 2px solid var(--accent-color-alt);
  border-radius: 999px;
}
.mobile-navigation__search input { min-width: 0; padding: 13px 18px; border: 0; outline: 0; }
.mobile-navigation__search button { display: grid; place-items: center; padding: 0; border: 0; color: var(--main-color); background: transparent; }
.mobile-navigation__links h2 { margin-bottom: 18px; font-size: 1.6rem; }
.mobile-navigation__menu, .mobile-navigation__menu ul, .mobile-navigation__links .mega-menu__grid, .mobile-navigation__links .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-navigation__menu > li, .mobile-navigation__links .mega-menu__grid > li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mobile-navigation__menu > li > a, .mobile-navigation__links .mega-menu__grid > li > a {
  display: block;
  margin: 0 0 12px;
  color: var(--main-color);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}
.mobile-navigation__menu .sub-menu, .mobile-navigation__links .sub-menu { display: grid; gap: 10px; }
.mobile-navigation__menu .sub-menu a, .mobile-navigation__links .sub-menu a { color: #343440; text-decoration: none; }
.mobile-navigation__cta { width: 100%; margin-top: 28px; }

/* Home hero */
.home-hero { padding: 0 0 78px; }
.home-hero__stage { position: relative; padding: 0 0 118px; }
.home-hero__visual {
  height: 610px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--dark-grey);
}
.home-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__card {
  position: absolute;
  left: 52px;
  bottom: 0;
  width: min(610px, calc(100% - 104px));
  min-height: 390px;
  padding: 54px 58px 50px;
  border-radius: 26px;
  background: var(--mint);
}
.home-hero__card h1 { margin-bottom: 20px; font-size: clamp(2.85rem, 4.4vw, 4rem); }
.home-hero__intro { max-width: 530px; margin-bottom: 28px; color: #242437; font-size: 1.08rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.home-hero__badge {
  position: absolute;
  top: 70px;
  right: 62px;
  display: grid;
  width: 154px;
  height: 154px;
  place-content: center;
  padding: 18px;
  border-radius: 50%;
  color: var(--main-color);
  background: var(--accent-color);
  text-align: center;
  transform: rotate(6deg);
}
.home-hero__badge strong { display: block; font-family: var(--font-display); font-size: 2.15rem; line-height: 1; }
.home-hero__badge span { display: block; margin-top: 6px; font-size: .82rem; font-weight: 800; line-height: 1.15; }

/* Portal search */
.portal-search-section { padding: 38px 0 96px; }
.portal-search-panel {
  padding: 58px 62px 50px;
  border-radius: var(--radius-large);
  background: var(--cream);
}
.portal-search-panel h2 { max-width: 900px; margin-bottom: 30px; }
.site-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 70px;
  overflow: hidden;
  border: 3px solid var(--accent-color-alt);
  border-radius: 999px;
  background: #fff;
}
.site-search-form__input { min-width: 0; padding: 0 28px; border: 0; outline: 0; color: var(--main-color); background: transparent; font-size: 1.08rem; }
.site-search-form__button {
  display: inline-flex;
  min-width: 150px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 7px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-color-alt);
  font-weight: 800;
}
.site-search-form__button:hover { background: var(--accent-color-alt-dark); }
.search-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.search-categories a, .filter-pills a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid rgba(12, 12, 53, .18);
  border-radius: 999px;
  color: var(--main-color);
  background: #fff;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}
.search-categories a:hover, .filter-pills a:hover, .filter-pills a.is-active { color: #fff; border-color: var(--accent-color-alt); background: var(--accent-color-alt); }
.popular-searches { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.popular-searches span { font-weight: 750; }
.popular-searches a { color: var(--accent-color-alt); font-weight: 700; }

/* Editorial sections */
.section { padding: 96px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.content-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.content-card {
  display: flex;
  min-width: 0;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--cream);
}
.content-card__media { display: block; height: 245px; overflow: hidden; background: var(--dark-grey); }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; }
.content-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 28%, rgba(119, 201, 13, .85) 0 13%, transparent 14%),
    linear-gradient(135deg, var(--dark-grey), var(--light-grey));
}
.content-card__body { display: flex; flex: 1; flex-direction: column; padding: 30px 28px 25px; }
.content-card__kicker { margin-bottom: 10px; font-size: .8rem; font-weight: 800; }
.content-card__title { margin-bottom: 12px; font-size: 1.8rem; }
.content-card__title a { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.content-card__excerpt, .content-card__body > p { color: #30303e; }
.content-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 24px; }
.content-card__footer > span { padding: 5px 10px; border-radius: 999px; color: var(--muted); background: #dfdcd2; font-size: .76rem; font-weight: 750; }
.content-card__arrow { display: grid; width: 42px; height: 42px; place-items: center; color: var(--main-color); text-decoration: none; }
.content-card__arrow:hover { color: var(--accent-color-alt); }

/* Feature rows */
.split-feature {
  position: relative;
  display: grid;
  min-height: 580px;
  grid-template-columns: 510px minmax(0, 1fr);
  align-items: center;
}
.split-feature__media {
  position: relative;
  z-index: 2;
  height: 510px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--light-grey);
}
.split-feature__content {
  min-height: 540px;
  margin-left: -230px;
  padding: 68px 72px 62px 300px;
  border-radius: 24px;
  background: var(--cream);
}
.split-feature--mint .split-feature__content { background: var(--mint); }
.split-feature__content h2 { margin-bottom: 22px; }
.split-feature__content p:not(.eyebrow) { max-width: 680px; margin-bottom: 28px; font-size: 1.05rem; }
.anatomy-symbol { position: relative; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(145deg, var(--light-grey), #fff); }
.anatomy-symbol::before,
.anatomy-symbol::after,
.anatomy-symbol span {
  position: absolute;
  content: "";
  border-radius: 999px;
}
.anatomy-symbol::before { top: 18%; left: 24%; width: 52%; height: 64%; background: var(--main-color); opacity: .93; }
.anatomy-symbol::after { top: 30%; left: 35%; width: 30%; height: 40%; background: var(--mint); }
.anatomy-symbol span:nth-child(1) { top: 16%; left: 48%; width: 4%; height: 68%; background: #fff; opacity: .85; }
.anatomy-symbol span:nth-child(2) { top: 43%; left: 24%; width: 52%; height: 4%; background: #fff; opacity: .7; }
.anatomy-symbol span:nth-child(3) { top: 13%; left: 20%; width: 60%; height: 74%; border: 3px solid var(--accent-color); background: transparent; }

/* Community teaser */
.section--community { background: var(--light-grey); }
.community-teaser { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 80px; align-items: center; }
.community-teaser__content h2 { max-width: 760px; }
.community-teaser__content > p:not(.eyebrow) { max-width: 720px; font-size: 1.07rem; }
.community-teaser__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.community-teaser__stack { position: relative; min-height: 390px; }
.community-note {
  position: absolute;
  width: 360px;
  min-height: 190px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-small);
}
.community-note--one { top: 0; left: 0; }
.community-note--two { right: 0; bottom: 0; background: var(--mint); }
.community-note strong { display: block; margin: 14px 0 5px; font-family: var(--font-display); font-size: 1.45rem; }
.community-avatar { display: inline-block; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--accent-color), var(--accent-color-alt)); }
.community-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Location teaser and pages */
.location-finder { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 80px; padding: 62px; border-radius: 26px; background: var(--cream); }
.location-finder__content h2 { max-width: 700px; }
.location-finder__form { align-self: center; }
.location-finder__form label { display: block; margin-bottom: 10px; font-weight: 800; }
.location-finder__input { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; border: 2px solid var(--accent-color-alt); border-radius: 20px; background: #fff; }
.location-finder__input input { min-width: 0; padding: 10px 5px; border: 0; outline: 0; grid-column: 2; }
.location-finder__input .button { grid-column: 1 / -1; width: 100%; }
.location-finder__input > .icon { grid-row: 1; grid-column: 1; }
.locations-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 52px; padding-block: 70px 100px; }
.location-filters form { position: sticky; top: 20px; display: grid; gap: 12px; padding: 28px; border-radius: 22px; background: var(--cream); }
.location-filters h2 { font-size: 1.55rem; }
.location-filters label { margin-top: 5px; font-size: .9rem; font-weight: 800; }
.location-filters input, .location-filters select { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #c8c9c6; border-radius: 10px; background: #fff; }
.location-results__heading { margin-bottom: 24px; }
.location-results__heading h2 { font-size: 1.8rem; }
.location-list { display: grid; gap: 24px; }
.location-card { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; border: 1px solid #e1e2de; border-radius: 22px; background: #fff; }
.location-card__media { min-height: 230px; background: var(--dark-grey); }
.location-card__media img { width: 100%; height: 100%; object-fit: cover; }
.location-card__body { padding: 26px 28px; }
.location-card__body h3 { margin-bottom: 10px; }
.location-card__address { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.location-card__address .icon { width: 19px; height: 19px; }
.location-detail__hero { padding: 34px 0 60px; }
.location-detail__hero-grid { display: grid; grid-template-columns: 52% minmax(0, 1fr); align-items: center; }
.location-detail__media { height: 510px; overflow: hidden; border-radius: 26px; background: var(--dark-grey); }
.location-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.location-detail__summary { min-height: 460px; margin-left: -70px; padding: 58px 55px 52px 125px; border-radius: 26px; background: var(--mint); }
.location-detail__address { display: flex; align-items: center; gap: 9px; font-weight: 750; }
.location-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Archives and pages */
.archive-hero, .page-hero { padding: 30px 0 22px; }
.archive-hero__inner, .page-hero__panel {
  padding: 58px 64px;
  border-radius: 26px;
  background: var(--mint);
}
.archive-hero--cream .archive-hero__inner { background: var(--cream); }
.archive-hero--blue .archive-hero__inner { color: #fff; background: var(--accent-color-alt); }
.archive-hero--blue .archive-hero__inner h1, .archive-hero--blue .archive-hero__inner .eyebrow { color: #fff; }
.archive-hero__inner > p:last-child, .page-hero__panel > p { max-width: 820px; margin-bottom: 0; font-size: 1.08rem; }
.archive-hero__inner--split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 50px; }
.archive-hero__symbol { height: 230px; border-radius: 20px; }
.breadcrumbs-shell { padding-block: 20px 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-color-alt); }
.archive-content { padding-block: 42px 100px; }
.archive-grid { padding-block: 70px 100px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.page-content, .article-content { padding-block: 44px 96px; }
.entry-content { font-size: 1.06rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.4em; }
.entry-content h2 { margin-top: 1.7em; font-size: clamp(2rem, 3vw, 2.8rem); }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 18px; }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 6px solid var(--accent-color); background: var(--cream); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }

/* Article */
.article-hero { padding: 34px 0 62px; }
.article-hero__stage { display: grid; grid-template-columns: 50% minmax(0, 1fr); align-items: center; }
.article-hero__media { position: relative; z-index: 2; height: 540px; overflow: hidden; border-radius: 26px; background: var(--dark-grey); }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__placeholder { width: 100%; height: 100%; background: linear-gradient(140deg, var(--dark-grey), var(--light-grey)); }
.article-hero__content { min-height: 500px; margin-left: -78px; padding: 62px 62px 54px 130px; border-radius: 26px; background: var(--cream); }
.article-hero__content h1 { font-size: clamp(2.75rem, 4.4vw, 4.2rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; color: var(--muted); font-size: .86rem; font-weight: 700; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 18px; height: 18px; }
.article-hero__excerpt { margin-top: 24px; font-size: 1.05rem; }
.article-footer { padding-bottom: 80px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { padding: 8px 13px; border-radius: 999px; background: var(--light-grey); text-decoration: none; }

/* Anatomy */
.anatomy-detail__hero { padding: 34px 0 60px; }
.anatomy-detail__grid { display: grid; grid-template-columns: 48% minmax(0, 1fr); align-items: center; }
.anatomy-detail__media { height: 520px; overflow: hidden; border-radius: 26px; background: var(--light-grey); }
.anatomy-detail__media img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.anatomy-detail__content { min-height: 470px; margin-left: -60px; padding: 62px 58px 54px 115px; border-radius: 26px; background: var(--mint); }
.anatomy-detail__latin { color: var(--muted); font-size: 1.2rem; font-style: italic; }

/* Video */
.video-detail__header { padding: 52px 0 36px; }
.video-detail__header p { max-width: 760px; font-size: 1.08rem; }
.video-detail__player { overflow: hidden; border-radius: 26px; background: var(--main-color); aspect-ratio: 16 / 9; }
.video-detail__player iframe, .video-detail__player video, .video-detail__player img { width: 100%; height: 100%; object-fit: cover; }
.video-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; }
.video-placeholder .icon { width: 90px; height: 90px; }

/* Community */
.community-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 52px; align-items: start; padding-block: 70px 100px; }
.community-feed { display: grid; gap: 22px; }
.community-post { padding: 28px; border: 1px solid #e1e2de; border-radius: 22px; background: #fff; }
.community-post__header, .community-detail__author { display: flex; align-items: center; gap: 12px; }
.community-post__header div:last-child, .community-detail__author div { display: grid; }
.community-post__header span, .community-detail__author span { color: var(--muted); font-size: .82rem; }
.community-post h2 { margin: 22px 0 12px; font-size: 1.7rem; }
.community-post h2 a { text-decoration: none; }
.community-post footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.community-post footer > span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.community-post footer .icon { width: 19px; height: 19px; }
.community-sidebar__box { position: sticky; top: 20px; padding: 26px; border-radius: 22px; background: var(--cream); }
.community-sidebar__box h2 { font-size: 1.55rem; }
.community-detail { padding-block: 70px 40px; }
.community-detail__header { margin-bottom: 42px; }
.community-detail__author { margin-top: 26px; }

/* Search results */
.search-page__hero { padding: 34px 0 18px; }
.search-page__hero-inner { padding: 54px 60px; border-radius: 26px; background: var(--light-grey); }
.search-page__hero-inner h1 { margin-bottom: 28px; }
.search-tabs-wrap { margin-top: 20px; border-bottom: 1px solid var(--line); }
.search-tabs { display: flex; gap: 28px; overflow-x: auto; }
.search-tabs a { flex: 0 0 auto; padding: 16px 2px 13px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 750; text-decoration: none; }
.search-tabs a:hover, .search-tabs a.is-active { color: var(--accent-color-alt); border-bottom-color: var(--accent-color-alt); }
.search-layout { display: grid; grid-template-columns: minmax(0, 820px) 300px; gap: 70px; align-items: start; padding-block: 52px 100px; }
.search-results__heading h2 { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.search-results__list { display: grid; gap: 10px; }
.search-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-result__type { margin-bottom: 4px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.search-result h2 { margin-bottom: 4px; font-family: var(--font-body); font-size: 1.45rem; letter-spacing: -.015em; }
.search-result h2 a { color: var(--accent-color-alt); text-decoration: none; }
.search-result h2 a:hover { text-decoration: underline; }
.search-result__url { margin-bottom: 8px; color: #2f6d15; font-size: .78rem; word-break: break-all; }
.search-result__excerpt { color: #353541; }
.search-result__image { width: 130px; height: 96px; overflow: hidden; border-radius: 12px; }
.search-result__image img { width: 100%; height: 100%; object-fit: cover; }
.search-sidebar__box { position: sticky; top: 20px; padding: 24px; border-radius: 20px; background: var(--cream); }
.search-sidebar__box h2 { font-size: 1.45rem; }
.search-sidebar__box ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.search-sidebar__box a { color: var(--accent-color-alt); font-weight: 700; }
.empty-state { grid-column: 1 / -1; padding: 50px; border-radius: 22px; background: var(--cream); }

/* Comments */
.comments-shell { padding-bottom: 90px; }
.comments-area { padding-top: 36px; border-top: 1px solid var(--line); }
.comment-list { display: grid; gap: 18px; padding-left: 0; list-style: none; }
.comment-body { padding: 22px; border-radius: 16px; background: var(--light-grey); }
.comment-form { display: grid; gap: 15px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #bfc2c6; border-radius: 10px; }
.comment-form .submit { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px; color: #fff; background: var(--accent-color-alt); font-weight: 800; }

/* Pagination */
.navigation.pagination { grid-column: 1 / -1; margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; border-radius: 999px; color: var(--main-color); background: var(--light-grey); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { color: #fff; background: var(--accent-color-alt); }

/* 404 */
.not-found { padding: 80px 0 110px; }
.not-found__panel { padding: 70px; border-radius: 28px; background: var(--mint); }
.not-found__panel p { max-width: 700px; }
.not-found__panel .site-search-form { max-width: 900px; margin: 28px 0; }

/* Footer — matched to the supplied reference proportions */
.site-footer { padding-top: 70px; background: #fff; }
.footer-shell { overflow: hidden; border-radius: 28px 28px 0 0; }
.footer-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 76px;
  padding: 54px 82px;
  background: var(--cream-light);
}
.footer-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; }
.footer-promo strong { max-width: 310px; color: var(--black); font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; }
.footer-promo .button { min-width: 185px; }
.footer-main { padding: 76px 82px 38px; background: var(--cream); }
.footer-nav__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav__grid > li { min-width: 0; }
.footer-nav__grid > li > a,
.footer-nav__heading {
  display: block;
  margin-bottom: 17px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-nav__grid .sub-menu { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.footer-nav__grid .sub-menu a { color: var(--black); font-size: .93rem; text-decoration: none; }
.footer-nav__grid .sub-menu a:hover { color: var(--accent-color-alt); text-decoration: underline; }
.footer-extra { margin-top: 50px; }
.footer-social {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 70px;
  padding: 8px 14px 8px 28px;
  border-radius: 999px;
  background: #fff;
}
.footer-social strong { color: var(--black); font-family: var(--font-display); font-size: 1rem; }
.footer-social__links { display: flex; align-items: center; gap: 10px; }
.footer-social__links a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-color-alt);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-social__links a:hover { background: var(--main-color); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 32px; padding-top: 25px; border-top: 1px solid rgba(12, 12, 53, .12); color: var(--muted); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom__menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.footer-bottom__menu a { color: inherit; text-decoration: none; }
.chat-button {
  position: fixed;
  z-index: 1050;
  right: 34px;
  bottom: 28px;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  color: var(--black);
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .2);
  font-weight: 800;
}
.chat-button:hover { color: var(--accent-color-alt); box-shadow: 0 8px 28px rgba(0, 0, 0, .2); }

/* Responsive */
@media (max-width: 1180px) {
  .site-shell { width: min(calc(100% - 48px), var(--shell)); }
  .site-logo { width: 190px; }
  .header-main { gap: 18px; }
  .primary-nav { gap: 10px; }
  .header-cta { min-width: 145px; padding-inline: 20px; }
  .mega-menu__grid { gap: 44px 42px; }
  .home-hero__card { left: 38px; width: 570px; }
  .content-card-grid { gap: 28px; }
  .community-teaser { grid-template-columns: minmax(0, 1fr) 390px; gap: 45px; }
  .location-finder { grid-template-columns: minmax(0, 1fr) 430px; gap: 50px; }
  .footer-promos, .footer-main { padding-inline: 54px; }
  .footer-nav__grid { gap: 30px; }
}

@media (max-width: 980px) {
  .utility-bar, .primary-nav, .header-cta { display: none; }
  .header-frame { padding-block: 12px; }
  .header-main { min-height: 64px; justify-content: space-between; padding-right: 0; }
  .site-logo { width: 205px; height: 58px; }
  .mobile-menu-button { display: inline-grid; }
  .mobile-navigation { display: block; }
  .overlay__stage { padding-top: 86px; }
  .mega-menu { display: none; }
  .search-overlay__stage { padding-top: 20px; }
  .search-overlay__top { grid-template-columns: minmax(0, 1fr); }
  .search-overlay__logo { display: none; }
  .search-suggestions { width: 100%; }
  .home-hero__visual { height: 530px; }
  .home-hero__card { left: 30px; width: calc(100% - 60px); max-width: 610px; }
  .content-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-feature { grid-template-columns: 42% minmax(0, 1fr); }
  .split-feature__content { margin-left: -150px; padding-left: 210px; }
  .community-teaser, .location-finder { grid-template-columns: 1fr; }
  .community-teaser__stack { max-width: 520px; }
  .locations-layout { grid-template-columns: 1fr; }
  .location-filters form { position: static; }
  .article-hero__stage, .anatomy-detail__grid, .location-detail__hero-grid { grid-template-columns: 1fr; }
  .article-hero__media, .anatomy-detail__media, .location-detail__media { height: 500px; }
  .article-hero__content, .anatomy-detail__content, .location-detail__summary { margin: -70px 30px 0; padding: 110px 50px 48px; }
  .search-layout { grid-template-columns: 1fr; }
  .search-sidebar { display: none; }
  .community-layout { grid-template-columns: 1fr; }
  .community-sidebar { display: none; }
  .footer-promos { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .site-shell { width: min(calc(100% - 32px), var(--shell)); }
  .content-shell { width: min(calc(100% - 32px), var(--content)); }
  h1 { font-size: clamp(2.45rem, 11vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .header-frame { padding-block: 8px; }
  .header-main { min-height: 58px; }
  .site-logo { width: 168px; height: 52px; }
  .site-logo__desktop { display: none; }
  .site-logo__mobile { display: block; }
  .header-actions .icon-button { width: 40px; height: 40px; }
  .header-actions > .icon-button:nth-child(2) { display: none; }
  .search-overlay__form { grid-template-columns: minmax(0, 1fr) 48px 48px; min-height: 58px; }
  .search-overlay__form input { padding-inline: 20px; font-size: .98rem; }
  .search-suggestions { padding: 26px 22px; border-radius: 20px; }
  .home-hero { padding-bottom: 34px; }
  .home-hero__stage { width: 100%; padding-bottom: 0; }
  .home-hero__visual { height: 455px; border-radius: 0 0 24px 24px; }
  .home-hero__card { position: relative; left: auto; bottom: auto; width: calc(100% - 32px); min-height: 0; margin: -80px auto 0; padding: 42px 26px 34px; }
  .home-hero__card h1 { font-size: clamp(2.45rem, 10vw, 3.2rem); }
  .home-hero__badge { display: none; }
  .home-hero__actions { align-items: stretch; flex-direction: column; }
  .home-hero__actions .button { width: 100%; }
  .portal-search-section { padding: 34px 0 65px; }
  .portal-search-panel { padding: 38px 22px 30px; }
  .site-search-form { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .site-search-form__input { min-height: 60px; padding-inline: 20px; }
  .site-search-form__button { min-height: 50px; margin: 0 7px 7px; }
  .section { padding: 66px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .content-card-grid { grid-template-columns: 1fr; }
  .content-card { min-height: 0; }
  .content-card__media { height: 230px; }
  .split-feature { display: block; min-height: 0; }
  .split-feature__media { height: 390px; }
  .split-feature__content { min-height: 0; margin: -50px 16px 0; padding: 90px 24px 34px; }
  .community-teaser__stack { min-height: 380px; }
  .community-note { width: 86%; }
  .location-finder { gap: 30px; padding: 38px 24px; }
  .location-card { grid-template-columns: 1fr; }
  .location-card__media { height: 220px; }
  .archive-hero, .page-hero { padding-top: 16px; }
  .archive-hero__inner, .page-hero__panel { padding: 40px 24px; }
  .archive-hero__inner--split { grid-template-columns: 1fr; }
  .archive-hero__symbol { display: none; }
  .article-hero { padding-top: 16px; }
  .article-hero__stage { width: 100%; }
  .article-hero__media, .anatomy-detail__media, .location-detail__media { height: 450px; border-radius: 0 0 24px 24px; }
  .article-hero__content, .anatomy-detail__content, .location-detail__summary { margin: -64px 16px 0; padding: 98px 24px 38px; }
  .article-hero__content h1 { font-size: clamp(2.35rem, 10vw, 3.25rem); }
  .search-page__hero-inner { padding: 38px 22px; }
  .search-tabs { width: 100%; padding-inline: 16px; }
  .search-layout { padding-top: 34px; }
  .search-result { grid-template-columns: 1fr; }
  .search-result__image { order: -1; width: 100%; height: 180px; }
  .community-layout { padding-top: 44px; }
  .footer-shell { width: 100%; border-radius: 24px 24px 0 0; }
  .footer-promos, .footer-main { padding-inline: 24px; }
  .footer-promos { padding-block: 40px; }
  .footer-promo { grid-template-columns: 1fr; gap: 16px; }
  .footer-promo .button { width: 100%; }
  .footer-main { padding-top: 54px; }
  .footer-nav__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-social { align-items: flex-start; flex-direction: column; padding: 18px 20px; border-radius: 20px; }
  .footer-social__links { flex-wrap: wrap; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .chat-button { right: 16px; bottom: 16px; min-height: 52px; padding: 11px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
