
.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    --background-color: rgba(255, 255, 255, 1);
}
.scrolled .header {
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

/* Consent Banner
------------------------------*/
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(92%, 680px);
  background-color: #ffffff;
  color: #212529;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  padding: 1.5rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.consent-banner__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.consent-banner__text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.5;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.consent-banner__btn {
  min-width: 120px;
}

.consent-banner__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(13, 110, 253, 0.5);
}

.consent-banner__link:hover,
.consent-banner__link:focus {
  color: #0d6efd;
  text-decoration-color: #0d6efd;
}

.consent-banner--hidden {
  opacity: 0;
  transform: translate(-50%, calc(100% + 40px));
  pointer-events: none;
}

@media (min-width: 768px) {
  .consent-banner {
    flex-direction: row;
    align-items: center;
  }

  .consent-banner__content {
    flex: 1 1 auto;
    margin-right: 2rem;
  }

  .consent-banner__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
  }
}

@media (max-width: 575px) {
  .consent-banner {
    bottom: 1rem;
    padding: 1.25rem;
  }

  .consent-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .consent-banner__btn {
    width: 100%;
  }
}
