/* A personal, photographic appointment banner in the practice palette. */
:is(.content-refresh, .long-covid-colors) .consultation-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  overflow: hidden;
  border: 1px solid #eae4dd;
  background: #f3efe7;
}

:is(.content-refresh, .long-covid-colors) .consultation-portrait {
  position: relative;
  min-width: 0;
  min-height: 32rem;
  margin: 0;
  background: #eae4dd;
}

:is(.content-refresh, .long-covid-colors) .consultation-portrait > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
}

:is(.content-refresh, .long-covid-colors) .consultation-portrait figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid #cca152;
  background: rgba(255, 253, 246, 0.96);
  color: #4d4d4d;
  font: 300 0.95rem/1.45 "Roboto", sans-serif;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(2rem, 3.5vw, 4rem);
}

:is(.content-refresh, .long-covid-colors) .consultation-copy .consultation-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: #9c762f;
  font: 300 0.78rem/1.5 "Roboto", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

:is(.content-refresh, .long-covid-colors) .consultation-eyebrow::before {
  content: "";
  flex: 0 0 2rem;
  height: 1px;
  background: #cca152;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy > :is(h2, h3) {
  width: 100%;
  max-width: 23ch;
  margin: 0 0 1.4rem;
  padding: 0;
  color: #4d4d4d;
  font: 400 clamp(1.85rem, 2.5vw, 2.8rem)/1.2 "PPEditorialNew", serif;
  text-wrap: balance;
  overflow-wrap: break-word;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy > p:not(.consultation-eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: #4d4d4d;
  font: 200 1.08rem/1.7 "Roboto", sans-serif;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy .content-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding: 0;
  border: 0;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy a.contact-cta,
:is(.content-refresh, .long-covid-colors) .consultation-copy a.content-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border: 0;
  background: #cca152;
  color: #fbfbfb;
  font: 400 1.1rem/1.4 "Roboto", sans-serif;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy a.contact-cta::before,
:is(.content-refresh, .long-covid-colors) .consultation-copy a.content-cta::before {
  content: none;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy a.contact-cta:hover,
:is(.content-refresh, .long-covid-colors) .consultation-copy a.content-cta:hover {
  background: #9c762f;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy a:focus-visible {
  outline: 2px solid #cca152;
  outline-offset: 3px;
}

.long-covid-colors .consultation-copy .contact-card-grid {
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0;
}

.long-covid-colors .consultation-copy .contact-card-item {
  gap: 0.25rem;
  padding-top: 0.75rem;
}

.long-covid-colors .consultation-copy .contact-card-label {
  color: #9c762f;
  font: 300 0.8rem/1.4 "Roboto", sans-serif;
}

.long-covid-colors .consultation-copy .contact-card-value {
  color: #4d4d4d;
  font: 200 1.08rem/1.5 "Roboto", sans-serif;
  overflow-wrap: anywhere;
}

.long-covid-colors .consultation-copy .contact-card-grid a {
  color: #4d4d4d;
  text-decoration: none;
}

.long-covid-colors .consultation-copy .contact-card-grid a:hover {
  color: #9c762f;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy .contact-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: #4d4d4d;
  font: 300 1rem/1.4 "Roboto", sans-serif;
  text-decoration: underline;
  text-decoration-color: #cca152;
  text-underline-offset: 0.35em;
  transition: color 0.2s ease;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy .contact-secondary::before,
:is(.content-refresh, .long-covid-colors) .consultation-copy .contact-secondary::after {
  content: none;
}

:is(.content-refresh, .long-covid-colors) .consultation-copy .contact-secondary:hover {
  color: #9c762f;
}

@media (min-width: 1025px) and (max-width: 1199px), (max-width: 700px) {
  :is(.content-refresh, .long-covid-colors) .consultation-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  :is(.content-refresh, .long-covid-colors) .consultation-portrait {
    min-height: 0;
    height: clamp(18rem, 65vw, 24rem);
  }

  :is(.content-refresh, .long-covid-colors) .consultation-portrait > img {
    object-position: 50% 25%;
  }

  :is(.content-refresh, .long-covid-colors) .consultation-copy {
    padding: 2rem 1.5rem;
  }

  :is(.content-refresh, .long-covid-colors) .consultation-copy > :is(h2, h3) {
    max-width: 26ch;
    /* Override the important mobile H2 size in the existing landing page CSS. */
    font-size: 2rem !important;
  }

  :is(.content-refresh, .long-covid-colors) .consultation-copy .consultation-eyebrow {
    margin-bottom: 1.1rem;
    font-size: 0.7rem;
  }

  :is(.content-refresh, .long-covid-colors) .consultation-copy > p:not(.consultation-eyebrow) {
    font-size: 1.05rem;
  }
}

@media (max-width: 700px) {
  :is(.content-refresh, .long-covid-colors) .consultation-copy .content-actions {
    width: 100%;
  }

  :is(.content-refresh, .long-covid-colors) .consultation-copy a.contact-cta,
  :is(.content-refresh, .long-covid-colors) .consultation-copy a.content-cta {
    width: 100%;
  }
}
