/*
 * ESS Hero Slider — component styles.
 * Colors/typography can be overridden per-instance via the widget's Style tab;
 * these are the sensible defaults matching the ESS design.
 */

.ess-hero-slider { position: relative; }
.ess-hero-slider__swiper { width: 100%; }

.ess-hero-slide {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 640px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.ess-hero-slide__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, .4);
	z-index: 1;
}
.ess-hero-slide__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--ess-container, 1200px);
	margin: 0 auto;
	padding: 48px 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.ess-hero-slide__heading {
	margin: 0;
	max-width: 62%;
	font-family: var(--ess-font-heading, "Playfair Display", serif);
	font-weight: 700;
	font-size: clamp(30px, 4vw, 56px);
	line-height: 1.15;
	color: #fff;
}
.ess-hero-slide__text {
	max-width: 85%;
	font-family: var(--ess-font-body, "Poppins", sans-serif);
	font-size: clamp(15px, 1.3vw, 19px);
	line-height: 1.6;
	color: #f2f2f2;
}

.ess-hero-slide__features {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-top: 16px;
}
.ess-hero-feature {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ess-hero-feature__icon {
	width: 50px;
	height: auto;
	flex: none;
}
.ess-hero-feature__label {
	font-family: var(--ess-font-body, "Poppins", sans-serif);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.25;
	color: #fff;
}

.ess-hero-slide__btn {
	display: inline-block;
	margin-top: 20px;
	padding: 16px 42px;
	font-family: var(--ess-font-body, "Poppins", sans-serif);
	font-weight: 600;
	font-size: 16px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	background: var(--ess-blue, #4cbfea);
	border-radius: 40px;
	transition: background .25s ease, transform .25s ease;
}
.ess-hero-slide__btn:hover { transform: translateY(-2px); }

/* Swiper arrows & dots */
.ess-hero-slider .swiper-button-prev,
.ess-hero-slider .swiper-button-next { color: #fff; }
.ess-hero-slider .swiper-button-prev::after,
.ess-hero-slider .swiper-button-next::after { font-size: 26px; }
.ess-hero-slider .swiper-pagination-bullet {
	width: 10px; height: 10px;
	background: #fff;
	opacity: .6;
}
.ess-hero-slider .swiper-pagination-bullet-active {
	opacity: 1;
	background: var(--ess-blue, #4cbfea);
}

/* Responsive */
@media (max-width: 1024px) {
	.ess-hero-slide__heading { max-width: 85%; }
	.ess-hero-slide__text { max-width: 84%; }
}
@media (max-width: 768px) {
	.ess-hero-slide { min-height: 480px; }
	.ess-hero-slide__heading,
	.ess-hero-slide__text { max-width: 100%; }
	.ess-hero-slide__features { gap: 22px; }
	.ess-hero-feature__label { font-size: 17px; }
	.ess-hero-slide__inner { padding: 36px 20px; }
}
