/* 2-Klick-Embed: Platzhalterkarte im Design-System.
   Ungeladene Karte wächst mit ihrem Text (keine feste Ratio!),
   erst der geladene iframe bekommt das Seitenverhältnis. */
.consent-embed {
	width: 100%;
	background: var(--wp--preset--color--paper, #fffdf9);
	border: 1px solid var(--wp--preset--color--line, #e7ddcd);
	border-radius: 12px;
	overflow: hidden;
	margin: 0 0 22px;
}

.consent-embed__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 22px 24px;
}
.consent-embed__title {
	font-family: var(--wp--preset--font-family--display, Georgia, serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--wp--preset--color--brand, #6b2a23);
	margin: 0;
}
.consent-embed__note {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft, #6e615a);
	max-width: 60ch;
	margin: 0;
}
.consent-embed__note a {
	color: var(--wp--preset--color--brand, #6b2a23);
}
.consent-embed__btn {
	background: var(--wp--preset--color--cta, #6b2a23);
	color: #fff;
	border: none;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: .04em;
	padding: 12px 24px;
	border-radius: 10px;
	transition: background .15s ease;
}
.consent-embed__btn:hover {
	background: var(--wp--preset--color--cta-hover, #4f1e18);
}

/* Poster-Variante: lokales Vorschaubild, Play-Button, startet direkt */
.consent-embed--poster {
	background: var(--wp--preset--color--dark, #1c1717);
}
.consent-embed__posterbtn {
	display: block;
	position: relative;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.consent-embed__posterbtn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: scale .5s cubic-bezier(.22, .61, .36, 1);
}
.consent-embed__posterbtn:hover img { scale: 1.03; }
.consent-embed__play {
	position: absolute;
	left: 50%;
	top: 50%;
	translate: -50% -50%;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(107, 42, 35, .92);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
	transition: background .2s ease;
}
.consent-embed__posterbtn:hover .consent-embed__play {
	background: var(--wp--preset--color--cta-hover, #4f1e18);
}
.consent-embed__play svg { margin-left: 3px; }
.consent-embed__postertitle {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 26px 18px 12px;
	text-align: left;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}
.consent-embed__hint {
	margin: 0;
	padding: 8px 14px 10px;
	font-size: 11.5px;
	color: #b3ada7;
	background: var(--wp--preset--color--dark, #1c1717);
}
.consent-embed__hint a { color: #d8d2cb; }

/* Nach dem Klick: Format nur für den geladenen Inhalt */
.consent-embed--loaded {
	position: relative;
}
.consent-embed--loaded.consent-embed--16-9 { aspect-ratio: 16 / 9; }
.consent-embed--loaded.consent-embed--4-3 { aspect-ratio: 4 / 3; }
.consent-embed--loaded.consent-embed--map { aspect-ratio: 4 / 3; }
@media (min-width: 741px) {
	.consent-embed--loaded.consent-embed--map { aspect-ratio: 16 / 9; }
}
.consent-embed--loaded iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
