/* One action-button treatment, based on the approved About us pill. */
.pill,
.text-link,
.case-back,
.case-nav a,
.site-header .nav-chip,
.menu-top button,
.sound-toggle,
.reel-close,
.privacy-actions a,
.privacy-actions button {
  --button-fill: #000;
  --button-ink: #fff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 19px;
  border: 1px solid var(--button-fill);
  border-radius: 999px;
  background: var(--button-fill);
  color: var(--button-ink);
  font-family: var(--font-lexend), Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.pill-light,
.pill-outline,
.site-header .nav-chip,
.sound-toggle,
.reel-close {
  --button-fill: #fff;
  --button-ink: #000;
}

@media (hover: hover) {
  :is(.pill, .text-link, .case-back, .case-nav a, .menu-top button, .privacy-actions a, .privacy-actions button):hover {
    --button-fill: #0000ff;
    --button-ink: #fff;
  }

  .blue-page :is(.pill, .text-link, .case-back):hover,
  .menu-top button:hover {
    --button-fill: #fff;
    --button-ink: #000;
  }
}

:is(.pill, .text-link, .case-back, .case-nav a, .nav-chip, .menu-top button, .sound-toggle, .reel-close, .privacy-actions a, .privacy-actions button):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.case-nav a {
  width: fit-content;
  white-space: normal;
}

.case-external {
  white-space: normal;
}

@media (width <= 480px) {
  .site-header .nav-chip {
    padding-inline: 10px;
  }

  .button-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-row .pill {
    padding-inline: 12px;
  }
}
