/* ─────────────────────────────────────────────────────────
   newsletter.css — The Core newsletter strip + popup
   Used on all main pages. Shared across suretalive.com.
───────────────────────────────────────────────────────── */

/* ── Footer newsletter strip ───────────────────────────── */
.nl-strip {
  background: #f4e9ea;
  padding: 2.75rem 0;
  border-top: 0.5px solid rgba(0,0,0,0.06);
}
.nl-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.nl-strip-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  color: #475d4b;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.nl-strip-desc {
  font-size: 0.85rem;
  color: #b89da4;
  margin: 0;
  line-height: 1.5;
}
.nl-strip-form {
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

/* ── First-visit popup ──────────────────────────────────── */
.nl-popup {
  position: fixed;
  inset: 0;
  background: rgba(44,44,42,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nl-popup.active {
  opacity: 1;
  pointer-events: all;
}
.nl-popup-card {
  background: #FDFAF7;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.35s ease;
}
.nl-popup.active .nl-popup-card {
  transform: translateY(0);
}
.nl-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b89da4;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.nl-popup-close:hover {
  background: #f4e9ea;
  color: #2C2C2A;
}
.nl-popup-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nl-popup-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #475d4b;
  display: block;
  margin-bottom: 0.5rem;
}
.nl-popup-name {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #2C2C2A;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.nl-popup-desc {
  font-size: 0.88rem;
  color: #b89da4;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

/* ── MailerLite form overrides ──────────────────────────── */
.ml-form-embedWrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 100% !important;
}
.ml-form-embedBody {
  background: transparent !important;
  padding: 0 !important;
}
.ml-form-embedContent h4,
.ml-form-embedContent h3,
.ml-form-embedContent p {
  display: none !important;
}
.ml-form-horizontalRow {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}
.ml-form-horizontalRow .ml-field-group,
.ml-form-embedBody .ml-field-group {
  flex: 1 !important;
  min-width: 180px !important;
}
.ml-form-embedBody input[type="email"],
.ml-form-horizontalRow input[type="email"] {
  width: 100% !important;
  background: #fff !important;
  border: 1px solid #e3dee3 !important;
  border-radius: 100px !important;
  padding: 0.75rem 1.25rem !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.88rem !important;
  color: #2C2C2A !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s !important;
}
.ml-form-embedBody input[type="email"]:focus,
.ml-form-horizontalRow input[type="email"]:focus {
  border-color: #7a9e7e !important;
}
.ml-form-embedBody button[type="submit"],
.ml-form-horizontalRow button[type="submit"] {
  background: #475d4b !important;
  color: #fff !important;
  border: 2px solid #475d4b !important;
  border-radius: 100px !important;
  padding: 0.75rem 1.5rem !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.3s, border-color 0.3s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.ml-form-embedBody button[type="submit"]:hover,
.ml-form-horizontalRow button[type="submit"]:hover {
  background: #344535 !important;
  border-color: #344535 !important;
}
.ml-form-successBody {
  padding: 0 !important;
  background: transparent !important;
}
.ml-form-successContent {
  padding: 0.75rem 0 0 !important;
}
.ml-form-successContent h4 {
  display: block !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 400 !important;
  color: #2C2C2A !important;
  font-size: 1.1rem !important;
  margin-bottom: 0.25rem !important;
}
.ml-form-successContent p {
  display: block !important;
  font-size: 0.85rem !important;
  color: #b89da4 !important;
  line-height: 1.6 !important;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nl-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .nl-strip-form {
    min-width: 100%;
    max-width: 100%;
  }
  .nl-popup-card {
    padding: 2rem 1.5rem;
  }
}
