
/* ==========================================
   VIPRENSA - SECCIÓN DEPORTES
   ========================================== */

.vip-deportes {
    width: 100%;
    padding: 40px 20px 70px;
    
    box-sizing: border-box;
}

.deportes-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* ==========================================
   ENCABEZADO
   ========================================== */

.deportes-header {
    display: flex;
    align-items: left;
    justify-content: space-between;
    background: linear-gradient(
        90deg,
        #111cff,
        #0878f9
    );

    padding: 22px 28px;

    border-radius: 12px 12px 0 0;
}

.deportes-header h2 {
    margin: 0;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
}

.leer-mas {
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.leer-mas:hover {
    opacity: 0.7;
}


/* ==========================================
   NOTICIA PRINCIPAL
   ========================================== */

.deporte-principal {
    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    overflow: hidden;

    border-radius: 0 0 10px 10px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);

    margin-bottom: 30px;
}

.principal-texto {
    padding: 42px 40px;

    display: flex;
    flex-direction: column;
    justify-content: left;
}

.categoria {
    display: inline-block;

    color: #005cff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.principal-texto h1 {
    margin: 0 0 20px;

    color: #151515;

    font-family: Arial,Georgia, "Times New Roman", serif;

    font-size: 32px;
    
}

.principal-texto p {
    margin: 0 0 25px;

    color: #666;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;
   
}

.principal-imagen {
    min-height: 350px;
    overflow: hidden;
}

.principal-imagen img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.deporte-principal:hover
.principal-imagen img {
    transform: scale(1.04);
}


/* ==========================================
   BOTÓN
   ========================================== */

.boton-leer {
    display: inline-block;

    width: fit-content;

    padding: 11px 20px;

    background: #075cff;

    color: #ffffff;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;
    font-weight: 700;

    border-radius: 4px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.boton-leer:hover {
    background: #003fc2;
    transform: translateY(-2px);
}


/* ==========================================
   GRID DE NOTICIAS
   ========================================== */

.deportes-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


/* ==========================================
   TARJETAS
   ========================================== */

.deporte-card {
    background: #ffffff;

    border: 1px solid #dedede;

    overflow: hidden;

    border-radius: 5px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.deporte-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   IMAGEN DE TARJETA
   ========================================== */

.card-imagen {
    width: 100%;
    height: 180px;

    overflow: hidden;
}

.card-imagen img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.deporte-card:hover
.card-imagen img {
    transform: scale(1.05);
}


/* ==========================================
   CONTENIDO
   ========================================== */

.card-contenido {
    padding: 17px 16px 20px;
}

.card-contenido .categoria {
    margin-bottom: 8px;
}

.card-contenido h3 {
    margin: 0 0 12px;

    color: #171717;

    font-family: Arial, Georgia, "Times New Roman", serif;

    font-size: 19px;

    line-height: 1.1;
}

.card-contenido p {
    margin: 0 0 15px;

    color: #6c6c6c;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    
}



/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

    .deportes-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .principal-texto h1 {
        font-size: 28px;
    }

}


/* ==========================================
   MÓVILES
   ========================================== */

@media (max-width: 700px) {

    .vip-deportes {
        padding: 30px 12px 45px;
    }

    .deportes-header {
        padding: 18px 20px;
    }

    .deportes-header h2 {
        font-size: 25px;
    }

    .deporte-principal {
        grid-template-columns: 1fr;
    }

    .principal-imagen {
        min-height: 260px;
        order: -1;
    }

    .principal-texto {
        padding: 28px 24px 30px;
    }

    .principal-texto h1 {
        font-size: 26px;
    }

    .principal-texto p {
        font-size: 15px;
    }

    .deportes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card-imagen {
        height: 220px;
    }

}


/* ==========================================
   MÓVILES PEQUEÑOS
   ========================================== */

@media (max-width: 400px) {

    .deportes-header h2 {
        font-size: 22px;
    }

    .leer-mas {
        font-size: 11px;
    }

    .principal-texto {
        padding: 24px 20px;
    }

    .principal-texto h1 {
        font-size: 23px;
    }

    .card-imagen {
        height: 200px;
    }

}