.mea-hero-slider {
	font-family: 'Outfit', sans-serif;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.mea-hero-slider .swiper-wrapper {
	align-items: stretch;
}

.mea-hero-slider .mea-hero-slide {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: auto;
	min-height: calc(100vh + 100px);
	background-image: var(--mea-bg-desktop);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

.mea-hero-slide__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.mea-hero-slide__body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-height: 30.6vw;
	width: 100%;
	max-width: var(--mea-hero-content-max, 1290px);
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	box-sizing: border-box;
	justify-content: flex-start;
	align-items: center;
}

.mea-hero-slide__content {
	position: relative;
	max-width: 640px;
	width: 100%;
}

.mea-hero-slide__content > :last-child {
	margin-bottom: 0;
}

.mea-hero-slide__title {
	margin: 0 0 30px;
	font-size: 44px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	color: #ffffff;
	word-wrap: break-word;
}

.mea-hero-slide__button {
	display: inline-block;
	margin-top: 10px;
	padding: 16px 28px;
	background-color: #d81c33;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 4px;
	line-height: 1;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.mea-hero-slide__button:hover,
.mea-hero-slide__button:focus {
	background-color: #b3152a;
	color: #ffffff;
}

.mea-hero-slide__bottom {
	position: relative;
	width: 100%;
	background-color: #33363b;
}

.mea-hero-slide__bottom-inner {
	width: 100%;
	max-width: var(--mea-hero-content-max, 1290px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding: 20px 40px;
}

.mea-hero-slide__description {
	margin: 0 auto;
	max-width: 100%;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.6;
	text-align: center;
}

/* Navigation arrows */
.mea-hero-slider__prev,
.mea-hero-slider__next {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
	transition: background-color 0.3s ease;
}

.mea-hero-slider__prev:hover,
.mea-hero-slider__next:hover {
	background-color: rgba(0, 0, 0, 0.55);
}

.mea-hero-slider__prev {
	left: 10%;
}

.mea-hero-slider__next {
	right: 10%;
}

.mea-hero-slider__prev::before,
.mea-hero-slider__next::before {
	content: '';
	width: 10px;
	height: 10px;
	border-style: solid;
	border-color: currentColor;
	border-width: 0 2px 2px 0;
	display: inline-block;
}

.mea-hero-slider__prev::before {
	transform: rotate(135deg);
	margin-left: 3px;
}

.mea-hero-slider__next::before {
	transform: rotate(-45deg);
	margin-right: 3px;
}

/* Pagination dots */
.mea-hero-slider__pagination {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.mea-hero-slider__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
}

.mea-hero-slider__pagination .swiper-pagination-bullet-active {
	background: #ffffff;
}

@media (max-width: 1800px) {
	.mea-hero-slider__prev {
		left: 8%;
	}

	.mea-hero-slider__next {
		right: 8%;
	}
}

@media (max-width: 1680px) {
	.mea-hero-slide__body,
	.mea-hero-slide__bottom-inner {
		max-width: 80%;
	}

	.mea-hero-slider__prev {
		left: 2%;
	}

	.mea-hero-slider__next {
		right: 2%;
	}
}

@media (max-width: 1440px) {
	.mea-hero-slide__body,
	.mea-hero-slide__bottom-inner {
		max-width: 85%;
	}
}

@media (max-width: 1024px) {
	.mea-hero-slider .mea-hero-slide {
		min-height: calc(100vh + 100px);
	}

	.mea-hero-slide__body,
	.mea-hero-slide__bottom-inner {
		max-width: 80%;
	}

	/* Push content below the nav arrows so they don't overlap */
	.mea-hero-slider .mea-hero-slide__body {
		align-items: flex-end !important;
	}

	.mea-hero-slide__content {
		padding-bottom: 40px;
	}
}

/* Mobile banner image: only below 600px (falls back to the desktop image). */
@media (max-width: 599px) {
	.mea-hero-slider .mea-hero-slide {
		background-image: var(--mea-bg-mobile, var(--mea-bg-desktop));
	}
}

@media (max-width: 767px) {
	.mea-hero-slider .mea-hero-slide {
		min-height: 500px;
		background-size: cover;
		background-position: center top;
	}

	.mea-hero-slide__body {
		padding: 0;
		min-height: 0;
	}

	.mea-hero-slide__content {
		max-width: 100%;
		padding-bottom: 30px;
	}

	.mea-hero-slide__title {
		margin-bottom: 20px;
	}

	.mea-hero-slide__button {
		padding: 13px 22px;
		font-size: 14px;
	}


	.mea-hero-slider__prev,
	.mea-hero-slider__next {
		width: 34px;
		height: 34px;
	}

	.mea-hero-slider__prev {
		left: 10px;
	}

	.mea-hero-slider__next {
		right: 10px;
	}
}

@media (max-width: 768px) {
	.mea-hero-slide__bottom-inner {
		max-width: 90%;
		padding: 20px 0 !important;
	}
}

@media (max-width: 500px) {
	.mea-hero-slide__body,
	.mea-hero-slide__bottom-inner {
		max-width: 85% !important;
	}

	.mea-hero-slide__content {
		text-align: center;
	}

	.mea-hero-slide__title {
		margin-bottom: 10px !important;
	}

	.mea-hero-slide__description br {
		display: none !important;
	}
}

/* Responsive typography */
@media (max-width: 1680px) {
	.mea-hero-slide__title {
		font-size: 40px;
	}
}

@media (max-width: 1440px) {
	.mea-hero-slide__title {
		font-size: 36px;
	}
}

@media (max-width: 1024px) {
	.mea-hero-slide__title {
		font-size: 32px;
	}

	.mea-hero-slide__description {
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.mea-hero-slide__title {
		font-size: 26px;
	}

	.mea-hero-slide__description {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.mea-hero-slide__title {
		font-size: 22px;
	}
}
