.cookie-consent[hidden],
.cookie-consent__settings[hidden],
.consent-map__placeholder[hidden] {
  display: none;
}

.cookie-consent {
  bottom: 1rem;
  left: 1rem;
  position: fixed;
  right: 1rem;
  z-index: 10000;
}

.cookie-consent__panel {
  background: #fff;
  border: 1px solid #d5ddd7;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1.25rem rgb(0 0 0 / 22%);
  color: #202820;
  margin: 0 auto;
  max-width: 46rem;
  padding: 1.25rem;
}

.cookie-consent__panel h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.cookie-consent__panel p {
  margin: 0.5rem 0;
}

.cookie-consent__details {
  font-size: 0.95rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.cookie-consent__button,
.cookie-consent__settings,
.consent-map__placeholder button {
  background: #24543b;
  border: 2px solid #24543b;
  border-radius: 0.25rem;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 0.6rem 1rem;
}

.cookie-consent__button:hover,
.cookie-consent__settings:hover,
.consent-map__placeholder button:hover {
  background: #173b29;
  border-color: #173b29;
}

.cookie-consent__button--secondary {
  background: #fff;
  color: #24543b;
}

.cookie-consent__button--secondary:hover {
  color: #fff;
}

.cookie-consent__settings {
  bottom: 1rem;
  position: fixed;
  right: 1rem;
  z-index: 9999;
}

.cookie-consent__button:focus-visible,
.cookie-consent__settings:focus-visible,
.consent-map__placeholder button:focus-visible,
.consent-map__placeholder a:focus-visible {
  outline: 3px solid #d28b2e;
  outline-offset: 3px;
}

.cookie-consent__status {
  color: #8c241c;
}

.consent-map__placeholder {
  align-items: flex-start;
  background: #f0f3f0;
  border: 1px solid #d5ddd7;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
}

.consent-map iframe {
  border: 0;
  height: 28rem;
  width: 100%;
}

@media (max-width: 34rem) {
  .cookie-consent {
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
  }

  .cookie-consent__actions {
    flex-direction: column-reverse;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
