/* ----------------------------------------------------------
   GLOBAL SWIPER WRAPPER STYLES (unchanged)
---------------------------------------------------------- */
.cpt-button-swiper .swiper-slide {
	width: 360px;
	overflow:hidden;
}
.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: 0px;
}
/* ----------------------------------------------------------
   STYLE 1 – BACKGROUND IMAGE WITH OVERLAY TITLE
---------------------------------------------------------- */
.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;
	transition: transform .3s ease-in-out;
	transform: scale(1);
}
.slide-style1-inner:hover {
	transform: scale(1.05);
}
.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;
	min-height: 470px;
	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;
	margin-top: auto; /* pushes text up if needed for balance */
}
/* ----------------------------------------------------------
   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;
	}
}
/* ----------------------------------------------------------
Cursor wrapper
---------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none; /* don’t block clicks */
  z-index: 9999;
  transform: translate3d(0, 0, 0);
  transition: transform 0.1s ease-out; /* smooth movement */
}
.cursor-dot.show {
  opacity: 1;
}
.cursor-dot {
  position: relative;
  opacity: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--primary-colour);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  transform: translate(-50%, -50%);
}
.cursor-dot.active {
  width: 5rem;
  height: 5rem;
  background: rgba(255, 49, 79, 0.3);
  box-shadow: 0 0 8px rgba(255, 49, 79, 0.4);
}
.cursor-text {
  font-size: 0.75rem;
  color: #fff;
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: none;
}
.cursor-dot-accent {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.cursor-dot-accent.left {
	left: -0.6rem;
	transform: translateY(-50%) rotate(180deg);
}
.cursor-dot-accent.right {
	right: -0.6rem;
	transform: translateY(-50%) rotate(0deg);
}
.cursor-dot-accent.left, .cursor-dot-accent.right { 
  top: 50%;
  border-left: 0.4rem solid #ff314f; /* arrow points left */
}
.cursor-dot.active .cursor-dot-accent.left {
  left: -1rem;
}
.cursor-dot.active .cursor-dot-accent.right {
  right: -1rem;
}
/* Press effect on slide */
.cpt-button-swiper {
	transition: all 0.2s ease;
}
.cpt-button-swiper.is-pressed {
	transform: scale(0.95);
}
/* ---------------------------------------------
   SLIDE SCROLL-IN HINT ANIMATION (SLOW + RIGHT)
--------------------------------------------- */

/* Initial state */
.cpt-button-swiper.animate-in .swiper-slide {
	transform: translateX(120px) translateY(-10px);
	opacity: 0;
}

/* Visible state */
.cpt-button-swiper.animate-in.is-visible .swiper-slide {
	transform: translateX(0) translateY(0);
	opacity: 1;
	transition:
		transform 1s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.4s ease-out;
}

/* Stagger for readability */
.cpt-button-swiper.animate-in.is-visible .swiper-slide:nth-child(1) { transition-delay: 0s; }
.cpt-button-swiper.animate-in.is-visible .swiper-slide:nth-child(2) { transition-delay: 0.12s; }
.cpt-button-swiper.animate-in.is-visible .swiper-slide:nth-child(3) { transition-delay: 0.24s; }
.cpt-button-swiper.animate-in.is-visible .swiper-slide:nth-child(4) { transition-delay: 0.36s; }
.cpt-button-swiper.animate-in.is-visible .swiper-slide:nth-child(5) { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
	.cpt-button-swiper.animate-in .swiper-slide,
	.cpt-button-swiper.animate-in.is-visible .swiper-slide {
		transform: none;
		opacity: 1;
		transition: none;
	}
}
