.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(76, 144, 217, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal-overlay.is-open {
  display: flex;
  background-color: rgba(76, 144, 217, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  position: relative;
  margin-bottom: 12px;
}

.video-modal-title {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
  flex: 1;
}

.video-modal-close {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid white;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.video-modal-footer {
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}

.video-modal-btn {
  display: inline-block;
  background: #005a9c;
  color: #fff;
  text-decoration: none;
  padding: .75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
}

.video-modal-btn:hover {
  background: #003f6e;
  color: #fff;
}


.video-modal-inner {
  background: transparent;
  border-radius: 8px;
  max-width: 340px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.video-modal-body {
  padding: 0;
  background: transparent;
  flex: 1;
  overflow: hidden;
}

.video-modal-body video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: transparent;
}