body.sheet-open{overflow:hidden}
body #footer-sheet{display:flex;flex-direction:column;align-items:center;gap:0;background:#fff!important;animation:newsletter-fade-in .5s ease both!important;padding:20px 10px var(--newsletter-bottom,20px);box-sizing:border-box;z-index:40000;transform:none!important}
body #footer-sheet[hidden]{display:none!important}
body #footer-sheet .sheet-inner{width:var(--newsletter-width,1100px);max-width:100%;min-height:0;margin:auto auto 0;padding:0!important;flex:0 0 auto}
body #footer-sheet [data-panel]{margin:0;padding:0}
body #footer-sheet .minimal-footer{width:var(--newsletter-width,1100px);max-width:100%;margin:20px auto 0;flex:0 0 auto;box-sizing:border-box}
body #footer-sheet .sheet-close{display:none!important}
@keyframes newsletter-fade-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){body #footer-sheet{animation:none!important}}

body #footer-sheet .form-status{min-height:3em;margin:0}
body #footer-sheet .turnstile-slot{min-height:110px}
@media(max-width:700px){body #footer-sheet .turnstile-slot{min-height:100px}}

/* Keep the footer at its measured on-page position. */
body #footer-sheet{padding:0 10px}
body #footer-sheet .sheet-inner{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(100% - var(--newsletter-footer-top,100%) + 10px);margin:0;max-height:calc(var(--newsletter-footer-top,100vh) - 20px);overflow-y:auto}
body #footer-sheet .minimal-footer{margin:0;max-width:none}

@media(max-width:700px){
 body #footer-sheet .sheet-inner{left:10px;right:10px;width:auto;max-width:none;transform:none;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
 body #footer-sheet [data-panel],body #footer-sheet .minimal-form{width:100%;max-width:none;box-sizing:border-box}
 body #footer-sheet .minimal-footer{left:10px!important;right:10px!important;width:auto!important;max-width:none;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
}
