/* Shared footer styles. */
.site-footer {
  padding: 56px 40px 28px !important;
  background: #212121;
  color: #fff;
  border-top: 1px solid #3d4136;
}
.footer-container {
  max-width: 1320px;
  margin: 0 auto;
}
.footer-columns {
  display: grid;
  grid-template-columns:
    minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr)
    minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-intro .footer-brand img {
  width: 220px;
}
.footer-description {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.65;
  color: #c9ced6;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.footer-heading {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aeb6a1;
}
.footer-link {
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #f1f3ee;
  overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #3d4136;
  font-size: 13px;
  line-height: 1.6;
  color: #b9c0b1;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #454940;
  border-radius: 50%;
  color: #f1f3ee;
}
.footer-social-link svg {
  display: block;
  flex-shrink: 0;
}
.site-footer .footer-social-link:hover {
  background: #30362a;
  border-color: currentColor;
  text-decoration: none;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-legal-link {
  color: #c9ced6;
  padding: 4px 0;
}
.site-footer a:hover {
  color: #b0d061;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer a:focus-visible {
  outline: 2px solid #b0d061;
  outline-offset: 5px;
  border-radius: 2px;
}
@media (max-width: 1000px) {
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .footer-intro {
    grid-column: 1 / -1;
  }
  .footer-description {
    max-width: 480px;
  }
}
@media (max-width: 600px) {
  .site-footer {
    padding: 40px 20px 24px !important;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-link {
    font-size: 14px;
  }
}

.footer-brand {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
}
.footer-brand img {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
}
.footer-brand--oncall {
  padding: 0;
}
.site-footer .footer-brand--oncall img {
  width: 220px;
}
.theme-oncall .site-footer a:hover {
  color: #90caf9;
}
.theme-oncall .site-footer a:focus-visible {
  outline-color: #90caf9;
}
