.slider-hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.post-slider-widget {
    /*     width: 65%;
    margin-left: 10%;
    overflow: hidden;
    padding-left: 5%; */
    width: 70%;
    flex: 1 1 70%;
    display: flex;
    flex-wrap: wrap;
    align-self: end;
}

.custom-post-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;

    /* background-color: #f8ebe7; */
    /* Background color similar to your design */
    padding: 20px;
    /* border-radius: 15px; */
    /* position: relative; */
}

.custom-post-thumbnail img {
    width: 450px;
    height: auto;
}

.custom-post-thumbnail {
    width: 35%;
    max-width: 350px;
    height: 100%;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 15px 0 0 15px;
    position: absolute;
    left: -15%;
    transition: transform 0.5s ease;
    z-index: 3;
    border-radius: 50% 50% 0% 0%;
}

.custom-post-item:hover .custom-post-thumbnail {
    /* transform: translateX(50%); */
    /* Move to the center on hover */
}

/* .custom-post-content h3, */
/* .custom-post-content h3 a  */
.custom-post-content h2,
.custom-post-content h2 a {
    color: var(--e-global-color-primary);
    font-family: 'Caturrita Display', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.custom-post-content p {
    font-family: "Manjari", sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
}

.custom-post-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c7d6d;
    /* Adjust to your theme color */
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    /* font-family: 'Caturrita Display', sans-serif; */
    font-weight: bold;
    align-self: self-start;
}

/* Swiper Navigation */
.swiper-button-next, .swiper-button-prev {
    color: #d63ebc;
    /* Customize the color */
}

.swiper-pagination-bullet-active {
    background-color: #d63ebc;
    /* Customize the active bullet color */
}

.post-slider-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
    width: 70%;
    z-index: 0;
    overflow: hidden;
}

.fixed-thumbnail-container {
    width: 29%;
    max-height: 60vh;
    height: 60vh;
    z-index: 3;
    /* max-height: 520px; */
    /* height: 450px; */
    /* max-width: 30%; */
    /* overflow: hidden; */
    /* background-color: #FBECE3; */
}

.bg-mask {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mask-image: url('../images/mask.png');
    mask-composite: intersect;
    mask-size: cover, 100% 100%;

    -webkit-mask-image: url('../images/mask.png');
    -webkit-mask-composite: intersect;
    -webkit-mask-size: cover, 100% 100%;
}

.meduim-bg-mask {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mask-image: url('../images/mask.png');
    mask-composite: intersect;
    mask-size: cover, 100% 100%;

    -webkit-mask-image: url('../images/mask.png');
    -webkit-mask-composite: intersect;
    -webkit-mask-size: cover, 100% 100%;
}

.small-bg-mask {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mask-image: url('../images/mask.png');
    mask-composite: intersect;
    mask-size: cover, 100% 100%;

    -webkit-mask-image: url('../images/mask.png');
    -webkit-mask-composite: intersect;
    -webkit-mask-size: cover, 100% 100%;
}

.fixed-thumbnail {
    /* background-size: cover;
    background-position: center;
    border-radius: 100% 100% 0% 0%;
    position: relative;
    transition: opacity 2s ease-in-out;
    opacity: 1;
    background-repeat: no-repeat;
    background-clip: border-box; 
    background: url('background-image.jpg') center/cover no-repeat; */
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    mask-image: url('../images/mask.png');
    mask-composite: intersect;
    mask-size: cover, 100% 100%;

    -webkit-mask-image: url('../images/mask.png');
    -webkit-mask-composite: intersect;
    -webkit-mask-size: cover, 100% 100%;
}

.fixed-thumbnail .swiper-pagination {
    z-index: 9;
    background: linear-gradient(to top, rgb(251 236 227 / 26%), transparent);
    transform: translate(-50%, 0%);
    bottom: 0;
    left: 50%;
    width: 100%;
}

/* .fixed-thumbnail .swiper-pagination .swiper-pagination-bullet{} */

.fixed-thumbnail .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #5E8162;
    border: 1px solid #FBECE3;
}

.fixed-thumbnail .swiper-pagination .swiper-pagination-bullet {
    color: #fff;
    background-color: #fff;
    opacity: .8;
}


.custom-post-content {
    /* background-color: #f8ebe7; */
    padding: 0 20px;
    background-color: transparent;
    border-radius: 15px;
}


.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-wrapper .swiper-slide {
    cursor: grab;
}

.fade-out {
    opacity: 0;
    /* Fade out the image */
}

.fade-in {
    opacity: 1;
    /* Fade in the new image */
}

/* -------------------------------------------------------------------------- */
/*                                 Responsive                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 375px) {
    .fixed-thumbnail-container {
        /* max-height: 320px; */
        width: 50%;
    }

    .custom-post-content h2, .custom-post-content h2 a {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .post-slider-widget-container {
        width: 100%;
    }

    .fixed-thumbnail-container {
        width: 90%;
    }

    .slider-hero {
        flex-direction: column;
        /* overflow: hidden; */
    }

    .fixed-thumbnail {
        border-radius: 0;
    }

    .custom-post-content h2, .custom-post-content h2 a {
        font-size: 1.5rem;
    }


}

@media (max-width: 1024px) and (min-width: 768px) {
    .fixed-thumbnail-container {
        width: 35%;
    }

    .post-slider-widget-container {
        width: 65%;
    }

}