.site-footer.epil-footer {
  background: #18372e;
  color: #edf4ee;
  padding: 42px 0 22px;
}
.epil-footer .epil-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr .8fr .85fr;
  gap: 28px clamp(18px, 3.2vw, 46px);
  align-items: start;
}
.epil-footer .epil-footer-name {
  display: inline-block;
  color: #fff9ec;
  font: 600 clamp(21px, 2vw, 27px)/1.18 Georgia, serif;
  max-width: 29ch;
  margin-bottom: 15px;
}
.epil-footer address {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-style: normal;
}
.epil-footer .epil-footer-phone {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 700;
}
.epil-footer .epil-footer-hours {
  color: #d0e0d5;
  font-size: 14px;
  margin: 10px 0 15px;
}
.epil-footer .epil-footer-title {
  color: #fff4e3;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.epil-footer .epil-footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.epil-footer .epil-footer-grid li {
  padding: 0;
  margin: 0;
}
.epil-footer .epil-footer-grid li a {
  display: inline-block;
  padding: 5px 0;
  line-height: 1.35;
}
.epil-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.epil-footer a:focus-visible {
  outline: 2px solid #f0dfca;
  outline-offset: 4px;
  border-radius: 4px;
}
.epil-footer a.epil-footer-book {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9px;
  background: #f0dfca;
  color: #18372e;
  font-size: 14px;
  font-weight: 750;
}
.epil-footer a.epil-footer-book:hover {
  background: #fff0da;
}
.site-footer.epil-footer .clinic-social-links {
  margin: 25px 0 0;
  padding: 14px 0;
  border-top: 1px solid #ffffff35;
  border-bottom: 0;
}
.site-footer.epil-footer .clinic-social-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.site-footer.epil-footer .clinic-social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 5px 12px 5px 8px;
  border: 1px solid #ffffff45;
  border-radius: 8px;
  font-size: 14px;
}
.epil-footer .footer-note {
  margin: 0;
  padding: 12px 0 0;
}
@media (max-width: 940px) {
  .epil-footer .epil-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-footer.epil-footer {
    padding: 28px 0 18px;
  }
  .epil-footer .epil-footer-clinic {
    grid-column: 1 / -1;
  }
  .epil-footer .epil-footer-grid {
    column-gap: 20px;
  }
  .epil-footer .epil-footer-grid li a {
    padding: 7px 0;
  }
}

.epil-footer .epil-footer-license {
  display: block;
  margin-top: 3px;
  color: #d0e0d5;
  font-size: .83em;
  overflow-wrap: anywhere;
}
.site-footer.epil-footer .clinic-social-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}
.site-footer.epil-footer .clinic-social-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  background: #ffffff16;
  font: 750 11px/1 system-ui, sans-serif;
}
.site-footer.epil-footer .clinic-brand-icon {
  background: transparent;
}
.site-footer.epil-footer .clinic-brand-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.site-footer.epil-footer a.clinic-social-link:hover {
  background: #f0dfca;
  color: #18372e;
  text-decoration: none;
}
@media (max-width: 560px) {
  .epil-footer .epil-footer-grid nav:last-child {
    grid-column: 1 / -1;
  }
  .epil-footer .epil-footer-grid nav:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }
}
