.team-marquee {
    padding: 120px 0;
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>\<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='2' stitchTiles='stitch'/></filter>\<rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
}

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

.team-marquee-swiper .swiper-wrapper {
    display: flex;
    transition-timing-function: linear;
}

.team-marquee-swiper .swiper-slide {
    width: 280px; /* Ajusta según necesites */
    flex-shrink: 0;
}

.team-marquee-swiper .card {
    align-items: center;
}

.img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.role-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.role-name {
    margin-bottom: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.team-member-link {
    text-decoration: none;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 4.8px;
    margin-bottom: 8px;
}

.breadcrumb-title {
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
    margin-bottom: 47px;
}

.card-teams {
    border-radius: 160px;
    padding: 8px 8px 8px 32px;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bs-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-teams img {
    background-color: var(--bs-medium);
}

.card-teams .role-title {
    color: var(--bs-dark);
}

.role-wrapper {
    text-align: left;
    width: 70%;
}

.card-teams:not(.highlighted-card):hover {
    .info-role small {
        color: var(--bs-main-500);
    }

    .info-role svg {
        fill: var(--bs-main-500) !important;
    }

    img {
        background-color: var(--bs-main-500) !important;
    }
}

.card-teams.card-teams.highlighted-card:hover {
    .info-role small {
        color: var(--bs-secondary-500);
    }

    background-color: var(--bs-main-200);

    img {
        background-color: var(--bs-main-500) !important;
    }
}

.card-teams:not(.highlighted-card) .info-role svg {
    fill: var(--bs-dark);
}

.card-teams.highlighted-card {
    background-color: var(--bs-main-500);
    .info-role svg {
        fill: var(--bs-secondary-500);
    }
}

.card-teams .info-role {
    transition: all 0.3s ease;
}

.card-teams img {
    transition: all 0.3s ease;
}

.card-teams.highlighted-card img {
  background-color: var(--bs-main-200);
}

.card-teams.highlighted-card {
    .role-title {
        color : #195B61;
    }
}

/* --- Marquee Track Animation --- */
.team-marquee-swiper {
    overflow: hidden;
    position: relative;
}

.team-marquee-track {
    display: inline-flex;
    gap: 24px; /* coincide con tu .swiper-wrapper gap */
    animation: teamMarqueeScroll 45s linear infinite;
}

.team-marquee-item {
    flex-shrink: 0;
    width: 280px; /* igual que tu .swiper-slide */
}

/* Animación de desplazamiento continuo */
@keyframes teamMarqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}


@media screen and (max-width: 992px) {
    .team-marquee {
        padding: 48px 0;
    }

    .team-marquee-item {
        width: fit-content;
    }

    .team-marquee-track {
        gap: 8px;
    }

    .role-wrapper {
        width: 144px;
    }

    .role-name, .role-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .img-wrapper {
        width: 56px;
        height: 56px;
    }

    .team-marquee-swiper {
        height: 72px !important;
    }

    .card-teams {
        padding: 6px 8px 6px 24px;
    }

    .team-marquee-track {
        animation: teamMarqueeScroll 45s linear(0 0%, 1.18 24.26%) infinite;
    }
}