
/* ========================================
   TEMPORADAS - F1 FANS
======================================== */

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

/* INTRODUCCIÓN */

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

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

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

/* LISTADO DE DÉCADAS */

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

/* TARJETAS */

.temporada-decada {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.temporada-decada:hover {
    border-color: #e10600;
}

.temporada-decada-cabecera {
    padding: 25px;
}

.temporada-periodo {
    display: inline-block;
    color: #e10600;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
}

.temporada-decada-cabecera h2 {
    color: #ffffff;
    font-size: 23px;
    margin: 0 0 12px;
    font-weight: bold;
}

.temporada-decada-cabecera p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* DESPLEGABLE */

.temporada-decada-detalles {
    border-top: 1px solid #292929;
}

.temporada-decada-detalles summary {
    padding: 16px 25px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

/* AÑOS */

.temporada-anios {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 0 25px 22px;
}

.temporada-anio {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    background: #222222;
    border: 1px solid #333333;
    border-radius: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

/* TABLETS */

@media (max-width: 900px) {
    .temporadas-listado {
        grid-template-columns: 1fr;
    }
}

/* MÓVILES */

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

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

    .temporada-decada-cabecera {
        padding: 20px;
    }

    .temporada-anios {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0 20px 20px;
    }
}
