/* Video modal styles (theme-friendly / uses lqd container class) */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  font-family: inherit;
}
.video-modal.open { display: flex; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(2px);
}

/* Restrict width to theme container size */
.video-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  outline: none;
}

/* caption above the player, uses theme's taupe color utility if available */
.video-modal__caption {
  margin-bottom: 0.75rem;
  color: #fbf8f2;
  line-height: 1.2;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
}

/* player sizing: responsive 16:9 with max-height */
.video-modal__player,
.video-modal__iframe {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  background: #000;
  border-radius: 6px;
  display: block;
}

/* iframe wrapper */
.video-modal__iframe-wrap { display: none; }
.video-modal__iframe { width: 100%; height: 100%; }

/* close button — lightweight, theme-like */
.video-modal__close {
  position: absolute;
  right: -8px;
  top: -8px;
  z-index: 3;
  background: #ffffff;
  color: #333;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* larger screens: don't use vw-calculation for height (keeps max-height) */
@media (min-width:900px){
  .video-modal__player,
  .video-modal__iframe {
    height: 56.25vw;
    max-height: 70vh;
  }
}

.video-caption{
    display:flex;
    align-items:center;
    gap:12px;
}

.video-caption img{
    width:36px;
    height:36px;
    border-radius:6px;
    flex-shrink:0;
}

.video-caption strong{
    display:block;
    color:#fff;
    font-size:14px;
    line-height:2;
}
