/* ============================================ */
/* Elfsight Consent / Ladeschranke               */
/* ============================================ */

.elfsight-consent {
	position: relative;
	width: 100%;
	margin: 1rem 0;
}

/* Placeholder mit verschwommenem Screenshot */
.elfsight-consent__placeholder {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	min-height: 400px;
}

.elfsight-consent__preview {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(8px);
	user-select: none;
	pointer-events: none;
}

.elfsight-consent__overlay {
	position: relative;
	z-index: 1;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.25);
	padding: 1.5rem;
}

.elfsight-consent__notice {
	max-width: 480px;
	text-align: center;
	background: rgba(255, 255, 255, 0.95);
	padding: 1.5rem 2rem;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.elfsight-consent__notice p {
	margin: 0 0 1rem 0;
	color: #333;
	font-size: 0.95rem;
	line-height: 1.5;
}

.elfsight-consent__notice a {
	color: #0066cc;
	text-decoration: underline;
}

.elfsight-consent__btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease;
}

.elfsight-consent__btn:hover,
.elfsight-consent__btn:focus {
	background: #333;
}

/* Container für das geladene Plugin */
.elfsight-consent__container {
	width: 100%;
}

/* Widerruf-Link unter dem geladenen Plugin */
.elfsight-consent__revoke {
	display: block;
	margin-top: 1rem;
	text-align: right;
	font-size: 0.85rem;
	color: #666;
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0.25rem 0;
	margin-left: auto;
}

.elfsight-consent__revoke:hover {
	color: #1a1a1a;
}

/* Status: aktiviert -> Placeholder ausblenden */
.elfsight-consent.is-active .elfsight-consent__placeholder {
	display: none;
}

/* Mobile-Anpassungen */
@media (max-width: 600px) {
	.elfsight-consent__notice {
		padding: 1rem 1.25rem;
	}
	.elfsight-consent__notice p {
		font-size: 0.875rem;
	}
}