.wr-health-videos-page {
  background: var(--wr-cloud);
}

.wr-health-videos-hero {
  background: linear-gradient(135deg, var(--wr-navy), #244d70);
  color: var(--wr-white);
  padding: clamp(64px, 9vw, 112px) 0;
}

.wr-health-videos-hero .wr-eyebrow {
  color: #77e5df;
}

.wr-health-videos-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.wr-health-videos-hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.85;
  max-width: 820px;
}

.wr-health-videos-hero__intro {
  font-weight: 600;
}

.wr-health-videos-featured {
  background: #edf8f8;
}

.wr-health-video-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wr-health-video-card {
  background: var(--wr-white);
  border: 1px solid var(--wr-border);
  border-radius: 20px;
  box-shadow: var(--wr-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  scroll-margin-top: 110px;
}

/* Author display rules override the browser's default [hidden] rule. */
.wr-health-video-card[hidden],
.wr-health-video-empty[hidden] {
  display: none !important;
}

.wr-health-video-facade {
  aspect-ratio: 16 / 9;
  background: #0f2234;
  overflow: hidden;
  position: relative;
}

.wr-health-video-facade > img,
.wr-health-video-facade > iframe {
  border: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wr-health-video-play {
  align-items: center;
  background: rgba(22, 50, 79, 0.94);
  border: 3px solid var(--wr-white);
  border-radius: 999px;
  color: var(--wr-white);
  cursor: pointer;
  display: flex;
  font-size: 1.35rem;
  height: 66px;
  justify-content: center;
  left: 50%;
  padding-left: 5px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background .2s ease, transform .2s ease;
  width: 66px;
}

.wr-health-video-play:hover {
  background: var(--wr-teal);
  transform: translate(-50%, -50%) scale(1.06);
}

.wr-health-video-play:focus-visible,
.wr-health-video-filters button:focus-visible,
.wr-health-video-search input:focus-visible,
.wr-doctor-video-card a:focus-visible,
.wr-health-video-card a:focus-visible {
  outline: 3px solid var(--wr-gold);
  outline-offset: 3px;
}

.wr-health-video-duration {
  background: rgba(15, 23, 42, .9);
  border-radius: 5px;
  bottom: 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  padding: 4px 7px;
  position: absolute;
  right: 10px;
}

.wr-health-video-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.wr-health-video-card__badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wr-health-video-badge,
.wr-health-video-series {
  background: #e6f7f6;
  border-radius: 999px;
  color: #176f6e;
  display: inline-flex;
  font-size: .77rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 7px 10px;
  width: fit-content;
}

.wr-health-video-series {
  background: #fff4d7;
  color: #765512;
}

.wr-health-video-card h3 {
  color: var(--wr-navy);
  font-size: 1.22rem;
  line-height: 1.5;
  margin: 15px 0 10px;
}

.wr-health-video-card p {
  line-height: 1.75;
}

.wr-health-video-doctor,
.wr-health-video-source,
.wr-health-video-date {
  color: #526477;
  font-size: .88rem;
  margin: 0 0 5px;
}

.wr-health-video-source a,
.wr-health-video-related a,
.wr-health-video-card__actions > a:not(.wr-button) {
  color: #176f6e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wr-health-video-card__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
}

.wr-health-video-related {
  border-top: 1px solid var(--wr-border);
  display: flex;
  flex-wrap: wrap;
  font-size: .86rem;
  gap: 7px 12px;
  margin-top: 18px;
  padding-top: 16px;
}

.wr-health-video-related strong {
  flex-basis: 100%;
}

.wr-health-video-tools {
  margin: 32px 0 24px;
}

.wr-health-video-search {
  max-width: 580px;
}

.wr-health-video-search label {
  color: var(--wr-navy);
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.wr-health-video-search input {
  background: var(--wr-white);
  border: 2px solid #bccbda;
  border-radius: 12px;
  font: inherit;
  min-height: 50px;
  padding: 10px 15px;
  width: 100%;
}

.wr-health-video-filters {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.wr-health-video-filters button {
  background: var(--wr-white);
  border: 1px solid #b9c9d9;
  border-radius: 999px;
  color: var(--wr-navy);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 9px 14px;
}

.wr-health-video-filters button span {
  color: #617184;
  margin-left: 3px;
}

.wr-health-video-filters button.is-active {
  background: var(--wr-navy);
  border-color: var(--wr-navy);
  color: var(--wr-white);
}

.wr-health-video-filters button.is-active span {
  color: #baf0ed;
}

.wr-health-video-results {
  color: #526477;
  font-weight: 700;
}

.wr-health-video-empty {
  background: var(--wr-white);
  border: 1px solid var(--wr-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.wr-health-video-disclaimer .wr-content-card {
  max-width: 900px;
}

.wr-doctor-videos {
  margin-top: 32px;
}

.wr-doctor-video-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wr-doctor-video-card {
  background: var(--wr-white);
  border: 1px solid var(--wr-border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
}

.wr-doctor-video-card__media {
  aspect-ratio: 16 / 10;
  background: var(--wr-navy);
  display: block;
  position: relative;
}

.wr-doctor-video-card__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wr-doctor-video-card__media span {
  color: #fff;
  font-size: 2rem;
  left: 50%;
  position: absolute;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
  top: 50%;
  transform: translate(-50%, -50%);
}

.wr-doctor-video-card > div {
  padding: 18px;
}

.wr-doctor-video-card h3 {
  color: var(--wr-navy);
  font-size: 1rem;
  line-height: 1.5;
  margin: 10px 0;
}

.wr-doctor-video-card p:not(.wr-health-video-badge) {
  font-size: .88rem;
  line-height: 1.65;
}

.wr-doctor-video-card > div > a {
  color: #176f6e;
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .wr-health-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wr-doctor-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wr-health-videos-hero {
    padding: 56px 0;
  }

  .wr-health-video-grid {
    grid-template-columns: 1fr;
  }

  .wr-health-video-card__body {
    padding: 20px;
  }

  .wr-doctor-video-card {
    grid-template-columns: 1fr;
  }

  .wr-doctor-video-card__media {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wr-health-video-play {
    transition: none;
  }
}
