/* Isolation layer for the React shell inside the legacy WordPress theme. */
article [id$="-root"] header > div:nth-child(2) {
  min-height: 5rem !important;
  background: #152238 !important;
}

article [id$="-root"] header img {
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 320px) !important;
  max-height: 4rem !important;
}

article [id$="-root"] header nav[aria-label="Main"],
article [id$="-root"] header nav[aria-label="Main"] a {
  color: #fff !important;
}

article [id$="-root"] header > div:first-child,
article [id$="-root"] header > div:first-child a {
  color: #152238 !important;
}

article [id$="-root"] header > div:first-child a[href*="appointment"] {
  color: #fff !important;
  background: #a32d2d !important;
}

article [id$="-root"] header nav[aria-label="Main"] .group > div a {
  color: #0f172a !important;
}

article [id$="-root"] header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: #152238 !important;
}

article [id$="-root"] header > div:first-child {
  background: #f1f5f9 !important;
}

/* The recovered 10Web page CSS predates a few utilities used by the current
   React source. Keep these critical presentation rules in our own layer. */
article [id$="-root"] a[href="#integratedclinicaloverview"] > button {
  background: #fff !important;
  color: #152238 !important;
}

article [id$="-root"] a[href="#integratedclinicaloverview"] > button:hover {
  background: #f1f5f9 !important;
}

article [id$="-root"] footer > div:first-child {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

article [id$="-root"] footer [data-fpc-vtl-credit] {
  color: #09aef2 !important;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace !important;
  font-weight: 600 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(9, 174, 242, 0.28);
  transition: color 250ms ease, text-shadow 250ms ease, transform 250ms ease;
}

article [id$="-root"] footer [data-fpc-vtl-credit]:hover {
  color: #67d6ff !important;
  text-shadow: 0 0 22px rgba(9, 174, 242, 0.58);
  transform: translateY(-1px);
}

article [id$="-root"] [data-fpc-doctor-portrait] {
  transform-origin: center center;
}

article [id$="-root"] [data-fpc-doctor-portrait] > div:first-child {
  margin-inline: auto !important;
  box-shadow: 0 22px 55px -24px rgba(21, 34, 56, 0.55),
    0 0 0 1px rgba(163, 45, 45, 0.12) !important;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 700ms ease !important;
}

article [id$="-root"] [data-fpc-doctor-portrait] > div:first-child img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease !important;
}

article [id$="-root"] [data-fpc-doctor-portrait]:hover > div:first-child {
  transform: translateY(-8px) !important;
  box-shadow: 0 30px 70px -26px rgba(21, 34, 56, 0.68),
    0 0 0 1px rgba(163, 45, 45, 0.22) !important;
}

article [id$="-root"] [data-fpc-doctor-portrait]:hover > div:first-child img {
  transform: scale(1.035) !important;
  filter: saturate(1.04) contrast(1.02) !important;
}

@media (prefers-reduced-motion: reduce) {
  article [id$="-root"] [data-fpc-doctor-portrait],
  article [id$="-root"] [data-fpc-doctor-portrait] > div:first-child,
  article [id$="-root"] [data-fpc-doctor-portrait] > div:first-child img {
    transition: none !important;
    transform: none !important;
  }
}

@media (min-width: 1024px) {
  article [id$="-root"] header > div:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  article [id$="-root"] header nav[aria-label="Main"] {
    position: static !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
