/* The floating contact control only receives input on visible controls. */
.quick-contact {
  pointer-events: none;
}

.quick-toggle,
.quick-contact.is-open .quick-panel {
  pointer-events: auto;
}

.quick-panel {
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

/* Keep the footer links clear of the fixed contact control. */
.footer-top,
.footer-credit {
  margin-inline-end: max(0px, calc(104px - 5vw));
}

.footer-top > a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  border-radius: 5px;
}

.footer-credit-link {
  padding-inline: 8px;
  border-radius: 5px;
}

.footer-top > a:not(.brand):hover,
.brand-more:hover {
  color: var(--text);
}

.brand-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.reviews-grid a {
  cursor: pointer;
}

@media (max-width: 600px) {
  .footer-top {
    column-gap: 18px;
  }

  .footer-top p {
    min-width: 0;
  }
}
