/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #222; /* Fondo oscuro para resaltar la hoja */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* LA HOJA EDITORIAL */
.magazine-page {
    background-color: #fff;
    max-width: 800px;
    padding: 50px;
    border: 1px solid #000;
    box-shadow: 10px 10px 0px #000;
}

/* CABECERA */
.header h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 0.85;
    margin-bottom: 10px;
    color: #000;
}

.subtitle {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.divider-heavy {
    height: 10px;
    background-color: #000;
    margin-bottom: 25px;
}

/* LAS VENTANAS CON COLOR (Inspiradas en la foto) */
.nav-windows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
    border: 2px solid #000;
}

.window {
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 12px 5px;
    text-align: center;
    border: 1px solid #000;
    
    /* Color Gris Industrial de los lockers/concreto */
    background-color: #4a4d4e; 
    color: #fff;
    transition: all 0.2s ease;
}

.window:hover {
    background-color: #333; /* Gris más oscuro */
}

/* VENTANA ACTIVA: Usando el Rojo de la cita/vandalismo */
.window.active {
    background-color: #d92323; 
    color: #fff;
}

/* IMAGEN */
.hero-figure { margin-bottom: 30px; }
.hero-figure img {
    width: 100%;
    border: 1px solid #000;
    filter: grayscale(100%);
    display: block;
}

figcaption {
    text-align: right;
    font-size: 0.7rem;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
}

/* TEXTO Y CITA */
.content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.main-quote {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.25rem;
    padding: 20px;
    margin: 30px 0;
    border-left: 6px solid #d92323; /* Rojo exacto */
    background-color: #f9f9f9;
}
/* RESPONSIVE: Tablets y Móviles */
@media (max-width: 768px) {
    body {
        padding: 15px 10px; /* Menos margen exterior */
    }

    .magazine-page {
        padding: 30px 20px; /* Reducimos el padding de 50px */
        box-shadow: 6px 6px 0px #000; /* Sombra más discreta */
    }

    /* Ajuste de Títulos */
    .header h1 {
        font-size: 2.5rem; /* El 3.5rem original se saldría de la pantalla */
        line-height: 1;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    /* Reconfiguración de la Barra de Navegación */
    .nav-windows {
        grid-template-columns: repeat(2, 1fr); /* De 4 columnas a 2x2 */
    }

    .window {
        font-size: 0.7rem;
        padding: 15px 5px; /* Más área de toque para dedos */
    }

    /* Cuerpo de texto y citas */
    .content p {
        font-size: 1rem; /* Texto ligeramente más pequeño para lectura cómoda */
        line-height: 1.5;
    }

    .main-quote {
        font-size: 1.1rem;
        margin: 20px 0;
        padding: 15px;
    }

    figcaption {
        text-align: left; /* En móvil se lee mejor a la izquierda */
        font-size: 0.65rem;
    }
}

/* Ajuste extra para teléfonos muy pequeños (iPhone SE, etc.) */
@media (max-width: 380px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .nav-windows {
        grid-template-columns: 1fr; /* Una sola columna si el espacio es crítico */
    }
}