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

.ac-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 999999;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem;
  color: #172033;
  background: #fff;
  border: 2px solid #172033;
  border-radius: .5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}

.ac-consent h2 {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
}

.ac-consent p {
  margin: 0 0 1rem;
}

.ac-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.ac-consent__button {
  min-height: 44px;
  flex: 1 1 13rem;
  padding: .7rem 1rem;
  color: #172033;
  background: #fff;
  border: 2px solid #172033;
  border-radius: .25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ac-consent__button:hover,
.ac-consent__button:focus-visible,
.ac-consent-preferences:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.ac-consent-preferences {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999998;
  min-height: 44px;
  padding: .6rem .9rem;
  color: #fff;
  background: #172033;
  border: 2px solid #fff;
  border-radius: .25rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 480px) {
  .ac-consent {
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
  }
}
