/* MORI-EL v85.22 — Contact footer uses the same shared footer system as every other page. */
body.contact-reference-page .site-footer,
body.contact-reference-page .site-footer * { box-sizing: border-box; }

body.contact-reference-page .site-footer {
  margin-top: 0 !important;
  padding: 20px 0 8px !important;
  background: #071f45 !important;
  color: #fff !important;
}

body.contact-reference-page .site-footer .container {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
}

body.contact-reference-page .site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.25fr .95fr 1.05fr 1.2fr !important;
  gap: 20px !important;
  align-items: start !important;
}

body.contact-reference-page .site-footer .footer-grid > div {
  min-width: 0 !important;
  min-height: 0 !important;
  border-right: 1px solid rgba(255,255,255,.30) !important;
  border-bottom: 0 !important;
  padding: 0 18px 0 0 !important;
}

body.contact-reference-page .site-footer .footer-grid > div:first-child {
  padding-left: 0 !important;
}

body.contact-reference-page .site-footer .footer-grid > div:last-child {
  border-right: 0 !important;
  padding-right: 0 !important;
}

body.contact-reference-page .site-footer .footer-brand {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 190px !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.contact-reference-page .site-footer .footer-logo-image {
  display: block !important;
  width: 185px !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 60px !important;
  object-fit: contain !important;
  object-position: left center !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

body.contact-reference-page .site-footer .footer-intro {
  font-size: 9px !important;
  line-height: 1.35 !important;
  color: #d6dee7 !important;
  max-width: 150px !important;
  margin: 7px 0 !important;
}

body.contact-reference-page .site-footer .footer-title {
  font-size: 9px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin: 2px 0 8px !important;
  color: #fff !important;
}

body.contact-reference-page .site-footer .footer-links {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.contact-reference-page .site-footer .footer-links li,
body.contact-reference-page .site-footer .footer-links a {
  font-size: 9px !important;
  line-height: 1.3 !important;
  color: #e0e6ed !important;
  text-decoration: none !important;
}

body.contact-reference-page .site-footer .footer-links a:hover,
body.contact-reference-page .site-footer .footer-links a:focus-visible {
  color: #fff !important;
}

body.contact-reference-page .site-footer .contact-links li {
  line-height: 1.4 !important;
}

/* Keep the three social links in the same place and style as the shared footer. */
body.contact-reference-page .site-footer .footer-grid > div:first-child > .socials,
body.contact-reference-page .site-footer .socials {
  display: flex !important;
  gap: 7px !important;
  margin-top: 8px !important;
}

body.contact-reference-page .site-footer .socials a {
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.contact-reference-page .site-footer .socials a:hover,
body.contact-reference-page .site-footer .socials a:focus-visible {
  background: #fff !important;
  color: #071f45 !important;
}

body.contact-reference-page .site-footer .socials svg {
  width: 13px !important;
  height: 13px !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

body.contact-reference-page .site-footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 9px !important;
  padding-top: 7px !important;
  border-top: 1px solid rgba(255,255,255,.28) !important;
  font-size: 8px !important;
  line-height: 1.3 !important;
  color: #c8d2dd !important;
}

body.contact-reference-page .site-footer .footer-bottom span:last-child {
  display: block !important;
  color: #fff !important;
  font-style: italic !important;
}

@media (max-width: 800px) {
  body.contact-reference-page .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  body.contact-reference-page .site-footer .footer-grid > div {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.25) !important;
    padding: 0 0 10px !important;
  }
  body.contact-reference-page .site-footer .footer-grid > div:nth-child(odd) {
    padding-right: 12px !important;
  }
  body.contact-reference-page .site-footer .footer-grid > div:last-child,
  body.contact-reference-page .site-footer .footer-grid > div:nth-last-child(2) {
    border-bottom: 0 !important;
  }
}

@media (max-width: 520px) {
  body.contact-reference-page .site-footer .container {
    width: min(1180px, calc(100% - 32px)) !important;
  }
  body.contact-reference-page .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  body.contact-reference-page .site-footer .footer-grid > div,
  body.contact-reference-page .site-footer .footer-grid > div:nth-child(odd) {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.22) !important;
    padding: 12px 0 !important;
  }
  body.contact-reference-page .site-footer .footer-grid > div:last-child {
    border-bottom: 0 !important;
  }
  body.contact-reference-page .site-footer .footer-bottom {
    display: block !important;
  }
  body.contact-reference-page .site-footer .footer-bottom span {
    display: block !important;
    margin-top: 5px !important;
  }
}


/* v85.33 - Social icon brand colors */
.site-footer .socials a[aria-label="LinkedIn"],
.site-footer .socials a[title="LinkedIn"],
.mec-footer-follow .socials a[aria-label="LinkedIn"],
.mec-footer-follow .socials a[title="LinkedIn"],
.cr-socials a[aria-label="LinkedIn"],
.cr-socials a[title="LinkedIn"] { color:#0A66C2 !important; }

.site-footer .socials a[aria-label="Facebook"],
.site-footer .socials a[title="Facebook"],
.mec-footer-follow .socials a[aria-label="Facebook"],
.mec-footer-follow .socials a[title="Facebook"],
.cr-socials a[aria-label="Facebook"],
.cr-socials a[title="Facebook"] { color:#1877F2 !important; }

.site-footer .socials a[aria-label="Instagram"],
.site-footer .socials a[title="Instagram"],
.mec-footer-follow .socials a[aria-label="Instagram"],
.mec-footer-follow .socials a[title="Instagram"],
.cr-socials a[aria-label="Instagram"],
.cr-socials a[title="Instagram"] { color:#E4405F !important; }

.site-footer .socials a[aria-label] svg,
.mec-footer-follow .socials a[aria-label] svg,
.cr-socials a[aria-label] svg { fill:currentColor !important; color:inherit !important; }

.site-footer .socials a[aria-label="Instagram"] svg rect,
.site-footer .socials a[aria-label="Instagram"] svg circle,
.cr-socials a[aria-label="Instagram"] svg rect,
.cr-socials a[aria-label="Instagram"] svg circle { stroke:currentColor !important; }

.site-footer .socials a:hover,
.mec-footer-follow .socials a:hover,
.cr-socials a:hover { opacity:.86; }

