/* =========================================================
   ESTILO LUMINARIA (CLÁSICO / ACADÉMICO)
   ========================================================= */

/* 1. FUENTES ELEGANTES (Serifas tipo New York Times) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,300;0,700;1,300&display=swap');

/* 2. ENCABEZADO (Color Vino Tinto Elegante) */
.pkp_structure_head {
    background-color: #591313 !important; /* Rojo Vino Profundo */
    border-bottom: 4px double #d4af37;    /* Doble línea dorada */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* El logo debe verse señorial */
.pkp_site_name .is_img img {
    max-height: 90px;
    filter: sepia(20%); /* Un toque antiguo */
}

/* 3. MENÚ DE NAVEGACIÓN (Estilo Pergamino) */
.pkp_navigation_primary > li > a {
    color: #f5f5f0 !important; /* Blanco hueso */
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    text-transform: capitalize; /* Mayúscula solo la primera letra */
    background: transparent !important;
    padding: 10px 15px !important;
    border: none !important;
}

.pkp_navigation_primary > li > a:hover {
    color: #d4af37 !important; /* Dorado al pasar el mouse */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* 4. FONDO Y CUERPO (Color Papel Antiguo) */
body {
    background-color: #fdfbf7; /* Crema muy suave */
    color: #2c2c2c;            /* Gris casi negro para leer bien */
    font-family: 'Merriweather', serif; /* Fuente de lectura de libro */
}

/* 5. ARTÍCULOS (Estilo Hoja de Papel) */
.obj_article_summary {
    background-color: #ffffff;
    border: 1px solid #e0d8c3;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 5px 5px 0px rgba(200, 190, 170, 0.4); /* Sombra sólida vintage */
    border-radius: 2px; /* Bordes casi rectos */
}

.obj_article_summary:hover {
    border-color: #8a1c1c; /* Borde rojo al pasar mouse */
    background-color: #fffef9;
}

/* Títulos de artículos */
h3.title a {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700;
    font-size: 1.5rem;
    color: #591313 !important; /* Rojo vino */
    text-decoration: none;
}

h3.title a:hover {
    text-decoration: underline;
    text-decoration-color: #d4af37;
}

/* 6. BOTONES PDF (Estilo Etiqueta Clásica) */
.obj_article_summary .obj_galley_link {
    background-color: transparent;
    color: #591313 !important;
    border: 1px solid #591313;
    font-family: 'Playfair Display', serif;
    padding: 5px 15px;
    border-radius: 0; /* Botón cuadrado */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.obj_article_summary .obj_galley_link:hover {
    background-color: #591313;
    color: #fff !important;
}

/* 7. OCULTAR ADMIN */
.pkp_navigation_user {
    display: none !important;
}

/* 8. FOOTER */
.pkp_structure_footer {
    background-color: #2e2828;
    border-top: 3px solid #d4af37;
    color: #ddd;
    font-family: 'Playfair Display', serif;
}