/*
Theme Name: Wellspring Child Theme
Theme URI: https://wellspring.qodeinteractive.com
Description: A child theme of Wellspring
Author: Mikado Themes
Author URI: https://themeforest.net/user/mikado-themes
Version: 1.0.1
Template: wellspring
*/


/* ================================
   FORCE NEWSLETTER POPUP OVERLAY
================================ */

#newsletter-modal.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  display: none; /* JS controls visibility */
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.7) !important;
  z-index: 999999 !important;
}

#newsletter-modal .modal-box {
  background: #ffffff;
  width: 90%;
  max-width: 900px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

#newsletter-modal .modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#newsletter-modal .modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#newsletter-modal .modal-content {
  padding: 40px;
}

#newsletter-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

#newsletter-modal .modal-decline {
  margin-top: 16px;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  #newsletter-modal .modal-grid {
    grid-template-columns: 1fr;
  }

  #newsletter-modal .modal-content {
    padding: 24px;
  }
}
