/* Clean full-frame consultation preview. The underlying film stays native and uncropped. */
.hero .hero-visual:has(.hero-preview-button) {
  width: 100%;
  max-width: 560px;
}
.hero-clinic .hero-preview-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--navy);
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.hero-clinic .hero-preview-button[hidden] {
  display: none !important;
}
.hero-preview-button .hero-preview-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: none !important;
}
.hero-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: var(--gold, #b89a63);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}
.hero-preview-label > span:nth-child(2) {
  flex: 1;
}
.hero-play-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}
.hero-preview-button:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: -3px;
}
.hero-clinic.is-preview video {
  display: none !important;
}
.hero-clinic:not(.is-preview) video {
  width: 100%;
  height: 560px;
  max-height: 560px;
  object-fit: contain;
  aspect-ratio: auto;
}
.hero-clinic.examination-media figcaption {
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 620px) {
  .hero-preview-label {
    padding: 16px 18px;
    font-size: 13px;
  }
  .hero-clinic:not(.is-preview) video {
    height: 480px;
    max-height: 70dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-preview-button {
    transition: none !important;
  }
}

/* The supplied consultation film is portrait. Give the player its own shape
   so native footage is neither letterboxed in navy nor cropped to landscape. */
.hero-clinic.examination-media:not(.is-preview) {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  overflow: visible;
}
.hero-clinic.examination-media:not(.is-preview) video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(640px, 72dvh);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  object-fit: contain;
  background: #000;
  transform: none;
}
.hero-clinic.examination-media:not(.is-preview) figcaption {
  align-self: stretch;
  background: transparent;
  color: var(--navy);
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
@media (max-width: 620px) {
  .hero-clinic.examination-media:not(.is-preview) video {
    max-height: 65dvh;
  }
}
