.text-image-carousel-wrapper {
	position: relative;
	overflow: hidden;
}

.text-image-carousel__viewport {
	position: relative;
}

.text-image-carousel .swiper {
	padding-bottom: 40px;
}

.text-image-carousel .swiper-wrapper {
	align-items: stretch;
}
.text-image-carousel .swiper-slide {
	flex: 0 0 auto;
	width: min(1080px, calc(100vw - 120px));
	max-width: 1080px;
}

.text-image-carousel__copy h4 {
    font-family: 'Inter';
    font-weight: 700;
    font-size: clamp(15.747px, 0.984rem + ((1vw - 3.2px) * 0.516), 24px);
    line-height: 1.25;
    text-align: center;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.text-image-carousel__description {
    font-family: 'Inter';
    font-weight: 400;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.25), 18px);
    line-height: 1.33;
    text-align: center;
    letter-spacing: -0.04em;
    color: #A8A8A8;
}

.text-image-carousel__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 375px;
}

.text-image-carousel__slide {
	min-height: 560px;
	display: grid;
	grid-template-rows: auto 1fr;
    background: #000;
	border-radius: 20px;
	overflow: hidden;
    padding: 39px 20px 37px 20px;
}

.text-image-carousel__image {
	height: 100%;
    max-width: 747px;
    width: 100%;
    margin: 0 auto;
}
.text-image-carousel .swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    background: #262629;
    max-width: 187px !important;
    padding: 16px;
    border-radius: 30px;
    align-items: center;
    position: unset;
    margin: 48px auto 0;
}

.text-image-carousel .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    background: #939292;
    margin: 0 !important;
    opacity: 1;
    position: relative;
    outline: 8px solid transparent;
    transition: background-color 0.35s ease, transform 0.35s ease;
}

.text-image-carousel .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #EA2C01 0%, #00FF00 53.75%, #0000FF 100%);
}

.text-image-carousel .swiper-pagination-bullet::before,
.text-image-carousel .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    box-sizing: border-box;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.text-image-carousel .swiper-pagination-bullet-active::before {
	width: 20px;
    height: 20px;
    background: linear-gradient(90deg, #EA2C01 0%, #00FF00 53.75%, #0000FF 100%);
    z-index: 1;
}
.text-image-carousel .swiper-pagination-bullet-active::after {
     width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #262629;
    z-index: 2;
}
.text-image-carousel .swiper-pagination-bullet-active::before,
.text-image-carousel .swiper-pagination-bullet-active::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 991px) {
    .text-image-carousel__slide {
        min-height: auto;
    }
    .text-image-carousel__image {
        max-width: 400px;
    }
    .text-image-carousel__image img {
        max-height: 250px;
    }
    .text-image-carousel__slide {
        min-height: 450px;
    }
    .text-image-carousel__slide br {
        display: none;
    }
    .text-image-carousel .swiper-pagination {
        margin: 24px auto 0;
    }
    .text-image-carousel .swiper-slide {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .text-image-carousel__image img {
        object-fit: contain;
    }
    .text-image-carousel .swiper-slide {
        width: 100%;
        max-width: 100%;
    }
}