/* MapWise Footer Styles */
/* Outer container as a flex container, wrapping at smaller screens. */
.mw-footer .footer-container {
  display: flex;
  flex-wrap: wrap; 
  align-items: flex-start;
  gap: 2rem;
  padding: 20px 0;
}

/* CTA column: full width on mobile, fixed 320px from xl (≥1200px). */
.mw-footer .cta-col {
  flex: 1 1 100%; /* default: 100% on small screens */
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-align: center; /* center the CTA on mobile */
}
@media (min-width: 1200px) {
  .mw-footer .cta-col {
    flex: 0 0 320px; /* fixed width at xl to avoid overlap */
    text-align: left; /* left-align on xl screens */
  }
}

/* Links column: fill leftover space at xl, full width below */
.mw-footer .links-col {
  flex: 1 1 auto; 
}

/* CTA heading & text. Center on mobile, left on xl. */
.mw-footer .cta-heading {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.mw-footer .cta-text {
  font-size: 1rem;
  margin-top: 1rem;
  line-height: 1.5;
  color: #fff;
  max-width: 600px; /* optional max width for nicer measure */
  margin-left: auto;  /* center in mobile */
  margin-right: auto; /* center in mobile */
}

/* MailChimp form container: white behind input & button */
.mw-footer #mc_embed_signup {
  border-radius: 6px;
  background-color: #011e61; 
  padding: 0px;
  display: inline-block;
  margin-top: 0rem;
}
.mw-footer .email {
  width: 200px;
  margin-right: 8px;
}

/* Link "cards": big, transparent; turn white on hover */
.mw-footer .btn-link-tap {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  text-align: center;
  background-color: transparent;
  color: #fff;
  border: 1px solid #011e61;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s, color 0.2s;
}
.mw-footer .btn-link-tap:hover {
  background-color: #fff;
  color: #011e61;
  text-decoration: none;
}

/* 3×3 links: each row has .col-12.col-md-4 -> stacked below 768px, 3 columns above. */
.mw-footer .row-links .col-12.col-md-4 {
  padding: 0.25rem;
}

/* Footer bottom text */
.mw-footer .footer-bottom {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1rem;
}

