
/* ========================================
   PILOTOS HISTÓRICOS - F1 FANS
======================================== */

.historicos-page {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0 70px;
    color: #ffffff;
}

.historicos-intro {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
}

.historicos-intro h1 {
    color: #e10600;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 18px;
}

.historicos-intro p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.7;
}

.historicos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.historico-card {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.historico-card:hover {
    transform: translateY(-5px);
    border-color: #e10600;
}

/* IMAGEN Y PLACEHOLDER */

.historico-imagen {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #1b1b1b;
}

.historico-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1b1b1b;
    z-index: 1;
}

.historico-placeholder span {
    color: #e10600;
    font-size: 48px;
    font-weight: bold;
}

.historico-imagen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* CONTENIDO */

.historico-contenido {
    padding: 20px;
}

.historico-pais {
    color: #aaaaaa;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.historico-contenido h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.historico-titulos {
    color: #e10600;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
}

.historico-anos {
    color: #bbbbbb;
    font-size: 13px;
    margin-bottom: 15px;
}

/* DESPLEGABLE */

.historico-detalles {
    border-top: 1px solid #333333;
}

.historico-detalles summary {
    padding: 15px 0 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.historico-detalles summary:hover {
    color: #e10600;
}

.historico-info {
    padding-top: 15px;
    color: #cccccc;
    font-size: 13px;
    line-height: 1.7;
}

.historico-info strong {
    color: #ffffff;
}

/* TABLETS */

@media (max-width: 1000px) {
    .historicos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MÓVILES */

@media (max-width: 600px) {
    .historicos-page {
        width: 92%;
        padding-top: 25px;
    }

    .historicos-intro h1 {
        font-size: 25px;
    }

    .historicos-grid {
        grid-template-columns: 1fr;
    }

    .historico-imagen {
        height: 210px;
    }
}
