.consent-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 315px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.consent-media-wrapper iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: 0;
  display: none;
}

.consent-media-wrapper[data-consent-state="allowed"] iframe {
  display: block;
}

.consent-media-gate {
  align-items: center;
  background: #f6f5f4;
  border: 0.5px solid #504f64;
  border-radius: 8px;
  color: #504f64;
  display: flex;
  flex-direction: column;
  gap: 16px;
  inset: 0;
  justify-content: center;
  margin: 0;
  padding: 32px 24px;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.consent-media-gate[data-visible="false"] {
  display: none;
}

.consent-media-gate p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 28rem;
}

.consent-media-gate button {
  align-items: center;
  background: #919191;
  border: none;
  border-radius: 100px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 12px;
}

.consent-media-gate p + button {
  margin-top: 32px;
}

.consent-media-gate button::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
}

.consent-media-gate button:hover {
  background: #616161;
}

.consent-media-gate button:active {
  transform: translateY(1px);
}

.consent-media-gate button:focus-visible {
  outline: 2px solid #504f64;
  outline-offset: 3px;
}

/* Hide legacy cookie-notice bar so only OneTrust banner is shown */
#cookie-notice,
.cookie-notice {
  display: none !important;
}
