.consent-banner[hidden] {
  display: none !important;
}

.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  background: #21171e;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 1.2rem 3.5rem rgba(32, 23, 30, 0.3);
  font-family: Arial, Helvetica, sans-serif;
}

.consent-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: 1.4rem clamp(1rem, 3vw, 2.25rem);
}

.consent-banner h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.consent-banner p {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: #d9cfd6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}

.consent-banner__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.consent-banner__choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.consent-banner button {
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  cursor: pointer;
  font: 800 0.65rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.consent-banner button:hover,
.consent-banner button:focus-visible {
  color: #21171e;
  background: #fff;
}

.consent-banner a {
  padding-bottom: 0.15rem;
  color: #fff;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.consent-banner button:focus-visible,
.consent-banner a:focus-visible,
.consent-banner h2:focus-visible {
  outline: 3px solid #c9b6c8;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .consent-banner {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  .consent-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem;
  }

  .consent-banner__controls {
    align-items: stretch;
  }

  .consent-banner__choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .consent-banner button {
    width: 100%;
  }

  .consent-banner a {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner *,
  .consent-banner *::before,
  .consent-banner *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
