/*  TEAM  */
.team-section {
    display: inline-block;
    width: 100%;
    overflow: hidden;

    & .container {
        text-align: center;
    }

    & .small-header-line {
        display: inline-flex;
        margin-inline: auto;
        margin-bottom: 5px;

        &::after {
            position: absolute;
            content: "";
            background-color: var(--theme);
            width: 50px;
            height: 2px;
            top: 50%;
            margin-top: -1px;
            right: -70px;
            display: inline-block !important;
        }
    }

    & .heading-50 {
        margin-inline: auto;
        margin-bottom: 40px;
    }
}

.team-wrap {
    width: calc(25% - 40px);
    margin: 0 20px 40px;
    position: relative;

    .team-item {
        width: 100%;
        overflow: hidden;
        flex-shrink: 0;

        >img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
    }

    & .team-desc {
        padding: 24px 0 0;
        text-align: center;
        position: relative;

        /* &::after {
            position: absolute;
            content: "";
            width: 2px;
            height: 50px;
            top: 0;
            margin-top: -25px;
            left: 50%;
            background: var(--theme);
        } */
    }

    & .team-title {
        font-size: 20px;
        font-weight: 600;
        color: #333333;
        margin-bottom: 3px;
    }

    span {
        display: block;
        font-size: 18px;
        line-height: 28px;
        color: #333333;
    }

    &:hover {
        .team-item>img {
            transform: scale(1.04);
        }

        .team-title {
            color: var(--theme);
        }
    }
}

.team-slider {
    text-align: left;

    &+.btnlist {
        margin-top: 50px;
    }
}

.team-listing:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
    margin-left: -23px;
    margin-right: -23px;
    width: calc(100% + 46px);

    & .team-wrap {
        margin-bottom: 0;
    }

}

.team-slider.slick-initialized {
    width: calc(100% + 46px);
    margin-inline: -23px;

    & .slick-slide {
        padding: 0 23px;

        .team-wrap {
            margin: 0;
        }
    }
}

.bold {
    font-weight: bold;
}

.team-details-sec {
    display: inline-block;
    width: 100%;

    & .flex-container {
        justify-content: space-between;
        padding-bottom: 90px;
        border-bottom: 1px solid var(--theme);

        & .left-side-img {
            width: 553px;

            &>.btn-theme {
                width: 100%;
            }
        }

        & .right-side-content {
            width: calc(100% - 553px);
            max-width: 872px;

            & .profile-details {
                position: relative;
                width: 100%;
                display: inline-block;
                margin-bottom: 20px;

                & .heading-50 {
                    margin-bottom: 0;

                    &+p {
                        font-weight: 500;
                        margin-bottom: 20px;
                    }
                }

                &::after {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 1px;
                    background: linear-gradient(90deg, rgba(150, 148, 145, 1) 0%, rgba(255, 255, 255, 1) 100%);
                    left: 0;
                    bottom: 0;
                }
            }

            &>ul {
                margin-left: 0;

                &>li {
                    color: #333;
                    font-family: Inter;
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 26px;
                    letter-spacing: 0px;
                    font-weight: normal;
                    position: relative;
                    padding-left: 40px;
                    list-style: none;

                    &::before {
                        content: "";
                        position: absolute;
                        left: 0;
                        top: 2px;
                        width: 22px;
                        height: 22px;
                        background: url(../images/svg/bullet-checklist.svg) no-repeat center;
                        display: inline-flex;
                        justify-content: center;
                        align-items: center;
                        border-radius: 100%;
                    }
                }
            }
        }
    }
}

/* -------- Responsive Breakpoints -------- */

@media (max-width: 1599.98px) {
    .team-slider {
        & .slick-prev {
            left: 15px;
        }

        & .slick-next {
            right: 15px;
        }
    }

    .team-details-sec {
        & .flex-container {
            & .right-side-content {
                padding-left: 30px;
            }
        }
    }
}

@media (max-width: 1439.98px) {
    .team-listing:not(.slick-initialized) {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
        row-gap: 20px;

        & .team-wrap {
            width: calc(25% - 20px);
            margin: 0 10px 0px;
            position: relative;
        }
    }
}

@media (max-width: 1199.98px) {
    .team-slider {
        .slick-slide {
            margin: 0 15px;
        }
    }

    .team-wrap {
        & .team-title {
            margin-bottom: 4px;
        }

        & span {
            display: block;
            font-size: 16px;
            line-height: 28px;
            color: #333333;
        }
    }

    .team-details-sec {
        & .flex-container {
            & .right-side-content {
                width: calc(50% - 10px);
                padding-left: 0;
            }

            & .left-side-img {
                width: calc(50% - 10px);
                max-width: 553px;
                padding-bottom: 40px;
            }
        }
    }
}

@media (max-width: 991.98px) {
    .team-slider {
        .slick-slide {
            margin: 0 10px;
        }
    }

    .team-listing:not(.slick-initialized) {
        & .team-wrap {
            width: calc(33% - 20px);
            margin: 0 10px 0px;
            position: relative;
        }
    }

    .team-details-sec {
        & .flex-container {
            gap: 30px;
            flex-wrap: wrap;
            padding-bottom: 50px;

            & .left-side-img,
            & .right-side-content {
                width: calc(100%);
                padding-left: 0;
                padding-bottom: 0;
            }
        }
    }
}

@media (max-width: 767.98px) {
    .team-listing {
        & .team-wrap {
            & .team-title {
                font-size: 18px;
            }

            span {
                font-size: 16px;
            }
        }
    }

    .team-slider {
        &+.btnlist {
            margin-top: 30px;
        }
    }

    .team-listing:not(.slick-initialized) {
        & .team-wrap {
            width: calc(50% - 20px);
            margin: 0 10px 0px;
            position: relative;
        }
    }

    .team-details-sec {
        & .flex-container {
            padding-bottom: 30px;
        }
    }
}

@media (max-width: 575.98px) {
    .team-listing:not(.slick-initialized) {
        & .team-wrap {
            width: calc(50% - 10px);
            margin: 0 5px 0px;
        }
    }

    .team-listing {
        & .team-wrap {
            span {
                font-size: 14px;
                line-height: 1.3;
            }

            & .team-title {
                font-size: 16px;
            }
        }
    }

    .team-wrap {
        & .team-desc {
            padding: 20px 0 0;

            /* &::after {
                height: 30px;
                margin-top: -15px;
            } */
        }
    }

    .team-slider.slick-initialized {
        width: 100%;
        margin-inline: 0;
    }

    .team-slider.slick-initialized {
        & .slick-slide {
            padding: 0 15px;
        }
    }

    /* ------------- Blog Detail ------------- */

}