.half-image-text-slider {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.half-image-text-slider__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.half-image-text-slider__bg svg {
    width: 100%;
}

.half-image-text-slider__heading {
    margin-bottom: 20px;
}

.half-image-text__slider {
    margin: 0 -16px;
}

.half-image-text-item {
    padding: 0 16px;
}

.half-image-text-flex {
    overflow: hidden;
    border-radius: 24px 50px 24px 24px;
}

.half-image-text-image,
.half-image-text-details {
    position: relative;
    width: 100%;
}

.bg-gray .half-image-text-flex {
    background: var(--darybreak-blue);
    color: #fff;
}

.bg-light-blue .half-image-text-flex {
    background: #fff;
    color: #0A0A0A;
}

.bg-gray .half-image-text-flex :where(h2, .h2, h3, .h3) {
    color: #fff;
}

.bg-light-blue .half-image-text-flex :where(h2, .h2, h3, .h3) {
    color: var(--dark);
}

.half-image-text-image {
    height: 200px;
}

.half-image-text-image img {
    border-radius: 24px 50px 24px 24px;
}

.half-image-text-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 22px 40px;
    height: calc(100% - 200px);
}

.bg-gray .half-image-text-details a:not(.btn) {
    color: var(--primary-color);
    background-image: linear-gradient(transparent calc(100% - 2px), var(--primary-color) 2px);
}

.bg-light-blue .half-image-text-details a:not(.btn) {
    color: var(--darybreak-blue);
    background-image: linear-gradient(transparent calc(100% - 2px), var(--darybreak-blue) 2px);
}

.half-image-text-details p {
    padding-right: 14px;
}

.half-image-text__slider div:has(.half-image-text-item) {
    font-size: 0;
}

.half-image-text__slider .slick-arrow {
    top: 133px;
    margin: 0;
}

.half-image-text__slider .slick-next {
    right: 32px;
}

.half-image-text__slider .slick-prev {
    left: auto;
    right: 98px;
}

.half-image-text__slider .slick-track {
    display: flex !important;
}

.half-image-text__slider .slick-slide {
    height: inherit !important;
}

.half-image-text__slider .slick-slide > div,
.half-image-text__slider .slick-slide > div > div,
.half-image-text__slider .half-image-text-flex { 
    height: 100%; 
}

.image-cards__btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.image-cards__btns-slider-btns-btn.slick-arrow {
    position: relative;
}

.image-cards__btns-slider-btns {
    display: flex;
    gap: 12px;
    padding-left: 75px;
}

@media (min-width: 768px) {
    
    .half-image-text-slider__heading {
        margin-bottom: 48px;
    }
    
    
    .half-image-text-flex {
        border-radius: 24px 100px 24px 24px;
    }
    
    .half-image-text-image {
        height: 291px;
    }
    
    .half-image-text-image img {
        border-radius: 24px 100px 24px 24px;
    }
    
    .half-image-text-details {
        padding: 40px;
        height: calc(100% - 291px);
    }
    
    .half-image-text-details p {
        padding-right: 0;
    }
    
    .half-image-text__slider .slick-arrow {
        top: 211px;
        margin: 0;
    }
    
    .half-image-text__slider .slick-prev {
        right: 112px;
    }

    .half-image-text-details .btn {
        margin-top: 20px;
    }
}


@media (min-width: 1200px) {

	.half-image-text-flex {
		border-radius: 24px;
	}
  
    .half-image-text-image {
        height: auto;
        width: 539px;
    }

    .half-image-text-image img {
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .half-image-text-details {
        padding: 79px 55px;
        width: calc(100% - 539px);
        height: 100%;
    }
    
    .half-image-text-details p {
        padding-right: 11px;
    }
    
    .half-image-text__slider .slick-arrow {
        top: auto;
        bottom: 20px;
    }
    
    .half-image-text__slider .slick-prev {
        right: auto;
        left: 375px;
    }

    .half-image-text__slider .slick-next {
        right: auto;
        left: 455px;
    }

    .half-image-text-slider__heading,
    .half-image-text-slider__heading .sub-heading,
    .half-image-text-slider__heading h2,
    .half-image-text-slider__heading h3 {
        color: var(--white);
    }
}