/* Static video galleries work without the former WordPress player plugin. */
.lrd-video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 24px 0;
}
.lrd-video-card { min-width: 0; }
.lrd-video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #162547;
}
.lrd-video-play {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}
.lrd-video-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lrd-video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, #16254760);
  pointer-events: none;
}
.lrd-video-play span {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 64px;
  height: 48px;
  border-radius: 12px;
  background: #243c81;
  z-index: 1;
}
.lrd-video-play span::before {
  content: "";
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
  margin-left: 4px;
}
.lrd-video-play:hover span { background: #3358b5; }
.lrd-video-play:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -6px;
}
.lrd-video-media iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.lrd-video-card .lrd-video-title {
  margin: 12px 0 4px;
  padding: 0;
  font-weight: 600;
  line-height: 1.5;
}
.lrd-video-card .lrd-video-external {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lrd-video-tabs .et_pb_tab[hidden] { display: none !important; }
.lrd-video-tabs [role="tab"]:focus-visible {
  outline: 3px solid #243c81;
  outline-offset: -3px;
}
@media (max-width: 767px) {
  .lrd-video-gallery { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
