/* ==========================================================
   COUNTED OUT — mailing-list pop-up + footer sign-up
   (pairs with the script in WPBakery → Custom JS)
   ========================================================== */

/* 1. Retire the old sign-up spots (hero box on home, top bar on other pages) */
.signup-panel,
.section-banner #mc_embed_signup { display: none !important; }
.sticky-header { top: 0 !important; }

/* 2. Shared form */
.co-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.co-hp { position: absolute; left: -5000px; }
.co-signup-form { margin: 0; }
.co-signup-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.co-signup-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; height: 48px; margin: 0; padding: 0 14px;
  border: 2px solid #fff; border-radius: 0; background: #fff; color: #212529;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; box-shadow: none;
}
.co-signup-form input[type="email"]:focus { outline: none; border-color: #F05341; }
.co-signup-form button[type="submit"] {
  flex: 0 0 auto; height: 48px; margin: 0; padding: 0 26px;
  border: 0; border-radius: 0; background: #F05341; color: #fff; cursor: pointer;
  font-family: AlternateGotNo3D, Helvetica, sans-serif; font-weight: 700; font-size: 20px;
  line-height: 1; letter-spacing: .5px; text-transform: uppercase;
  transition: background-color .3s, color .3s;
}
.co-signup-form button[type="submit"]:hover,
.co-signup-form button[type="submit"]:focus-visible { background: #fff; color: #111; outline: none; }
.co-signup-form button[disabled] { opacity: .6; cursor: wait; }
.co-signup-msg { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: #fff; }
.co-signup-msg:empty { display: none; }
.co-signup-msg.is-error { color: #FF8A7D; }
.co-signup-form.is-done .co-signup-row { display: none; }
.co-signup-form.is-done .co-signup-msg { margin-top: 0; font-size: 17px; }

/* 3. Pop-up */
body.co-pop-lock { overflow: hidden; }
.co-pop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, .75); opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.co-pop.is-open { opacity: 1; visibility: visible; }
.co-pop__box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 44px 40px 30px; background: #111; border-top: 4px solid #F05341;
  color: #fff; text-align: center; outline: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transform: translateY(16px); transition: transform .35s;
}
.co-pop.is-open .co-pop__box { transform: none; }
.co-pop__close {
  position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; padding: 0;
  border: 0; background: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; opacity: .7;
}
.co-pop__close:hover, .co-pop__close:focus-visible { opacity: 1; outline: none; }
.co-pop__logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 26px; }
.co-pop__title {
  display: inline-block; position: relative; margin: 0 30px 22px; padding: 6px 30px 9px;
  background: #F05341; color: #fff;
  font-family: AlternateGotNo3D, Helvetica, sans-serif; font-weight: 400; font-size: 34px;
  line-height: 1.2; letter-spacing: 0; text-transform: uppercase;
}
.co-pop__title::after { content: ""; position: absolute; left: -30px; right: -30px; bottom: 7px; border: 1px solid #fff; }
.co-pop__text { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: #D9D9D9; }
.co-pop__text strong { color: #fff; }
.co-pop__fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: #9A9A9A; }
.co-pop__nothanks {
  margin-left: 10px; padding: 0; border: 0; background: none; color: #9A9A9A;
  font: inherit; text-decoration: underline; cursor: pointer;
}
.co-pop__nothanks:hover, .co-pop__nothanks:focus-visible { color: #fff; outline: none; }
@media (max-width: 480px) {
  .co-pop__box { padding: 40px 22px 24px; }
  .co-pop__title { font-size: 28px; padding: 6px 18px 9px; }
  .co-pop .co-signup-form button[type="submit"] { flex-basis: 100%; }
}

/* 4. Footer sign-up band */
.co-footer-signup {
  width: 100%; max-width: 720px; margin: 0 auto 40px; padding: 0 0 40px;
  border-bottom: 1px solid #3A3A3A; text-align: center;
}
.co-footer-signup__title {
  margin: 0 0 18px; color: #fff;
  font-family: AlternateGotNo3D, Helvetica, sans-serif; font-weight: 400; font-size: 26px;
  line-height: 1.15; letter-spacing: 1px; text-transform: uppercase;
}
.co-footer-signup .co-signup-form { max-width: 540px; margin: 0 auto; }