/* Match therapy-page hero geometry to the homepage slider, independent of image ratio. */
@media (min-width: 761px) {
  .hero {
    height: 600px;
    min-height: 0;
    overflow: hidden;
  }

  .hero-copy {
    height: 600px;
    padding-top: 72px;
    padding-bottom: 58px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-img {
    height: 600px;
    min-height: 0;
    position: relative;
    overflow: hidden;
  }

  .hero-img > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-img {
    height: 365px;
    min-height: 365px;
    position: relative;
    overflow: hidden;
  }

  .hero-img > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center;
  }
}
