/* =====================================================/
   START: Follow Section
/===================================================== */

.follow-section{
    position: relative;
    overflow: hidden;
}

/* Swiper */
.follow-container{
    width: 100%;
    overflow: hidden;
}

/* IMPORTANT */
.follow-container .swiper-wrapper{
    height: 520px !important;
}

/* IMPORTANT */
.follow-container .swiper-slide{
    height: calc((100% - 10px) / 2) !important;
}

/* Card */
.follow-card{
    position: relative;
    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 14px;

    cursor: pointer;

    background: transparent;
}

/* Poster */
.follow-poster{
    position: absolute;
    inset: 0;

    z-index: 1;
    transition: opacity 0.4s ease,
                visibility 0.4s ease;
}

.follow-poster img{
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

/* Video */
.follow-video{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: transparent;

    z-index: 2;

    opacity: 0;

    transition: opacity 0.4s ease;
}

/* Active Video */
.follow-card.active-video .follow-video{
    opacity: 1;
}

/* Video visible হলে poster hide হবে */
.follow-video.playing + .follow-poster{
    opacity: 0;
    visibility: hidden;
}

/* Overlay */
.follow-card::before{
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.65);

    z-index: 3;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

/* Content */
.follow-card-content{
    position: absolute;
    inset: 0;

    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

/* Hover */
.follow-card:hover::before,
.follow-card:hover .follow-card-content{
    opacity: 1;
    visibility: visible;
}

.follow-card-content a{
    text-decoration: none;
    color: inherit;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Text */
.follow-card-content p{
    color: #fff;

    font-size: 15px;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation */
.follow-navigation{
    position: absolute;

    top: 48%;
    left: 0;

    width: 100%;

    transform: translateY(-50%);

    z-index: 20;

    pointer-events: none;
}
/* Navigation Buttons */
.follow-section .follow-navigation .prev-btn,
.follow-section .follow-navigation .next-btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;

    font-size: 28px;

    cursor: pointer;

    pointer-events: all;

    transition: 0.3s ease;
}


/* Hide Disabled Navigation */
.follow-section .follow-navigation .prev-btn.swiper-button-disabled,
.follow-section .follow-navigation .next-btn.swiper-button-disabled{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.follow-section .follow-navigation .prev-btn img,
.follow-section .follow-navigation .next-btn img {
    width: 25px;
    height: 25px;
}

/* Hover */
.follow-section .follow-navigation .prev-btn:hover,
.follow-section .follow-navigation .next-btn:hover{
    background: #fff;
}

/* Prev */
.follow-section .follow-navigation .prev-btn{
    left: 0px;
}

/* Next */
.follow-section .follow-navigation .next-btn{
    right: 0px;
}


@media(max-width:768px) {

.follow-section{
    position: relative;
    overflow: hidden;
}

    /* Prev */
    .follow-section .follow-navigation .prev-btn{
        left: 0px;
    }

    /* Next */
    .follow-section .follow-navigation .next-btn{
        right: 0px;
    }

}

/* =====================================================/
   END: Follow Section
/===================================================== */