/* VS1758502014758VE */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal.active {
  display: flex;
}
.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff center/cover no-repeat var(--bg-url);
  filter: blur(28px) brightness(0.6) saturate(1.1);
  transform: scale(1.06);
}
.modal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.modal__iframe,
.modal__img {
  position: relative;
  z-index: 1;
  opacity: 0; /* fade in after load */
  max-width: min(70vw, 1200px);
  max-height: min(70vh, 1200px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.modal__iframe.ready,
.modal__img.ready {
  opacity: 1;
  background-color: #fff;
}

.modal__iframe iframe {
  width: min(70vw, 1000px);
  height: auto;
  display: block;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 0;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.modal__close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.spinner {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.spinner.show {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.modal__error {
  position: absolute;
  z-index: 2;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal__error.show {
  opacity: 1;
}.wp-block {}