/* Shared HFE footer: one spacing rhythm, independent of the saved Elementor widths. */
body.ac-bidi #colophon .ac-footer-main { padding: 56px clamp(20px, 4vw, 64px) 48px; }
body.ac-bidi #colophon .ac-footer-main > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(290px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
  width: 100%;
  max-width: 1440px;
  padding: 0;
  margin-inline: auto;
}
body.ac-bidi #colophon :is(.ac-footer-subscribe-column, .ac-footer-subscribe-wrap, .ac-footer-subscribe, .ac-footer-information, .ac-footer-links, .ac-footer-contact) {
  width: 100%;
  min-width: 0;
  margin: 0;
  --width: 100%;
}
body.ac-bidi #colophon .ac-footer-subscribe-column,
body.ac-bidi #colophon .ac-footer-subscribe-wrap { padding: 0; }
body.ac-bidi #colophon .ac-footer-subscribe {
  padding: 32px;
  min-height: 0;
  height: auto;
  border: 1px solid rgba(178,235,242,.35);
  border-radius: 26px;
}
body.ac-bidi #colophon .ac-footer-information {
  display: grid;
  grid-template-columns: minmax(160px, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(32px, 4vw, 64px);
  padding: 22px 0 0;
}
body.ac-bidi #colophon :is(.ac-footer-links, .ac-footer-contact) { padding: 0; }
body.ac-bidi #colophon .ac-footer-links { gap: 18px; }
body.ac-bidi #colophon .ac-footer-contact .rs-contact-box .des { overflow-wrap: anywhere; }
body.ac-bidi #colophon .ac-footer-subscribe .elementor-widget-site-logo { margin-block-end: 20px; }
body.ac-bidi #colophon .ac-footer-subscribe .wpcf7 form { margin: 0; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] input[type="email"] { width: 100%; min-width: 0; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .form-btn-area { margin-block: 16px 0; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-submit {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 2px solid #53f5ff;
  background: #53f5ff;
  color: #07022a;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  opacity: 1;
  /* Keep the contrasting color pair together; animate only the surrounding glow. */
  transition: box-shadow .2s ease;
}
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-submit:is(:hover, :focus-visible) {
  background: #07022a;
  /* The legacy theme's input[type=submit]:hover color is important. */
  color: #53f5ff !important;
  border-color: #53f5ff;
  box-shadow: 0 0 0 4px rgba(83,245,255,.14);
}
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-submit:focus-visible { outline: 2px solid #e0f7fa; outline-offset: 5px; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-submit:disabled { cursor: not-allowed; background: #b2ebf2; border-color: #b2ebf2; color: #173743 !important; box-shadow: none; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance label {
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 44px;
  margin-block-start: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  color: #e0f7fa;
  cursor: pointer;
}
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance input { flex: 0 0 17px; width: 17px; height: 17px; margin: 4px 0 0; accent-color: #53f5ff; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-list-item-label { color: #e0f7fa !important; min-width: 0; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; border: 1px solid #b2ebf2; background-color: #f5fcfd; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance input:focus-visible { outline: 2px solid #53f5ff; outline-offset: 3px; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance a { color: #53f5ff; text-decoration: underline; text-underline-offset: 3px; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-acceptance a:focus-visible { outline: 2px solid #53f5ff; outline-offset: 3px; }
body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-spinner { position: absolute; margin: 16px 8px; }
body.ac-bidi #colophon .ac-footer-bottom { padding-inline: clamp(20px, 4vw, 64px); }
body.ac-bidi #colophon .ac-footer-bottom > .e-con-inner { max-width: 1440px; width: 100%; padding: 0; gap: 24px; align-items: center; }
body.ac-bidi #colophon .ac-footer-copyright { width: auto; flex: 1; min-width: 0; }
body.ac-bidi #colophon .ac-footer-policies { width: auto; gap: 24px; flex-wrap: wrap; }
/* Undo the old footer-label placeholder rule that disabled pointer events. */
body.ac-bidi #colophon .ac-footer-policies a { pointer-events: auto !important; cursor: pointer; text-underline-offset: 5px; }
body.ac-bidi #colophon .ac-footer-policies a:is(:hover, :focus-visible) { color: #53f5ff; text-decoration: underline; }
body.ac-bidi #colophon .ac-footer-policies a:focus-visible { outline: 2px solid #53f5ff; outline-offset: 5px; }
@media (max-width: 1024px) {
  body.ac-bidi #colophon .ac-footer-main > .e-con-inner { grid-template-columns: minmax(270px, .9fr) minmax(0, 1.3fr); gap: 32px; }
  body.ac-bidi #colophon .ac-footer-information { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  body.ac-bidi #colophon .ac-footer-subscribe { padding: 28px; }
}
@media (max-width: 767px) {
  body.ac-bidi #colophon .ac-footer-main { padding-block: 36px; }
  body.ac-bidi #colophon .ac-footer-main > .e-con-inner { grid-template-columns: 1fr; gap: 32px; }
  body.ac-bidi #colophon .ac-footer-subscribe-column { max-width: 440px; justify-self: center; }
  body.ac-bidi #colophon .ac-footer-information { grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 0; }
  body.ac-bidi #colophon .ac-footer-bottom > .e-con-inner { flex-direction: column; gap: 0; }
  body.ac-bidi #colophon :is(.ac-footer-copyright, .ac-footer-policies) { justify-content: center; width: 100%; text-align: center; padding-block: 14px; }
}
@media (max-width: 479px) {
  body.ac-bidi #colophon .ac-footer-information { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  body.ac-bidi #colophon .wpcf7[data-wpcf7-id="651"] .wpcf7-submit { transition: none; }
}

/* Approved field, shared by Home and the reviewed Solutions page. */
body.ac-bidi:is(.home, .ac-solution-page) #colophon .ac-home-footer-field.elementor-element.e-con {
  background: var(--ac-home-surface-footer) !important;
}
body.ac-bidi:is(.home, .ac-solution-page) #colophon .ac-home-footer-field .ac-footer-information :is(.title, .des, .label, .sub-text, .description, p, a) {
  color: var(--ac-home-text-light) !important;
}
body.ac-bidi:is(.home, .ac-solution-page) #colophon .ac-home-footer-field .ac-footer-information a:is(:hover, :focus-visible) {
  color: var(--ac-home-accent) !important;
}
