.ac-body .ac-footer { background: #f3f1e9; border: 0; padding-top: 48px; }
.ac-footer .ac-wordmark { color: #273b2d; }
.ac-footer .ac-wordmark > span { color: #aa4a24; font-weight: 550; }
.ac-footer .ac-wordmark small, .ac-footer .ac-footer-mail strong { color: #62705d; }
.ac-footer .ac-footer-bottom { border-color: #c9d0bf; color: #596951; }
.ac-footer .ac-footer-bottom nav { flex-wrap: wrap; }
.ac-footer .ac-footer-email { font-size: 25px; color: #2c422f; overflow-wrap: anywhere; }

.ac-footer .ac-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "brand" "mail" "contacts";
  align-items: start;
  gap: 18px;
  padding-bottom: 26px;
}

.ac-footer .ac-footer-top > .ac-wordmark { grid-area: brand; justify-self: start; }
.ac-footer .ac-footer-mail { grid-area: mail; }

.ac-footer-contacts {
  grid-area: contacts;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 801px) {
  .ac-footer .ac-footer-top {
    grid-template-columns: minmax(210px, .85fr) minmax(0, 2fr);
    grid-template-areas: "brand contacts" "mail contacts";
    gap: 12px 28px;
  }

  .ac-footer-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ac-footer-contacts li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 1.6vw, 22px);
  border: 1px solid #d0d6c8;
  border-radius: 12px;
  background: #e8ebe1;
  font-size: 13px;
}

.ac-footer .ac-footer-avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #23392e;
  object-fit: cover;
}

.ac-footer .ac-footer-contacts strong {
  display: block;
  color: #23392e;
  font-size: 14px;
  font-weight: 650;
}

.ac-footer-contacts div > span {
  display: block;
  color: #4c594e;
}

.ac-footer-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}
