/* ============================================
   Team Carousel - Styles
   ============================================ */

/* -- Swiper container -- */
.team-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    overflow: hidden;
    padding-bottom: 4px;
    position: relative;
    box-sizing: border-box;
}

.team-carousel .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    cursor: grab;
}

.team-carousel .swiper-wrapper:active {
    cursor: grabbing;
}

.team-carousel .swiper-slide {
    flex-shrink: 0;
    height: auto;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.team-carousel .swiper-slide-visible {
    opacity: 1;
}

.team-carousel.swiper-dragging * {
    user-select: none;
    -webkit-user-select: none;
}

/* ============================================
   TEAM CARD
   ============================================ */
.team-card {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
}

/* -- Photo -- */
.team-card__photo-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.team-card__photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo {
    transform: scale(1.03);
}

.team-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
}

/* -- Label badge -- */
.team-card__label {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #4a7c6f;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    border-radius: 8px;
    line-height: 1.3;
    white-space: nowrap;
}

/* -- Details (info + button) -- */
.team-card__details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    flex: 1;
}

/* -- Info -- */
.team-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-card__name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.team-card__position {
    font-size: 0.85rem;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.3;
}

/* -- Button -- */
.team-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #3a3a3a;
    border-radius: 24px;
    background: transparent;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
    margin-top: auto;
    cursor: pointer;
}

.team-card__btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

/* -- Responsive -- */
@media (max-width: 767px) {
    .team-card__details {
        padding: 16px;
    }

    .team-card__photo {
        height: 240px;
    }
}
