    /* Revista Impresa CSS */

        body {
            font-family: Arial, sans-serif;
            background-color: var(--color_whiteSmoke);
        }

        .page-wrapper {
            display: flex;
            flex-direction: column;
            min-height: calc(100vh - 60px);
        }

        .revista-header {
            background-color: var(--color_CornflowerBlue);
            text-align: center;
            padding: 15px 0;
            margin: 1.5rem auto 1.5rem auto;
            max-width: 1100px;
            width: 85%;
        }

        .revista-header h2 {
            /*color: var(--color_SteelBlue);*/
            font-size: 1.5em;
            font-weight: bold;
            margin: 0;
        }

        .decadas {
            background-color: var(--color_Giansboro);
            padding: 12px 0;
            text-align: center;
            margin: 0 auto 20px auto;
            max-width: 1100px;
            width: 85%;
        }

        .decadas span {
            margin-right: 15px;
            font-weight: 900;
        }

        .decadas a {
            color: #333;
            text-decoration: none;
            margin: 0 10px;
            padding: 5px 10px;
            border-radius: 3px;
            transition: background-color 0.3s;
            font-weight: 600;
        }

        .decadas a:hover {
            background-color: #5B9BD5;
            color: white;
        }
        
        .decadas a.activo {
            background-color: #2E5984;
            color: white;
        }

        .main-content {
            max-width: 1100px;
            margin: 0 auto;
            width: 85%;
            display: flex;
            gap: 20px;
            padding: 0;
            flex: 1;
        }

        .sidebar {
            width: 150px;
            /*background-color: var(--color_whiteSmoke);*/
            padding: 20px;
            /*border-radius: 5px;*/
            height: fit-content;
        }

        .sidebar h3 {
            font-size: 1.3em;
            margin-bottom: 15px;
            color: #000000;
        }

        .sidebar ul {
            list-style: none;
        }

        .sidebar li {
            margin-bottom: 8px;
        }

        .sidebar a {
            color: #000000;
            text-decoration: none;
            font-size: 1.3em;
            font-weight: 400;
        }

        .sidebar a:hover {
            color: #5B9BD5;
        }

        .content-area {
            flex: 1;
            background-color: var(--color_whiteSmoke);
            padding: 20px;
            border-radius: 5px;
        }

        .decada-section {
            margin: 30px 0 20px 0;
        }

        .decada-title {
            font-size: 1.8em;
            font-weight: bold;
            color: #2E5984;
            text-align: center;
            padding: 15px 0;
            border-bottom: 3px solid #5B9BD5;
            margin-bottom: 30px;
        }

        .volume-section {
            margin-bottom: 30px;
        }

        .volume-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #333;
        }

        /*.magazine-row {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }*/
        .magazine-row {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
        }

        .magazine-cover {
            width: 100%;
            border: 1px solid #ddd;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .magazine-cover:hover {
            transform: scale(1.05);
        }

        .mostrar-mas {
            text-align: right;
            margin-top: 20px;
            margin-bottom: 80px;
        }

        .mostrar-mas a {
            color: #5B9BD5;
            text-decoration: none;
            font-size: 14px;
        }
/*
        .footer {
            background-color: #2E5984;
            color: white;
            text-align: center;
            padding: 20px 0;
            margin-top: 50px;
        }
*/
/* =========================
   RESPONSIVE PARA CELULAR
========================= */
@media (max-width: 768px) {

    /* Contenedor principal en vertical */
    .main-content {
        flex-direction: column;
        width: 95%;
    }

    /* Sidebar pasa arriba y en horizontal */
    .sidebar {
        width: 100%;
        padding: 10px 0;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
    }

    .sidebar li {
        margin-bottom: 0;
    }

    .sidebar a {
        font-size: 16px;
        padding: 5px 8px;
        background: #e0e0e0;
        border-radius: 4px;
    }

    /* Área de contenido ocupa todo */
    .content-area {
        width: 100%;
        padding: 10px;
    }

    /* Títulos más chicos */
    .decada-title {
        font-size: 1.4em;
    }

    .volume-title {
        font-size: 15px;
    }

    /* Header y filtros */
    .revista-header,
    .decadas {
        width: 95%;
    }
    .decadas{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }

}
