/* Weinforum Hero-Diashow (mu-plugin wf-galerie). Ebenen liegen über dem Hintergrundbild des Covers,
   unter Abdunkelung (.wp-block-cover__background) und Inhalt (.wp-block-cover__inner-container). */
.wf-hero-ebenen {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

/* Abdunkelung für Bild 1, liegt unter allen Ebenen und verschwindet mit der ersten Überblendung. */
.wf-hero-dim0 {
	position: absolute;
	inset: 0;
	background: #000;
}

.wf-hero-ebene {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s ease-in-out;
	background: #1a1a1a;
}
.wf-hero-ebene.is-an { opacity: 1; }
.wf-hero-ebene.is-sofort { transition: none; }

.wf-hero-ebene img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Abdunkelung je Bild, blendet mit der Ebene. */
.wf-hero-ebene::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--wf-dim, 0);
}

/* Pause-Knopf, unten rechts im Hero. */
.wf-hero-pause {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 50%;
	background: rgba(20, 12, 8, .6);
	color: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s;
}
.wf-hero-pause[hidden] { display: none; }
.wf-hero-pause:hover { background: rgba(20, 12, 8, .85); }
.wf-hero-pause:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px rgba(20, 12, 8, .7);
}
.wf-hero-pause .wf-hero-ico--play { display: none; }
.wf-hero-pause[data-pausiert="true"] .wf-hero-ico--pause { display: none; }
.wf-hero-pause[data-pausiert="true"] .wf-hero-ico--play { display: block; }

@media (prefers-reduced-motion: reduce) {
	.wf-hero-ebene { transition: none; }
}
