/* MOS Brevo Popup — site colours: navy #324a6d / #243b99 (headings, hero overlay), red pill buttons #dc1140, Poppins */
/* max z-index so the popup sits above the theme header and the Black November bar (z 9990 on phones) */
.mos-bp{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,28,60,.55);opacity:0;transition:opacity .3s;font-family:Poppins,Arial,Helvetica,sans-serif;}
.mos-bp.is-open{opacity:1;}
.mos-bp-box{position:relative;width:100%;max-width:440px;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.3);transform:translateY(20px);transition:transform .3s;}
.mos-bp.is-open .mos-bp-box{transform:none;}
.mos-bp-head{background:linear-gradient(135deg,#243b99,#324a6d);padding:26px 56px 22px 28px;}
.mos-bp .mos-bp-h{font-family:Poppins,Arial,sans-serif;color:#fff;font-size:24px;line-height:1.25;font-weight:700;margin:0;padding:0;}
/* !important widths: the child theme forces button{width:auto !important} on phones */
.mos-bp .mos-bp-x{position:absolute;top:10px;right:12px;width:36px !important;height:36px;margin:0;padding:0;border:0;background:transparent !important;box-shadow:none;color:#fff !important;font-size:30px;line-height:36px;cursor:pointer;opacity:.85;}
.mos-bp .mos-bp-x:hover{opacity:1;}
.mos-bp-body{padding:22px 28px 24px;}
.mos-bp .mos-bp-text{font-size:15px;line-height:1.5;color:#555;margin:0 0 16px;}
.mos-bp .mos-bp-l{display:block;margin:0 0 12px;}
.mos-bp .mos-bp-l span{display:block;font-size:13px;font-weight:700;color:#324a6d;margin:0 0 5px;}
.mos-bp .mos-bp-l input{display:block;width:100%;box-sizing:border-box;height:44px;margin:0;padding:0 12px;border:1px solid #cfd8dc;border-radius:8px;background:#fff;color:#333;font-size:15px;box-shadow:none;}
.mos-bp .mos-bp-l input:focus{border-color:#dc1140;outline:none;box-shadow:0 0 0 3px rgba(220,17,64,.18);}
.mos-bp .mos-bp-btn{display:block !important;width:100% !important;float:none !important;height:48px;margin:6px 0 0;padding:0 16px;border:0;border-radius:50px;background:#dc1140 !important;color:#fff !important;font-family:Poppins,Arial,sans-serif;font-size:16px;font-weight:700;line-height:48px;letter-spacing:0;text-transform:none !important;box-shadow:none;cursor:pointer;transition:background .2s;}
.mos-bp .mos-bp-btn:hover{background:#b80d35 !important;}
.mos-bp .mos-bp-btn:disabled{opacity:.6;cursor:wait;}
.mos-bp .mos-bp-msg{font-size:13px;margin:8px 0 0;min-height:1em;}
.mos-bp .mos-bp-msg.is-err{color:#c0392b;}
.mos-bp .mos-bp-consent{font-size:12px;line-height:1.45;color:#888;margin:12px 0 0;}
.mos-bp .mos-bp-consent a{color:#dc1140;}
.mos-bp .mos-bp-ok{font-family:Poppins,Arial,sans-serif;font-size:18px;font-weight:700;color:#324a6d;text-align:center;margin:12px 0;}
.mos-bp-box{max-height:calc(100vh - 32px);overflow-y:auto;}
/* image design: picture on top, form on a navy panel below it */
.mos-bp-img img{display:block;width:100%;height:auto;margin:0;}
.mos-bp-box.has-img{max-width:420px;}
/* this image has no drawn close mark (PHS's did), so the x is a visible white disc */
.mos-bp-box.has-img .mos-bp-x{top:8px;right:8px;width:36px !important;height:36px;background:rgba(255,255,255,.92) !important;color:#243b99 !important;font-size:26px;line-height:36px;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.25);opacity:1;}
.mos-bp-img img{cursor:pointer;}
.mos-bp-box.has-img .mos-bp-x:focus-visible{outline:3px solid #fff;}
.mos-bp-box.has-img{background:#243b99;}
.mos-bp-box.has-img .mos-bp-body{background:linear-gradient(90deg,#243b99,#324a6d);padding:14px 22px 20px;margin-top:-1px;}
.mos-bp-box.has-img .mos-bp-l span{color:#fff;}
.mos-bp-box.has-img .mos-bp-l input{border-color:transparent;}
.mos-bp-box.has-img .mos-bp-l input:focus{box-shadow:0 0 0 3px rgba(255,255,255,.6);}
.mos-bp-box.has-img .mos-bp-btn{background:#dc1140 !important;color:#fff !important;}
.mos-bp-box.has-img .mos-bp-btn:hover{background:#b80d35 !important;}
.mos-bp-box.has-img .mos-bp-msg.is-err{color:#ffd6d1;}
.mos-bp-box.has-img .mos-bp-consent{color:rgba(255,255,255,.8);}
.mos-bp-box.has-img .mos-bp-consent a{color:#fff;}
.mos-bp-box.has-img .mos-bp-ok{color:#fff;}
@media (max-width:767px){
  .mos-bp-head{padding:18px 52px 14px 20px;}
  .mos-bp .mos-bp-h{font-size:20px;}
  .mos-bp-body{padding:14px 20px 18px;}
  .mos-bp .mos-bp-text{font-size:14px;margin-bottom:12px;}
  .mos-bp .mos-bp-l{margin-bottom:10px;}
  .mos-bp .mos-bp-l input{height:42px;}
}
