/* Keep the photograph behind the full introduction, including the actions. */
#main #ogh-visual-home.ogh-edge-selected .v2-hero.v2-photo::before {
  background: linear-gradient(100deg,
    rgb(4 24 56 / .9) 0%,
    rgb(4 26 61 / .82) 26%,
    rgb(5 29 64 / .73) 43%,
    rgb(8 34 68 / .49) 58%,
    rgb(12 38 71 / .18) 74%,
    rgb(12 38 71 / .03) 91%);
}

#main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-photo-copy h1 {
  max-inline-size: min(16ch, 56vw);
}

#main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-photo-copy .v2-lead {
  max-inline-size: min(43ch, 50vw);
}

@media (max-width: 700px) {
  #main #ogh-visual-home.ogh-edge-selected .v2-hero.v2-photo {
    min-height: clamp(33rem, 83svh, 41rem);
    align-items: flex-end;
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-backdrop {
    inset: 0;
    height: 100%;
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-backdrop img {
    height: 100%;
    object-fit: cover;
    object-position: 96% 43%;
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero.v2-photo::before {
    background: linear-gradient(180deg,
      rgb(4 25 57 / .08) 0%,
      rgb(4 25 57 / .17) 19%,
      rgb(4 25 57 / .43) 32%,
      rgb(4 25 57 / .71) 49%,
      rgb(4 25 57 / .83) 72%,
      rgb(4 25 57 / .9) 100%);
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-photo-copy {
    padding-block: clamp(13rem, 34svh, 17rem) clamp(4.25rem, 9svh, 5.75rem);
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-photo-copy h1 {
    max-inline-size: 16ch;
  }

  #main #ogh-visual-home.ogh-edge-selected .v2-hero .v2-photo-copy .v2-lead {
    max-inline-size: 36ch;
  }
}

/* Keep the wayfinding row close to the address and give the paper edge its own space. */
.ogh-emergency-care #main .p-hero.ph-full .wrap {
  min-height: 0;
  row-gap: clamp(16px, 2vw, 28px);
  padding-block: clamp(20px, 2.1vw, 32px) calc(var(--og-seam, 42px) + clamp(24px, 3vw, 46px));
}

.ogh-emergency-care #main .p-hero .p-htext {
  max-width: min(100%, 58rem);
}

.ogh-emergency-care #main .p-hero .p-htext .p-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  margin: clamp(18px, 2vw, 24px) 0 0;
}

.ogh-emergency-care #main .p-hero .p-btns > a {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

.ogh-emergency-care #main .p-hero .er6-d {
  margin: 14px 0 0 !important;
  max-inline-size: 52ch;
  line-height: 1.45;
}

.ogh-emergency-care #where-to-go .er3 .c26 > p:has(> .confirm:only-child) {
  display: contents;
}

.ogh-emergency-care #where-to-go .er3 .confirm:only-child {
  align-self: flex-start;
}

.ogh-emergency-care #where-to-go .er3 + .p-note {
  margin-block-start: clamp(16px, 2vw, 24px);
}

@media (max-width: 600px) {
  .ogh-emergency-care #main .p-hero .p-htext .p-btns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .ogh-emergency-care #main .p-hero .p-btns > a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
