/* ============================================
   MULTIPLANETARIO - CSS ESPECÍFICO DEL CUENTO
   (SOLO CLASES QUE NO ESTÁN EN LAS HOJAS GLOBALES)
   ============================================ */

/* === PORTADA (100% ancho, título sobreimpreso) === */
.cover {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.cover-portrait {
    width: 100%;
    height: auto;
    display: block;
}

.cover h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    margin: 0;
    text-align: center;
    width: 90%;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.05em;
}

.cover-subtitle {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.1em;
}

.cover-scroll {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.15em;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === CAPÍTULOS === */
.capitulo h1 {
    font-size: 2em;
    text-align: center;
    letter-spacing: 4px;
    color: #ffb900;
    padding-bottom: 16px;
    margin-bottom: 20px;
    font-family: Georgia, Garamond, "Times New Roman", serif;
    background: #404040;
    background: linear-gradient(180deg, #171717, #404040);
}

.capitulo h1 a {
    color: #fff;
    font-size: 0.5em;
}

/* ============================================
   ACORDEONES UNIFICADOS
   ============================================ */

/* === ACORDEÓN ESTÁNDAR (entrevistas, capítulos) === */
.acordeon-item,
.acordeon-capitulo {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: 1px solid #333333;
    background: #2a2a2a;
    transition: box-shadow 0.3s;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.acordeon-item:hover,
.acordeon-capitulo:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Cabecera del acordeón - UNIFICADA */
.acordeon-item .acordeon-header,
.acordeon-capitulo .capitulo-header {
    cursor: pointer;
    padding: 1rem 1.5rem;
    background: #3a3a3a !important;  /* UNIFICADO */
    color: #e8e8e8 !important;
    border: none !important;
    user-select: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.acordeon-item .acordeon-header:hover,
.acordeon-capitulo .capitulo-header:hover {
    background: #4a4a4a !important;
}

.acordeon-item .acordeon-header .header-text,
.acordeon-capitulo .capitulo-header .header-text {
    flex: 1;
}

/* Indicador de apertura/cierre - UNIFICADO */
.acordeon-item .acordeon-header::after,
.acordeon-capitulo .capitulo-header::after {
    content: "\25B8";  /* ▸ */
    display: inline-block;
    transition: transform 0.3s;
    color: #aaaaaa !important;
    margin-left: auto;
    font-size: 1.8rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    text-align: center;
}

.acordeon-item .acordeon-header.abierto::after,
.acordeon-capitulo .capitulo-header.abierto::after {
    content: "\25BE";  /* ▾ */
}

.acordeon-item .acordeon-header.cerrado::after,
.acordeon-capitulo .capitulo-header.cerrado::after {
    content: "\25B8";  /* ▸ */
}

.acordeon-item .acordeon-header::before,
.acordeon-capitulo .capitulo-header::before {
    content: none;
}

/* Contenido del acordeón - UNIFICADO */
.acordeon-item .acordeon-contenido,
.acordeon-capitulo .capitulo-contenido {
    display: none;
    padding: 2rem 2.5rem;
    background: #4a4a4a !important;  /* UNIFICADO */
    border-top: 1px solid #555555;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    color: #e8e8e8;
}

/* ============================================
   ACORDEÓN BIBLIOTECA (estilo especial)
   ============================================ */
.acordeon-biblioteca {
    margin-bottom: 2em;
    width: 100%;
    box-sizing: border-box;
    display: block;
    border: 1px solid #3a3228;
    background: #2a2218;
    transition: box-shadow 0.3s;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.acordeon-biblioteca:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.acordeon-biblioteca .acordeon-header {
    cursor: pointer;
    padding: 1rem 1.5rem;
    background: #5a4a2a;
    color: #f0e8d8 !important;
    border: none !important;
    user-select: none;
    font-family: 'Georgia', 'Times New Roman', serif;
    transition: background 0.3s;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.acordeon-biblioteca .acordeon-header:hover {
    background: #6a5a3a;
}

.acordeon-biblioteca .acordeon-header .header-text {
    flex: 1;
}

.acordeon-biblioteca .acordeon-header::after {
    content: "\25B8";
    display: inline-block;
    transition: transform 0.3s;
    color: #d0c8b8 !important;
    margin-left: auto;
    font-size: 1.4rem;
    line-height: 1;
}

.acordeon-biblioteca .acordeon-header.abierto::after {
    content: "\25BE";
}

.acordeon-biblioteca .acordeon-header.cerrado::after {
    content: "\25B8";
}

.acordeon-biblioteca .acordeon-contenido {
    display: none;
    padding: 2rem 2.5rem;
    background: #3a3228;
    border-top: 2px solid #4a3a2a;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #e8ddd0;
}

/* ============================================
   SOPORTE PARA ESTILO TERMINAL (entrevistas)
   ============================================ */
.entrevistas-container .acordeon-item .acordeon-header {
    background: #1a0a00 !important;
    color: #00ff41 !important;
    font-family: 'Courier New', monospace;
}

.entrevistas-container .acordeon-item .acordeon-header:hover {
    background: #2a1a00 !important;
}

.entrevistas-container .acordeon-item .acordeon-header::after {
    color: #00ff41 !important;
}

.entrevistas-container .acordeon-item .acordeon-contenido {
    background: #0a0a0a !important;
    color: #00ff41 !important;
    font-family: 'Courier New', monospace;
}

.entrevistas-container .acordeon-item .terminalquestion {
    color: #00ff41 !important;
    margin: 15px 0 5px 0;
    word-wrap: break-word;
}

.entrevistas-container .acordeon-item .terminalanswer {
    color: #4ecdc4 !important;
    margin: 5px 0 15px 20px;
    padding-left: 10px;
    border-left: 2px solid #4ecdc4;
    word-wrap: break-word;
}

.entrevistas-container .acordeon-item .last-line {
    margin-bottom: 0;
}

.entrevistas-container .acordeon-item .blink-cursor {
    animation: blink 1s step-end infinite;
    display: inline-block;
    color: #00ff41;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.entrevistas-container .acordeon-item p {
    color: #cccccc !important;
    margin: 10px 0;
    line-height: 1.6;
    word-wrap: break-word;
    max-width: 90%;
    box-sizing: border-box;
}

/* ============================================
   PREGÓN
   ============================================ */
.pregon {
    background: #ede6d8;
    padding: 3rem 4rem;
    margin: 2.5rem 0;
    color: #1e1e1e;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-radius: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
}

.pregon-titulo {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0a0a0a;
}

.pregon-texto {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e1e1e;
}

.pregon-texto p {
    margin: 0.9rem 0;
    text-indent: 0;
}

.pregon-texto .pregon-anuncio {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    text-indent: 0;
    letter-spacing: 2px;
    color: #0a0a0a;
    margin: 1.8rem 0;
    padding: 1rem 0;
    border-top: 2px solid #d0d0d0;
    border-bottom: 2px solid #d0d0d0;
}

.pregon-texto ul {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.pregon-texto ul li {
    padding: 0.4rem 0 0.4rem 1.8rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.pregon-texto ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    top: 0.4rem;
    color: #2a6f97;
    font-size: 1rem;
}

.pregon-firma {
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 2px solid #e0e0e0;
    text-align: right;
    font-size: 0.95rem;
}

.pregon-firma p {
    margin: 0.2rem 0;
    color: #3a3a3a;
}

.pregon-firmantes {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    color: #0a0a0a;
}

.pregon-encabezado {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 0 auto 2rem auto;
}

.pregon-encabezado .center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pregon-encabezado img {
    display: block;
    max-width: 120px;
    height: auto;
    margin: 0 auto 0.5rem auto;
    opacity: 0.9;
}

/* ============================================
   DOCUMENTO
   ============================================ */
.documento {
    background: #f5f0e8;
    padding: 10px 80px 60px 80px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #1a1a1a;
    width: 100%;
    margin-bottom: 2em;
}

.documento h1, .documento h2, .documento h3, .documento h4, .documento h5, .documento h6,
.documento p, .documento strong, .documento .doc-parte, .documento .direccion,
.documento .doc-title, .documento .doc-subtitle {
    color: #1a1a1a;
}

.documento .doc-fecha, .documento .doc-firma p:first-child {
    color: #555;
}

.documento .doc-divider {
    color: #999;
    border-color: #ccc;
}

.documento .campo {
    border-bottom-color: #999;
}

.documento .doc-title small {
    color: #555;
}

.doc-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 6px;
    text-transform: uppercase;
    border-bottom: 2px solid #8aaa8a;
    padding-bottom: 20px;
    margin: 30px 0 20px;
}

.doc-title small {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: none;
    margin-top: 8px;
}

.doc-subtitle {
    text-align: center;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 30px 0 20px;
}

.doc-fecha {
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
}

.doc-parte {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 25px 0 5px;
}

.doc-compra {
    margin-top: 25px;
}

.doc-divider {
    margin: 30px 0 20px;
    text-align: center;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 12px 0;
}

.campo {
    display: inline-block;
    min-width: 150px;
    border-bottom: 1px dotted #666;
    padding: 0 10px;
}

.direccion {
    display: block;
    padding-left: 20px;
    margin: 2px 0;
    font-size: 13px;
}

/* ============================================
   IMAGENES Y ALINEACIÓN
   ============================================ */
.cuadl {
    float: left;
    max-width: 350px;
    height: auto;
    margin: 0 1.5rem 0.5rem 0;
}

.imagenes-dobles {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.imagenes-dobles img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* === PILARES === */
.pilares {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 25px;
    margin: 20px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(136, 170, 136, 0.3);
    border-bottom: 1px solid rgba(136, 170, 136, 0.3);
}

.pilares a {
    color: #d4a843;
    text-decoration: none;
    white-space: nowrap;
}

.pilares a:hover {
    color: #f0d080;
}

/* === QUOTES === */
.quote-generic {
    display: block;
    font-style: italic;
    color: #cccccc;
    border: 5px solid #d4c5a9;
    padding: 0.5rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    background: #353535;
}

.quote-generic .author {
    display: block;
    text-align: right;
    font-style: normal;
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* === REFERENCIAS ANTIGUAS === */
.soporte {
    margin: 1.5rem 0;
    padding: 2rem 2.5rem;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.soporte-texto {
    font-size: 1.15rem;
    line-height: 1.7;
    font-style: italic;
    padding: 1.2rem 1.8rem;
    border-radius: 0 8px 8px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.soporte-autor {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
    color: inherit;
    opacity: 0.8;
}

/* PAPIRO */
.soporte.papiro {
    background: #d4c9a8;
    background-image: repeating-linear-gradient(0deg, rgba(180, 160, 120, 0.15) 0px, rgba(180, 160, 120, 0.15) 2px, transparent 2px, transparent 6px);
    border: 8px solid #b8a88a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 0 30px rgba(120, 100, 60, 0.2);
    color: #3a3228;
}
.soporte.papiro .soporte-texto {
    background: rgba(245, 240, 220, 0.5);
    border-left: 4px solid #a09070;
    color: #2a2218;
}

/* ARCILLA */
.soporte.arcilla {
    background: #b8a088;
    background-image: repeating-linear-gradient(45deg, rgba(160, 130, 100, 0.2) 0px, rgba(160, 130, 100, 0.2) 3px, transparent 3px, transparent 8px);
    border: 10px solid #8a7a62;
    border-style: double;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 0 40px rgba(80, 60, 40, 0.15);
    color: #3a2a1a;
}
.soporte.arcilla .soporte-texto {
    background: rgba(200, 180, 160, 0.4);
    border-left: 4px solid #7a6a52;
    color: #2a1a0a;
}

/* PERGAMINO */
.soporte.pergamino {
    background: #e8ddd0;
    background-image: repeating-linear-gradient(0deg, rgba(180, 160, 140, 0.1) 0px, rgba(180, 160, 140, 0.1) 1px, transparent 1px, transparent 4px);
    border: 6px solid #c8b8a0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(180, 160, 130, 0.2);
    color: #2a2218;
}
.soporte.pergamino .soporte-texto {
    background: rgba(245, 240, 230, 0.5);
    border-left: 4px solid #b8a890;
    color: #1a1610;
}

/* VITELA */
.soporte.vitela {
    background: #f0ece4;
    background-image: radial-gradient(ellipse at 20% 30%, rgba(200, 190, 175, 0.2) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(200, 190, 175, 0.15) 0%, transparent 40%);
    border: 4px solid #c8c0b0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 0 30px rgba(200, 190, 170, 0.15);
    color: #1a1612;
}
.soporte.vitela .soporte-texto {
    background: rgba(245, 242, 235, 0.5);
    border-left: 4px solid #b8b0a0;
    color: #1a1610;
}

/* PALMA */
.soporte.palma {
    background: #c4b090;
    background-image: repeating-linear-gradient(90deg, rgba(160, 130, 90, 0.15) 0px, rgba(160, 130, 90, 0.15) 1px, transparent 1px, transparent 12px);
    border: 6px solid #8a7a5a;
    border-style: groove;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 0 25px rgba(120, 100, 60, 0.15);
    color: #2a1a0a;
}
.soporte.palma .soporte-texto {
    background: rgba(200, 180, 155, 0.4);
    border-left: 4px solid #7a6a4a;
    color: #1a0a00;
}

/* SEDA */
.soporte.seda {
    background: #e8ddd0;
    background-image: radial-gradient(circle at 30% 40%, rgba(200, 180, 160, 0.15) 0%, transparent 60%), radial-gradient(circle at 70% 60%, rgba(200, 180, 160, 0.1) 0%, transparent 50%);
    border: 6px solid #b8a890;
    border-style: double;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), inset 0 0 30px rgba(180, 160, 130, 0.1);
    color: #2a2218;
}
.soporte.seda .soporte-texto {
    background: rgba(245, 240, 230, 0.5);
    border-left: 4px solid #a09078;
    color: #1a1610;
}

/* PAPEL */
.soporte.papel {
    background: #f5f0e8;
    background-image: repeating-linear-gradient(0deg, rgba(180, 170, 155, 0.08) 0px, rgba(180, 170, 155, 0.08) 1px, transparent 1px, transparent 3px);
    border: 4px solid #d0c8b8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(200, 190, 175, 0.1);
    color: #1a1612;
}
.soporte.papel .soporte-texto {
    background: rgba(250, 248, 242, 0.5);
    border-left: 4px solid #c0b8a8;
    color: #1a1610;
}

/* === BURBUJAS DE DIÁLOGO === */
.bubble {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 0;
    color: #fff;
}

.bubble .avatar {
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
    border: 4px solid #fff;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bubble .message {
    position: relative;
    padding: 10px 16px;
    background: #737373;
    border-radius: 16px 16px 16px 0;
    border: 6px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bubble .name {
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    display: block;
    text-transform: uppercase;
}

.bubble .dialog-text {
    display: block;
    font-weight: 400;
}

.bubble.even {
    flex-direction: row-reverse;
}

.bubble.even .message {
    background: #7a5030;
    border-radius: 16px 16px 0 16px;
}

/* === ENTREVISTA === */
.entrevista {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(136, 170, 136, 0.2);
    padding: 25px 30px;
    margin: 20px 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.entrevista:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent, #8aaa8a);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.entrevista .foto {
    flex: 0 0 auto;
    width: 350px;
    max-width: 40%;
}

.entrevista .foto img {
    width: 100%;
    height: auto;
    display: block;
    border: 3px solid var(--accent, #8aaa8a);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.entrevista .foto img:hover {
    transform: scale(1.02);
}

.entrevista .curriculum {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.entrevista .curriculum p {
    margin: 8px 0;
    padding: 6px 0;
    border-bottom: 1px solid rgba(136, 170, 136, 0.15);
    line-height: 1.6;
    color: #c8c8c8;
}

.entrevista .curriculum p:last-child {
    border-bottom: none;
}

.entrevista .curriculum strong {
    display: inline-block;
    min-width: 120px;
    color: var(--accent, #8aaa8a);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* === TERMINAL === */
.terminalquestion {
    color: #00ccff;
    margin: 12px 0 6px 0;
    font-family: 'Courier New', monospace;
}

.terminalanswer {
    color: #00ff88;
    margin: 6px 0 12px 20px;
    padding-left: 10px;
    border-left: 2px solid #2a4a3a;
    font-family: 'Courier New', monospace;
}

.terminalanswer.last-line {
    margin-bottom: 0;
}

.terminalquestion.last-line {
    margin-bottom: 0;
}

.blink-cursor {
    display: none;
    animation: blink 1s step-end infinite;
    color: #7bc87b;
    margin-left: 2px;
    font-weight: 400;
}

.last-line .blink-cursor {
    display: inline-block;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .cover h1 {
        font-size: 2.5rem;
    }
    .cover-subtitle {
        font-size: 1rem;
        bottom: 25%;
    }
    .cover-scroll {
        font-size: 0.7rem;
        bottom: 8%;
    }
    
    .acordeon-item .acordeon-contenido,
    .acordeon-capitulo .capitulo-contenido,
    .acordeon-biblioteca .acordeon-contenido {
        padding: 1.2rem 1.2rem;
    }
    
    .acordeon-contenido h1,
    .capitulo-contenido h1 {
        font-size: 1.5rem;
    }
    
    .acordeon-biblioteca .acordeon-header {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .imagenes-dobles {
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
    }
    
    .imagenes-dobles img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .entrevista {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .entrevista .foto {
        width: 100%;
        max-width: 350px;
    }
    
    .entrevista .curriculum p {
        text-align: center;
    }
    
    .entrevista .curriculum strong {
        display: block;
        min-width: unset;
        font-size: 0.8rem;
        margin-bottom: 2px;
    }
    
    .bubble .avatar {
        width: 44px;
        height: 44px;
        border-width: 2px;
    }
    
    .bubble .message {
        padding: 8px 14px;
        font-size: 0.9rem;
        max-width: 78%;
        border-width: 5px;
    }
    
    .pilares {
        flex-direction: column;
        gap: 8px;
    }
    
    .pilares a {
        white-space: normal;
    }
    
    .pregon {
        padding: 1.5rem 1.8rem;
    }
    
    .pregon-titulo {
        font-size: 1.6rem;
        letter-spacing: 4px;
    }
    
    .pregon-texto {
        font-size: 0.95rem;
    }
    
    .documento {
        padding: 10px 40px 40px 40px;
    }
}

@media (max-width: 480px) {
    .cover h1 {
        font-size: 1.8rem;
    }
    .cover-subtitle {
        font-size: 0.8rem;
        bottom: 22%;
    }
    
    .entrevista {
        padding: 15px;
        gap: 15px;
    }
    
    .entrevista .foto {
        max-width: 280px;
    }
    
    .entrevista .curriculum p {
        font-size: 0.9rem;
        padding: 4px 0;
    }
    
    .entrevista .curriculum strong {
        font-size: 0.75rem;
    }
    
    .bubble .avatar {
        width: 38px;
        height: 38px;
        border-width: 1.5px;
    }
    
    .bubble .message {
        padding: 6px 12px;
        font-size: 0.85rem;
        max-width: 75%;
        border-width: 4px;
    }
    
    .soporte {
        padding: 1rem 1.2rem;
    }
    
    .soporte-texto {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .pregon {
        padding: 1rem 1.2rem;
    }
    
    .pregon-titulo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .pregon-texto {
        font-size: 0.85rem;
    }
    
    .pregon-texto ul li {
        font-size: 0.9rem;
        padding-left: 1.6rem;
    }
    
    .pregon-firmantes {
        gap: 1.5rem;
        font-size: 0.95rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .documento {
        padding: 10px 20px 30px 20px;
    }
    
    .doc-title {
        font-size: 20px;
        letter-spacing: 4px;
    }
    
    .doc-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
    }
}