/* The Mailjet iframe owns its input, submission, validation and confirmation UI. */
body .newsletter-footer,body .newsletter-footer:hover{
  position:fixed;left:24px;bottom:24px;z-index:120;
  width:360px;max-width:calc(100% - 32px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);
  padding:25px 24px 20px;overflow:auto;box-sizing:border-box;
  border:1px solid #ddd5ca;border-radius:20px;
  background:#eee9e2!important;color:#321c3c!important;
  box-shadow:0 8px 32px #321c3c1c;
  font:400 14px/1.55 "Source Sans",sans-serif;text-align:left;
}
body .newsletter-footer *{box-sizing:border-box}
body .newsletter-footer .newsletter-footer-inner{margin:0;padding:0}
body .newsletter-footer .icon-mail{position:absolute;inset:25px auto auto 24px;width:42px;height:46px;margin:0;object-fit:contain}
body .newsletter-footer .newsletter-footer-inner h2{margin:0 12px 22px 56px;min-height:46px;display:flex;align-items:center;font:400 25px/1.2 "Home 2026 Lora",Georgia,serif;letter-spacing:-.7px;color:#321c3c}
body .newsletter-footer .newsletter-footer-inner>p{max-width:none;margin:0 0 16px;font:400 14px/1.55 "Source Sans",sans-serif;color:#776c7d}
body .newsletter-footer #close-newsletter,body .newsletter-footer #close-newsletter:hover{position:absolute;inset:8px 8px auto auto;display:grid;place-items:center;width:30px;height:30px;padding:0;margin:0;border:0;border-radius:50%;background:transparent!important;color:#776c7d!important;font-size:0;text-decoration:none;line-height:1}
body .newsletter-footer #close-newsletter span{font-size:16px;line-height:1}
body .newsletter-footer #close-newsletter:hover{background:#e4daed!important}
body .newsletter-footer #close-newsletter:focus-visible{outline:2px solid #9676a4;outline-offset:2px}
body .newsletter-footer .wrap-icons{display:flex;flex-wrap:wrap;gap:6px;width:auto;margin:0 0 18px;font-size:11px}
body .newsletter-footer .wrap-icons>div{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;background:#e4daed;color:#321c3c;font-size:11px;line-height:1.4;font-weight:400}
body .newsletter-footer .wrap-icons>div:nth-child(2){background:#f0cab7}
body .newsletter-footer .wrap-icons>div:nth-child(n+3){background:#e7ebe1}
body .newsletter-footer .wrap-icons img{width:12px;height:12px;max-height:12px;margin:0;object-fit:contain;filter:brightness(.5)}
/* Keep the provider's dark form readable, including error/success screens. */
body .newsletter-footer .wrap-iframe{margin:0;padding:14px;border-radius:12px;background:#1b0131;overflow:hidden}
body .newsletter-footer .wrap-iframe iframe{display:block;width:100%;max-width:100%;border:0}
body .newsletter-footer.hide{pointer-events:none}
@media(max-width:600px){body .newsletter-footer,body .newsletter-footer:hover{left:16px;bottom:16px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}}
@media(prefers-reduced-motion:reduce){body .newsletter-footer:not(.hidden):not(.hide){animation:none;transform:none;opacity:1}body .newsletter-footer.hide{animation:none;opacity:0;visibility:hidden}}
/* Opened explicitly by the footer CTA; native dialog supplies focus containment. */
body .newsletter-footer.newsletter-modal,body .newsletter-footer.newsletter-modal:hover{inset:0;margin:auto;width:400px;height:fit-content;max-height:calc(100dvh - 48px);animation:none!important;transform:none!important;opacity:1!important;visibility:visible;pointer-events:auto}
body .newsletter-modal:not([open]){display:none!important}
body .newsletter-modal::backdrop{background:rgba(39,26,45,.46)}
html.newsletter-modal-open{overflow:hidden}
@media(max-width:600px){body .newsletter-footer.newsletter-modal{max-height:calc(100dvh - 32px)}}

/* V10 surface and typography; the cross-origin form is styled in Mailjet. */
body .newsletter-footer.newsletter-modal,body .newsletter-footer.newsletter-modal:hover {
  width:520px;max-width:calc(100% - 32px);padding:38px 32px 30px;
  background:#f4f0f0!important;border:1px solid #ded7e1;border-radius:26px;
  box-shadow:0 24px 80px rgba(33,16,42,.18);
}
body .newsletter-modal .icon-mail{display:none}
body .newsletter-modal .newsletter-footer-inner h2{display:block;min-height:0;margin:0 30px 16px 0;font-size:36px;line-height:1.15;letter-spacing:-1px}
body .newsletter-modal .newsletter-footer-inner>p{font-size:16px;line-height:1.6;margin-bottom:20px}
body .newsletter-modal .wrap-icons{gap:8px;margin-bottom:24px}
body .newsletter-modal .wrap-icons>div{width:auto!important;flex:0 0 auto;padding:6px 11px;font-size:12px}
body .newsletter-modal #close-newsletter{inset:12px 12px auto auto;width:32px;height:32px;border:1px solid #ded7e1;background:transparent!important}
body .newsletter-modal #close-newsletter span{font-size:22px}
body .newsletter-modal .wrap-iframe{position:relative;padding:0;border-radius:0;background:transparent}
@media(max-width:600px){body .newsletter-footer.newsletter-modal,body .newsletter-footer.newsletter-modal:hover{padding:32px 22px 22px}body .newsletter-modal .newsletter-footer-inner h2{font-size:30px}}
/* Reserve the scrollbar gutter while the dialog locks page scrolling. */
html { scrollbar-gutter: stable; }
body .newsletter-modal .wrap-icons>div { flex:0 0 auto!important; }
