.team-card {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    color: white;
    padding: 1.5rem;
}

.team-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.team-swiper .swiper-slide {
    width: 80%;
    height: 100%;
}

@media (min-width: 992px) {
    .team-card {
        height: 400px;
    }

    .team-swiper .swiper-slide {
        width: 300px;
    }

    .team-swiper .swiper-wrapper {
        transition-timing-function: linear !important;
    }
}
