/* Additions on top of the original theme: video placeholders and the
   "coming soon" dialog. Nothing here overrides the imported Nicepage rules. */

/* --- Video placeholders -------------------------------------------------
   These sit inside the theme's .embed-responsive wrappers, exactly where the
   YouTube iframes used to be, so they inherit the 16:9 box and its responsive
   sizing without any extra layout rules. */
.dv-video-ph {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  color: #ffffff;
  background-image: linear-gradient(135deg, #16a5a3 0%, #0e7f7d 100%);
  overflow: hidden;
}

.dv-video-ph::after {
  /* Soft highlight so the flat fill does not read as a broken embed. */
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

.dv-video-ph__icon {
  position: relative;
  width: 68px;
  height: 68px;
  max-width: 28%;
  max-height: 42%;
  opacity: 0.9;
  flex: none;
}

.dv-video-ph__label {
  position: relative;
  font-family: Ubuntu, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .dv-video-ph { gap: 0.6rem; }
  .dv-video-ph__label { font-size: 0.9375rem; }
}

/* --- "Coming soon" dialog -----------------------------------------------
   The markup and all of its copy are injected by js/soon.js; only the styling
   lives here, so the page source stays free of the notice. */
.dv-soon-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background-color: rgba(17, 17, 17, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.dv-soon-overlay.is-open { opacity: 1; }

.dv-soon-dialog {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  border-radius: 14px;
  text-align: center;
  color: #111111;
  background-color: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.28s ease;
}

.dv-soon-overlay.is-open .dv-soon-dialog { transform: none; }

.dv-soon-dialog__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-family: Ubuntu, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background-image: linear-gradient(#f2a7be, #da2864);
}

.dv-soon-dialog__title {
  margin: 0 0 0.75rem;
  font-family: Ubuntu, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #da2864;
}

.dv-soon-dialog__text {
  margin: 0 0 1.5rem;
  font-family: Ubuntu, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.dv-soon-dialog__btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 0;
  border-radius: 10px;
  font-family: Ubuntu, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-image: linear-gradient(#f2a7be, #da2864);
  box-shadow: 2px 2px 8px rgba(41, 51, 51, 0.45);
  cursor: pointer;
}

.dv-soon-dialog__btn:hover,
.dv-soon-dialog__btn:focus-visible { filter: brightness(1.06); }

.dv-soon-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: #777777;
  background: transparent;
  cursor: pointer;
}

.dv-soon-dialog__close:hover,
.dv-soon-dialog__close:focus-visible { color: #111111; background-color: #f2f2f2; }

@media (max-width: 575px) {
  .dv-soon-dialog { padding: 2.25rem 1.25rem 1.5rem; }
  .dv-soon-dialog__title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dv-soon-overlay,
  .dv-soon-dialog { transition: none; }
}
