.cookie-blocked-content {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 280px;
	padding: 32px;
	overflow: hidden;
	box-sizing: border-box;
	background: #15171a;
	color: #fff;
	isolation: isolate;
}

.cookie-blocked-content--youtube {
	aspect-ratio: 16 / 9;
	min-height: 0;
	background-image: var(--cookie-blocked-image, none);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.cookie-blocked-content::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(8, 10, 15, 0.76);
}

.cookie-blocked-content--has-image::before {
	background: linear-gradient(180deg, rgba(7, 9, 14, 0.42), rgba(7, 9, 14, 0.82));
}

.cookie-blocked-content__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: min(100%, 620px);
	margin: 0 auto;
	text-align: center;
}

.cookie-blocked-content__title,
.cookie-blocked-content__text {
	margin: 0;
	color: inherit;
}

.cookie-blocked-content__title {
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.2;
}

.cookie-blocked-content__text {
	font-size: clamp(14px, 1.3vw, 17px);
	line-height: 1.55;
}

.cookie-blocked-content__button {
	appearance: none;
	border: 1px solid #fff;
	border-radius: 4px;
	padding: 11px 18px;
	background: #fff;
	color: #15171a;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-blocked-content__button:hover,
.cookie-blocked-content__button:focus-visible {
	opacity: 0.9;
	transform: translateY(-1px);
}

.cookie-blocked-content + iframe[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.cookie-blocked-content {
		min-height: 220px;
		padding: 22px;
	}

	.cookie-blocked-content--youtube {
		min-height: 0;
	}
}

/* Panel de preferencias de consentimiento, independiente del popup de Elementor. */
.cookie-preferences-dialog[hidden]{display:none!important}.cookie-preferences-dialog{position:fixed;inset:0;z-index:1000000;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:20px}.cookie-preferences-dialog__container{position:relative;max-height:min(85vh,850px);overflow:auto;width:min(100%,700px);background:#fff;color:#20252b;border-radius:8px;padding:28px;box-shadow:0 20px 65px rgba(0,0,0,.25)}.cookie-preferences-dialog__close{position:absolute;top:8px;right:12px;background:none;border:0;color:inherit;font-size:30px;line-height:1;cursor:pointer}.cookie-preferences-dialog .cookie-settings-panel{display:block}
