/* ============================================================
   documento.css — Estilos compartidos · Páginas de documentos
   Usado por: ideario.php, estatuto.php, sintesis.php, reglamento.php
   ============================================================ */

/* ─── SECCIÓN PRINCIPAL ─── */
.documento-section {
    background: var(--gris-claro);
    padding: 70px 0 90px;
}

/* ─── INTRO BLOCK ─── */
.documento-intro {
    background: var(--azul);
    border-left: 5px solid var(--oro);
    padding: 1.6rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
.documento-intro i {
    font-size: 2.2rem;
    color: var(--oro);
    flex-shrink: 0;
    margin-top: 0.1rem;
}
.documento-intro p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}
.documento-intro strong { color: #fff; }

/* ─── PDF WRAPPER ─── */
.pdf-wrapper {
    background: #fff;
    border: 1px solid #e8e4dd;
    box-shadow: 0 8px 32px rgba(26, 58, 92, 0.1);
    overflow: hidden;
}
.pdf-toolbar {
    background: var(--azul);
    padding: 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.pdf-toolbar-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pdf-toolbar-title i {
    color: var(--oro);
    font-size: 1.1rem;
}
.pdf-toolbar-actions { display: flex; gap: 0.6rem; }

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--oro);
    color: var(--azul);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.btn-download:hover { background: #c49015; color: var(--azul); }

.btn-open-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.btn-open-tab:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.pdf-frame-wrap {
    position: relative;
    width: 100%;
    height: 78vh;
    min-height: 480px;
    background: #2b2b2b;
}
.pdf-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.pdf-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    gap: 1rem;
}
.pdf-fallback i {
    font-size: 3.5rem;
    color: rgba(212, 160, 23, 0.5);
}
.pdf-fallback p {
    font-size: 0.9rem;
    max-width: 340px;
    margin: 0;
    line-height: 1.7;
}

/* ─── INFO CARDS ─── */
.info-card {
    background: #fff;
    border: 1px solid #e8e4dd;
    padding: 1.6rem 1.8rem;
    height: 100%;
    border-top: 3px solid var(--azul);
}
.info-card i {
    font-size: 1.6rem;
    color: var(--oro);
    margin-bottom: 0.8rem;
    display: block;
}
.info-card h5 {
    font-family: var(--fuente-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 0.5rem;
}
.info-card p {
    font-size: 0.86rem;
    color: var(--gris-medio);
    line-height: 1.65;
    margin: 0;
}