
.as-team-people {
    padding: 100px 0;
    background: #eeeeee;
    overflow: hidden;
}

.as-team-people__container {
    max-width: 1398px;
    margin: 0 auto;
    padding: 0 20px;
}

.as-team-people__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 102px;
    align-items: start;
}

.as-team-people__intro {
    padding-top: 75px;
}

.as-team-people__title {
    margin: 0 0 30px;
    font-family: 'Geist', sans-serif;
    letter-spacing: -0.03em;
    color: #1c1c1c;
    font-weight: 400;
    font-size: 54px;
    line-height: 62px;
}

.as-team-people__subtitle {
    margin: 0;
    font-family: 'Geist', sans-serif;
    color: #575757;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.as-team-people__content {
    min-width: 0;
}

.as-team-people__slider {
    min-width: 0;
}

.as-team-people__track.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
}

.as-team-person-card.swiper-slide {
    width: auto !important;
    flex-shrink: initial;
}

.as-team-person-card {
    min-width: 0;
}

.as-team-person-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 240 / 300;
}

.as-team-person-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-team-person-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(0deg, #575757 0%, rgba(87, 87, 87, 0) 39.46%);
}

.as-team-person-card__actions {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.as-team-person-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #575757;
    color: #ffffff;
    text-decoration: none;
}

.as-team-person-card__body {
    padding-top: 23px;
}

.as-team-person-card__name {
    margin: 0 0 4px;
    font-family: 'Geist', sans-serif;
    color: #1C1C1C;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
}

.as-team-person-card__position {
    margin: 0;
    font-family: 'Geist', sans-serif;
    color: #575757;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.as-team-people__pagination {
    display: none;
    position: static !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.as-team-people__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    background: #575757;
    opacity: 0.4;
    border-radius: 999px;
    transition: width 0.25s ease, background 0.25s ease;
    border: none;
}

.as-team-people__pagination .swiper-pagination-bullet-active {
    width: 18px;
    opacity: 1;
    background: #575757;
}

@media (max-width: 1199px) {
    .as-team-people {
        padding: 80px 0;
    }

    .as-team-people__container {
        padding: 0 24px;
    }

    .as-team-people__layout {
        grid-template-columns: 220px 1fr;
        gap: 48px 40px;
    }

    .as-team-people__title {
        font-size: 58px;
    }

    .as-team-people__track.swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .as-team-people {
        padding: 40px 0;
    }

    .as-team-people__container {
        padding: 0 20px;
    }

    .as-team-people__layout {
        display: block;
    }

    .as-team-people__intro {
        padding-top: 0;
        margin-bottom: 32px;
    }

    .as-team-people__title {
        margin: 0 0 10px;
        font-size: 36px;
        line-height: 44px;
    }

    .as-team-people__subtitle{
        text-align: center;
    }

    .as-team-people__title br,
    .as-team-people__subtitle br {
        display: none;
    }

    .as-team-people__slider {
        overflow: visible;
    }

    .as-team-person-card__image-wrap {
         aspect-ratio: 1 / 1.18;
    }

    .as-team-people__track{
        padding-bottom: 20px;
    }

    .as-team-people__track.swiper-wrapper {
        display: flex;
        gap: 0;
        transform: translate3d(0, 0, 0);
    }

    .as-team-person-card.swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
    }

    .as-team-person-card__actions {
        left: 20px;
        bottom: 20px;
        gap: 12px;
    }

    .as-team-person-card__action {
        width: 40px;
        height: 40px;
    }

    .as-team-person-card__body {
        padding-top: 12px;
    }

    .as-team-people__pagination {
        display: flex;
    }
}
