.patient-videos {
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.patient-video-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  border-bottom: 1px solid #c8dadd;
  padding-bottom: 1.2rem;
}

.patient-video-group {
  margin-block-start: clamp(2rem, 5vw, 3.5rem);
  scroll-margin-top: calc(var(--measured-header, 160px) + var(--local-contents-offset, 0px) + 18px);
}

.patient-video-directory li {
  padding-block: .45rem;
}

.patient-video-directory p {
  color: #415e69;
  margin: .15rem 0;
}

.patient-video {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: .75rem 1.5rem;
  border: 1px solid #c8dadd;
  border-radius: .65rem;
  padding: clamp(.9rem, 2vw, 1.4rem);
  scroll-margin-top: calc(var(--measured-header, 160px) + var(--local-contents-offset, 0px) + 18px);
}

.patient-video h3 {
  margin: 0;
}

.patient-video-inline {
  margin-block: 1.5rem;
}

.patient-video p {
  color: #415e69;
  margin: .25rem 0;
}

.patient-video-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid #006670;
  border-radius: .4rem;
  background: #006670;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.patient-video-toggle:hover {
  background: #004e56;
}

.patient-video-toggle:focus-visible {
  outline: 2px solid #006670;
  outline-offset: 3px;
}

.patient-video-play {
  font-size: .78em;
}

.patient-video-player {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.patient-video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #112f39;
}

.patient-video-player iframe,
.patient-video-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.patient-video-player figcaption {
  margin-top: .5rem;
  font-size: .875rem;
  color: #555;
}

@media (max-width: 600px) {
  .patient-video {
    grid-template-columns: minmax(0, 1fr);
  }
}

.patient-video-player .patient-video-credits {
  display: inline;
}
.patient-video-player .patient-video-credits summary {
  display: inline;
  color: #006670;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .12em;
}
.patient-video-credits div {
  margin-top: .35rem;
}
