.remedy-hero-photo {
  min-width: 0;
  margin: 0;
}

.remedy-hero-photo > img,
.remedy-phase-photo > img,
.remedy-photo-pill > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(139, 30, 30, .22),
    0 0 0 5px #fffdf9,
    0 0 0 6px rgba(244, 162, 97, .4),
    0 12px 28px rgba(43, 26, 22, .1);
  transition: box-shadow .25s ease, transform .25s ease;

}

.remedy-hero-photo .visual-copy {
  position: static;
  padding: 20px 0 0;
}

.remedy-hero-photo .visual-copy p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
}

.remedy-hero-photo .visual-copy h2 {
  max-width: none;
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.remedy-photo-pill::before {
  content: none;
}

.remedy-photo-pill > img {
  align-self: center;
  min-width: 0;
}

.remedy-photo-pill .remedy-pill-content {
  min-width: 0;
}

.remedy-phase-photo {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 28px;
}

@media (max-width: 760px) {
  .remedy-hero-photo .visual-copy h2 {
    font-size: 25px;
  }

  .remedy-hero-photo .visual-copy {
    padding-top: 16px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .remedy-hero-photo > img:hover,
  .remedy-phase-photo > img:hover,
  .remedy-photo-pill:hover > img {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(139, 30, 30, .55),
      0 0 0 5px #fffdf9,
      0 0 0 6px rgba(244, 162, 97, .8),
      0 18px 34px rgba(43, 26, 22, .16);
  }
}

.remedy-photo-pill:focus-within > img {
  box-shadow: 0 0 0 2px #8b1e1e,
    0 0 0 5px #fffdf9,
    0 0 0 6px rgba(244, 162, 97, .8),
    0 12px 28px rgba(43, 26, 22, .12);
}

@media (prefers-reduced-motion: reduce) {
  .remedy-hero-photo > img,
  .remedy-phase-photo > img,
  .remedy-photo-pill > img {
    transition: none;
    transform: none !important;
  }
}
