/* Approved Madilu header, footer and site theme. */
body.madilu-interior {
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", "DM Sans", Arial, sans-serif;
  --madilu-rose: #884762;
  --madilu-rose-accent: #884762;
  --madilu-pale-blue: #fcf8f5;
  --madilu-pale-blush: #f5e8ed;
  --madilu-blush: #f5e8ed;
  --madilu-ice: #fffdfa;
  --madilu-light-teal: #f5e8ed;
  --madilu-line: #e5d5db;
  background: #fffdfa;
  font-family: var(--font-body);
}

body.madilu-interior :is(main, .madilu-sticky-header, .madilu-footer) {
  font-family: var(--font-body) !important;
}

body.madilu-interior .madilu-sticky-header header.site-header nav .nav-link,
body.madilu-interior .madilu-sticky-header .madilu-site-contact-strip a {
  font-family: var(--font-body) !important;
}

body.madilu-interior .madilu-footer :is(h2, h3) {
  font-family: "Poppins", "DM Serif Display", Georgia, serif !important;
}

body.madilu-interior .madilu-sticky-header header.madilu-site-header .nav-appointment {
  box-sizing: border-box;
  box-shadow: 0 .25rem .65rem #3c273026 !important;
}

body.madilu-interior .madilu-sticky-header header.madilu-site-header .nav-appointment:focus-visible {
  outline: 2px solid #884762;
  outline-offset: 3px;
}

body.madilu-interior main :is(h1, h2, h3) {
  color: var(--madilu-ink);
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
}

body.madilu-interior main h1 {
  font-size: clamp(2.15rem, 4.4vw, 4.8rem) !important;
  line-height: 1.04;
  text-wrap: balance;
}

body.madilu-interior main h2 {
  font-size: clamp(1.65rem, 3.2vw, 3rem) !important;
  line-height: 1.12;
  text-wrap: balance;
}

body.madilu-interior main h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem) !important;
  line-height: 1.2;
}

body.madilu-interior main :is(h1, h2) > :is(span, em):not([aria-hidden]) {
  color: var(--madilu-rose);
  font-family: var(--font-display) !important;
  font-style: italic;
  font-weight: 400 !important;
}

body.madilu-interior main :is(
  .overview-hero, .svc-hero, .doctor-intro, .contact-hero, .fertility-hero, .mk-hero, .mg-hero, .blog-hero
) {
  background: radial-gradient(ellipse at 87% 22%, #f0dfe5, transparent 70%), #fcf8f5;
}

body.madilu-interior main :is(.overview-copy, .doctor-hero-copy, .contact-hero, .svc-lead, .fertility-lead, .mk-hero, .mg-hero-copy) p {
  font-family: var(--font-body);
}

body.madilu-interior :is(
  header.madilu-site-header .nav-appointment,
  main :is(.btn, .hero-secondary, .overview-outline, .svc-button, .contact-button,
    .fertility-button, .batch-cta, .mk-button, .mk-profile-link, .doctor-button, .mg-jump > a, .ms-view-all)
) {
  --theme-button-fill: var(--madilu-ink);
  --theme-button-border: var(--madilu-ink);
  --theme-button-text: #fffdfa;
  min-height: 42px;
  padding: .35rem clamp(.5rem, 1vw, .8rem) !important;
  border: 1px solid var(--theme-button-border) !important;
  border-radius: .4rem !important;
  background: var(--theme-button-fill) !important;
  color: var(--theme-button-text) !important;
  font: 400 .875rem/1.2 var(--font-body) !important;
  letter-spacing: normal !important;
  text-align: center;
}

body.madilu-interior main :is(
  .btn-secondary, .hero-secondary, .overview-outline, .svc-button-alt, .contact-button-outline,
  .fertility-button-outline, .mk-button-alt, .mk-profile-link, .mg-jump > a
) {
  --theme-button-fill: transparent;
  --theme-button-border: var(--madilu-rose);
  --theme-button-text: var(--madilu-rose);
}

body.madilu-interior :is(
  header.madilu-site-header .nav-appointment,
  main :is(.btn, .hero-secondary, .overview-outline, .svc-button, .contact-button,
    .fertility-button, .batch-cta, .mk-button, .mk-profile-link, .doctor-button, .mg-jump > a, .ms-view-all)
):is(:hover, :focus-visible, :active):not(:disabled) {
  border-color: var(--madilu-rose) !important;
  background: var(--madilu-rose) !important;
  color: #fffdfa !important;
}

@media (max-width: 760px) {
  body.madilu-interior main h1 { font-size: clamp(1.95rem, 7vw, 3rem) !important; }
  body.madilu-interior :is(header .nav-appointment, main :is(.btn, .hero-secondary, .overview-outline,
    .svc-button, .contact-button, .fertility-button, .batch-cta, .mk-button, .mk-profile-link, .doctor-button, .mg-jump > a, .ms-view-all)) {
    min-height: 44px;
    font-size: .825rem !important;
  }
}

.madilu-sticky-header .madilu-site-contact-strip {
  background: #f8f1f2;
}

body .madilu-sticky-header > header.madilu-site-header {
  background: #fcf8f5 !important;
  border-bottom-color: #e5d5db;
  box-shadow: none !important;
}

body header.madilu-site-header nav :is(.about-dropdown > .dropdown-panel, .services-menu) {
  background: #fffdfa !important;
  border-color: #e5d5db !important;
}

body header.madilu-site-header nav .service-category-panel {
  background: #fcf8f5;
}

body header.madilu-site-header nav :is(
  .about-dropdown .dropdown-panel a:hover,
  .about-dropdown .dropdown-panel a:focus-visible,
  .service-category[open] > summary,
  .service-category > summary:is(:hover, :focus-visible),
  .services-menu .service-treatment-group > summary:is(:hover, :focus-visible),
  .services-menu a:hover,
  .services-menu a:focus-visible
) {
  background: #e5f7fa !important;
  color: #246d88 !important;
}

.home-menu-backdrop { display: none; }

nav:is([aria-label="Breadcrumb"], [aria-label="Service breadcrumb"]) li:first-child > a {
  text-decoration: none !important;
}

body .madilu-sticky-header > header.madilu-site-header > nav > .madilu-mobile-appointment {
  display: none !important;
}

@media (max-width: 760px) {
  body .madilu-sticky-header > .madilu-site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body .madilu-sticky-header > .madilu-site-header > .madilu-menu-toggle { grid-column: 2; }
  body .madilu-site-header > .madilu-header-actions { display: none !important; }

  body .madilu-sticky-header > header.madilu-site-header.menu-open > nav > .madilu-mobile-appointment {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: .45rem;
    max-width: none;
    white-space: nowrap !important;
  }
}

@media (max-width: 1020px) {
  body header.madilu-site-header > .madilu-menu-toggle svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    margin-inline: auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.75;
  }

  .madilu-menu-toggle .home-menu-close-icon,
  .madilu-menu-toggle[aria-expanded="true"] .home-menu-open-icon { display: none; }
  .madilu-menu-toggle[aria-expanded="true"] .home-menu-close-icon { display: inline; }

  body .madilu-sticky-header > header.madilu-site-header.menu-open > .home-menu-backdrop {
    display: block;
    position: absolute;
    z-index: 1;
    inset: 100% 0 auto;
    height: 100dvh;
    background: #162e3e45;
  }

  body .madilu-sticky-header > header.madilu-site-header.menu-open > nav {
    position: absolute !important;
    z-index: 2;
    inset: 100% 0 auto;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: .65rem var(--madilu-header-gutter) 1rem !important;
    border-bottom: 1px solid #e5d5db;
    background: #fcf8f5;
    box-shadow: 0 .7rem 1.5rem #162e3e20;
  }
}

body footer.madilu-footer {
  padding: clamp(1.5rem, 3vw, 2.75rem) max(5%, calc((100% - 1240px) / 2)) 1rem !important;
  background: #f7efed !important;
  color: var(--madilu-ink) !important;
  border-top: 1px solid #e5d5db;
}

.madilu-footer :is(.madilu-footer-bottom, .madilu-footer-grid a, .madilu-footer-credit a) {
  color: #435664;
}

.madilu-footer .madilu-footer-bottom {
  margin-top: clamp(1rem, 2vw, 1.65rem);
  padding-top: .85rem;
  border-top-color: #d7bbc5;
}

.madilu-footer .madilu-footer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 2.8vw, 2.5rem);
}

.madilu-footer .madilu-footer-grid > div > .footer-brand {
  display: inline-flex;
  margin: 0;
  padding: 0;
  background: transparent;
}

.madilu-footer .footer-brand img {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
}

.madilu-footer .madilu-footer-grid > div > a:not(.btn),
.madilu-footer .footer-contact-details a {
  margin-bottom: .38rem;
  font-size: .875rem;
  line-height: 1.5;
}

.madilu-footer .madilu-footer-grid a:is(:hover, :focus-visible),
.madilu-footer .madilu-footer-credit a:is(:hover, :focus-visible) {
  color: #884762;
}

.madilu-footer .madilu-footer-profiles :is(.madilu-social-icon, .madilu-profile-links > a) {
  width: 2.5rem;
  height: 2.5rem;
  border-color: #d7bbc5;
  border-radius: 50%;
  background: #fdf8f6;
  color: #74344f;
}

.madilu-footer .madilu-footer-profiles .madilu-follow-label {
  display: block;
  margin: 0 0 .55rem;
  color: var(--madilu-ink);
  font: 800 .75rem/1.4 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.madilu-footer .madilu-footer-profiles .madilu-profile-links { gap: .5rem; }

.madilu-footer .madilu-profile-links svg {
  width: 1.2rem;
  height: 1.2rem;
}

.madilu-footer .madilu-footer-profiles :is(.madilu-social-icon, .madilu-profile-links > a):is(:hover, :focus-visible) {
  background: #74344f;
  border-color: #74344f;
  color: #fff;
}

.madilu-footer .madilu-profile-links a:focus-visible {
  outline: 2px solid #74344f;
  outline-offset: 2px;
}

.madilu-footer .madilu-footer-grid > div > h3 {
  color: var(--madilu-ink);
  font-family: "DM Serif Display", Georgia, serif !important;
  font-size: 1.3rem;
  font-weight: 400 !important;
  line-height: 1.2;
}

.madilu-footer .madilu-footer-grid h3 span {
  color: #884762;
  font-style: italic;
}

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

  .madilu-footer .madilu-footer-grid > :first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .madilu-footer .footer-brand img { width: 144px; }

  .madilu-footer .madilu-footer-grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: .8rem .55rem;
  }

  .madilu-footer .madilu-footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .madilu-footer .madilu-footer-grid > div > h3 {
    margin-bottom: .45rem;
    font-size: clamp(.95rem, 4vw, 1.15rem);
  }

  .madilu-footer .madilu-footer-grid > div > a:not(.btn),
  .madilu-footer .madilu-footer-grid .footer-contact-details a {
    margin-bottom: .35rem;
    font-size: .75rem;
    line-height: 1.4;
  }

  .madilu-footer .footer-contact-details svg { display: none; }

  .madilu-footer .madilu-footer-bottom {
    flex-wrap: nowrap;
    gap: .35rem;
    font-size: clamp(.59rem, 2.4vw, .75rem);
    white-space: nowrap;
  }
}
