.hse-slider {
	position: relative;
	width: 100%;
	max-width: var(--hse-max-width, 1920px);
	height: var(--hse-height, 550px);
	margin: 0 auto;
	overflow: hidden;
}
.hse-slider .swiper,
.hse-slider .swiper-slide { width: 100%; height: 100%; }

.hse-slide {
	position: relative;
	background-size: var(--hse-bg-size, cover);
	background-position: center;
	background-repeat: no-repeat;
	display: flex !important;
	align-items: var(--hse-align-v, center) !important;
	justify-content: var(--hse-align-h, flex-start) !important;
}

.hse-overlay {
	position: absolute;
	inset: 0;
	background: var(--hse-overlay, rgba(0, 0, 0, 0.35));
}

.hse-content {
	position: relative;
	z-index: 2;
	max-width: 720px;
	width: 100%;
	box-sizing: border-box;
	/* Top/bottom always share one value. Right uses the H value; left uses
	   its own override when set, otherwise falls back to that same H value —
	   so padding stays symmetric by default but the left side can be tuned
	   independently without touching the right. */
	padding-top: var(--hse-content-padding-v, 40px);
	padding-bottom: var(--hse-content-padding-v, 40px);
	padding-right: var(--hse-content-padding-h, 6%);
	padding-left: var(--hse-content-padding-left, var(--hse-content-padding-h, 6%));
	color: #fff;
}

.hse-eyebrow {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: break-word;
	color: var(--hse-eyebrow-color, #fff);
	font-family: var(--hse-eyebrow-font, inherit);
	font-size: var(--hse-eyebrow-size, 14px);
	font-weight: var(--hse-eyebrow-weight, 500);
	text-decoration: var(--hse-eyebrow-decoration, underline);
	text-underline-offset: 4px;
	margin: 0 0 var(--hse-gap-eyebrow-title, 12px);
}

.hse-title {
	color: var(--hse-title-color, #fff);
	font-family: var(--hse-title-font, inherit);
	font-size: var(--hse-title-size, clamp(24px, 4vw, 48px));
	font-weight: var(--hse-title-weight, 700);
	margin: 0 0 var(--hse-gap-title-sub, 16px);
	line-height: 1.2;
	overflow-wrap: break-word;
}

.hse-subtitle {
	color: var(--hse-sub-color, #f1f1f1);
	font-family: var(--hse-sub-font, inherit);
	font-size: var(--hse-sub-size, clamp(14px, 1.4vw, 18px));
	font-weight: var(--hse-sub-weight, 400);
	margin: 0 0 var(--hse-gap-sub-btn, 24px);
	line-height: 1.5;
	overflow-wrap: break-word;
}

.hse-button {
	display: inline-block;
	background: var(--hse-btn-bg, #e63946);
	color: var(--hse-btn-color, #fff);
	font-size: var(--hse-btn-size, 16px);
	font-weight: var(--hse-btn-weight, 600);
	padding: var(--hse-btn-padding, 12px 28px);
	border-radius: var(--hse-btn-radius, 4px);
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}
.hse-button:hover {
	background: var(--hse-btn-hover, #c1121f);
	color: var(--hse-btn-hover-color, #fff);
}

.hse-slider .swiper-pagination-bullet {
	background: var(--hse-dot-color, rgba(255, 255, 255, 0.5));
	width: var(--hse-dot-size, 10px);
	height: var(--hse-dot-size, 10px);
	border-radius: var(--hse-dot-radius, 50%);
	margin: 0 calc(var(--hse-dot-spacing, 8px) / 2) !important;
	opacity: 1;
}
.hse-slider .swiper-pagination-bullet-active {
	background: var(--hse-dot-active, #fff);
}

.hse-slider .swiper-button-prev,
.hse-slider .swiper-button-next {
	color: var(--hse-arrow-color, #fff);
	background: var(--hse-arrow-bg, rgba(0, 0, 0, 0.3));
	width: var(--hse-arrow-size, 44px);
	height: var(--hse-arrow-size, 44px);
	border-radius: 50%;
}
.hse-slider .swiper-button-prev::after,
.hse-slider .swiper-button-next::after { font-size: calc(var(--hse-arrow-size, 44px) * 0.4); }

/* Tablet: matches Elementor's own tablet breakpoint (768px–1024px). */
@media (max-width: 1024px) {
	.hse-slider { height: min(var(--hse-height, 550px), 70vw); }
	.hse-content { max-width: 85%; }
	.hse-slider .swiper-button-prev,
	.hse-slider .swiper-button-next {
		width: calc(var(--hse-arrow-size, 44px) * 0.85);
		height: calc(var(--hse-arrow-size, 44px) * 0.85);
	}
}

/* Mobile: matches Elementor's own mobile breakpoint (<=767px). */
@media (max-width: 767px) {
	.hse-slider { height: min(var(--hse-height, 550px), 90vw); min-height: 320px; }
	.hse-content { max-width: 92%; }
	.hse-slider .swiper-button-prev,
	.hse-slider .swiper-button-next {
		width: calc(var(--hse-arrow-size, 44px) * 0.7);
		height: calc(var(--hse-arrow-size, 44px) * 0.7);
	}
	.hse-slider .swiper-pagination-bullet {
		width: calc(var(--hse-dot-size, 10px) * 0.85);
		height: calc(var(--hse-dot-size, 10px) * 0.85);
	}
}

/* Very small phones: keep the button from ever forcing horizontal scroll. */
@media (max-width: 380px) {
	.hse-content { max-width: 96%; }
	.hse-button { max-width: 100%; overflow-wrap: break-word; }
}
