.l24-subpop-section,
.l24-subpop-section-wrap,
div:has(> .l24-subpop-section),
[class*="section_id_subscription-popup"] {
  display: block !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none;
}
.l24-subpop,
.l24-subpop__preview {
  pointer-events: auto;
}
.l24-subpop__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.l24-subpop__preview {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000002;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 2px;
  background: #1B4332;
  color: #FFFFFF;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(30, 78, 140, 0.28);
  cursor: pointer;
  white-space: nowrap;
}
.l24-subpop__preview[hidden] { display: none !important; }
.l24-subpop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.l24-subpop[hidden] { display: none !important; }
.l24-subpop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 64, 0.36);
}
.l24-subpop__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(760px, 100%);
  max-height: min(640px, calc(100vh - 48px));
  overflow: auto;
  background: var(--l24-pop-bg, #FFFCF8);
  color: var(--l24-pop-text, #1A1814);
  border: 1px solid rgba(26, 24, 20, 0.08);
  border-radius: 2px;
  box-shadow: 0 22px 50px rgba(36, 48, 64, 0.16);
}
.l24-subpop__card[data-layout="split"] { grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); }
.l24-subpop__card[data-layout="stacked"] { grid-template-columns: 1fr; width: min(440px, 100%); }
.l24-subpop__media {
  position: relative;
  min-height: 220px;
  background: #F4F1EC;
  overflow: hidden;
}
.l24-subpop__card[data-layout="split"] .l24-subpop__media { min-height: 100%; }
.l24-subpop__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.l24-subpop__image--mobile { display: none; }
.l24-subpop__mark { display: none; }
.l24-subpop__copy { padding: 32px 28px 24px; }
.l24-subpop__eyebrow,
.l24-subpop__body,
.l24-subpop__field,
.l24-subpop__submit,
.l24-subpop__decline,
.l24-subpop__status {
  font-family: "Source Sans 3", Arial, sans-serif;
}
.l24-subpop__eyebrow {
  margin: 0 0 14px;
  color: var(--l24-pop-accent, #7A4E24);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.l24-subpop__eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 12px;
  background: var(--l24-pop-accent, #7A4E24);
}
.l24-subpop__title {
  margin: 0 0 10px;
  color: var(--l24-pop-text, #1A1814);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.l24-subpop__body {
  margin: 0 0 18px;
  color: var(--l24-pop-muted, #5C564C);
  font-size: 16px;
  line-height: 24px;
}
.l24-subpop__field { display: block; margin: 0 0 10px; }
.l24-subpop__field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #E4D8CC;
  border-radius: var(--l24-pop-radius, 2px);
  background: #FFFFFF;
  color: var(--l24-pop-text, #1A1814);
  font-size: 16px;
  line-height: 24px;
  box-sizing: border-box;
}
.l24-subpop__field input::placeholder { color: #6A6258; }
.l24-subpop__field input:focus-visible,
.l24-subpop__submit:focus-visible,
.l24-subpop__decline:focus-visible,
.l24-subpop__close:focus-visible,
.l24-subpop__preview:focus-visible {
  outline: 2px solid #1B4332;
  outline-offset: 2px;
}
.l24-subpop__submit,
.l24-subpop__decline,
.l24-subpop__close {
  border: 0;
  cursor: pointer;
}
.l24-subpop__submit {
  width: 100%;
  min-height: 48px;
  border-radius: var(--l24-pop-radius, 2px);
  background: var(--l24-pop-btn, #1B4332);
  color: var(--l24-pop-btn-text, #FFFFFF);
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.l24-subpop__submit[disabled] { opacity: 0.7; cursor: progress; }
.l24-subpop__decline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  background: transparent;
  color: var(--l24-pop-muted, #5C564C);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.l24-subpop__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.94);
  color: #1A1814;
  box-shadow: 0 4px 14px rgba(36, 48, 64, 0.12);
  font-size: 28px;
  line-height: 1;
}
.l24-subpop__status { min-height: 0; }
.l24-subpop .notification { display: none; margin: 0 0 10px; padding: 10px 12px; border-radius: 2px; font-size: 14px; line-height: 20px; }
.l24-subpop .notification.show { display: block; }
.l24-subpop .notification.warning { background: #F8E8DC; color: #7A4E24; }
.l24-subpop .notification.success { background: #E7F0E8; color: #243224; }
.l24-subpop .notification--error-message { margin: 0; }
@media (max-width: 767px) {
  .l24-subpop { padding: 16px 12px; align-items: end; }
  .l24-subpop__card,
  .l24-subpop__card[data-layout="split"],
  .l24-subpop__card[data-layout="stacked"] {
    grid-template-columns: 1fr;
    width: min(440px, 100%);
    max-height: min(86vh, 720px);
  }
  .l24-subpop__card .l24-subpop__media,
  .l24-subpop__card[data-layout="split"] .l24-subpop__media,
  .l24-subpop__card[data-layout="stacked"] .l24-subpop__media {
    display: block;
    height: 196px;
    min-height: 196px;
    max-height: 196px;
  }
  .l24-subpop__image--desktop { display: none; }
  .l24-subpop__image--mobile { display: block; }
  .l24-subpop__media:not(:has(.l24-subpop__image--mobile)) .l24-subpop__image--desktop { display: block; }
  .l24-subpop__card[data-mobile-image="false"] .l24-subpop__media,
  .l24-subpop__media[data-mobile-image="false"] { display: none; }
  .l24-subpop__copy { padding: 22px 18px 16px; }
  .l24-subpop__title { font-size: 32px; }
  .l24-subpop__preview { top: 12px; left: 50%; right: auto; max-width: calc(100% - 24px); white-space: normal; text-align: center; }
}
@media (min-width: 768px) {
  .l24-subpop__card[data-layout="stacked"] .l24-subpop__media { max-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .l24-subpop, .l24-subpop__card { scroll-behavior: auto; }
}
