/* Shared footer: who we are, how to reach us, and our channels. */
.site-footer .footer-top.footer-top--social {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: start;
  gap: 32px clamp(40px, 5vw, 72px);
}
.site-footer .footer-identity { display: grid; justify-items: start; gap: 14px; }
.site-footer .footer-identity p { margin: 0; color: #52677a; font-size: 14px; line-height: 1.75; word-break: keep-all; }
.site-footer .footer-social { min-width: 0; color: #102a43; }
.site-footer .footer-social__title { margin: 0 0 10px; color: #102a43; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: 0; }
.site-footer .footer-social__list { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 0; margin: 0; list-style: none; }
.site-footer .footer-social__item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #102a43; font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.site-footer a.footer-social__item:hover span { color: var(--zto-text-action); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-social__logo { display: block; width: 20px; height: 20px; object-fit: contain; flex: none; }
.site-footer .footer-social__logo--blog { width: 40px; }
.site-footer .footer-social__note { margin: 6px 0 0; color: #52677a; font-size: 12px; line-height: 1.6; }
.site-footer .footer-top--social > a:last-child { margin: 0; padding-block: 10px; min-height: 44px; font-size: 13px; white-space: nowrap; }

.site-footer .footer-contact { display: grid; justify-items: start; }
.site-footer .footer-contact > a { display: inline-flex; align-items: center; min-height: 34px; color: #102a43; font-size: 14px; font-weight: 500; line-height: 1.5; white-space: nowrap; text-decoration: none; }
.site-footer .footer-contact > a { font-family: var(--zto-font-latin); }
.site-footer .footer-contact > a:hover { color: var(--zto-text-action); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-contact > a:focus-visible, .site-footer a.footer-social__item:focus-visible { outline: var(--zto-web-focus-width, 2px) solid var(--zto-web-focus-color, #0875c1); outline-offset: var(--zto-web-focus-offset, 2px); }

/* Business details share the corner the quick contact buttons rest in. */
.site-footer .footer-bottom { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 2px; margin-top: 0; padding-top: 24px; }
.site-footer .footer-bottom > div { display: flex; flex-wrap: wrap; gap: 0 16px; max-width: 340px; }
.site-footer .footer-bottom, .site-footer .footer-bottom > p { font-size: 12px; line-height: 1.75; }
.site-footer .footer-bottom > p { margin: 0; }
.site-footer .footer-bottom span { display: inline; margin: 0; }
body:has(.quick-contact) .site-footer { padding-bottom: 24px; }
body:has(.quick-contact) .site-footer .footer-bottom { min-height: calc(var(--quick-contact-height) * 2 + var(--quick-contact-gap) + 24px); padding-right: 176px; }

@media (max-width: 1099.98px) {
  .site-footer .footer-top.footer-top--social { grid-template-columns: auto minmax(0, 1fr); gap: 28px 40px; }
  .site-footer .footer-identity { grid-column: 1; grid-row: 1; }
  .site-footer .footer-top--social > a:last-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-footer .footer-contact { grid-column: 1; grid-row: 2; }
  .site-footer .footer-social { grid-column: 2; grid-row: 2; }
  .site-footer .footer-social__list { gap: 4px 16px; }
}
@media (max-width: 899.98px) {
  .site-footer .footer-top.footer-top--social { gap: 24px 32px; }
  .site-footer .footer-social__list { gap: 4px 20px; }
  .site-footer .footer-contact > a { min-height: 44px; }
  body:has(.quick-contact) .site-footer .footer-bottom { padding-right: 72px; }
  body:has(.quick-contact[data-mobile-placement="inline"]) .site-footer .footer-bottom { min-height: 0; padding-right: 0; }
}
@media (max-width: 599.98px) {
  .site-footer .footer-top.footer-top--social { grid-template-columns: minmax(0, 1fr) auto; gap: 20px 16px; }
  .site-footer .footer-contact { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 0 24px; }
  .site-footer .footer-social { grid-column: 1 / -1; grid-row: 3; }
  .site-footer .footer-contact > .footer-social__title { display: none; }
}
@media (max-width: 359.98px) {
  .site-footer .footer-social__list { gap: 4px 16px; }
  .site-footer .footer-social__item { gap: 6px; font-size: 13px; }
  .site-footer .footer-social__logo { width: 18px; height: 18px; }
  .site-footer .footer-social__logo--blog { width: 36px; }
}
