/* Lightweight video modal (no jQuery / Bootstrap JS required) */
.team-block-inner[data-video] { cursor: pointer; }
.vm-overlay {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  padding: 20px; box-sizing: border-box;
  background: rgba(0, 0, 0, .8);
}
.vm-overlay.vm-open { display: flex; }
.vm-dialog {
  position: relative; width: 100%; max-width: 960px;
  background: #000; border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.vm-title {
  margin: 0; padding: 12px 52px 12px 16px;
  color: #fff; font-size: 18px; line-height: 1.3;
  background: #333; border-radius: 4px 4px 0 0;
}
.vm-close {
  position: absolute; top: 6px; right: 8px;
  width: 36px; height: 36px; padding: 0;
  border: 0; background: transparent; color: #fff;
  font-size: 30px; line-height: 36px; cursor: pointer;
}
.vm-close:hover, .vm-close:focus { color: #3aa63f; outline: none; }
.vm-frame { position: relative; width: 100%; padding-top: 56.25%; }
.vm-frame iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
body.vm-lock { overflow: hidden; }

.vm-frame { margin-bottom: 0; }
.vm-fallback {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px 12px; text-align: right; font-size: 13px;
  color: #ccc; background: #222; border-radius: 0 0 4px 4px; text-decoration: none;
}
.vm-fallback:hover { color: #fff; }
.vm-dialog { margin-bottom: 34px; }
