/*
Theme Name: JNews - Child Theme
Version: 1.0.0
Theme URI: http://themeforest.net/?ref=jegtheme
Description: A basic starter child theme for customization purpose of JNews theme.
Author: Jegtheme
Author URI: http://themeforest.net/user/jegtheme?ref=jegtheme
Template: jnews
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ------------------------------------------------------------------------- *
 *  Theme customization starts here
/* ------------------------------------------------------------------------- */

/* GENERACIÓN GP - PILOTOS PROTAGONISTAS */

.gp-pilotos-noticia {
    margin: 35px 0;
    padding: 24px;
    background: #f4f4f4;
    border-left: 5px solid #e60012;
    border-radius: 5px;
}

.gp-pilotos-noticia h2 {
    margin: 0 0 18px;
    color: #1c1c1c;
    font-size: 23px;
    font-weight: 700;
}

.gp-pilotos-noticia-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gp-pilotos-noticia-lista a {
    display: inline-block;
    padding: 10px 16px;
    background: #e60012;
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.gp-pilotos-noticia-lista a:hover {
    background: #b8000e;
    color: #ffffff;
}

/* GENERACIÓN GP - TARJETAS DE PILOTOS PROTAGONISTAS */

.gp-pilotos-noticia-lista {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.gp-pilotos-noticia-lista a.gp-protagonista-tarjeta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #1c1c1c;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gp-pilotos-noticia-lista a.gp-protagonista-tarjeta:hover {
    background: #333333;
    transform: translateY(-2px);
}

.gp-protagonista-foto {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 5px;
}

.gp-protagonista-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.gp-protagonista-nombre {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.gp-protagonista-dorsal {
    color: #dddddd;
    font-size: 13px;
}

.gp-protagonista-enlace {
    color: #ff3647;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .gp-pilotos-noticia-lista {
        grid-template-columns: 1fr;
    }

    .gp-protagonista-foto {
        width: 75px;
        height: 75px;
    }
}

	/* GENERACIÓN GP: CATEGORÍAS Y ESTADOS EN HORIZONTAL */

.gp-participacion-categorias {
    margin-top: 15px;
}

.gp-participacion-categoria {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f1f2f4;
    border-radius: 6px;
}

.gp-participacion-categoria p {
    margin: 0;
    font-size: 14px;
}

.gp-participacion-categoria p:last-child {
    text-align: right;
}

@media (max-width: 767px) {
    .gp-participacion-categoria {
        gap: 10px;
        padding: 10px;
    }

    .gp-participacion-categoria p {
        font-size: 12px;
    }
}