/* ============================================================
   FALKNER-BE.CSS
   Ajustes específicos para el Boletín de Espiritualidad
   ============================================================ */

/* 1. AJUSTE DE TAMAÑO DEL AÑO (Título de sección) 
   Lo hacemos más pequeño y elegante que el mes de los difuntos */
.mes-contenedor .titulo-mes-encabezado {
    font-size: 1.6rem !important;
    letter-spacing: 4px;
    margin-top: 25px;
    border-bottom: 1px solid #996515; /* El tono oro institucional */
    display: inline-block;
    padding-bottom: 5px;
    text-transform: uppercase;
    color: var(--color-principal);
}

/* 2. AJUSTE PARA EL NÚMERO DE BOLETÍN (Nr. 1, 2, etc.) */
.fecha-dia {
    font-size: 1rem !important;
    color: #666 !important;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* 3. ESTILO DE LOS ENLACES A ARTÍCULOS 
   Cursiva para los títulos y color azul sobrio */
.hito-historico a {
    color: #2980b9; 
    text-decoration: none;
    font-style: italic;
    transition: 0.3s ease;
}

.hito-historico a:hover {
    text-decoration: underline;
    color: #996515; /* Cambio a oro al pasar el ratón */
}

/* 4. AJUSTE DE LOS NÚMEROS DE ORDEN (1., 2., 3.) */
.hito-historico span {
    font-weight: bold;
    color: #777;
    margin-right: 5px;
    font-family: 'Montserrat', sans-serif;
}

/* 5. ESPACIADO ENTRE ARTÍCULOS 
   Para que no queden tan pegados como las fechas de difuntos */
.hito-historico {
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* 6. NAVEGACIÓN DE AÑOS 
   Ajuste para que las filas de años se vean ordenadas */
.indice-meses .fila-meses {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.indice-meses .fila-meses a {
    text-decoration: none;
    color: #003366; /* Azul */
    font-weight: 500;
    padding: 5px 10px;
}

.indice-meses .fila-meses a:hover {
    color: #800020; /* Borgoña */
}

/* ============================================================
   **** FORMATO CARÁTULA ****
   ============================================================ */

.encabezado-be {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.titulo-principal {
    color: #003366; /* Azul */
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-family: serif;
}

.subtitulo-provincia {
    color: #800020; /* Borgoña */
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.navegacion-indices {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.linea-decorativa {
    height: 1px;
    background: linear-gradient(to right, transparent, #800020, transparent);
    margin: 2rem 0;
    opacity: 0.7;
}

.enlaces-indices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.boton-indice {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.boton-indice:hover {
    color: #800020;
}

.separador {
    color: #800020;
    font-weight: 300;
    opacity: 0.4;
}

/* ============================================================
   **** FORMATO CUERPO CARÁTULA ****
   ============================================================ */

.cuerpo-texto-caratula {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.cuerpo-texto-caratula h4 {
    color: #800020; /* Borgoña */
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-style: italic;
}

.cuerpo-texto-caratula p {
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
}

.cuerpo-texto-caratula b, 
.cuerpo-texto-caratula i {
    color: #003366; /* Azul Institucional para énfasis */
}

/* Ajuste para las listas manuales (1, 2, 3) */
.cuerpo-texto-caratula br + b {
    margin-left: 10px;
    display: inline-block;
    margin-top: 5px;
}

/* ============================================================
   **** FORMATO PIE DE PÁGINA (FOOTER) ****
   ============================================================ */

.footer-institucional {
    margin-top: 4rem;
    padding: 3rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #f9f9f9; /* Un gris muy tenue para diferenciar el final */
}

.footer-contenido {
    max-width: 800px;
    margin: 0 auto;
}

.footer-nombre {
    font-family: 'Playfair Display', serif;
    color: #003366; /* Azul */
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-universidad {
    font-family: 'Montserrat', sans-serif;
    color: #800020; /* Borgoña */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-separador {
    width: 50px;
    height: 1px;
    background-color: #996515; /* El oro institucional como detalle */
    margin: 1rem auto;
}

.footer-creditos {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #777;
    line-height: 1.6;
}

/* --- Niveles de Títulos --- */
.articulo-texto h2 { /* Nivel 1: Grandes divisiones */
    font-family: 'Playfair Display', serif;
    color: #800020; /* Borgoña */
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.articulo-texto h3 { /* Nivel 2: Subsecciones */
    font-family: 'Montserrat', sans-serif;
    color: #003366; /* Azul */
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.articulo-texto h4 { /* Nivel 3: Títulos menores o destacados */
    font-family: 'Montserrat', sans-serif;
    color: #444;
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

/* --- Formato de Párrafo --- */
.articulo-texto p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto; /* Para mejorar el bloque de texto justificado */
}