/* ==========================================
   FALKNER.CSS - Identidad Institucional
   ========================================== */

:root {
    --color-principal: #000000;
    --color-secundario: #4a4a4a;
    --color-fondo: #ffffff;
    --color-acento: #8e7341; /* Oro Viejo */
}

/* --- Base y Tipografía --- */
body {
    background-color: var(--color-fondo);
    color: var(--color-principal);
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* --- Navegación --- */
.nav-institucional {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-institucional ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-institucional ul li a {
    text-decoration: none;
    color: var(--color-principal);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-institucional ul li a:hover {
    color: var(--color-acento);
}

/* --- Header Principal (Página de Inicio) --- */
.header-falkner {
    padding: 60px 20px;
    background-color: #fdfdfd;
    text-align: center;
    border-top: 5px solid var(--color-acento);
    border-bottom: 1px solid #eee;
}

.contenedor-logo img {
    width: 160px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin: 0 auto 20px auto;
}

.titulo-principal {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin: 0;
}

.subtitulo-universidad {
    font-size: 1rem;
    color: var(--color-acento);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 10px;
}

.lema-instituto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #666;
    max-width: 650px;
    margin: 25px auto 0 auto;
}

/* --- Cuerpo de Documentos (Estatutos y Proyectos) --- */
.documento-contenedor, main {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 60px;
    background-color: #fff;
}

/* Encabezados internos de cada página */
.header-documento {
    text-align: center;
    margin-bottom: 50px;
}

.inst-nombre-mini {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    letter-spacing: 1px;
}

.inst-universidad-mini {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-top: 5px;
}

.titulo-seccion {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;      /* Grande y elegante */
    color: var(--color-acento); /* Oro Viejo para jerarquía máxima */
    margin-top: 15px;
    line-height: 1.2;
    text-align: center;
}

.decoracion-oro {
    width: 60px;
    height: 1px;
    background-color: var(--color-acento);
    margin: 20px auto;
}

/* --- Estilos de Contenido --- */
.seccion-proyectos {
    margin-bottom: 60px;
}

.titulo-megaproyecto {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #000;
    margin: 40px 0 25px 0;
    border-bottom: 1px solid var(--color-acento);
    padding-bottom: 10px;
}

.texto-introductorio p, .articulo p {
    font-weight: 300;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 20px;
}

/* Listas de Enlaces y Proyectos */
.enlaces-proyectos, .lista-concluidos {
    list-style: none;
    padding-left: 0;
}

.enlaces-proyectos li, .lista-concluidos li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 2px solid #eee;
}

.enlaces-proyectos a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
}

.enlaces-proyectos a:hover {
    color: var(--color-acento);
}

/* Fichas PUG */
.fuente-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #f0f0f0;
}

.btn-edicion, .links-flex a {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-acento);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 15px;
}

/* Estatutos: Estilo de "Art. X" */
.articulo span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #000;
    margin-right: 10px;
    border-bottom: 1px solid var(--color-acento);
}

/* --- Footer --- */
.footer-falkner {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 100px;
}

.linea-decorativa-footer {
    width: 40px;
    height: 2px;
    background-color: var(--color-acento);
    margin: 0 auto 30px auto;
}

.footer-email {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

.footer-institucion {
    margin-top: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
}/* ==========================================
   FALKNER.CSS - Identidad Institucional
   ========================================== */

:root {
    --color-principal: #000000;
    --color-secundario: #4a4a4a;
    --color-fondo: #ffffff;
    --color-acento: #8e7341; /* Oro Viejo */
}

/* --- Base y Tipografía --- */
body {
    background-color: var(--color-fondo);
    color: var(--color-principal);
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* --- Navegación --- */
.nav-institucional {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-institucional ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-institucional ul li a {
    text-decoration: none;
    color: var(--color-principal);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-institucional ul li a:hover {
    color: var(--color-acento);
}

/* --- Header de Documentos (Proyectos) --- */
.header-documento {
    text-align: center;
    margin-bottom: 50px;
}

/* 1. Nuevo estilo para el Logo Centrado */
.logo-centrado {
    width: 140px; /* Tamaño equilibrado */
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
}

.inst-nombre-mini {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; /* Aumentado ligeramente para dar jerarquía */
    color: var(--color-acento); /* Recuperado el Oro Viejo */
    margin: 0;
}

.inst-universidad-mini {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secundario);
    margin-top: 5px;
}

.decoracion-oro {
    width: 60px;
    height: 1px;
    background-color: var(--color-acento);
    margin: 25px auto;
}

/* --- Cuerpo de Documentos --- */
.documento-contenedor, main {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px 60px;
    background-color: #fff;
}

/* --- Estilos de Contenido y Proyectos --- */
.seccion-proyectos {
    margin-bottom: 40px;
}

.titulo-megaproyecto {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #000;
    margin: 40px 0 25px 0;
    border-bottom: 1px solid var(--color-acento);
    padding-bottom: 10px;
}

.texto-introductorio p {
    font-weight: 300;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 20px;
}

/* 3. Divisor para distinguir grupos de proyectos */
.divisor-oro {
    border: 0;
    border-top: 1px solid var(--color-acento);
    width: 30%;
    margin: 60px auto;
    opacity: 0.4;
}

/* Listas de Enlaces */
.enlaces-proyectos {
    list-style: none;
    padding-left: 0;
}

.enlaces-proyectos li {
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 2px solid var(--color-acento); /* Oro viejo en lugar de gris */
}

.enlaces-proyectos a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    transition: color 0.3s;
}

.enlaces-proyectos a:hover {
    color: var(--color-acento);
}

/* Fichas PUG */
.fuente-item {
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 3px solid #f4f4f4;
}

.fuente-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.btn-edicion, .links-flex a {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-acento);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 20px;
}

/* 4. Sección de Proyectos Concluidos al final */
.enlace-historico {
    margin-top: 80px;
    padding: 40px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    text-align: center;
}

.enlace-historico p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.link-concluidos {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-acento);
    text-decoration: none;
    border: 1px solid var(--color-acento);
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.link-concluidos:hover {
    background-color: var(--color-acento);
    color: #ffffff;
}

/* --- Footer --- */
.footer-falkner {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 100px;
}

.linea-decorativa-footer {
    width: 40px;
    height: 2px;
    background-color: var(--color-acento);
    margin: 0 auto 30px auto;
}

.footer-email {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
    font-weight: 700;
}

/* Ajuste para separar la explicación de los links */
.texto-introductorio {
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0; /* Una base muy clara */
    padding-bottom: 25px;
}

.lista-recursos h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-acento); /* Oro viejo */
    margin-bottom: 20px;
}

/* --- ESTILO FAULKNER: INVESTIGACIÓN Y CRONOLOGÍA (CORREGIDO) --- */

:root {
    --azul-faulkner: #1a2a3a;
    --burgundy-faulkner: #800020; /* Tu color borgoña */
    --gris-suave: #f8f9fa;
    --borde: #e0e0e0;
}

.bloque-cronologico {
    margin-bottom: 3rem; 
    clear: both; /* Evita que los elementos se superpongan */
}

.titulo-epoca {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--color-principal);
    border-bottom: 1px solid var(--color-acento); /* Línea Oro Viejo */
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.hito-historico {
    padding-left: 20px;
    border-left: 2px solid #eee; /* Línea sutil lateral */
    margin-bottom: 20px;
}

.hito-historico strong {
    color: var(--color-acento); /* Las fechas o nombres en Oro */
    font-family: 'Playfair Display', serif;
}

/* --- NUEVOS ESTILOS EXCLUSIVOS PARA DOCUMENTOS CON MEMBRETE SUPERIOR --- */

/* Esto solo afectará a la nueva página de Cronología */
.membrete-superior {
    padding: 15px 40px;
    background-color: #ffffff;
    text-align: left;
}

.membrete-superior .inst-nombre-mini {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem !important; /* El !important asegura que ignore el tamaño grande anterior */
    color: var(--color-secundario);
    margin: 0;
    font-weight: 700;
}

.membrete-superior .inst-universidad-mini {
    font-size: 0.65rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin: 0;
}

/* Estilo para el título de la cronología que ya no se superpone */
.bloque-cronologico {
    margin-bottom: 3.5rem;
    clear: both;
}

.titulo-epoca {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--color-principal);
    border-bottom: 1px solid var(--color-acento);
    padding-bottom: 8px;
    margin-bottom: 25px;
}

/* ==========================================================================
   ÁMBITO: VITA FUNCTI (Catálogo de Difuntos)
   ========================================================================== */

/* Navegador de meses con estilo de "Ficha de Archivo" */
.indice-meses {
    text-align: center;
    margin: 40px auto 60px auto;
    padding: 30px 10px;
    background-color: #fdfdfd;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-width: 90%;
}

.fila-meses {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; 
    margin-bottom: 15px;
}

.fila-meses:last-child {
    margin-bottom: 0;
}

.indice-meses a {
    text-decoration: none;
    color: #777; 
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.indice-meses a:hover {
    color: var(--color-acento); 
    border-bottom: 1px solid var(--color-acento);
    background-color: #f9f9f9;
}

/* Títulos de Mes y Día */
.titulo-mes-encabezado {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    color: var(--color-principal);
    margin: 80px 0 40px 0;
    text-transform: capitalize;
}

.fecha-dia {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--color-acento);
    border-bottom: 1px solid #f0f0f0;
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
}


