/* ----------------------------------------------------------
   GLOBAL SWIPER WRAPPER STYLES (unchanged)
---------------------------------------------------------- */
.cpt-button-swiper .swiper-slide {
	width: 360px;
	overflow:hidden;
	height: auto;
 	display: flex;
}
.cpt-button-swiper .swiper-wrapper {
	align-items: stretch;
}
.cpt-button-swiper {
	position: relative;
	margin-right: 200px;
	overflow:hidden;	
}

.cpt-button-slider-wrapper .swiper-button-prev,
.cpt-button-slider-wrapper .swiper-button-next {
	position: absolute;
	bottom: 0px;
	z-index: 10;
	width: 80px;
	height: 80px;
	background:#ec1c24;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.3s ease;
	left:inherit;
	top:inherit;
}

.cpt-button-slider-wrapper .swiper-button-prev:hover,
.cpt-button-slider-wrapper .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.9);
}

.cpt-button-slider-wrapper .swiper-button-prev {
	right: 90px;
}

.cpt-button-slider-wrapper .swiper-button-next {
	right: 10px;
}

/* ----------------------------------------------------------
   STYLE 1 – BACKGROUND IMAGE WITH OVERLAY TITLE
   (your existing design is preserved)
---------------------------------------------------------- */
.slide-style1-inner {
	position: relative;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 470px;
	display: flex;
	align-items: flex-end;
	padding: 50px;
	border-radius: inherit;
}

.slide-title-overlay {
	width: calc(100% - 100px);
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	position: relative;
	z-index: 3;
}

.heading-line-enabled .slide-title-overlay:after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background-color: currentColor;
	position: absolute;
	left: 0;
	bottom: -15px;
}

/* optional overlay gradient */
.slide-style1-inner:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	background: linear-gradient(to bottom, rgba(0,0,14,0) 0%,rgba(0,0,14,1) 100%);
	z-index: 1;
}

/* Ensure the title stays on top */
.slide-style1-inner h3 {
	z-index: 2;
	position: relative;
}

/* ----------------------------------------------------------
   STYLE 2 – IMAGE ABOVE, GREY BOX, TITLE + EXCERPT
---------------------------------------------------------- */
.slide-style2-inner {
	background: #f2f2f2;
	padding: 20px;
	border-radius: inherit;
	text-align: center;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.slide-style2-inner .style2-image img {
	width: 100%;
	height: auto;
	border-radius: inherit;
	margin-bottom: 15px;
}

.slide-style2-inner h3 {
	font-size: 20px;
	margin: 10px 0 10px;
	color: #000;
}

.slide-style2-inner .slide-excerpt {
	font-size: 16px;
	color: #333;
	line-height: 1.5;
}

/* ----------------------------------------------------------
   IMAGE ZOOM EFFECT (applies only to style1)
---------------------------------------------------------- */
.slide-style1-inner:hover {
	transform: scale(1.02);
	transition: transform .3s ease-in-out;
}

/* ----------------------------------------------------------
   MOBILE RESPONSIVE STYLES (existing, compatible)
---------------------------------------------------------- */
@media (max-width: 480px) {
	.cpt-button-slider-wrapper .cpt-button-swiper .swiper-button-prev {
		right: 70px;
	}
	.cpt-button-slider-wrapper .cpt-button-swiper .swiper-button-next {
		right: 30px;
	}
	.cpt-button-swiper {
		margin-right:inherit;
	}
	.cpt-button-slider-wrapper .swiper-button-prev, 
	.cpt-button-slider-wrapper .swiper-button-next {
		top:22px;
	}
	.cpt-button-slider-wrapper .swiper-button-prev {
		left:20px;
		right:inherit;
	}
	.cpt-button-slider-wrapper .swiper-button-next {
		left:100px;
		right:inherit;
	}
}