/* Contenedor principal */
.wp-clubpro-basketball-videos-container {
    font-family: 'Arial', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Grid de videos - una sola columna */
.basketball-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Tarjeta de video - diseño horizontal */
.basketball-video-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.basketball-video-card:hover {
    transform: translateY(-5px);
}

/* Parte izquierda (video) */
.basketball-video-card-left {
    flex: 0 0 45%;
    position: relative;
    min-height: 250px;
}

.basketball-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.basketball-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.basketball-play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.basketball-play-video-btn svg {
    fill: #fff;
    width: 30px;
    height: 30px;
}

.basketball-play-video-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Parte derecha (contenido) */
.basketball-video-card-right {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.basketball-event-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.basketball-league-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
}

.basketball-event-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #333;
    flex: 1;
}

/* Información de equipos */
.basketball-teams-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.basketball-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.basketball-team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.basketball-team span {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}




.basketball-scores-table {
    width: 100%;
    border-collapse: collapse;
}

.basketball-scores-table td {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.basketball-scores-table td:first-child {
    font-weight: bold;
    color: #666;
    width: 40%;
}

.basketball-scores-table td:last-child {
    text-align: right;
    color: #333;
}

/* Paginación */
.basketball-pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.basketball-pagination-container .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.basketball-pagination-container .page-numbers.current {
    background-color: #1e73be;
    color: white;
    border-color: #1e73be;
}

.basketball-pagination-container .page-numbers:hover:not(.current) {
    background-color: #f1f1f1;
}

/* Responsive */
@media (max-width: 768px) {
    .basketball-video-card {
        flex-direction: column;
    }
    
    .basketball-video-card-left {
        flex: 0 0 auto;
        min-height: 200px;
    }
    
    .basketball-team span {
        font-size: 14px;
    }
    
    .basketball-score-total {
        font-size: 24px;
    }
}

/* Estilos del modal (se mantienen igual) */
.basketball-video-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.basketball-video-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.basketball-video-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    padding: 10px 0;
    text-align: center;
}

.basketball-modal-site-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    z-index: 1;
}

.basketball-video-modal-close {
    position: absolute;
    right: 0;
    top: 10px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.basketball-video-modal-body h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.basketball-video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.basketball-video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}