/* Interior pages share the approved home palette and controls. */
body:not(.home) {
  --ink: #302a28;
  --ink-2: #443a36;
  --text: #413c39;
  --muted: #595959;
  --coral: #df9475;
  --coral-dark: #ce805f;
  --on-coral: #fff;
  --gold: #b0603f;
  --gold-light: #c9a6d8;
  --line: #e9ded8;
  --shadow: 0 22px 44px -30px rgb(48 42 40 / .28);
  --wp--preset--color--ink: #302a28;
  --wp--preset--color--body-text: #413c39;
  --wp--preset--color--muted: #595959;
  --wp--preset--color--gold: #b0603f;
}

/* Header and footer follow the home treatment on every interior route. */
body:not(.home) .utility.has-ink-background-color {
  background-color: #9e7eb7 !important;
  color: #fff;
}
body:not(.home) .utility .dd-trigger { color: inherit; }
body:not(.home) .utility .dd-menu a:is(:hover, :focus-visible) {
  background: transparent;
  color: var(--incinta-nav-hover, #b0603f);
}
body:not(.home) .incinta-native-header.has-cream-background-color {
  background-color: #fff !important;
}
body:not(.home) .incinta-native-header .wp-block-navigation {
  color: var(--incinta-home-nav-text, #302a28);
  font: var(--incinta-home-nav-font, 600 15px/1.5 var(--sans));
}
body:not(.home) .incinta-native-header .wp-block-navigation-item__content:not(.incinta-mobile-cta a):is(:hover, :focus-visible) {
  color: var(--incinta-nav-hover, #b0603f);
}
body:not(.home) .incinta-native-header .wp-block-navigation__submenu-container {
  background: #fff;
  box-shadow: 0 18px 38px -20px rgb(48 42 40 / .23);
}
body:not(.home) .incinta-native-footer.has-ink-background-color {
  background-color: #fff !important;
  color: #595959;
}
body:not(.home) .incinta-native-footer .incinta-native-footer-columns h3.has-white-color {
  color: var(--incinta-home-nav-text, #302a28) !important;
  font: var(--incinta-home-nav-font, 600 15px/1.5 var(--sans));
}
body:not(.home) .incinta-native-footer :is(a, .incinta-footer-description, .incinta-native-footer-bottom) {
  color: #595959;
}
body:not(.home) .incinta-native-footer :is(a, h3, .incinta-footer-nav-toggle):is(:hover, :focus-visible) {
  color: var(--incinta-nav-hover, #b0603f);
}
body:not(.home) .incinta-native-footer .incinta-native-footer-columns .has-heading-font-family {
  color: #302a28;
}
body:not(.home) .incinta-native-footer :is(.has-pale-color, .incinta-footer-contact > p) {
  color: #595959 !important;
}
body:not(.home) .float-top {
  background: var(--wp--preset--color--coral-surface, #fff1ea);
  color: var(--coral);
}
body:not(.home) .float-top svg { stroke: currentColor; }
body:not(.home) .float-top:is(:hover, :focus-visible) {
  background: var(--coral);
  color: #fff;
}

/* Shared typography, links, and buttons. */
body:not(.home) .incinta-template-main :is(h1, h2, h3, .h2, .ev2-h2) {
  text-wrap: pretty;
}
body:not(.home) .incinta-template-main :is(.eyebrow, .ev2-eyebrow, .ev2-banner-eyebrow) {
  letter-spacing: .14em;
}
body:not(.home) .incinta-template-main .btn-coral,
body:not(.home) .incinta-template-main .btn-ink {
  background: var(--coral);
  color: #fff;
}
body:not(.home) .incinta-template-main :is(.btn-coral, .btn-ink):is(:hover, :focus-visible) {
  background: var(--coral-dark);
  color: #fff;
}
body:not(.home) .incinta-template-main .btn-outline {
  border: 1px solid var(--coral);
  color: var(--coral-dark);
}
body:not(.home) .incinta-template-main .btn-outline:is(:hover, :focus-visible) {
  background: var(--coral);
  color: #fff;
}
body:not(.home) .incinta-template-main .wp-block-button__link.has-coral-background-color {
  color: #fff !important;
}
body:not(.home) .incinta-template-main .wp-block-button__link.has-coral-background-color:is(:hover, :focus-visible) {
  background-color: var(--coral-dark) !important;
}
body:not(.home) .incinta-template-main .link-circle { color: #fff; }
body:not(.home) .incinta-template-main .link-circle:is(:hover, :focus-visible) { color: #fff; }
.ev2-banner .ev2-crumb { display: none; }
body:not(.home) .incinta-template-main :is(.btn, .wp-block-button__link) {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.home) .incinta-template-main :is(.btn, .wp-block-button__link):hover:not(:active) {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -7px rgb(48 42 40 / .3);
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.home) .incinta-template-main :is(.btn, .wp-block-button__link) { transition: none; }
}

/* Photo heroes keep white type while using a warm overlay. */
body:not(.home) .ev2-banner::before {
  background: linear-gradient(90deg, rgb(48 42 40 / .60) 0%, rgb(48 42 40 / .40) 48%, rgb(48 42 40 / .04) 100%);
}
body:not(.home) .bh-hero::before {
  background: linear-gradient(180deg, rgb(48 42 40 / .76) 0%, rgb(48 42 40 / .57) 65%, rgb(223 148 117 / .28) 100%);
}
body:not(.home) .ev2-banner-eyebrow { color: #f4cdbb; }
body:not(.home) :is(.ev2-banner-call, .bh-crumb a):is(:hover, :focus-visible) { color: #fff; }
body:not(.home) .ev2-banner-call:is(:hover, :focus-visible) {
  border-color: var(--coral);
  background: var(--coral);
}

/* Common cards use warm borders and restrained elevation. */
body:not(.home) .incinta-template-main :is(.bl-row-img, .ev2-card, .lc-card, .tm-card, .pg-card) {
  box-shadow: 0 14px 30px -26px rgb(48 42 40 / .3);
}
body.single-post .incinta-native-single .as-body :is(p, li, blockquote) {
  color: var(--muted);
}
body.single-post .incinta-native-single .as-body :is(p, li) a {
  color: var(--coral-dark);
  border-bottom: 1px solid currentColor;
}
body:not(.home) .incinta-template-main :is(a, button):focus-visible {
  outline-color: var(--coral-dark);
}

@media (max-width: 680px) {
  body:not(.home) .incinta-native-footer .incinta-native-footer-columns :is(.incinta-footer-links, .wp-block-column:last-child) {
    border-top-color: var(--line);
  }
  body:not(.home) .ev2-banner::before {
    background: linear-gradient(180deg, rgb(48 42 40 / .60), rgb(48 42 40 / .32));
  }

  /* Carry the homepage mobile action sizes through interior heroes and final CTAs. */
  body:not(.home) .incinta-template-main :is(.ev2-hero-btns, .ev2-cta-simple-btns, .ev2-cta-btns) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 240px);
  }
  body:not(.home) .incinta-template-main :is(.ev2-hero-btns, .ev2-cta-simple-btns) { margin-inline: auto; }
  body:not(.home) .incinta-template-main :is(.ev2-hero-btns, .ev2-cta-simple-btns, .ev2-cta-btns) > :is(.btn, .ev2-cta-call) {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.25;
  }
  body:not(.home) .incinta-template-main :is(.ev2-cta-simple-btns, .ev2-cta-btns) > .ev2-cta-call {
    border: 1px solid transparent;
    background: var(--wp--preset--color--coral-surface, #fff1ea);
    color: var(--coral);
    box-shadow: 0 10px 24px -12px rgb(48 42 40 / .4);
    text-decoration: none;
  }
  body:not(.home) .incinta-template-main :is(.ev2-cta-simple-btns, .ev2-cta-btns) > .ev2-cta-call:is(:hover, :focus-visible) {
    background: var(--coral);
    color: #fff;
  }
  body:not(.home) .incinta-template-main .ev2-cta-simple-btns .ev2-reasons-btn svg { display: none; }

  /* Native WordPress appointment bands use the same pair of controls. */
  body:not(.home) .incinta-native-appointment .wp-block-buttons {
    width: min(100%, 240px);
    gap: 10px;
  }
  body:not(.home) .incinta-native-appointment .wp-block-buttons > .wp-block-button { width: 100%; }
  body:not(.home) .incinta-native-appointment .wp-block-buttons .wp-block-button__link {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }
  body:not(.home) .incinta-native-appointment .wp-block-buttons [href^="tel:"] {
    --wp--preset--color--ink: var(--coral);
    border-color: transparent;
    background: var(--wp--preset--color--coral-surface, #fff1ea);
    color: var(--coral);
    box-shadow: 0 10px 24px -12px rgb(48 42 40 / .4);
  }
  body:not(.home) .incinta-native-appointment .wp-block-buttons [href^="tel:"]:is(:hover, :focus-visible) {
    --wp--preset--color--ink: #fff;
    background: var(--coral);
    color: #fff;
  }
}


/* Trial: IVF service page uses the homepage cool-blue hero overlay. */
body.page-id-25 .ev2-banner::before {
  background:
    radial-gradient(ellipse 70% 80% at 24% 45%,
      rgba(20,30,50,.62) 0%, rgba(20,30,50,.28) 62%, rgba(20,30,50,0) 100%),
    linear-gradient(180deg,
      rgba(20,30,50,.22) 0%, rgba(20,30,50,.10) 55%, rgba(20,30,50,.24) 100%);
}
@media (max-width: 680px) {
  body.page-id-25 .ev2-banner::before {
    background:
      radial-gradient(ellipse 90% 65% at 30% 42%,
        rgba(20,30,50,.55) 0%, rgba(20,30,50,.20) 60%, rgba(20,30,50,0) 100%),
      linear-gradient(180deg,
        rgba(20,30,50,.20) 0%, rgba(20,30,50,.10) 55%, rgba(20,30,50,.22) 100%);
  }
}
