/* Shared company contact and filing information for the static release. */
.v5-site .footer .footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.25fr);
}

.v5-site .footer .footer-grid > div { min-width: 0; }

.v5-site .footer .footer-label {
  color: #505659;
  font-size: 14px;
  font-weight: 600;
}

.v5-site .footer .footer-contact { display: block; }

.v5-site .footer .footer-contact .footer-label {
  display: block;
  margin: 0 0 14px;
}

.v5-site .footer .footer-contact .footer-company {
  margin: 0 0 12px;
  color: #303335;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.v5-site .footer .footer-contact address {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.v5-site .footer .footer-contact address a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  color: #505659;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.v5-site .footer .footer-contact address a span { flex: 0 0 32px; }

.v5-site .footer .footer-contact .footer-support-hours {
  margin: 12px 0 0;
  color: #59636c;
  font-size: 14px;
  line-height: 1.8;
}

.v5-site .footer .footer-contact address a:hover,
.v5-site .footer .footer-bottom .footer-icp:hover,
.v5-site .footer .footer-bottom .footer-privacy:hover {
  color: #ad242d;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.v5-site .footer .footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 24px;
}

.v5-site .footer .footer-bottom .footer-legal {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.v5-site .footer .footer-bottom .footer-legal-company {
  color: #505659;
  font-size: 14px;
  line-height: 1.8;
}

.v5-site .footer .footer-bottom .footer-icp,
.v5-site .footer .footer-bottom .footer-privacy {
  color: #505659;
  font-size: 14px;
  line-height: 1.8;
}

.v5-site .footer .footer-bottom > a:last-child {
  justify-self: end;
  white-space: nowrap;
}

.v5-site .footer a:focus-visible,
.v5-site .footer button:focus-visible {
  outline: 2px solid #ad242d;
  outline-offset: 4px;
}

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

  .v5-site .footer .footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .v5-site .footer .footer-bottom .footer-legal {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .v5-site .footer .footer-contact {
    grid-column: 1 / -1;
  }

  .v5-site .footer .footer-contact address a {
    min-height: 44px;
    align-items: center;
  }

  .v5-site .footer .footer-contact address { gap: 0; }

  .v5-site .footer .footer-contact .footer-support-hours { margin-top: 8px; }

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

  .v5-site .footer .footer-bottom .footer-legal {
    justify-content: flex-start;
    gap: 6px 14px;
  }

  .v5-site .footer .footer-bottom > a:last-child { justify-self: auto; }
}
