:root {
  --well-ink: #082f38;
  --well-muted: #5f7479;
  --well-teal: #078b83;
  --well-aqua: #2dc8b8;
  --well-mint: #e4f8f4;
  --well-blue: #2471d8;
  --well-surface: #f7fbfa;
  --well-line: rgba(8, 47, 56, 0.11);
  --well-shadow: 0 24px 70px rgba(8, 47, 56, 0.11);
}

body.multipage-site {
  background: var(--well-surface);
  color: var(--well-ink);
}

.multipage-site .site-header {
  border-bottom-color: rgba(8, 47, 56, 0.08);
  background: rgba(250, 254, 253, 0.92);
  box-shadow: 0 8px 30px rgba(8, 47, 56, 0.05);
}

.multipage-site .header-inner {
  width: min(1260px, calc(100% - 40px));
}

.multipage-site .brand img {
  width: auto;
  height: 68px;
  border-radius: 14px;
}

.multipage-site .primary-nav a {
  color: #38575e;
  font-size: 0.84rem;
  font-weight: 760;
}

.multipage-site .primary-nav {
  gap: clamp(10px, 1.2vw, 20px);
}

.multipage-site .primary-nav a:hover,
.multipage-site .primary-nav a.is-active {
  color: var(--well-teal);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% - 4px);
  left: 50%;
  display: grid;
  width: 248px;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--well-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(8, 47, 56, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.multipage-site .primary-nav .nav-dropdown-menu a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f2faf8;
  text-decoration: none;
}

.multipage-site .primary-nav .nav-dropdown-menu a:hover,
.multipage-site .primary-nav .nav-dropdown-menu a:focus-visible {
  background: var(--well-mint);
}

.nav-dropdown-menu strong {
  color: var(--well-ink);
  font-size: 0.9rem;
}

.nav-dropdown-menu span {
  color: var(--well-muted);
  font-size: 0.76rem;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  border: 1px solid var(--well-line);
  border-radius: 999px;
  background: #edf7f5;
  padding: 3px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #547076;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.language-switcher button.is-active {
  background: white;
  color: var(--well-teal);
  box-shadow: 0 5px 14px rgba(8, 47, 56, 0.12);
}

.multipage-site .button {
  border-radius: 999px;
  min-height: 48px;
  padding-inline: 1.25rem;
}

.multipage-site .button-dark {
  border-color: transparent;
  background: linear-gradient(135deg, var(--well-teal), #056c72);
  box-shadow: 0 12px 30px rgba(7, 139, 131, 0.24);
}

.page-home .hero {
  width: min(1440px, calc(100% - 32px));
  min-height: calc(100svh - 112px);
  margin: 16px auto 0;
  border-radius: 34px;
  box-shadow: var(--well-shadow);
}

.building-version.page-home .hero picture,
.building-version.page-home .hero picture img {
  height: calc(100svh - 112px);
}

.page-home .hero::before {
  background:
    linear-gradient(90deg, rgba(4, 38, 47, 0.92) 0%, rgba(4, 48, 55, 0.72) 45%, rgba(5, 66, 69, 0.14) 100%),
    radial-gradient(circle at 73% 24%, rgba(118, 255, 236, 0.32), transparent 28%);
}

.page-home .hero-content h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 6.2vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.page-home .hero-content .eyebrow,
.page-hero .eyebrow {
  color: #79f0df;
}

.page-home .hero-metrics {
  border-radius: 24px;
  background: rgba(236, 255, 251, 0.13);
}

.page-hero {
  width: min(1440px, calc(100% - 32px));
  min-height: 54svh;
  margin: 16px auto 0;
  border-radius: 34px;
  box-shadow: var(--well-shadow);
}

.page-hero-backdrop {
  background:
    linear-gradient(90deg, rgba(4, 39, 47, 0.95) 0%, rgba(6, 59, 62, 0.76) 52%, rgba(6, 59, 62, 0.2) 100%),
    url("assets/mpgroup/9492.jpg") center 42% / cover no-repeat;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.7rem);
}

.multipage-site main > section:not(.hero):not(.page-hero):not(.contact-strip) {
  margin-block: clamp(1rem, 3vw, 2.5rem);
}

.multipage-site .section-inner {
  width: min(1180px, calc(100% - 40px));
}

.multipage-site .section-heading h2,
.multipage-site .intro-grid h2,
.multipage-site .award-grid h2,
.multipage-site .contact-grid h2 {
  color: var(--well-ink);
  letter-spacing: -0.035em;
}

.multipage-site .eyebrow,
.multipage-site .tag {
  color: var(--well-teal);
}

.multipage-site .mission-card,
.multipage-site .feature-card,
.multipage-site .compact-card,
.multipage-site .visual-card,
.multipage-site .media-card,
.multipage-site .news-card,
.multipage-site .activity-card,
.multipage-site .health-hero-card,
.multipage-site .health-program-card,
.multipage-site .block-card {
  overflow: hidden;
  border: 1px solid var(--well-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 52px rgba(8, 47, 56, 0.08);
}

.multipage-site .mission-card:hover,
.multipage-site .news-card:hover,
.multipage-site .activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 72px rgba(8, 47, 56, 0.14);
}

.multipage-site .mission-card img,
.multipage-site .visual-card img,
.multipage-site .news-card img,
.multipage-site .activity-card img,
.multipage-site .health-hero-card > img {
  filter: saturate(0.9) contrast(1.03);
}

.multipage-site .section-muted,
.multipage-site .anniversary-story {
  border-block: 1px solid var(--well-line);
  background:
    radial-gradient(circle at 10% 15%, rgba(45, 200, 184, 0.12), transparent 24rem),
    linear-gradient(180deg, #effaf8 0%, #f9fcfb 100%);
}

.multipage-site .contact-strip {
  width: min(1440px, calc(100% - 32px));
  margin: 32px auto;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 16%, rgba(106, 245, 224, 0.22), transparent 23rem),
    linear-gradient(135deg, #073d46, #086f70 58%, #087f78);
  box-shadow: var(--well-shadow);
}

.multipage-site .orbit-card {
  color: inherit;
  text-decoration: none;
}

.multipage-site .orbit-card:focus-visible {
  outline: 3px solid rgba(7, 139, 131, 0.35);
  outline-offset: 4px;
}

.careers-section {
  padding-block: clamp(2.5rem, 6vw, 6rem);
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.careers-content > h2,
.careers-contact h2 {
  margin: 0.35rem 0 1rem;
  color: var(--well-ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.careers-intro,
.careers-contact > p:not(.eyebrow) {
  color: var(--well-muted);
  line-height: 1.75;
}

.careers-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.career-card {
  border: 1px solid var(--well-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 16px 45px rgba(8, 47, 56, 0.07);
}

.career-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.career-card h3 {
  margin: 0;
  color: var(--well-ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.025em;
}

.career-department {
  margin: 6px 0 0;
  color: var(--well-teal);
  font-weight: 800;
}

.career-apply {
  flex: 0 0 auto;
  border: 1px solid rgba(7, 139, 131, 0.2);
  border-radius: 999px;
  background: var(--well-mint);
  color: var(--well-teal);
  padding: 9px 14px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
}

.career-apply:hover,
.career-apply:focus-visible {
  background: #ccefe9;
}

.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.career-meta span {
  border-radius: 999px;
  background: var(--well-mint);
  color: #126c69;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 800;
}

.career-summary {
  margin-bottom: 0;
  color: var(--well-muted);
  line-height: 1.75;
  white-space: pre-line;
}

.careers-empty {
  display: grid;
  margin-top: 30px;
  place-items: center;
  border: 1px dashed rgba(7, 139, 131, 0.28);
  border-radius: 24px;
  background: rgba(228, 248, 244, 0.42);
  padding: 42px 28px;
  text-align: center;
}

.careers-empty svg {
  width: 34px;
  height: 34px;
  color: var(--well-teal);
}

.careers-empty h3 {
  margin: 16px 0 6px;
}

.careers-empty p {
  max-width: 580px;
  margin: 0;
  color: var(--well-muted);
  line-height: 1.7;
}

.careers-contact {
  position: sticky;
  top: 118px;
  overflow: hidden;
  border: 1px solid var(--well-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(45, 200, 184, 0.22), transparent 18rem),
    white;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--well-shadow);
}

.careers-contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 19px;
  background: var(--well-mint);
  color: var(--well-teal);
}

.careers-contact-icon svg {
  width: 28px;
  height: 28px;
}

.careers-contact .button {
  max-width: 100%;
  margin-top: 18px;
  overflow-wrap: anywhere;
}

.location-section {
  padding-block: clamp(2rem, 5vw, 5rem);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
}

.location-copy,
.location-map {
  overflow: hidden;
  border: 1px solid var(--well-line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 52px rgba(8, 47, 56, 0.08);
}

.location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 4vw, 50px);
}

.location-copy h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.location-copy > p:not(.eyebrow) {
  color: var(--well-muted);
  line-height: 1.75;
}

.location-coordinate {
  margin-top: 0;
  color: var(--well-teal) !important;
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.location-copy .button {
  margin-top: 1rem;
}

.location-map iframe {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border: 0;
}

.multipage-site .site-footer {
  border-top: 1px solid var(--well-line);
  background: #062f38;
  color: rgba(255, 255, 255, 0.78);
}

.multipage-site .footer-grid {
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(24px, 3vw, 42px);
}

.multipage-site .footer-destinations a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.multipage-site .footer-destinations a:hover,
.multipage-site .footer-destinations a:focus-visible {
  color: #79f0df;
}

[data-cms-section][hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .multipage-site .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-home .hero,
  .page-hero,
  .multipage-site .contact-strip {
    width: calc(100% - 20px);
    border-radius: 24px;
  }

  .page-home .hero-content h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .page-home .hero::before {
    background: linear-gradient(180deg, rgba(4, 38, 47, 0.6), rgba(4, 38, 47, 0.96) 68%);
  }

  .multipage-site .mobile-menu {
    border-top: 1px solid var(--well-line);
    background: rgba(250, 254, 253, 0.98);
  }

  .multipage-site .mobile-menu a {
    border-radius: 16px;
  }

  .multipage-site .footer-grid {
    grid-template-columns: 1fr;
  }

  .multipage-site .mobile-menu .mobile-sub-link {
    margin-left: 16px;
    border-left: 3px solid var(--well-aqua);
    color: var(--well-teal);
    font-size: 0.9rem;
  }

  .multipage-site .header-inner {
    width: min(100% - 20px, 1260px);
    gap: 8px;
  }

  .multipage-site .brand img {
    height: 56px;
  }

  .language-switcher button {
    min-width: 34px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .careers-layout {
    grid-template-columns: 1fr;
  }

  .careers-contact {
    position: static;
  }

  .career-card-head {
    display: block;
  }

  .location-copy,
  .location-map {
    border-radius: 22px;
  }

  .location-map iframe {
    min-height: 360px;
  }
}
