/* Zwei-Klick-Video (mu-plugin fgmz-video) */

.fgmz-video {
	width: 100%;
}

.fgmz-video__rahmen {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #1c1c1c;
}

.fgmz-video__cover,
.fgmz-video__rahmen iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	object-fit: cover;
	display: block;
}

/* Der Button deckt das ganze Cover ab: Klick irgendwo spielt ab.
   Selektoren mit .fgmz-video button…, weil das Kit alle Buttons grün und rund färbt. */
.fgmz-video button.fgmz-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	text-transform: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.fgmz-video button.fgmz-video__play:hover,
.fgmz-video button.fgmz-video__play:focus {
	background: transparent;
	color: #fff;
}

.fgmz-video button.fgmz-video__play:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #4e830e);
	outline-offset: -6px;
}

.fgmz-video__play svg {
	width: 68px;
	height: 48px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.fgmz-video__play-flaeche {
	fill: var(--e-global-color-accent, #4e830e);
	transition: fill 0.2s ease;
}

.fgmz-video__play:hover .fgmz-video__play-flaeche,
.fgmz-video__play:focus .fgmz-video__play-flaeche {
	fill: #3b6409;
}

/* Beschriftung nur für Screenreader, sichtbar ist wie bei YouTube nur das Play-Symbol. */
.fgmz-video__play-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.fgmz-video__hinweis {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--e-global-color-text, #5d5454);
}

.fgmz-video .fgmz-video__hinweis a {
	font: inherit;
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 767px) {
	.fgmz-video__play svg {
		width: 54px;
		height: 38px;
	}
}
