/* One footer across the main site, including product and legal pages. */
body .site-footer {
  margin: 0;
  padding: 60px 0 28px;
  border: 0;
  background: #211610;
  color: #f7ecdf;
}

body .site-footer .shell { width: min(1500px, calc(100% - 96px)); }

body .site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(180px, .7fr);
  gap: 60px;
  padding-bottom: 68px;
}

body .site-footer .footer-brand { display: block; }
body .site-footer .footer-brand > a {
  display: inline-block;
  margin-left: -12px; /* The source PNG has transparent padding on its left edge. */
  line-height: 0;
}
body .site-footer .footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}
body .site-footer .footer-brand p {
  max-width: 320px;
  margin: 22px 0 0;
  color: #c9b3a2;
  line-height: 1.65;
}
body .site-footer .footer-main > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
body .site-footer .footer-main > div > span { color: #e6a474; }
body .site-footer .footer-main a { color: #f3e7da; }
body .site-footer .footer-main a:hover,
body .site-footer .footer-bottom a:hover,
body .site-footer .footer-bottom button:hover { color: #e6a474; }

body .site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-top: 1px solid #5e4233;
  padding-top: 22px;
  color: #c9b3a2;
}
body .site-footer .footer-bottom > span:first-child { grid-column: 1; grid-row: 1; }
body .site-footer .footer-location {
  grid-column: 2;
  grid-row: 1;
  color: #f3e7da;
  font-size: 14px;
  letter-spacing: .02em;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
body .site-footer .footer-bottom nav {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px 8px;
  width: 100%;
  margin: 0;
}
body .site-footer .footer-bottom button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

@media (max-width: 1000px) {
  body .site-footer .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  body .site-footer .footer-bottom > span:first-child,
  body .site-footer .footer-location,
  body .site-footer .footer-bottom nav {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }
  body .site-footer .footer-bottom nav { justify-content: center; }
}

@media (max-width: 700px) {
  body .site-footer { padding-top: 52px; }
  body .site-footer .shell { width: calc(100% - 38px); }
  body .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
    padding-bottom: 52px;
  }
  body .site-footer .footer-brand { grid-column: 1 / -1; }
  body .site-footer .footer-bottom { gap: 16px; }
}
