/**
 * Custom CSS
 * OMP – Editorial Facultad de Lenguas (UNC)
 * Base theme
 * Autor: Lucas Aimar
 * Fecha: marzo 2026
 */

/* =========================================================
   1. TIPOGRAFÍA Y AJUSTES GENERALES
   ========================================================= */

html {
    font-size: 15px;
}

/* REFORMA 2018 */
@font-face {
	font-family: "Reforma2018";
	src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma2018/Reforma2018-Gris.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
	font-family: "Reforma2018";
	src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma2018/Reforma2018-Negra.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* REFORMA 1918 */
@font-face {
    font-family: "Reforma1918";
    src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma1918/Reforma1918-Gris.woff2") format("woff2");
	font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Reforma1918";
    src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma1918/Reforma1918-Negra.woff2") format("woff2");
	font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* REFORMA 1918 */
@font-face {
    font-family: "Reforma1918";
    src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma1918/Reforma1918-Gris.woff2") format("woff2");
	font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Reforma1918";
    src: url("https://www.unc.edu.ar/sites/all/themes/unc/css/fonts/Reforma1918/Reforma1918-Negra.woff2") format("woff2");
	font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CATAMARAN */
@font-face {
font-family:"catamaran";
src:url("https://use.typekit.net/af/7ae4c7/00000000000000007735b8e9/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/7ae4c7/00000000000000007735b8e9/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/7ae4c7/00000000000000007735b8e9/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"catamaran";
src:url("https://use.typekit.net/af/ef341e/00000000000000007735b8ef/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/ef341e/00000000000000007735b8ef/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/ef341e/00000000000000007735b8ef/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

body {
    /* font-family: "Reforma2018", sans-serif; */
    font-family: "catamaran", sans-serif; 
	font-size: 1rem;
    line-height: 1.1;
	background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: "Reforma2018", sans-serif; */
    font-family: "catamaran", sans-serif; 
    font-weight: 700;
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.pkp_structure_main h5,
.pkp_structure_main h6 {
    /* font-family: "Reforma2018", sans-serif; */
    font-family: "catamaran", sans-serif; 
    font-weight: 700;
}

/* =========================================================
   2. HEADER / CABECERA
   ========================================================= */

.pkp_structure_head {
    background-color: #f7f7f7;
    border-bottom: 1px solid #888;
    padding-bottom: 20px;
	padding-top: 15px;
	height: 170px !important; /* Alto del header */
}

.pkp_head_wrapper {
    display: flex;
    align-items: center;
}


.has_site_logo .pkp_head_wrapper {
	width: 1200px;
}

/* Logo */
.pkp_site_name_wrapper {
    display: flex;
    align-items: center;
    width: auto;
    flex: 0 0 auto;
}

.pkp_site_name .is_img img {
        max-height: 100px;
		height: 65px;
    }

/* Navegación general */
.pkp_site_nav_menu {
    display: flex;
    align-items: center;
    flex: 1;
	background: transparent;
}

/* Fila principal */
.pkp_navigation_primary_row {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 2rem;
}

/* Menú centrado */
.pkp_navigation_primary_wrapper {
    display: flex;
    justify-content: center;
    flex: 1;
}

.pkp_navigation_primary {
    display: flex;
    gap: 1rem;
    position: relative;
    top: -2px;
    left: 100px;
}

/* Buscar */
.pkp_navigation_search_wrapper {
    margin-left: auto;
	top: -4px;
}

/* Usuario */
.pkp_navigation_user_wrapper {
    margin-left: 2rem;
    flex: 0 0 auto;
}

/* Oculta el texto dentro del enlace de búsqueda */
.pkp_search.pkp_search_desktop {
    font-size: 0 !important; /* Hace que el texto 'Buscar' desaparezca */
}

/* Vuelve a mostrar el icono de la lupa con su tamaño original */
.pkp_search.pkp_search_desktop .fa-search {
    font-size: 16px !important; /* Ajusta este número según el tamaño que desees para la lupa */
    margin-right: 0; /* Elimina el espacio que antes separaba la lupa del texto */
}


/* =========================================================
   3. NAVEGACIÓN – ESTADOS Y TRANSICIONES
   ========================================================= */

/* Reset estados interactivos */
.pkp_navigation_primary a,
.pkp_navigation_primary a:visited,
.pkp_navigation_primary a:hover,
.pkp_navigation_primary a:focus,
.pkp_navigation_primary a:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none;
}

/* Evitar el highlight móvil */
.pkp_navigation_primary a:active {
    -webkit-tap-highlight-color: transparent;
}

.pkp_navigation_primary>li:first-child a {
    margin-left: 0em !important; 
    }

/* Ítems principales */
.pkp_navigation_primary > li > a {
    color: #000000;
    font-weight: 800;
    font-size: 1.1rem; /* Tamaño de la fuente de lo items */
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 2px solid transparent; /* línea base */
    padding-bottom: 4px;
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.pkp_search, .pkp_search_desktop .pkp_navigation_search_wrapper > a {
	color: #000000 !important; 
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
}
.pkp_navigation_search_wrapper > a {
	padding: 0,0,0,0 !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li > a:active,
.pkp_navigation_search_wrapper > a:hover,
.pkp_navigation_search_wrapper > a:focus,
.pkp_navigation_search_wrapper > a:active {
    color: #006798 !important;
    border-bottom-color: #006798 !important;
}

.pkp_navigation_user > li:last-child > a {
    color: #706e6e !important;
}

/* Evita flashes */
.pkp_navigation_primary > li > a:visited {
    color: #000000;
    border-bottom-color: transparent;
}

/* =========================================================
   4. DROPDOWNS
   ========================================================= */

.pkp_navigation_primary li > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    margin-top: 0;
}

.pkp_navigation_primary li:hover > .dropdown-menu,
.pkp_navigation_primary li:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.pkp_navigation_primary .dropdown-menu li > a {
    color: #000000;
    font-weight: 500;
    background: transparent;
    transition: color 0.2s ease;
}

.pkp_navigation_primary .dropdown-menu li > a:hover,
.pkp_navigation_primary .dropdown-menu li > a:focus,
.pkp_navigation_primary .dropdown-menu li > a:active {
    color: #006798;
}

/* ESTILO DEL LOS DROPDOWN DEL MENU PRINCIPAL */
.pkp_nav_list ul li > a:hover,
.pkp_nav_list ul li > a:focus,
.pkp_nav_list ul li > a:active {
	/* background: #f5f5f5 !important; /* Fondo gris items dropdown menu principal  */
	/* border-bottom: solid; /* borde de abajo en azul */
    /* border-left-width: 4px; /* unifica tamaño de los bordes de abajo e izquierdo en azul  */
    }

/* =========================================================
   5. CONTENIDO GENERAL
   ========================================================= */

.pkp_structure_content {
    padding-top: 0;
	width: 1200px !important; 
}

/* Cambia el ancho del main en pantallas grandes */
/* @media (min-width: 1200px) {
    .pkp_structure_main {
        width: auto !important;
    } */

.pkp_structure_main {
    padding: 10px 0 30px 0 !important;
	width: 920px;
    } 

/* Texto de las secciones (quita cursiva y tamaño por defecto) */
.pkp_structure_main .page .about_section {
     font-size: 1rem;
     font-style: normal;
    }
	
/* Quita las lineas grises que dividen el sitio */	

/* Hacer que todos los elementos dentro de pkp_structure_main no tengan bordes */
.pkp_structure_main * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Eliminar pseudo-elementos que crean líneas en pkp_structure_main */
.pkp_structure_main:before,
.pkp_structure_main:after,
.pkp_structure_main:first-child:before,
.pkp_structure_main:first-child:after,
.pkp_structure_main:last-child:before,
.pkp_structure_main:last-child:after,
.pkp_structure_main:first-child:last-child:before,
.pkp_structure_main:first-child:last-child:after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

.cmp_monographs_list>.title {
    background: none;
    font-size: 1.2rem;
    font-weight: 700;
	color: black;
	padding: 0;
}

.cmp_monographs_list {
	padding: 10px 0 10px 0px !important;
	gap: 0px !important;
	margin: 0px !important;
}	

.cmp_monographs_list .obj_monograph_summary:first-child {
	margin-right: 15px;
}

.cmp_monographs_list .obj_monograph_summary+.obj_monograph_summary {
	margin-right: 15px;
}

/* =========================================================
   5.1. BARRA LATERAL
   ========================================================= */
.pkp_structure_sidebar {
	width: 280px;
}
	
.pkp_block	 {
	padding: 20px;
}


/* =========================================================
   5.2. PAGINA DE ANUNCIOS
   ========================================================= */

.cmp_announcements li {
    padding: 15px 35px !important;
    background-image: linear-gradient(to right, #d4d4d4 0%, #006798 100%) !important;
    background-position: 35px 0 !important; /* padding-left y top */
    background-size: calc(100% - 40px) 2px !important; /* 100% - (padding-left + padding-right) */
    background-repeat: no-repeat !important;
}

/* Para el primer elemento (sin borde) */
.cmp_announcements li:first-child {
    background-image: linear-gradient(to right, #d4d4d4 0%, #006798 100%) !important;
    background-position: 35px 0 !important; /* padding-left y top */
    background-size: calc(100% - 40px) 2px !important; /* 100% - (padding-left + padding-right) */
    background-repeat: no-repeat !important;
}

/* Tamaño más grande para H1 y H2 en anuncios */
.cmp_announcements li h1 {
    font-size: 1.8em !important; /* Más grande para h1 */
	line-height: 1.3 !important;
    font-weight: bold !important;
}

.cmp_announcements li h2 {
    font-size: 1.5em !important; /* Un poco más pequeño para h2 */
	line-height: 1.3 !important;
    font-weight: bold !important;
}

/* =========================================================
   5.2. SLIDER NOVEDADES (CON AJAX)
   ========================================================= */

/* SLIDER HÍBRIDO CON AJAX - VERSIÓN SIMPLIFICADA */
#homepageAnnouncements.hybrid-slider {
    position: relative;
    /* width: 100%; /* Ancho completo, tapa la barra lateral por defecto de OMP */
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Área principal del anuncio (IZQUIERDA - MÁS ANCHO) */
.hybrid-main-area {
    flex: 3;
    min-width: 200px;
    position: relative;
    min-height: 400px;
    order: 1;
}

/* Loader para carga AJAX */
.hybrid-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.hybrid-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contenedor del anuncio principal */
.hybrid-announcement {
    background: white;
    border-radius: 12px;
    padding: 0px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sidebar de anuncios (DERECHA - MÁS ESTRECHA) */
.hybrid-sidebar {
    flex: 1;
    min-width: 380px;
    max-width: 450px;
    order: 2;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
    height: fit-content;
    position: sticky;
    top: 20px;
    /* SIN SCROLLBAR VERTICAL */
}

/* Sidebar header - TÍTULO SIMPLE */
.hybrid-sidebar-header {
    font-size: 1.2em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.hybrid-counter {
    color: #7f8c8d;
    font-weight: normal;
    margin-left: 5px;
}

/* Lista de anuncios */
.hybrid-announcements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hybrid-announcement-item {
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: 1px solid #e0e0e0;
}

.hybrid-announcement-item:hover {
    background: #f5f5f5;
    transform: translateX(3px);
    border-left-color: #ddd;
}

/* ANUNCIO ACTIVO CON FONDO GRIS CLARO (sin badge verde) */
.hybrid-announcement-item.active {
    background: #f0f0f0; /* Gris claro */
    border-left-color: #999; /* Gris más oscuro */
    border-color: #ccc;
}

/* QUITAR FLECHA INDICADORA */
.hybrid-announcement-item.active::after {
    display: none;
}

/* QUITAR BADGE "ACTUAL" */
.current-badge {
    display: none;
}

/* Títulos y fechas */
.hybrid-item-title {
    font-size: 1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hybrid-item-date {
    font-size: 0.85em;
    color: #7f8c8d;
    /* SIN CURSIVA */
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ÍCONO DE CALENDARIO GRIS */
.hybrid-item-date::before {
    content: "📅";
    font-size: 0.9em;
    opacity: 0.7;
}

/* QUITAR INDICADOR "NEW" */
.hybrid-announcement-item:first-child .hybrid-item-date::after {
    display: none;
}

/* Estadísticas - TEXTO SIMPLE */
.hybrid-stats {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85em;
    color: #7f8c8d;
    text-align: center;
}

#cacheStats {
    margin-bottom: 5px;
    font-weight: 600;
}

.hybrid-stats small {
    display: block;
    color: #999;
    font-size: 0.8em;
}

/* Estilos del contenido del anuncio */
.hybrid-announcement h3 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
    line-height: 1.3;
    color: #2c3e50;
    font-weight: 700;
}

.hybrid-announcement h3 a {
    color: inherit;
    text-decoration: none;
}

.hybrid-announcement h3 a:hover {
    color: #3498db;
}

.hybrid-announcement .date {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 5px;
    display: inline-block;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 4px;
}

.hybrid-announcement .summary {
    margin-bottom: 25px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
}

.hybrid-announcement .summary p {
    margin: 0 0 15px 0;
}

.hybrid-announcement img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* BOTÓN "LEER MÁS" MÁS PEQUEÑO Y A LA IZQUIERDA */
.hybrid-announcement .read_more {
    display: inline-flex;
    align-items: center;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 3px 10px; /* MÁS PEQUEÑO */
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.90em; /* TEXTO MÁS PEQUEÑO */
    float: left !important; /* A LA IZQUIERDA */
    clear: both;
    margin-right: 15px;
    margin-top: 10px;
}

.obj_announcement_summary .read_more:after {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f054";
    position: relative;
    top: 10px;
    right: 0;
    left: 6px;
}

.hybrid-announcement .read_more:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Limpiar float después del botón */
.hybrid-announcement .summary::after {
    content: '';
    display: table;
    clear: both;
}

/* Separador visual entre columnas */
#homepageAnnouncements.hybrid-slider::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(75% - 20px);
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
    opacity: 0.5;
}

/* QUITAR ANIMACIONES Y ELEMENTOS DECORATIVOS */
.sidebar-icon {
    display: none; /* QUITAR ICONO AZUL */
}

.hybrid-sidebar-header::after {
    display: none; /* QUITAR FLECHA ANIMADA */
}

.new-content-indicator,
.cached-indicator {
    display: none; /* OCULTAR INDICADORES */
}

/* RESPONSIVE */

/* Pantallas grandes */
@media (min-width: 1200px) {
    .hybrid-slider {
        display: grid;
        grid-template-columns: 3.5fr 0.5fr;
        gap: 10px;
        align-items: start;
    }
    
    .hybrid-main-area,
    .hybrid-sidebar {
        width: 100%;
    }
}

/* Tablets y móviles */
@media (max-width: 992px) {
    #homepageAnnouncements.hybrid-slider {
        flex-direction: column;
        gap: 10px;
    }
    
    #homepageAnnouncements.hybrid-slider::before {
        display: none;
    }
    
    .hybrid-sidebar {
        width: 100%;
        max-width: 100%;
        order: 1;
        position: static;
    }
    
    .hybrid-main-area {
        order: 2;
    }
    
    .hybrid-announcements-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .hybrid-announcement-item {
        margin-bottom: 0;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .hybrid-announcement {
        padding: 10px;
    }
    
    .hybrid-sidebar {
        padding: 20px;
    }
    
    .hybrid-announcements-list {
        grid-template-columns: 1fr;
    }
    
    .hybrid-announcement h3 {
        font-size: 1.4em;
    }
    
    .hybrid-announcement .summary {
        font-size: 1em;
    }
    
    .hybrid-announcement .read_more {
        width: 100%;
        text-align: center;
        float: none;
        margin-right: 0;
    }
}

/* Mejorar contenedor principal */
.hybrid-main-area {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
}

/* =======================================================================
   5.3 CATÁLOGO - Incluye un script de JS en el footer para que funcione
   ======================================================================= */

.cmp_monographs_list .row {
    border-bottom: none;
}

.cmp_monographs_list .obj_monograph_summary:first-child {
    border-right: none;
}

.obj_monograph_summary>*, .obj_monograph_summary .title {
	margin-left: 5px;
}

.obj_monograph_summary a {
	color: #414141
}

.obj_monograph_summary a:hover {
	color: #008acb !important;
}

/* Ocultar contador de monografías solo en catálogo */
.page-catalog .monograph_count {
    display: none;
}

/* Ocultar barra lateral solo en catálogo */
.page-catalog .pkp_structure_sidebar {
    display: none;
}

/* Ocultar navegación breadcrums solo en catálogo */
.page-catalog .cmp_breadcrumbs {
    display: none;
}

/* Ocultar titulo solo en catálogo */
.page-catalog .pkp_structure_main h1 {
    display: none;
}

.page-catalog .pkp_structure_main {
    width: 1200px;
}


/* =========================================================
   6. FOOTER
   ========================================================= */

.pkp_brand_footer {
    display: none;
}

.pkp_structure_footer_wrapper {
    background: #f7f7f7;
    border-top: 1px solid #888;
}

.omp-footer {
    padding: 30px 20px;
    font-size: 0.95rem;
}

.omp-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Logos */
.omp-footer-logos {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 40px;
}

.omp-footer-logos img {
    max-height: 70px;
    width: auto;
}

.omp-footer-logos img:first-child {
    margin-right: 20px;
}

/* Texto */
.omp-footer-info {
    flex: 1;
    line-height: 1.5;
}

/* =========================================================
   7. RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .pkp_head_wrapper {
        flex-wrap: wrap;
    }

    .pkp_navigation_primary_row {
        margin-left: 0;
        width: 100%;
    }

    .pkp_navigation_primary_wrapper {
        justify-content: flex-start;
    }
}

/***************************************************************************/
/* Estilo para el bloque de idioma tipo BOOTSTRAP (igual al menú botonera) */
/***************************************************************************/
.block_language {
    width: 280px !important;
    margin: 0 auto;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    box-sizing: border-box;
}

/* Estilo para el título "Idioma" - SOLO como título */
.block_language .title {
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 700 !important;
    text-align: left !important;
    width: 90% !important;
    margin: 0.5rem 0 0.75rem 0 !important;
    padding: 0 !important;
    color: #212529 !important;
    background-color: transparent !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quitar el pseudo-elemento del título */
.block_language .title::after {
    display: none !important;
}

/* Estilo para el contenedor de los botones */
.block_language .content {
    width: 90% !important;
    margin: 0 !important;
}

/* Convertir la lista en un grupo de botones vertical */
.block_language .content ul {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important; /* espacio entre botones */
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Estilo para cada item como botón */
.block_language .content ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Estilo base para los links como botones */
.block_language .content ul li a {
    display: block !important;
	width: 270px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-decoration: none !important;
    color: #212529 !important; /* oscuro */
    border: 1px solid #212529 !important;
    background-color: transparent !important;
    border-radius: 0.375rem !important;
    transition: all 0.15s ease-in-out !important;
    box-sizing: border-box !important;
}

/* Hover effect */
.block_language .content ul li a:hover {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
}

/* Estilo para el idioma activo/seleccionado (checked) */
.block_language .content ul li.current a {
    color: #fff !important;
    background-color: #212529 !important;
    border-color: #212529 !important;
    font-weight: 700 !important;
	width: 270px !important;
}

/* Si quieres simular el efecto de radio button checked */
.block_language .content ul li.current a::before {
    content: "✓ ";
    font-weight: 700;
}

/**********************************************************/
/* Mosaico de tapas
/**********************************************************/

/* Contenedor principal de novedades */
.cmp_monographs_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

/* Título "Novedades" */
.cmp_monographs_list > h2.title {
    /* width: 100%;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold; */
	display: none;
}

/* IMPORTANTE: Ocultamos las filas como contenedores flex */
.cmp_monographs_list .row {
    display: contents !important; /* ¡Esto es clave! Hace que los hijos ignoren la fila */
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important; /* Eliminamos cualquier gap de las filas */
}

/* Cada libro - ahora todos serán hijos directos del contenedor principal */
.cmp_monographs_list .obj_monograph_summary {
    flex: 0 0 calc(25% - 20px); /* Ajustamos el cálculo para que el gap sea consistente */
    min-width: 210px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease; 
    display: flex;
    flex-direction: column;
    margin: 0; /* Aseguramos que no tengan margen individual */
}

.cmp_monographs_list .obj_monograph_summary:hover {
    background-color: #e0e0e0;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cmp_monographs_list .obj_monograph_summary .cover {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
}

.cmp_monographs_list .obj_monograph_summary:first-child {
    padding-right: 1.143rem;
}

.cmp_monographs_list .obj_monograph_summary+.obj_monograph_summary {
    padding-left: 1.143rem;
}
 
.cmp_monographs_list .obj_monograph_summary .cover img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.cmp_monographs_list .obj_monograph_summary:hover .cover img {
    transform: scale(1.02);
}

.cmp_monographs_list .obj_monograph_summary h3.title {
    margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
}

.cmp_monographs_list .obj_monograph_summary h3.title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cmp_monographs_list .obj_monograph_summary h3.title a:hover {
    color: #000;
    text-decoration: underline;
}

.cmp_monographs_list .obj_monograph_summary .author {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.cmp_monographs_list .obj_monograph_summary .date {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: #888;
}

/* Ajustes responsive */
@media screen and (max-width: 992px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (max-width: 576px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 100%;
    }
}

