.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
  gap: 2.5rem;
  align-items: center;
  max-width: 70rem;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  color: #273247;
  background: #fff;
  border-top: .35rem solid #483d8b;
  box-shadow: 0 .75rem 2.5rem rgba(18, 15, 118, .25);
}

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

.cookie-consent h2 {
  margin: 0 0 .55rem;
  color: #120f76;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.cookie-consent p {
  max-width: 48rem;
  margin: 0 0 .75rem;
  color: #434151;
  font-size: 1.05rem;
  line-height: 1.55;
}

.cookie-consent-more {
  color: #002b7f;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.cookie-consent-actions {
  display: grid;
  gap: .8rem;
}

.cookie-consent-button,
.privacy-cookie-settings {
  min-height: 3.5rem;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: .2rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.cookie-consent-allow,
.privacy-cookie-settings {
  color: #fff;
  background: #483d8b;
}

.cookie-consent-settings {
  color: #fff;
  background: #4d618d;
}

.cookie-consent-button:hover,
.privacy-cookie-settings:hover {
  box-shadow: 0 .3rem .8rem rgba(18, 15, 118, .25);
  transform: translateY(-1px);
}

.cookie-consent-allow:hover,
.privacy-cookie-settings:hover {
  background: #352d70;
}

.cookie-consent-settings:hover {
  background: #3a4b72;
}

.cookie-consent-button:focus-visible,
.privacy-cookie-settings:focus-visible,
.cookie-consent-more:focus-visible {
  outline: 3px solid #ca5e24;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.4rem;
  }
}
