/* ==========================================================================
   Emergency House – Videó slider (Plyr)
   - A Plyr alapstílusok a letöltött css/plyr.css-ben vannak (a loader injektálja).
   - Itt: arculati téma (sárga), slider layout, dots, üres-állapot placeholder.
   ========================================================================== */

/* --- Plyr arculati téma ------------------------------------------------- */
.eh-videos {
	--plyr-color-main: #E8E51C;
	--plyr-color-main-foreground: #0a0a0a;
	--plyr-video-control-color: #ffffff;
	--plyr-video-control-color-hover: #ffffff;
	--plyr-tab-focus-color: #E8E51C;
	--plyr-range-fill-background: #E8E51C;
	--plyr-range-thumb-background: #E8E51C;
	--plyr-range-track-background: rgba(255, 255, 255, 0.25);
	--plyr-font-family: 'Archivo', sans-serif;
	--plyr-control-spacing: 12px;
}

/* --- Slider layout (egy videó látszik, display váltással) --------------- */
.eh-videos__slide {
	display: none;
}
.eh-videos__slide.is-active {
	display: block;
}

.eh-videos__player {
	width: 100%;
	border: 1px solid #ffffff17;
	border-radius: 3px;
	overflow: hidden;
	background: #000;
}
/* A Plyr töltse ki a szélességet, a 16:9 arányt ő kezeli. */
.eh-videos__player .plyr,
.eh-videos__player iframe {
	width: 100%;
}

/* --- Középső nagy play gomb → sárga kör (sablon .video__play stílusában) - */
.eh-videos .plyr--video .plyr__control--overlaid {
	background: #E8E51C;
	color: #0a0a0a;
	border-radius: 50%;
}
.eh-videos .plyr--video .plyr__control--overlaid:hover {
	background: #ffffff;
	color: #0a0a0a;
}

/* --- Dots (alul, kattintásra lapoz) ------------------------------------- */
.eh-videos__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}
.eh-videos__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
.eh-videos__dot:hover {
	background: rgba(255, 255, 255, 0.5);
}
.eh-videos__dot.is-active {
	background: #E8E51C;
	transform: scale(1.15);
}

/* --- Üres állapot placeholder (sablon .video__placeholder) -------------- */
.eh-videos__viewport {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	border: 1px solid #ffffff17;
	border-radius: 3px;
	overflow: hidden;
	background: #000;
}
.eh-videos__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	background: repeating-linear-gradient(135deg, #131313 0 14px, #191919 14px 28px);
}
.eh-videos__play {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #E8E51C;
	display: flex;
	align-items: center;
	justify-content: center;
}
.eh-videos__triangle {
	width: 0;
	height: 0;
	border-left: 26px solid #0a0a0a;
	border-top: 16px solid transparent;
	border-bottom: 16px solid transparent;
	margin-left: 6px;
}
.eh-videos__note {
	font-family: monospace;
	font-size: 13px;
	color: #8a8a84;
	letter-spacing: 1px;
}
