.site-footer > .footer-support {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-support summary {
  display: block;
  cursor: pointer;
  list-style: none;
  transition: background-color 140ms ease;
}

.footer-support summary::-webkit-details-marker {
  display: none;
}

.footer-support summary::marker {
  content: "";
}

.footer-support summary:hover,
.footer-support summary:focus-visible {
  background: rgba(255, 255, 255, 0.035);
}

.footer-support summary:focus-visible {
  outline: 2px solid var(--color-sand-light);
  outline-offset: -2px;
}

.footer-support__summary {
  display: flex;
  width: min(calc(100% - 30px), var(--reference-container));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-right: auto;
  margin-left: auto;
}

.footer-support__summary strong {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.footer-support__summary > span {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-support__summary i {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.footer-support__summary i::before,
.footer-support__summary i::after {
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--color-sand-light);
  content: "";
  transition: transform 160ms ease;
}

.footer-support__summary i::after {
  transform: rotate(90deg);
}

.footer-support[open] .footer-support__summary i::after {
  transform: rotate(0deg);
}

.footer-support__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  padding: 0 max(15px, calc((100% - var(--reference-container)) / 2)) 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-support__grid a {
  min-width: 0;
  padding: 10px 14px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.16px;
  transition:
    color 140ms ease,
    background-color 140ms ease;
}

.footer-support__grid a:nth-child(4n) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-support__grid a:hover,
.footer-support__grid a:focus-visible {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.045);
}

.footer-support + .footer-bottom {
  border-top: 0;
}

@media (max-width: 820px) {
  .footer-support__summary {
    width: 100%;
    min-height: 76px;
    padding: 0 20px;
  }

  .footer-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px 28px;
  }

  .footer-support__grid a:nth-child(4n) {
    border-right: 0;
  }

  .footer-support__grid a:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-support summary,
  .footer-support__summary i::before,
  .footer-support__summary i::after,
  .footer-support__grid a {
    transition: none;
  }
}
