/* Widget Container */
.esw-container {
	background-color: #333333;
	border-radius: 24px;
	padding: 60px 20px 100px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #ffffff;
	position: relative;
	overflow: hidden;
}

/* Header */
.esw-header {
	text-align: center;
	margin-bottom: 40px;
}
.esw-title {
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #ffffff;
}
.esw-subtitle {
	font-size: 16px;
	font-weight: 400;
	color: #e0e0e0;
	max-width: 500px;
	margin: 0 auto;
	line-height: 1.5;
}

/* Sliders Wrapper */
.esw-sliders-wrapper {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

/* Video Slider */
.esw-video-slider {
	margin-bottom: 40px;
	overflow: hidden;
	padding: 20px 0;
}
.swiper-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	box-sizing: border-box;
}
.esw-video-slide {
	width: 250px;
	height: 450px;
	transition: transform 0.3s ease;
}
.esw-video-card {
	width: 100%;
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.esw-video-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}
.esw-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.esw-video-link-overlay {
	display: block;
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	z-index: 5;
}
.esw-video-bg {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	display: block;
	transition: transform 0.3s ease;
}
.esw-video-card:hover .esw-video-bg, .esw-video-card:hover .esw-video-element {
	transform: scale(1.05);
}
.esw-play-icon {
    position: absolute;
    top: 20px;
    left: 20px;
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	opacity: 0.9;
	transition: opacity 0.3s ease, background 0.3s ease;
}
.esw-video-card:hover .esw-play-icon {
	opacity: 1;
    background: rgba(255,255,255,0.9);
}
.esw-play-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	margin-left: 3px; /* optical center */
}

/* Quote Card Overlapping */
.esw-quote-card-wrapper {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}
.esw-quote-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 40px 60px;
	color: #333333;
	box-shadow: 0 15px 30px rgba(0,0,0,0.15);
	text-align: center;
	position: relative;
}
.esw-quote-header {
	font-size: 16px;
	font-weight: 600;
	color: #666666;
	margin-bottom: 20px;
	text-transform: capitalize;
}

/* Quote Slider */
.esw-quote-slider {
	width: 100%;
}
.esw-quote-text {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 30px;
	color: #111111;
}
.esw-quote-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}
.esw-author-avatar, .esw-author-avatar-placeholder {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	background: #eeeeee;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
}
.esw-author-avatar-placeholder svg {
	width: 24px;
	height: 24px;
}
.esw-author-name {
	font-size: 16px;
	font-weight: 500;
	color: #555555;
}

/* Navigation Buttons */
.esw-nav-btn {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: background 0.3s ease;
}
.esw-nav-btn svg {
	width: 24px;
	height: 24px;
	fill: #ffffff;
}
.esw-nav-btn:hover {
	background: rgba(255, 255, 255, 0.4);
}

.esw-video-button-prev { left: 0px; }
.esw-video-button-next { right: 0px; }

/* Quote specific nav buttons */
.esw-quote-button-prev, .esw-quote-button-next {
	background: #f0f0f0;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.esw-quote-button-prev svg, .esw-quote-button-next svg {
	fill: #666;
}
.esw-quote-button-prev:hover, .esw-quote-button-next:hover {
	background: #e0e0e0;
}
.esw-quote-button-prev { left: -24px; }
.esw-quote-button-next { right: -24px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
	.esw-container {
		padding: 40px 20px 60px;
	}
	.esw-video-slide {
		width: 220px;
		height: 400px;
	}
	.esw-quote-card {
		padding: 30px 20px;
	}
	.esw-quote-text {
		font-size: 18px;
		margin-bottom: 20px;
	}
	.esw-nav-btn {
		transform: scale(0.8) translateY(-50%);
	}
    .esw-quote-button-prev { left: -10px; }
    .esw-quote-button-next { right: -10px; }
	.esw-video-slider {
		padding: 10px 0;
	}
}

/* Lightbox */
.esw-lightbox {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.esw-lightbox-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}
.esw-lightbox-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 450px;
    height: 80vh;
    max-height: 800px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.esw-lightbox-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.esw-lightbox-close:hover {
    background: rgba(255,255,255,0.4);
}
.esw-lightbox-close svg {
    width: 20px; height: 20px;
}
.esw-lightbox-iframe-container {
    width: 100%; height: 100%;
}
.esw-lightbox-iframe-container iframe {
    width: 100%; height: 100%;
    border: none;
}
