.sn-team {
    background: #fff;
    padding: 76px 0 92px;
}

.sn-team__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.sn-team__title {
    margin: 0 0 34px;
    font-family: 'Roboto', sans-serif;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 500;
    color: #333;
}

.sn-team__slider-wrap {
    position: relative;
}

.sn-team__viewport {
    overflow: hidden;
    touch-action: pan-y;
}

.sn-team__track {
    display: flex;
    gap: 28px;
    transition: transform .35s ease;
    will-change: transform;
}

.sn-team-card {
    position: relative;
    flex: 0 0 calc((100% - 84px) / 4);
    height: 330px;
    overflow: hidden;
    background: #eee;
}

.sn-team-card__image {
    width: 100%;
    height: 100%;
}

.sn-team-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-user-drag: none;
}

.sn-team-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0 26px 28px;
    color: #fff;
    z-index: 2;
}

.sn-team-card::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.58) 100%
    );
    z-index: 1;
}

.sn-team-card__position {
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(255,255,255,.95);
}

.sn-team-card__name {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    line-height: 1.28;
    font-weight: 500;
    color: #fff;
}

.sn-team__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 50%;
    background: #fff;
    color: #333;
    font-size: 0;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
    transform: translateY(-50%);
    transition: .2s ease;
}

.sn-team__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.sn-team__arrow--prev {
    left: -20px;
}

.sn-team__arrow--prev::before {
    transform: translate(-38%, -50%) rotate(-135deg);
}

.sn-team__arrow--next {
    right: -20px;
}

.sn-team__arrow--next::before {
    transform: translate(-62%, -50%) rotate(45deg);
}

.sn-team__arrow:hover {
    background: #6f9777;
    color: #fff;
}

.sn-team-card__edit {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.sn-team-card__edit:hover {
    background: #111;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .sn-team-card {
        flex-basis: calc((100% - 28px) / 2);
    }
}

@media (max-width: 640px) {
    .sn-team {
        padding: 56px 0 64px;
    }

    .sn-team__title {
        font-size: 26px;
    }

    .sn-team-card {
        flex-basis: 100%;
        height: 390px;
    }

    .sn-team__arrow--prev {
        left: 8px;
    }

    .sn-team__arrow--next {
        right: 8px;
    }
}
