.evs-section {
	background: var(--evs-section-bg);
	padding: clamp(42px, 6vw, 92px) clamp(14px, 3vw, 48px) clamp(28px, 5vw, 70px);
	overflow: hidden;
}

.evs-empty {
	padding: 24px;
	border: 1px dashed #b8b8b8;
	border-radius: 8px;
	background: #fafafa;
	color: #555;
	text-align: center;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.evs-wrap {
	width: min(100%, var(--evs-max-width, 1640px));
	margin: 0 auto;
}

.evs-video-shell {
	position: relative;
	isolation: isolate;
	aspect-ratio: var(--evs-aspect, 16/9);
	width: 100%;
}

.evs-video-shell::before,
.evs-video-shell::after {
	content: "";
	position: absolute;
	left: clamp(36px, 5vw, 86px);
	right: clamp(36px, 5vw, 86px);
	height: clamp(44px, 6vw, 82px);
	border-radius: min(var(--evs-radius, 28px), 34px);
	background: var(--evs-shadow-color, rgba(52, 29, 33, 0.58));
	z-index: -2;
}

.evs-video-shell::before {
	top: clamp(-28px, -2vw, -16px);
	transform: translateX(clamp(-36px, -2.2vw, -16px));
}

.evs-video-shell::after {
	top: clamp(-14px, -0.8vw, -6px);
	transform: translateX(clamp(10px, 1.4vw, 24px));
	background: var(--evs-shadow-2-color, rgba(69, 38, 42, 0.48));
	z-index: -1;
}

.evs-video-frame {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: var(--evs-radius, 28px);
	background: #111;
	box-shadow: 0 34px 70px rgba(42, 24, 27, 0.28);
}

.evs-video-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.18), transparent 28%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.16));
	mix-blend-mode: screen;
	opacity: 0.45;
}

.evs-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evs-banner {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evs-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(58px, 7vw, 94px);
	height: clamp(58px, 7vw, 94px);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--evs-play-bg, rgba(255, 255, 255, 0.38));
	backdrop-filter: blur(8px);
	box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.evs-play:hover,
.evs-play:focus-visible {
	background: rgba(255, 255, 255, 0.52);
	transform: translate(-50%, -50%) scale(1.04);
}

.evs-play span {
	width: 0;
	height: 0;
	margin-left: 6px;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	border-left: 22px solid #fff;
}

.evs-video-frame.is-playing .evs-play {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 767px) {
	.evs-section {
		padding: 34px 12px 24px;
	}

	.evs-video-shell::before,
	.evs-video-shell::after {
		left: 20px;
		right: 20px;
		height: 38px;
		border-radius: min(var(--evs-radius, 22px), 22px);
	}

	.evs-video-shell::before {
		top: -18px;
		transform: translateX(-12px);
	}

	.evs-video-shell::after {
		top: -7px;
		transform: translateX(8px);
	}

	.evs-video-frame {
		border-radius: min(var(--evs-radius, 22px), 22px);
		box-shadow: 0 18px 42px rgba(42, 24, 27, 0.24);
	}

	.evs-play span {
		border-top-width: 11px;
		border-bottom-width: 11px;
		border-left-width: 17px;
	}

	.evs-video::-webkit-media-controls {
		display: none !important;
	}
}

@media (max-width: 479px) {
	.evs-section {
		padding-inline: 10px;
	}

	.evs-video-shell {
		aspect-ratio: 4/3;
	}

	.evs-video-shell::before,
	.evs-video-shell::after {
		left: 16px;
		right: 16px;
		height: 30px;
	}

	.evs-video-shell::before {
		top: -14px;
	}

	.evs-video-shell::after {
		top: -5px;
	}
}
