.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 12px;
}

.site-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
}

.site-footer-lockup img {
  display: block;
  width: auto;
  height: 27px;
}

.site-footer-divider {
  width: 1px;
  height: 27px;
  background: var(--line-2);
}

.site-footer-wordmark {
  font-size: 17px;
}

.site-footer-links {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  row-gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.site-footer-actions,
.site-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer-actions {
  flex: 0 0 auto;
}

.site-footer-email,
.site-footer-socials a {
  display: inline-flex;
  min-width: 30px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  color: var(--red-text);
  text-decoration: none;
}

.site-footer-email {
  width: auto;
  gap: 7px;
  padding: 0 9px;
  border-color: var(--red);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.site-footer-email svg,
.site-footer-socials svg {
  display: block;
  flex: 0 0 auto;
}

.site-footer-email:hover,
.site-footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 500;
}

.site-footer-brand-copy,
.site-footer-brands {
  display: flex;
  align-items: center;
}

.site-footer-brand-copy {
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer-brands {
  gap: 12px;
}

.site-footer-brands img {
  display: block;
  width: auto;
  height: 18px;
  opacity: .85;
}

.site-footer-trademarks {
  margin: 8px 0 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .site-footer-top {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer-links {
    flex-basis: 100%;
    order: 2;
  }

  .site-footer-actions {
    order: 3;
  }
}

@media (max-width: 900px) {
  .site-footer-top {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
  }

  .site-footer-lockup {
    align-self: flex-start;
  }

  .site-footer-links {
    flex: 0 1 auto;
    flex-basis: auto;
    justify-content: flex-start;
    column-gap: 20px;
    row-gap: 8px;
    order: 0;
  }

  .site-footer-actions {
    align-self: flex-start;
    order: 0;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 599px) {
  .site-footer .wrap {
    padding-top: 28px;
    padding-bottom: 18px;
    text-align: center;
  }

  .site-footer-top {
    align-items: center;
    gap: 10px;
  }

  .site-footer-lockup {
    align-self: center;
    gap: 8px;
  }

  .site-footer-lockup img { height: 22px; }
  .site-footer-divider { height: 18px; }
  .site-footer-wordmark { font-size: 14px; }
  .site-footer-links {
    width: 100%;
    flex: 0 1 auto;
    flex-basis: auto;
    justify-content: center;
    column-gap: 14px;
    row-gap: 0;
    font-size: 12.5px;
    line-height: 26px;
  }

  .site-footer-actions {
    align-self: center;
    justify-content: center;
    gap: 8px;
  }

  .site-footer-email {
    min-height: 30px;
    height: 30px;
    font-size: 12.5px;
  }

  .site-footer-bottom {
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
    font-size: 11.5px;
  }

  .site-footer-brand-copy {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .site-footer-brands { display: none; }
  .site-footer-brand-copy > span { font-size: 11.5px; }

  .site-footer-trademarks {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.3;
  }
}
