/* 01. SLIDE HỆ SINH THÁI FIALDA */

.custom-slide-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.custom-slide-left,
.custom-slide-right {
    flex: 1 1 50%;
    box-sizing: border-box;
    padding: 10px;
}

.custom-slide-right {
    padding-top: 50px;
}

.custom-slide-left {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Ảnh có hiệu ứng xuất hiện */
.custom-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-radius: 8px;
}

.custom-slide-img.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.custom-slide-right .custom-slide-item {
    cursor: pointer;
    margin-bottom: 15px;
    margin-left: 10px;
    transition: background 0.3s;
    position: relative;
}

.custom-slide-right .custom-slide-item h3 {
    margin: 0;
    font-size: var(--wpex-text-xl);
    font-weight: 600;
    padding-left: 40px;
}

/* Mô tả có hiệu ứng xổ xuống */
.custom-slide-right .custom-slide-item p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    font-size: 15px;
    color: #555;
    border-left: solid 2px #dfe0e5;
    padding-left: 40px;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.custom-slide-right .custom-slide-item.active {}

.custom-slide-right .custom-slide-item.active h3 {
    color: var(--wpex-accent);
}

.custom-slide-right .custom-slide-item.active p {
    max-height: 200px;
    /* đủ lớn để chứa text */
    opacity: 1;
    padding-top: 10px;
}

/* Nút tròn trước tiêu đề */
.custom-slide-right .custom-slide-item::before {
    position: absolute;
    left: -9px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    color: #fff;
    background: #dfe0e5;
    transition: all 0.3s ease;
}

.custom-slide-right .num-1::before {
    content: "1";
}

.custom-slide-right .num-2::before {
    content: "2";
}

.custom-slide-right .num-3::before {
    content: "3";
}

.custom-slide-right .num-4::before {
    content: "4";
}

.custom-slide-right .custom-slide-item.active::before {
    content: "+";
    background: var(--wpex-accent);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {

    .custom-slide-left,
    .custom-slide-right {
        flex: 1 1 100%;
    }

    .custom-slide-right {
        order: -1;
        padding-top: 10px;
    }
}

/* 02. SLIDE ĐỘI NGŨ NHÂN SỰ */

#team-slider {
    overflow: hidden;
}

#team-slider .section {
    box-sizing: border-box;
    margin: 0;
}
#tns1 > .tns-item {
    margin: 0;
}

.tns-nav {
    text-align: center;
}

.tns-nav>[aria-controls] {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0 5px;
    border-radius: 50%;
    background: #ddd;
    border: 0;
}

.tns-nav>.tns-nav-active {
    background: #6666ff;
}

#team-slider {
    font-size: 90%;
}
#team-slider .vcex-feature-box {
    margin-bottom: 25px;
}
#team-slider h5 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 300;
}
#team-slider h4 {
    color: #1b1b1f;
    margin-top: 0;
    margin-bottom: 10px;
}
#team-slider hr {
    background: var(--wpex-accent);
    width: 40px;
    height: 1px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 10px;
}
#team-slider p {
    margin-top: 0;
    margin-bottom: 0px;
}