/* Homepage photo banner. Loaded after the existing theme CSS. */
.home-hero.home-hero--banner {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #fff;
  color: var(--navy, #19315b);
}
.home-hero--banner .home-hero-inner {
  position: static;
  display: block;
  width: min(100% - 44px, var(--max-width, 1240px));
  min-height: 580px;
  margin-inline: auto;
  padding-block: 44px 72px;
}
.home-hero--banner .home-hero-copy {
  position: relative;
  z-index: 2;
  width: min(44%, 570px);
  min-width: 0;
  overflow-wrap: anywhere;
}
.home-hero--banner .home-hero-eyebrow {
  max-width: 100%;
  border: 0;
  background: #fde8eb;
  color: #be1426;
  font: 700 14px/1.4 var(--font-serif, sans-serif);
  letter-spacing: 0;
}
.home-hero--banner .home-hero-status-dot {
  flex-shrink: 0;
  background: #ce152b;
  animation: none;
}
.home-hero--banner h1 {
  margin-top: 18px;
  font-size: clamp(42px, 3.75vw, 58px);
  line-height: 1.07;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.home-hero--banner .home-hero-location {
  margin: 16px 0 0;
  font: 700 clamp(20px, 1.8vw, 28px)/1.3 var(--font-serif, sans-serif);
}
.home-hero--banner .home-hero-subheading {
  margin-top: 16px;
  color: var(--navy, #19315b);
  font-size: 18px;
  line-height: 1.5;
  white-space: normal;
}
.home-hero--banner .home-hero-actions { gap: 12px; margin-top: 22px; }
.home-hero--banner .home-hero-actions a {
  min-height: 52px;
  max-width: 100%;
  padding: 16px 24px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
.home-hero--banner .home-hero-secondary { background: #fff; }
.home-hero--banner .home-hero-secondary:hover { background: var(--navy, #19315b); }
.home-hero--banner a:focus-visible { outline: 3px solid #19315b; outline-offset: 4px; }
.home-hero--banner .home-hero-rating { flex-wrap: wrap; margin-top: 20px; padding-top: 16px; }
.home-hero--banner .home-hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}
.home-hero--banner .home-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
.home-hero--photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, #fff calc(max(22px, (100% - 1240px) / 2) + 420px), rgba(255,255,255,.97) calc(max(22px, (100% - 1240px) / 2) + 540px), rgba(255,255,255,.20) calc(max(22px, (100% - 1240px) / 2) + 660px), transparent calc(max(22px, (100% - 1240px) / 2) + 760px));
}
.home-hero--banner .home-hero-media-caption {
  z-index: 3;
  top: auto;
  left: auto;
  right: 24px;
  bottom: 58px;
  max-width: 40%;
  padding: 14px 18px;
  gap: 12px;
  background: #fff;
  color: var(--navy, #19315b);
  overflow-wrap: anywhere;
}
.home-hero--banner .home-hero-address { max-width: 100%; color: inherit; }
.home-hero--banner .home-hero-media-caption a {
  flex: 0 1 auto;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 0;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.home-hero--copy-only .home-hero-inner { min-height: 0; }
.home-hero--copy-only .home-hero-copy { width: min(100%, 760px); }
.home-hero--copy-only .home-hero-media { position: relative; margin-top: 24px; overflow: visible; }
.home-hero--copy-only .home-hero-media-caption { position: static; max-width: 760px; padding: 0; }
/* Stacking gives text an opaque reading surface and keeps the entrance visible. */
@media (max-width: 1279px) {
  .home-hero--banner .home-hero-inner { width: 100%; min-height: 0; padding: 0 0 48px; }
  .home-hero--banner .home-hero-copy { width: auto; max-width: 760px; margin-inline: auto; padding: 38px 28px 32px; }
  .home-hero--banner h1 { font-size: clamp(38px, 6vw, 58px); }
  .home-hero--photo::after { display: none; }
  .home-hero--banner .home-hero-media { position: relative; inset: auto; overflow: visible; }
  .home-hero--banner .home-hero-media > img { height: auto; aspect-ratio: 1832 / 858; object-fit: contain; }
  .home-hero--banner .home-hero-media-caption { position: static; max-width: none; padding: 18px 28px 0; }
  .home-hero--copy-only .home-hero-media { margin-top: 0; }
}
@media (max-width: 600px) {
  .home-hero--banner .home-hero-copy { padding: 30px 20px 26px; }
  .home-hero--banner h1 { font-size: clamp(34px, 9vw, 48px); }
  .home-hero--banner .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero--banner .home-hero-media-caption { padding-inline: 20px; }
}

/* Compact photo-first narrow layout; copy and all links remain in their DOM order. */
@media (max-width: 1279px) {
  .home-hero--banner .home-hero-inner { display: flex; flex-direction: column; gap: 0; }
  .home-hero--banner .home-hero-media { display: contents; }
  .home-hero--banner .home-hero-media > img { order: -1; }
  .home-hero--banner .home-hero-copy { margin-inline: 0; max-width: none; padding-top: 28px; padding-bottom: 24px; }
  .home-hero--banner .home-hero-media-caption { order: 1; padding-top: 0; }
  .home-hero--banner .home-hero-subheading { font-size: 18px; line-height: 1.45; }
}

/* Address/directions stay in normal layout flow, without a floating card. */
.home-hero--banner .home-hero-media-caption {
  position: relative;
  inset: auto;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.home-hero--banner .home-hero-address {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}
.home-hero--banner .home-hero-media-caption a {
  background: transparent;
  font-size: 16px;
}
@media (min-width: 1280px) {
  .home-hero--banner .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 570px) minmax(0, 1fr);
    grid-template-areas: "copy ." "location .";
    align-content: start;
    align-items: start;
    gap: 24px 0;
  }
  .home-hero--banner .home-hero-copy { grid-area: copy; width: auto; }
  .home-hero--banner .home-hero-media { display: contents; }
  .home-hero--banner .home-hero-media > img { position: absolute; inset: 0; z-index: 0; }
  .home-hero--banner .home-hero-media-caption { grid-area: location; }
}
@media (max-width: 1279px) {
  .home-hero--banner .home-hero-media-caption { padding-inline: 28px; }
}
@media (max-width: 600px) {
  .home-hero--banner .home-hero-media-caption { padding-inline: 20px; }
}

/* Restore complete banner information in a compact, readable hierarchy. */
.home-hero--banner .home-hero-eyebrow { font-size: 14px; text-transform: none; }
.home-hero--banner .home-hero-subheading { font-size: 18px; line-height: 1.55; white-space: pre-line; }
@media (min-width: 1280px) {
  .home-hero--banner h1 { font-size: clamp(40px, 3.5vw, 52px); }
}

/* Readability refinement requested for the existing service-area line. */
.home-hero--banner .home-hero-subheading { font-size:20px; line-height:1.5; font-weight:600; }
@media(max-width:600px){.home-hero--banner .home-hero-subheading{font-size:18px}}

/* Homepage supporting copy: restore regular weight and original size. */
.home:not(.wver-urgent-care-landing) .home-hero--banner .home-hero-subheading { font-size:18px; line-height:1.55; font-weight:400; }
