.elementor-widget:has(.bsx-hero-video),
.elementor-widget-html:has(.bsx-hero-video) {
  width: 100% !important;
}

.bsx-hero-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  overflow: visible;
}
.bsx-hero-video__wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.bsx-hero-video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bsx-hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s ease;
  border-radius: 12px;
}
.bsx-hero-video__overlay:hover { background: rgba(0,0,0,0.4); }
.bsx-hero-video__play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.bsx-hero-video__overlay:hover .bsx-hero-video__play { transform: scale(1.08); background: rgba(255,255,255,0.3); }
.bsx-hero-video__play svg { width: 28px; height: 28px; margin-left: 3px; fill: white; }
/* Once playing, hide overlay completely so native controls are accessible */
.bsx-hero-video__overlay.is-playing {
  background: transparent;
  pointer-events: none;
}
.bsx-hero-video__overlay.is-playing .bsx-hero-video__play {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ── Tablet (768px+) ─────────────────────────── */
@media (min-width: 768px) {
  .bsx-hero-video {
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(0,0,0,0.28);
  }
  .bsx-hero-video__wrap { border-radius: 14px; }
  .bsx-hero-video__overlay { border-radius: 14px; }
  .bsx-hero-video__play { width: 64px; height: 64px; }
  .bsx-hero-video__play svg { width: 32px; height: 32px; margin-left: 3px; }
}

/* ── Desktop (1024px+) ───────────────────────── */
@media (min-width: 1024px) {
  .bsx-hero-video {
    max-width: 680px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .bsx-hero-video__wrap { border-radius: 16px; }
  .bsx-hero-video__overlay { border-radius: 16px; }
  .bsx-hero-video__play { width: 72px; height: 72px; }
  .bsx-hero-video__play svg { width: 36px; height: 36px; margin-left: 4px; }
}
