/* ---------------------------------- */
/* --- ESTILOS DE LA PÁGINA COMPLETA --- */
/* ---------------------------------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-image: url('IMG_0608.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff; /* Texto blanco para que resalte sobre el fondo oscuro */
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5em;
    letter-spacing: -1px;
    border-bottom: 3px solid #fff; /* Borde blanco para el título */
    display: inline-block;
    padding-bottom: 5px;
}

p {
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para que el texto sea legible */
    padding: 10px;
}

/* ----------------------------- */
/* --- GALERÍA Y DÍPTICOS --- */
/* ----------------------------- */
.gallery-container {
    /* CAMBIO CLAVE: Aumentamos el ancho máximo a 1200px (o el que prefieras) */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 40px;
}

.comic-entry {
    background-color: rgba(247, 247, 247, 0.9); /* Un fondo casi blanco y semi-transparente */
    color: #000; /* Texto negro para que se lea bien en la caja */
    border: 1px solid #000;
    box-shadow: 8px 8px 0px #aaa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comic-entry:hover {
    transform: translateY(-5px);
    box-shadow: 15px 15px 0px #888;
}

.diptych-images {
    display: flex;
    flex-wrap: nowrap;
    border-bottom: 1px solid #000;
}

.diptych-images img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    border-right: 1px solid #ddd;
}

.diptych-images img:last-child {
    border-right: none;
}

/* ----------------------------------- */
/* --- ESTILOS DE TRANSCRIPCIÓN --- */
/* ----------------------------------- */
.transcription {
    padding: 20px;
}

.transcription h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.transcription p {
    font-size: 0.9em;
    color: #333;
}

/* ---------------------- */
/* --- FOOTER Y OTROS --- */
/* ---------------------- */
footer {
    text-align: center;
    font-size: 0.8em;
    color: #fff; /* Texto del pie de página blanco */
    border: none;}