.home-team {
    position: relative;
    background: var(--home-teacher-bg);
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 6rem;
}
.home-team-linedeco {
    width: 100%;
    object-fit: contain;
    transform: translateY(1px);
    padding-top: 5.59rem;
}
.home-team__decor {
    position: absolute;
    top: 3.5rem;
    right: 4rem;
    width: 16rem;
    display: none;
}

.home-team__slider {
    padding: 0.5rem 0.5rem 2.5rem;
    /* overflow: visible; */
    width: 80%;
}

.home-team__slide {
    height: auto;
    padding-top: 3.42rem; /* chừa chỗ blob nhô lên trên card */
}

.home-team__card {
    position: relative;
}

.home-team__photo-wrap {
    position: relative;
    width: 16.39rem; /* 236px */
    max-width: 100%;
    margin: 0 auto -6.6rem; /* kéo ảnh đè lên phần info bên dưới */
    z-index: 2;
}

.home-team__blob,
.home-team__photo {
    /* position: absolute; */
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-team__photo {
    object-fit: cover;
    border-radius: 50%;
    padding: 0.28rem;
}

.home-team__info {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--home-radius);
    padding: 6.9rem 1rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.home-team__name {
    font-family: "Libre Franklin", sans-serif;
    font-size: 1.389rem; /* 20px */
    font-weight: 600;
    color: rgba(45, 45, 45, 0.92);
}

.home-team__role {
    font-family: "Libre Franklin", sans-serif;
    font-size: 1.111rem; /* 16px */
    font-weight: 300;
    color: var(--home-text);
}

.home-team__social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
}

.home-team__social img {
    width: 1.667rem;
    height: 1.667rem;
}

.home-team__nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.home-team__prev,
.home-team__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.78rem;
    height: 2.78rem;
    border-radius: 50%;
    background: #fff;
    color: var(--home-navy);
}

.home-team__prev svg,
.home-team__next svg {
    width: 1.25rem;
    height: 1.25rem;
}
.home-section__line {
    display: block;
    margin-bottom: 2.17rem;
}
@media (min-width: 1025px) {
    .home-team__decor {
        display: block;
    }
}

@media (max-width: 767px) {
    .home-team__photo-wrap {
        width: 12rem;
        margin-bottom: -5.5rem;
    }

    .home-team__info {
        padding: 5.75rem 1rem 1.25rem;
    }

    .home-team__name {
        font-size: 1.125rem;
    }
}
