/* Marketing consent banner. Self-contained so it works on every site. */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  box-sizing: border-box;
  padding: 1rem;
  background: #111;
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
}

.consent-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.consent-banner__copy {
  flex: 1 1 20rem;
  min-width: 0;
}

.consent-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.consent-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #f3f3f3;
}

.consent-banner__privacy {
  color: #fff;
  text-decoration: underline;
}

.consent-banner__privacy:focus-visible,
.consent-banner__btn:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: 2px;
}

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

.consent-banner__btn {
  box-sizing: border-box;
  margin: 0;
  min-height: 44px;
  min-width: 8.5rem;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 0.4rem;
  cursor: pointer;
  appearance: none;
}

.consent-banner__btn--decline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.consent-banner__btn--accept {
  background: #fff;
  color: #111;
  border: 2px solid #fff;
}

html.consent-banner-open .review-fab {
  bottom: calc(9.5rem + 1rem);
}

@media (max-width: 640px) {
  .consent-banner__btn {
    flex: 1 1 8.5rem;
  }
  html.consent-banner-open .review-fab {
    bottom: calc(14rem + 1rem);
  }
}
