:root {
  --footer-surface: #e2d2bf;
}

.brand-mark .header-logo,
.page-brand .header-logo {
  display: block;
  flex: none;
  width: 166px;
  height: auto;
}

.brand-mark:has(.header-logo) {
  filter: none;
}

.footer-logo {
  display: block;
  width: min(620px, 100%);
  height: auto;
  margin-inline: auto;
}

.footer-business {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-block-start: 26px;
  border-block-start: 1px solid #2b1a0733;
  font: 400 14px/1.55 var(--body, Arial, sans-serif);
}

.footer-business-details {
  display: grid;
  grid-template-columns: 1.65fr 1.25fr 1fr 1fr;
  gap: 20px 28px;
  margin: 0;
}

.footer-business-details dt {
  margin-block-end: 5px;
  font-weight: 650;
}

.footer-business-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.footer-business-details address {
  max-inline-size: 38ch;
  font-style: normal;
}

.footer-business-details a:hover,
.footer-business-details a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-business-copyright {
  margin: 24px 0 0;
  font-size: 12px;
}

.tc-envelope-mark:has(img) {
  display: grid;
  place-items: center;
}

.tc-envelope-mark img {
  width: 42px;
  height: 42px;
}

@media (max-width: 920px) {
  .footer-business-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-mark .header-logo,
  .page-brand .header-logo {
    width: 128px;
  }

  .footer-business-details > div:first-child,
  .footer-business-details > div:nth-child(2) {
    grid-column: 1 / -1;
  }

  .footer-business {
    padding-block-end: 42px;
  }
}

@media (max-width: 380px) {
  .page-brand .header-logo {
    width: 112px;
  }
}
