/* slider-styles.css */

.page .acf-slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    height: auto;
    min-height: auto;
}
.home .acf-slider-container {
    height: 100%;
    min-height: 600px !important;
}
.acf-slider {
    width: 100%;
    height: 100%;
}
.acf-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 128/60 !important;
}

.acf-slide-image {
    width: 100%;
    height: 100%;
	max-height: 600px;
    z-index: 1;
}
.acf-slide-video {
    height: 600px;
    padding: 0;
}
.acf-slide-video video {
    object-fit: cover !important;
    width: 100%;
	height: 100%;
    margin: 0;
}
.acf-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acf-slide-content {
    position: absolute;
	top: 50%;
	transform:translateY(-50%);
    width: 42%;
    max-width: 600px;
    padding: 0;
    margin-right: auto;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    height: 100%;
}

.acf-slide-title {
    font-size: 3.5rem !important;
    color: #fff;
    overflow: hidden;
    line-height: 1;
    margin-bottom: 1rem;
}

.acf-slide-title .title-line {
    overflow: hidden;
    display: block;
}

.acf-slide-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.acf-slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.acf-slide-button {
    display: inline-block;
    padding: 0.25rem 1rem;
    color: #fff;
    background: #ff5918;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.btn, .acf-slide-button:hover {
    background-color: #fff;
	color: #ff5918;
}
.overlay {
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 99;
    margin-bottom: -17px;
}
/* Swiper specific styles */
.acf-slider-nav {
    position: absolute;
    bottom: 8%;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}
.swiper-button-prev.prev-slide {
    left: auto;
    right: 91%;
}
.swiper-button-next.next-slide {
    right: calc(91% - 50px);
}
.swiper-pagination {
    position: absolute;
    bottom: 0;
    left: auto !important;
    right: 50%;
    width: auto !important;
}
.swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: white;
}

.swiper-button-prev, .swiper-button-next {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    margin: 0 10px;
    top: auto;
	bottom: 10%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 18px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #ff5918;
}

/* Fade effect overrides */
.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .acf-slide {
        height: 500px;
        min-height: 500px;
    }
    
    .acf-slide-image {
        position: relative;
        height: 500px;
    }
    
    .acf-slide-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 2rem 1.5rem;
    }
    .acf-slide-image img {
    object-position: 65%;
}
    .acf-slide-title {
        font-size: 2rem !important;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 16px;
    }
	.swiper-button-prev.prev-slide {
    left: auto;
    right: 80%;
}
.swiper-button-next.next-slide {
    right: calc(81% - 50px);
}
}