.cookie-consent-banner {
  background-color: var(--site-primary, #009999);
  background-image: linear-gradient(
    to left,
    var(--site-primary, #009999) 0%,
    var(--site-primary, #009999) 55%,
    var(--site-secondary, #336666) 100%
  );
  border-top: 1px solid rgb(255 255 255 / .28);
  bottom: 0;
  box-shadow: 0 -16px 38px rgb(15 23 42 / .22);
  box-sizing: border-box;
  height: 200px;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 80;
}

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

.cookie-consent-banner__inner {
  align-items: center;
  box-sizing: border-box;
  display: grid;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  grid-template-columns: minmax(135px, 205px) minmax(0, 1fr) auto;
  height: 100%;
  margin-inline: auto;
  max-width: 1540px;
  padding: 1.25rem clamp(1rem, 3vw, 3rem) 1.25rem clamp(.5rem, 1.4vw, 1.4rem);
  width: 100%;
}

.cookie-consent-banner__image {
  align-items: center;
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.cookie-consent-banner__image img {
  display: block;
  filter: grayscale(.8);
  max-height: 138px;
  max-width: 100%;
  object-fit: contain;
  opacity: .2;
  width: auto;
}

.cookie-consent-banner__content {
  min-width: 0;
}

.cookie-consent-banner__text {
  color: #ffffff;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
}

.cookie-consent-banner__text a,
.cookie-consent-banner__text a:visited {
  color: var(--site-primary-soft, #e6f7f7);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

.cookie-consent-banner__text a:hover,
.cookie-consent-banner__text a:focus-visible {
  color: #ffffff;
  text-decoration-thickness: .13em;
}

.cookie-consent-banner__text a:focus-visible {
  border-radius: .15rem;
  outline: 2px solid rgb(255 255 255 / .8);
  outline-offset: 3px;
}

.cookie-consent-banner__actions {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.cookie-consent-banner__button {
  background: var(--site-secondary, #336666);
  border: 1px solid var(--site-secondary, #336666);
  border-radius: .55rem;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  min-height: 2.75rem;
  padding: .7rem 1.35rem;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  white-space: nowrap;
}

.cookie-consent-banner__button:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 10px 24px rgb(15 23 42 / .22);
  color: var(--site-secondary, #336666);
  transform: translateY(-1px);
}

.cookie-consent-banner__button:focus-visible {
  outline: 3px solid rgb(255 255 255 / .72);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .cookie-consent-banner {
    height: 270px;
  }

  .cookie-consent-banner__inner {
    gap: 1rem 1.25rem;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    padding-block: 1.25rem;
  }

  .cookie-consent-banner__image {
    grid-row: 1 / 3;
  }

  .cookie-consent-banner__image img {
    max-height: 110px;
  }

  .cookie-consent-banner__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .cookie-consent-banner {
    height: 340px;
  }

  .cookie-consent-banner__inner {
    align-content: center;
    gap: 1rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 1.25rem;
    text-align: center;
  }

  .cookie-consent-banner__image {
    align-self: center;
    grid-row: auto;
  }

  .cookie-consent-banner__image img {
    max-height: 72px;
  }

  .cookie-consent-banner__text {
    font-size: .98rem;
    line-height: 1.5;
  }

  .cookie-consent-banner__actions {
    grid-column: auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-banner__button {
    transition: none;
  }
}
