/* Liveauskorea Video — facade player */

.lak-video {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	background: #000;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	/* aspect-ratio (set inline) reserves space *before* the poster is captured;
	   once the poster <img> loads it defines the real height, so the box can
	   never collapse even if a parent container doesn't give it a width. */
	min-height: 40px;
}

.lak-video__poster {
	display: block;
	width: 100%;
	height: auto; /* the frame's own dimensions define the box → exact aspect, no crop */
}

/* Play button */
.lak-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	z-index: 2;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.lak-video__play svg {
	width: 100%;
	height: 100%;
	display: block;
}

.lak-video__play-bg {
	fill: #212121;
	fill-opacity: 0.8;
	transition: fill-opacity 0.15s ease;
}

.lak-video:hover .lak-video__play-bg,
.lak-video__play:focus-visible .lak-video__play-bg {
	fill: #cc1111; /* tweak to your brand colour */
	fill-opacity: 1;
}

.lak-video:hover .lak-video__play {
	transform: translate(-50%, -50%) scale(1.06);
}

.lak-video__play:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 4px;
	border-radius: 14px;
}

/* The real <video> injected on click */
.lak-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: #000;
}

/* Once activated, hide the facade affordances */
.lak-video.is-active {
	cursor: default;
}
.lak-video.is-active .lak-video__play,
.lak-video.is-active .lak-video__poster {
	opacity: 0;
	pointer-events: none;
}

/* No-JS fallback fills the box */
.lak-video noscript video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
