/* footer: the newsletter row drawn as the client's Klaviyo form drew it, posting to our /contact */
.footer-top .klaviyo-form-WYekrV .cl-nl { display: flex; width: 100%; margin: 0; padding: 3px 0; box-sizing: border-box; }
.footer-top .cl-nl-row { display: flex; flex-direction: row; align-items: stretch; width: 100%; }
.footer-top .cl-nl-field { flex: 1 1 auto; min-width: 0; padding: 10px 0 10px 10px; }
.footer-top .cl-nl-go { flex: 0 0 auto; padding: 10px 10px 10px 15px; }
.footer-top .cl-nl-field input {
  display: block; box-sizing: border-box; width: 100%; height: 60px; margin: 0; padding: 0 16px;
  background: var(--site-field-bg); border: 1px solid var(--site-field-bg); border-radius: 5px; box-shadow: none;
  font-family: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: normal; color: var(--site-fg);
}
.footer-top .cl-nl-field input::placeholder { color: var(--site-fg); opacity: 1; }
.footer-top .cl-nl-go button {
  display: block; box-sizing: border-box; width: 106px; height: 60px; margin: 0; padding: 0;
  background: var(--site-footer-button); border: 1px solid var(--site-footer-button); border-radius: 5px; cursor: pointer;
  font-family: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 700; line-height: 14px; letter-spacing: 1px; color: var(--site-on-dark); text-transform: none;
}
.footer-top .cl-nl-go button:hover, .footer-top .cl-nl-go button:focus-visible { background: var(--site-accent); }
.footer-top .cl-nl-thanks {
  margin: 0; padding: 13px 10px; min-height: 86px; box-sizing: border-box; display: flex; align-items: center;
  font-family: Poppins, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 700; color: var(--site-on-dark);
}

/* the expert line is our support address where the client's number was */
.footer-middle .textwidget h3 a { color: var(--site-on-dark); font-size: 18px; word-break: break-word; }

/* the copyright bar: our copyright and trademark line is longer than the client's, so it wraps beside the payment icons
   within the client's bar height (theirs: 45px of text in a 75px bar at 1440, 57px of text in a 142px bar on a phone) */
@media (min-width: 768px) {
  .page-footer .footer .footer-bottom > .container > address { flex: 1 1 0%; min-width: 0; padding-top: 0; padding-bottom: 0; font-size: 16px; line-height: 22.5px !important; }
  .page-footer .footer-bottom address span { line-height: 22.5px; }
  .footer-bottom .container .custom-block { flex: 0 0 auto; }
}
@media (max-width: 767px) {
  .page-footer .footer .footer-bottom > .container > address { padding-top: 0; padding-bottom: 0; font-size: 13px; line-height: 19px !important; }
  .page-footer .footer-bottom address span, .page-footer .footer-bottom address a { font-size: 13px !important; line-height: 19px !important; }
  /* the line takes 4 lines below about 400px, so the icons' row gives up its spare line box (35px around a 20-24px image)
     and the bar's content keeps the client's 112px: words on top, icons at the bottom, at any phone width */
  .page-footer .footer .footer-bottom > .container { min-height: 112px; align-content: space-between; }
  .page-footer .footer .footer-bottom > .container::before, .page-footer .footer .footer-bottom > .container::after { display: none; }
  .page-footer .footer .footer-bottom > .container > .custom-block { padding: 7px 0; line-height: 0 !important; }
  .page-footer .footer-bottom .bottom-payment-icons { display: block; }
}

/* a phone puts the form on its own line under the title, as Klaviyo's did, inside the screen rather than past it */
@media (max-width: 767px) {
  .footer-top .klaviyo-form-WYekrV { width: calc(100vw - 14px); }
}
