/* =========================================================================
   Mars Specialised Hospital — Theme base, header & footer
   Hand-translated 1:1 from the original Tailwind markup so the rendered
   result is identical on mobile, tablet and desktop.
   ========================================================================= */

/* ---------- Reset-ish base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body.mms-body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mms-body h1,
.mms-body h2,
.mms-body h3,
.mms-body h4,
.mms-body h5 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: rgb(3, 6, 13);
  margin: 0;
}

.mms-body a { color: inherit; text-decoration: none; }
.mms-body img { max-width: 100%; height: auto; display: block; }
.mms-body p { margin: 0; }
.mms-body ul { margin: 0; padding: 0; list-style: none; }

/* Site wrapper */
.mms-site { min-height: 100vh; display: flex; flex-direction: column; background: var(--background); }
.mms-main { flex: 1 1 auto; }

/* Shared container */
.mms-container {
  width: 100%;
  max-width: var(--mms-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .mms-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.mms-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

/* Top utility bar — hidden below md */
.mms-topbar {
  display: none;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}
@media (min-width: 768px) { .mms-topbar { display: block; } }

.mms-topbar__inner {
  max-width: var(--mms-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mms-topbar__left { display: flex; align-items: center; gap: 1.5rem; }
.mms-topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.mms-topbar__item { display: inline-flex; align-items: center; gap: 0.5rem; }
.mms-topbar a:hover { color: #fff; }
.mms-topbar__sep { height: 1rem; width: 1px; background: rgba(255, 255, 255, 0.2); }
.mms-topbar__social { display: flex; align-items: center; gap: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.mms-topbar__social a:hover { color: #fff; }
.mms-topbar svg { width: 0.875rem; height: 0.875rem; }

/* Main navigation bar */
.mms-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.mms-navbar__inner {
  max-width: var(--mms-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .mms-navbar__inner { padding: 0 1.5rem; gap: 1.5rem; }
}

.mms-logo { display: flex; align-items: center; min-width: 0; }
.mms-logo img { height: 3rem; width: auto; flex-shrink: 0; }
@media (min-width: 640px) { .mms-logo img { height: 3.5rem; } }

/* Desktop nav links */
.mms-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .mms-nav { display: flex; } }

.mms-nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: rgba(20, 22, 30, 0.75);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}
.mms-nav__link:hover { color: var(--primary); }
.mms-nav__link.is-active { color: var(--primary); }
.mms-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 3px;
  background: var(--accent);
}

/* Right cluster */
.mms-actions { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }

.mms-call {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
}
@media (min-width: 1280px) { .mms-call { display: flex; } }
.mms-call__icon {
  height: 2.5rem; width: 2.5rem;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: rgba(225, 48, 42, 0.1);
  color: var(--accent);
}
.mms-call__icon svg { width: 1rem; height: 1rem; }
.mms-call__meta { display: flex; flex-direction: column; line-height: 1.1; }
.mms-call__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-foreground); }
.mms-call__num { font-size: 0.875rem; font-weight: 700; color: var(--foreground); }

.mms-btn-book {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 2px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: background 0.2s ease;
}
@media (min-width: 768px) { .mms-btn-book { display: inline-flex; } }
.mms-btn-book:hover { background: var(--primary-dark); }
.mms-btn-book svg { width: 1rem; height: 1rem; }

.mms-burger {
  display: inline-flex;
  height: 2.5rem; width: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1024px) { .mms-burger { display: none; } }
.mms-burger svg { width: 1.25rem; height: 1.25rem; }
.mms-burger .mms-icon-close { display: none; }
.mms-burger.is-open .mms-icon-menu { display: none; }
.mms-burger.is-open .mms-icon-close { display: inline-flex; }

/* Mobile menu */
.mms-mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mms-mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .mms-mobile-menu { display: none !important; } }
.mms-mobile-menu__inner { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mms-mobile-menu__link { padding: 0.5rem 0; color: rgba(20, 22, 30, 0.8); }
.mms-mobile-menu__link.is-active { color: var(--primary); font-weight: 600; }
.mms-mobile-menu__cta {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  font-weight: 600;
}
.mms-mobile-menu__cta svg { width: 1rem; height: 1rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.mms-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5rem;
  position: relative;
}
.mms-footer__glow {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image: radial-gradient(circle at 90% 0%, rgb(4, 64, 173), transparent 55%);
}
.mms-footer__grid {
  position: relative;
  max-width: var(--mms-container);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 640px) { .mms-footer__grid { padding: 4rem 1.5rem; } }
@media (min-width: 768px) { .mms-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mms-footer__grid { grid-template-columns: repeat(4, 1fr); } }

.mms-footer__logo { height: 3.5rem; width: auto; }
.mms-footer__about { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.625; color: rgba(255, 255, 255, 0.75); }
.mms-footer__social { margin-top: 1.5rem; display: flex; gap: 0.5rem; }
.mms-footer__social a {
  height: 2.25rem; width: 2.25rem;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}
.mms-footer__social a:hover { background: var(--accent); }
.mms-footer__social svg { width: 1rem; height: 1rem; }

.mms-footer__heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.mms-footer__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 2.5rem;
  background: var(--accent);
}
.mms-footer__links { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.mms-footer__links a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.mms-footer__links a:hover { color: #fff; }
.mms-footer__links svg { width: 0.875rem; height: 0.875rem; color: var(--accent); flex-shrink: 0; }

.mms-footer__contact { display: flex; flex-direction: column; gap: 0.875rem; font-size: 0.875rem; }
.mms-footer__contact li { display: flex; gap: 0.75rem; }
.mms-footer__contact svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.mms-footer__contact .muted { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; }

.mms-footer__bar { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mms-footer__bar-inner {
  max-width: var(--mms-container);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (min-width: 640px) { .mms-footer__bar-inner { padding: 1.25rem 1.5rem; } }
.mms-footer__bar-inner a:hover { color: #fff; }
.mms-footer__legal { display: flex; align-items: center; gap: 1rem; }

/* =========================================================================
   PAGE HERO (inner page banner)
   ========================================================================= */
.mms-pagehero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
}
.mms-pagehero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(225,48,42,.45), transparent 45%);
}
.mms-pagehero__inner {
  position: relative;
  max-width: var(--mms-container);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .mms-pagehero__inner { padding: 6rem 1.5rem; } }
.mms-pagehero__rule { height: 4px; width: 6rem; background: var(--accent); margin-bottom: 1.25rem; }
.mms-pagehero__title { font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.1; }
@media (min-width: 768px) { .mms-pagehero__title { font-size: 3rem; } }
.mms-pagehero__subtitle { margin-top: 1rem; max-width: 42rem; color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; }
.mms-pagehero__crumb { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

/* Generic page content wrapper (for WP page.php / single.php) */
.mms-page-content { max-width: var(--mms-container); margin: 0 auto; padding: 3.5rem 1.25rem 0; }
@media (min-width: 640px) { .mms-page-content { padding: 5rem 1.5rem 0; } }
.mms-page-content h1, .mms-page-content h2, .mms-page-content h3 { margin-bottom: 0.75rem; }
.mms-page-content p { margin-bottom: 1rem; line-height: 1.7; color: var(--foreground); }
.mms-page-content a { color: var(--primary); }
.mms-page-content img { border-radius: 1rem; margin: 1.5rem 0; }

/* 404 */
.mms-404 { display: flex; min-height: 60vh; align-items: center; justify-content: center; padding: 1rem; }
.mms-404__box { max-width: 28rem; text-align: center; }
.mms-404__code { font-size: 4.5rem; font-weight: 700; color: var(--foreground); }
.mms-404__title { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.mms-404__text { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.mms-404__btn {
  margin-top: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
}

/* Lucide icon sizing helper */
.mms-body [data-lucide],
.mms-body svg.lucide { stroke-width: 2; }

/* ---------- Blog/CPT archive (non-Elementor fallback listings) ---------- */
.mms-archive-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .mms-archive-grid { grid-template-columns: repeat(3, 1fr); } }
.mms-archive-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.mms-archive-card:hover { box-shadow: 0 10px 25px -12px rgba(0,0,0,0.18); }
.mms-archive-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.mms-archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mms-archive-card__body { padding: 1.5rem; }
.mms-archive-card__meta { font-size: 0.75rem; color: var(--muted-foreground); }
.mms-archive-card__body h3 { margin-top: 0.5rem; font-size: 1.05rem; font-weight: 700; }
.mms-archive-card__body h3 a:hover { color: var(--primary); }
.mms-archive-card__body p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.mms-pagination { margin-top: 2.5rem; }
.mms-pagination a, .mms-pagination .current {
  display: inline-block; padding: 0.4rem 0.8rem; margin: 0 0.15rem;
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.mms-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =========================================================================
   REUSABLE ACCENT BAR (red + blue) — Mengo-style section marker
   ========================================================================= */
.mms-accentbar { display: flex; align-items: center; height: 5px; width: 168px; max-width: 60%; }
.mms-accentbar > span { display: block; height: 100%; }
.mms-accentbar > span:first-child { width: 38px; background: var(--accent); }
.mms-accentbar > span:last-child { flex: 1; background: var(--primary); }

/* =========================================================================
   HEADER additions: search control + outline button
   ========================================================================= */
.mms-search-btn {
  height: 2.5rem; width: 2.5rem; display: grid; place-items: center;
  border-radius: 9999px; border: 1px solid var(--border); background: #fff;
  color: var(--primary); cursor: pointer; transition: background 0.2s ease;
}
.mms-search-btn:hover { background: var(--secondary); }
.mms-search-btn svg { width: 1.1rem; height: 1.1rem; }

.mms-btn-outline {
  display: none; align-items: center; gap: 0.5rem; border-radius: 2px;
  background: transparent; color: var(--primary); border: 1px solid var(--primary);
  padding: 0.5625rem 1.125rem; font-size: 0.875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.025em; transition: all 0.2s ease;
}
@media (min-width: 1024px) { .mms-btn-outline { display: inline-flex; } }
.mms-btn-outline:hover { background: var(--primary); color: #fff; }
.mms-btn-outline svg { width: 1rem; height: 1rem; }

/* Search overlay */
.mms-search-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(8, 13, 22, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.mms-search-overlay.is-open { display: flex; }
.mms-search-overlay__box { margin-top: 18vh; width: min(680px, 92vw); }
.mms-search-overlay__box form { display: flex; gap: 0.5rem; }
.mms-search-overlay__box input[type="search"] {
  flex: 1; padding: 1rem 1.25rem; border-radius: 6px; border: 0; font-size: 1.1rem; outline: none;
}
.mms-search-overlay__box button[type="submit"] {
  padding: 0 1.5rem; border: 0; border-radius: 6px; background: var(--accent);
  color: #fff; font-weight: 600; cursor: pointer;
}
.mms-search-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: transparent;
  border: 0; color: #fff; cursor: pointer;
}
.mms-search-close svg { width: 1.75rem; height: 1.75rem; }

/* =========================================================================
   v1.2 — white-on-blue text/icons, footer social, tighter header
   ========================================================================= */

/* Footer sits on blue: make text bold white and icons white */
.mms-footer { color: #fff; }
.mms-footer__about { color: rgba(255, 255, 255, 0.92); }
.mms-footer__links a { color: #fff; font-weight: 600; }
.mms-footer__links svg { color: #fff; }
.mms-footer__contact { color: #fff; }
.mms-footer__contact li { font-weight: 500; }
.mms-footer__contact svg { color: #fff; }
.mms-footer__contact .muted { color: rgba(255, 255, 255, 0.75); }
.mms-footer__social a { background: rgba(255, 255, 255, 0.14); }
.mms-footer__social a svg { width: 1.05rem; height: 1.05rem; color: #fff; }
.mms-footer__social a:hover { background: var(--accent); }
.mms-footer__bar, .mms-footer__bar-inner, .mms-footer__legal { color: #fff; }
.mms-footer__bar a { color: #fff; }

/* Any blue button: bold white label + white icon */
.mms-btn--primary-pill,
.mms-btn--primary,
.mms-btn-book {
  color: #fff !important;
  font-weight: 700;
}
.mms-btn--primary-pill svg,
.mms-btn--primary svg,
.mms-btn-book svg,
.mms-btn--primary-pill [data-lucide],
.mms-btn--primary [data-lucide] { color: #fff; }
.mms-btn-outline:hover { color: #fff; }
.mms-btn-outline:hover svg { color: #fff; }

/* Icon squares on blue background keep white icons (reinforce) */
.mms-corevalue__icon svg, .mms-infocard__icon svg,
.mms-corevalue__icon [data-lucide], .mms-infocard__icon [data-lucide] { color: #fff; }

/* -------- Tighter, better-fitting header nav -------- */
.mms-navbar__inner { height: 4.5rem; gap: 0.85rem; }
@media (min-width: 640px) { .mms-navbar__inner { gap: 1rem; } }
.mms-logo img { height: 2.6rem; }
@media (min-width: 640px) { .mms-logo img { height: 3rem; } }
.mms-nav { gap: 1.25rem; }
@media (min-width: 1280px) { .mms-nav { gap: 1.6rem; } }
.mms-nav__link { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.mms-nav__link.is-active::after { bottom: -18px; height: 2px; }
.mms-btn-book { padding: 0.5rem 0.95rem; font-size: 0.8125rem; text-transform: none; letter-spacing: 0; }
.mms-btn-outline { padding: 0.4375rem 0.85rem; font-size: 0.8125rem; text-transform: none; letter-spacing: 0; }
.mms-search-btn { height: 2.25rem; width: 2.25rem; }
.mms-actions { gap: 0.5rem; }
.mms-pagehero__subtitle { color: rgba(255, 255, 255, 0.95); }
.mms-pagehero__crumb { color: rgba(255, 255, 255, 0.8); }

/* =========================================================================
   v1.3 — force white text on blue (beats Elementor global kit h1-h6 / a colors)
   ========================================================================= */
/* Page hero title — white bold on the blue banner, every page */
.mms-pagehero__title { color: #fff !important; }
.mms-pagehero__subtitle { color: rgba(255,255,255,0.95) !important; }
.mms-pagehero__crumb { color: rgba(255,255,255,0.8) !important; }

/* Footer headings + links — bold white on blue */
.mms-footer__heading { color: #fff !important; font-weight: 700 !important; }
.mms-footer__links a, .mms-footer__bar, .mms-footer__bar a, .mms-footer__legal { color: #fff !important; }
.mms-footer__contact, .mms-footer__contact li { color: #fff !important; }

/* All coloured buttons: white label + white icon */
.mms-btn-book, .mms-btn--primary, .mms-btn--primary-pill,
.mms-btn--accent, .mms-btn--accent-pill, .mms-btn--outline-white,
.mms-mobile-menu__cta { color: #fff !important; }
.mms-btn-book svg, .mms-btn--primary svg, .mms-btn--primary-pill svg,
.mms-btn--accent svg, .mms-btn--accent-pill svg, .mms-mobile-menu__cta svg,
.mms-btn-book [data-lucide], .mms-btn--primary-pill [data-lucide],
.mms-btn--accent-pill [data-lucide] { color: #fff !important; }

/* Outline "Book Specialist" stays brand blue, white on hover */
.mms-btn-outline { color: var(--primary) !important; }
.mms-btn-outline:hover, .mms-btn-outline:hover svg { color: #fff !important; }

/* Hero + section titles keep their intended colour over Elementor's global */
.mms-hero2__title { color: #fff !important; }
.mms-specialists__title, .mms-partners__title, .mms-hero2__news-title { color: var(--primary) !important; }

/* =========================================================================
   v1.4 — comfortable vertical breathing room site-wide
   ========================================================================= */
.mms-pagehero { margin-bottom: 2.5rem; }
.mms-main { padding-bottom: 2.5rem; }
@media (min-width: 768px) {
  .mms-pagehero { margin-bottom: 3.5rem; }
  .mms-main { padding-bottom: 3rem; }
}

/* =========================================================================
   v1.5 — floating WhatsApp button (site-wide)
   ========================================================================= */
.mms-whatsapp {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  height: 3.5rem; width: 3.5rem; border-radius: 9999px;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mms-whatsapp:hover { transform: scale(1.06); box-shadow: 0 14px 30px -8px rgba(0,0,0,0.45); color: #fff; }
.mms-whatsapp svg { width: 2rem; height: 2rem; }
@media (min-width: 768px) { .mms-whatsapp { right: 1.5rem; bottom: 1.5rem; height: 3.75rem; width: 3.75rem; } .mms-whatsapp svg { width: 2.15rem; height: 2.15rem; } }

/* =========================================================================
   v1.6 — header single-line fit (top bar + nav) for tablet & desktop
   ========================================================================= */
.mms-topbar { font-size: 12px; }
.mms-topbar__item { white-space: nowrap; }
.mms-topbar__left { gap: 1.25rem; }
.mms-topbar__right { gap: 0.85rem; }
.mms-topbar svg { width: 0.8rem; height: 0.8rem; }
/* social glyphs (Lucide dropped brand icons) declutter until wide desktop */
.mms-topbar__social { display: none; }
@media (min-width: 1280px) { .mms-topbar__social { display: flex; } }
/* on smaller tablets keep just emergency + address on one line */
@media (max-width: 1023px) { .mms-topbar__right { display: none; } }

/* keep the main nav strictly on one line */
.mms-nav { flex-wrap: nowrap; }
.mms-nav__link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1200px) {
  .mms-nav { gap: 1rem; }
  .mms-nav__link { font-size: 12.5px; }
}

/* =========================================================================
   v1.7 — footer: Quick Links + Specialties as 2 columns on MOBILE only
   ========================================================================= */
.mms-footer__menus {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* equal 50 / 50 */
  gap: 18px;                         /* column gap */
  align-items: start;
}
/* From tablet up, dissolve the wrapper so the original 2-col / 4-col footer is unchanged */
@media (min-width: 768px) {
  .mms-footer__menus { display: contents; }
}
/* Mobile tightening + natural wrapping inside the two columns */
@media (max-width: 767px) {
  .mms-footer__menus .mms-footer__links { gap: 0.4rem; }
  .mms-footer__menus .mms-footer__links a { display: block; line-height: 1.35; text-align: left; }
  .mms-footer__menus .mms-footer__links svg { display: inline-block; vertical-align: -2px; margin-right: 0.35rem; }
  .mms-footer__menus .mms-footer__heading { margin-bottom: 0.6rem; }
}

/* =========================================================================
   v1.8 — white button must show dark bold text (e.g. doctor profile "Contact")
   ========================================================================= */
.mms-btn--white { color: var(--foreground) !important; font-weight: 700 !important; }
.mms-btn--white svg, .mms-btn--white [data-lucide] { color: var(--foreground) !important; }
.mms-btn--white:hover { color: var(--primary) !important; }
.mms-btn--white:hover svg { color: var(--primary) !important; }
