.refive.second .slider-item {
	display: block;
	position: relative;
	text-decoration: none;
}

.refive.second .img-wrapper {
	position: relative;
	overflow: hidden;
}

.refive.second .text-wrapper {
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #fff;
	transition: all 0.3s ease-in-out;
	padding-right: 100px;
}

.refive.second .text-wrapper h4 {
    color: #fff;
}

.refive.second .bottom-slider-wrapper {
    width: calc(100% + 140px);
    position: absolute;
    top: 50%;
    left: -70px;
}

.refive.second .counter-arrow-wrapper {
    width: 100%;
}

.refive .splide__list .splide__slide a {
    overflow: hidden;
}

.refive .splide__list .splide__slide a .img-wrapper img {
    height: 100%;
    object-fit: cover;
}

.refive .splide__list .splide__slide a .img-wrapper {
    transform: scale(1.04) translateX(-1%);
    transition: transform .6s ease;
	height: 100%;
}

.refive .splide__list .splide__slide a:hover .img-wrapper {
    transform: scale(1.04) translateX(1%);
}

.refive .splide__list .splide__slide a .img-wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(196, 33, 38, 0.66) 0%, rgba(218, 66, 62, 0.1) 50%, rgba(240, 98, 85, 0) 100%);
}

.refive .splide__list .splide__slide:nth-child(odd) a {
     mask-image: url(/wp-content/uploads/2025/03/shape-odd.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/03/shape-odd.svg);
    mask-repeat: no-repeat;
    mask-size: cover;
}

.refive .splide__list .splide__slide:nth-child(even) a {
    mask-image: url(/wp-content/uploads/2025/03/shape-even.svg);
    -webkit-mask-image: url(/wp-content/uploads/2025/03/shape-even.svg);
    mask-repeat: no-repeat;
    mask-size: cover;
}

.refive.second .counter-arrow-wrapper .arrows-wrapper {
    display: flex;
    justify-content: space-between;
}

.refive.second .counter-arrow-wrapper .arrows-wrapper svg{
	height: 15px;
}

.refive.second .counter-arrow-wrapper .arrows-wrapper span {
    position: relative;
    top: -3px;
}

.refive.second .counter-arrow-wrapper .arrows-wrapper a {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, rgba(196, 33, 38, 1) 0%, rgba(218, 66, 62, 1) 50%, rgba(240, 98, 85, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

@media (max-width: 1024px) {
	.refive.second .bottom-slider-wrapper {
		display: none !important;
	}
}

