/* Footer content uses global typography tokens and the ACF Footer Logo image. */
.mhc-footer { border-top: 4px solid #027d79; }
.mhc-footer { --footer-blue: #0a4e63; --footer-teal: #6abfb7; background: #fff; color: #000; font-family: var(--font-primary); font-size: var(--font-size-body); line-height: var(--line-height-body); }
.mhc-footer__top { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; padding: 27px 12px 28px; align-items: start; }
.mhc-footer__brand, .mhc-footer__content { min-width: 0; }
.mhc-footer__brand .mhc-footer__logo { display: block; width: 282px; max-width: 100%; height: auto; }
.mhc-footer .mhc-footer__intro { margin: 0; color: inherit; font: inherit; }
.mhc-footer__actions { display: flex; flex-wrap: wrap; gap: 16px 25px; }
.mhc-footer__intro + .mhc-footer__actions { margin-top: 27px; }
.mhc-footer .mhc-footer__button { display: inline-flex; justify-content: center; align-items: center; min-width: 174px; min-height: 40px; padding: 6px 20px; border: 0; border-radius: 10px; background: var(--footer-blue); color: #fff; font-family: var(--wp--preset--font-family--helvetica, Helvetica, Arial, sans-serif); font-size: var(--font-size-button); font-weight: var(--font-weight-button); line-height: 1.4; text-decoration: none; transition: background-color .4s ease, color .4s ease; }
/* Keep the reference teal hover background with accessible dark label contrast. */
.mhc-footer .mhc-footer__button:is(:hover, :focus-visible) { background: var(--footer-teal); color: var(--footer-blue); }
.mhc-footer__bottom { background: #f6f7f8; padding: 12px 24px 13px; text-align: center; }
.mhc-footer__legal { max-width: 655px; margin-inline: auto; overflow-wrap: anywhere; }
.mhc-footer .mhc-footer__legal p { margin: 0; color: inherit; font: inherit; }
.mhc-footer .mhc-footer__legal a { color: #000; text-decoration: underline; text-underline-offset: 2px; transition: color .4s ease; }
.mhc-footer .mhc-footer__legal a:hover { color: var(--footer-blue); }
.mhc-footer a:focus-visible { outline: 2px solid var(--footer-blue); outline-offset: 4px; }
.mhc-footer__top--no-logo { display: block; }
.mhc-footer__top--no-logo .mhc-footer__content { max-width: 545px; margin-inline: auto; }
@media (min-width: 768px) and (max-width: 1050px) {
  .mhc-footer__top { grid-template-columns: minmax(200px, 36%) minmax(0, 1fr); padding-inline: 24px; gap: 30px; }
  .mhc-footer__brand .mhc-footer__logo { width: 250px; }
}
@media (max-width: 767px) {
  .mhc-footer__top { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 24px; text-align: center; }
  .mhc-footer__brand .mhc-footer__logo { width: 220px; }
  .mhc-footer__content { width: 100%; max-width: 545px; }
  .mhc-footer__actions { justify-content: center; gap: 12px; }
  .mhc-footer__intro + .mhc-footer__actions { margin-top: 20px; }
  .mhc-footer .mhc-footer__button { min-height: 44px; }
  .mhc-footer__bottom { padding: 16px 24px; }
}
@media (max-width: 420px) { .mhc-footer__actions { flex-direction: column; align-items: center; } .mhc-footer .mhc-footer__button { width: 100%; max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .mhc-footer a { transition: none; } }

@media (max-width: 767px) {
  .mhc-footer .mhc-footer__legal,
  .mhc-footer .mhc-footer__legal p,
  .mhc-footer .mhc-footer__legal a {
    font-size: 12px !important;
  }
}
