/* ==========================================================================
   Easy Outdesk - Footer Styles
   ========================================================================== */

/* Align footer card equally with header */
.eod-footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.eod-footer .footer-card {
  margin: 0 clamp(36px, 27.549px + 2.254vw, 60px) !important;
  padding-left: clamp(35px, 29.718px + 1.408vw, 50px) !important;
  padding-right: clamp(36px, 27.549px + 2.254vw, 60px) !important;
}
@media only screen and (max-width: 1600px) and (min-width: 1401px) {
  .eod-footer .footer-card {
    margin: 0 clamp(28px, 23.775px + 1.127vw, 40px) !important;
    padding-left: clamp(28px, 23.775px + 1.127vw, 40px) !important;
    padding-right: clamp(28px, 23.775px + 1.127vw, 40px) !important;
  }
}
@media only screen and (max-width: 1400px) {
  .eod-footer .footer-card {
    margin: 0 !important;
    padding-left: clamp(21px, 17.831px + 0.845vw, 30px) !important;
    padding-right: clamp(21px, 17.831px + 0.845vw, 30px) !important;
  }
}
@media only screen and (max-width: 991px) {
  .eod-footer .footer-card {
    margin: 0 !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
@media only screen and (max-width: 767px) {
  .eod-footer .footer-card {
    margin: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
@media only screen and (max-width: 480px) {
  .eod-footer .footer-card {
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Keep all 5 footer office emails and mobile numbers aligned in straight horizontal lines */
.footer-offices {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 16px !important;
}
.footer-offices .office {
  display: flex !important;
  align-items: stretch !important;
  height: 100% !important;
  position: relative !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding: 0 12px !important;
}
.footer-offices .office:first-child {
  padding-left: 0 !important;
}
.footer-offices .office:last-child {
  padding-right: 0 !important;
}
.footer-offices .office-img {
  align-self: flex-start !important;
  flex-shrink: 0 !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  background: #dcebfb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer-offices .office-img img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain !important;
}
.footer-offices .office-address {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-width: 0 !important;
}
.footer-offices .office-title {
  font-size: clamp(12.32px, 11.728px + 0.158vw, 14px) !important;
  color: #006aa2 !important;
  margin: 0 0 8px !important;
  min-height: 36px !important;
  line-height: 1.35 !important;
}
.footer-offices .office-address address {
  font-style: normal !important;
  font-size: 13px !important;
  color: #666 !important;
  line-height: 1.55 !important;
  margin: 0 0 12px !important;
  flex: 1 1 auto !important;
}
.footer-offices .office-contact {
  margin-top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 44px !important;
}
.footer-offices .office-contact a,
.footer-offices .office-address a {
  display: block !important;
  font-size: clamp(11.5px, 0.8vw, 13px) !important;
  line-height: 20px !important;
  color: #0d6efd !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
.footer-offices .office-contact a + a,
.footer-offices .office-address a + a {
  margin-top: 4px !important;
}
.footer-offices .office-contact a:hover,
.footer-offices .office-address a:hover {
  text-decoration: underline !important;
}
@media (max-width: 991px) {
  .footer-offices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}
@media (max-width: 767px) {
  .footer-offices {
    grid-template-columns: 1fr !important;
  }
  .footer-offices .office {
    padding: 16px 0 !important;
  }
}
