/* ==========================================
   PLAYER PHOTO CAROUSEL
   ID: 590013e7
========================================== */

/* ==========================================
   GENERAL WRAPPER
========================================== */

.pc-590013e7-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* ==========================================
   MAIN CONTAINER
========================================== */

.pc-590013e7-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

/* ==========================================
   NAVIGATION AREAS
========================================== */

.pc-590013e7-nav-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
}

/* ==========================================
   CAROUSEL TRACK
========================================== */

.pc-590013e7-track-area {
    flex-grow: 1;
    min-width: 0;
    width: 100%;
}

.pc-590013e7-swiper {
    width: 100%;
    overflow: hidden;
}

.pc-590013e7-swiper .swiper-wrapper {
    display: flex;
}

/* ==========================================
   SLIDES
   (el ancho de cada slide lo calcula Swiper)
========================================== */

.pc-590013e7-slide {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    height: auto;
    position: relative;
}

/* El efecto hover solo en dispositivos con ratón (en el móvil se quedaba "pegado" al tocar) */
@media (hover: hover) {
    .pc-590013e7-slide:hover {
        transform: translateY(-5px);
    }
}

/* ==========================================
   ENLACE DE LA TARJETA
========================================== */

.pc-590013e7-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

a.pc-590013e7-link:hover .pc-590013e7-name,
a.pc-590013e7-link:hover .pc-590013e7-team {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   PLAYER IMAGE
========================================== */

.pc-590013e7-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.pc-590013e7-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   IMAGE GRADIENT
========================================== */

.pc-590013e7-img-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0) 100%
    );
    pointer-events: none;
}

/* ==========================================
   PLAYER INFORMATION
========================================== */

.pc-590013e7-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    text-align: center;
    z-index: 2;
}

.pc-590013e7-name {
    margin: 0 0 5px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.pc-590013e7-team {
    margin: 0;
    font-size: 1rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   NAVIGATION BUTTONS
========================================== */

.pc-590013e7-button-prev,
.pc-590013e7-button-next {
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background 0.2s, transform 0.2s;
    z-index: 20;
}

.pc-590013e7-button-prev:hover,
.pc-590013e7-button-next:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.05);
}

/* ==========================================
   TABLET (sin cambios en el diseño)
========================================== */

@media (max-width: 1024px) {

    .pc-590013e7-wrapper {
        padding: 15px;
    }

}

/* ==========================================
   MÓVIL
   Sin flechas: se desliza con el dedo.
   El carrusel ocupa todo el ancho y la foto queda centrada.
========================================== */

@media (max-width: 767px) {

    .pc-590013e7-wrapper {
        padding: 12px;
        max-width: 100%;
    }

    .pc-590013e7-container {
        display: block !important;
        gap: 0;
    }

    /* Se ocultan las zonas de las flechas (ya no ocupan espacio) */
    .pc-590013e7-nav-area {
        display: none !important;
    }

    .pc-590013e7-track-area {
        width: 100%;
    }

    .pc-590013e7-info {
        padding: 15px 10px;
    }

    .pc-590013e7-name {
        font-size: 1.2rem;
    }

    .pc-590013e7-team {
        font-size: 0.9rem;
    }

}