.cookie-banner,
.cookie-settings,
.cookie-button,
.cookie-close {
  font-family: inherit;
  letter-spacing: 0;
}

.cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 20px;
  color: #f7f8f6;
  background: rgba(13, 16, 13, 0.98);
  border: 1px solid rgba(183, 255, 42, 0.46);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.cookie-banner[hidden],
.cookie-settings-backdrop[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.04rem;
}

.cookie-banner p,
.cookie-settings p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner a,
.cookie-settings a {
  color: #b7ff2a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions,
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-button,
.cookie-close {
  min-height: 42px;
  padding: 10px 15px;
  color: #f7f8f6;
  background: #1c211c;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
}

.cookie-choice {
  width: 172px;
  min-width: 172px;
  color: #101310;
  background: #f7f8f6;
  border-color: #f7f8f6;
}

.cookie-choice.cookie-accept {
  background: #b7ff2a;
  border-color: #b7ff2a;
}

.cookie-button:hover,
.cookie-button:focus-visible,
.cookie-close:hover,
.cookie-close:focus-visible {
  outline: 2px solid #b7ff2a;
  outline-offset: 2px;
}

.cookie-settings-backdrop {
  position: fixed;
  z-index: 10001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.cookie-settings {
  width: min(680px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
  color: #f7f8f6;
  background: #111511;
  border: 1px solid rgba(183, 255, 42, 0.38);
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.cookie-modal-open {
  overflow: hidden;
}

.cookie-settings-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cookie-kicker {
  color: #b7ff2a !important;
  font-size: 0.76rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.cookie-settings h2 {
  margin: 2px 0 0;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.65rem);
  line-height: 1;
}

.cookie-close {
  min-width: 42px;
  padding: 4px;
  font-size: 1.7rem;
}

.cookie-settings-intro {
  margin-top: 18px !important;
}

.cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.cookie-category strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.cookie-switch {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 6px;
  min-width: 130px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  text-align: right;
}

.cookie-switch input {
  width: 22px;
  height: 22px;
  accent-color: #b7ff2a;
}

.cookie-more {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.cookie-settings-actions {
  margin-top: 24px;
}

.external-media-consent {
  display: grid;
  place-items: center;
}

.external-media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 28px;
  color: #f7f8f6;
  background: linear-gradient(135deg, rgba(183, 255, 42, 0.1), rgba(255, 255, 255, 0.03));
  text-align: center;
}

.external-media-placeholder strong {
  color: #fff;
  font-size: 1.15rem;
}

.external-media-placeholder p {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.external-media-placeholder .cookie-button {
  color: #101310;
  background: #b7ff2a;
  border-color: #b7ff2a;
}

.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.site-footer-legal a,
.site-footer-legal button {
  padding: 2px 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-footer-legal a:hover,
.site-footer-legal button:hover,
.site-footer-legal a:focus-visible,
.site-footer-legal button:focus-visible {
  color: #b7ff2a;
}

@media (max-width: 760px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cookie-banner-actions,
  .cookie-settings-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-configure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .cookie-button,
  .cookie-choice {
    width: 100%;
    min-width: 0;
  }

  .cookie-category {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    justify-items: start;
    text-align: left;
  }

  .site-footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .site-footer-legal a,
  .site-footer-legal button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 10px;
  }
}

@media (max-width: 430px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .cookie-settings-backdrop {
    padding: 10px;
  }

  .cookie-settings {
    max-height: calc(100svh - 20px);
  }
}
