/**
 * 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;
}

.page_login .login input {
	border: 1px solid #d4d4d4 !important;
}

.page_about {
	width: 890px;
}

blockquote {
    font-size: 0.95rem;
    font-style: italic;
    /* color: #3d5a6c; */
    padding: 0.5rem 2rem;
    margin: 1rem 0;
    /* background: #fefcf9; */
    border-left: 4px solid #e08c76 !important;
    position: relative;
}

/* blockquote::before,
blockquote::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: #f5f5f5;
    left: 0;
}

blockquote::before {
    top: -1px;
}

blockquote::after {
    bottom: -1px;
}

blockquote p {
    margin: 0;
} */

blockquote footer {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: normal;
    color: #a08c76;
}

/* =========================================================
   2. HEADER / CABECERA
   ========================================================= */

.pkp_structure_head {
	border-top: 7px solid #0274a7;
    background-color: #ffffff; /* GRIS: #f7f7f7; */
    border-bottom: 0px !important; /* 1px solid #888; */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    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; 
}

/* Elimina el breadcrumbs en todo el sitio */
.cmp_breadcrumbs ol {
    display: none;
}

/* Elimina el recuento de titulos en sitio */
.monograph_count {
    display: none;
}

/* Cambia el ancho del main en pantallas grandes */
/* @media (min-width: 1200px) {
    .pkp_structure_main {
        width: auto !important;
    } */

.pkp_structure_main {
    padding: 10px 20px 30px 0 !important;
	width: 920px;
	min-height: 400px;
    } 

/* 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: 10px 0px 0px 20px;
}

.dropdown-item {
	line-height: normal;
}
	
/* Solo para los botones específicos de la barra lateral */
div[class*="btn-group"] .btn-outline-dark {
    background-color: #e0e0e0 !important;
    border-color: #c0c0c0 !important;
    color: #333333 !important;
    transition: all 0.3s ease !important;
}

div[class*="btn-group"] .btn-outline-dark:hover {
    background-color: #0274a7 !important;
    border-color: #0274a7 !important;
    color: #ffffff !important;
}

/* Destaque de los Iteml de la barra lateral al hacer HOVER  - VERSION GRIS / AZULES */
.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    background-color: #0274a7;
}

/* Destaque de los Iteml de la barra lateral al hacer HOVER  - VERSION NEGROS */
/* .dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    background-color: #212529;
} */

/* ================================================
   5.2. SELECTOR SIMPLE DE NOVEDADES (con solo JS)
   ================================================ */

/* Ocultar el bloque original */
#homepageAnnouncements { display: none !important; }

/* Contenedor principal */
.omp-sidebar-announcements {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e1e4e8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    width: 280px;
}

.omp-sidebar-announcements .sidebar-title {
    margin-top: 0;
    font-size: 1.1em;
    font-weight: 700;
    border-bottom: 2px solid #337ab7;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cada novedad */
.sidebar-announcement-item {
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

/* Efecto Hover */
.sidebar-announcement-item:hover {
    background-color: #f8fbfe;
    border-left: 4px solid #337ab7;
    padding-left: 18px;
}

/* Título en negro */
.sidebar-announcement-item a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.95em;
    display: block;
    margin-bottom: 5px;
}

/* Contenedor Flex para alinear fecha y flecha */
.meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

/* Fecha e icono */
.sidebar-announcement-item .date {
    font-size: 0.8em;
    color: #666;
    display: flex;
    align-items: center;
}

.sidebar-announcement-item .date i {
    margin-right: 5px;
    color: #337ab7;
}

/* Flecha (triángulo sólido) */
.arrow-icon {
    color: #337ab7;
    font-size: 0.6em;
    transition: transform 0.2s ease;
}

/* Efecto al pasar el mouse (la flecha se desplaza) */
.sidebar-announcement-item:hover .arrow-icon {
    transform: translateX(3px);
}
/* =========================================================
   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.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;
    font-size: 1rem;
    font-weight: 100;
    line-height: 1.4;
}

.obj_monograph_summary a {
	color: #414141;
	text-decoration: none;
    transition: color 0.2s ease;
	font-weight: 100;
}

.obj_monograph_summary a:hover {
	color: #000 !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;
}

/* =======================================================================
   5.4 COLECCIONES - Incluye un script de JS en el footer para que funcione
   ======================================================================= */

/* Ocultar barra lateral solo en colecciones */
.page-series .pkp_structure_sidebar {
    display: none;
}

/* Ocultar titulo solo en colecciones */
.page-series .pkp_structure_main h1 {
    display: none;
}
.page-series .pkp_structure_main {
    width: 1200px;
}

/* Contenedor principal de la colección */
.about_section.has_description .description {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    /* background: #f3f3f3; */
    border-radius: 1.5rem;
    /* box-shadow: 0 8px 20px rgba(0,0,0,0.05); */
}

/* Estructura de dos columnas usando Grid */
.about_section.has_description .description {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
	color: #000;
}

/* Estilos para los párrafos que actúan como columna izquierda */
.about_section.has_description .description p:first-of-type {
    grid-column: 1;
    margin: 0;
    padding-right: 1rem;
	padding-bottom: 0rem;
	font-size: 1.2rem;
}

.about_section.has_description .description p:nth-of-type(2) {		
    grid-column: 1;
    margin: 0;
    padding-right: 1rem;
	font-size: 1.8rem;
	margin-top: -25px;	
}
	
.about_section.has_description .description p:nth-of-type(3) {		
    grid-column: 1;
    margin: 0;
    padding-right: 1rem;
}

/* Estilos para los párrafos que actúan como columna derecha */
.about_section.has_description .description p:nth-of-type(4) {
    grid-column: 2;
    grid-row: span 3;
    margin-top: -85px;
}

/* Estilos para el formato titulo "Publicaciones de esta colección:" */
.about_section.has_description .description p:nth-of-type(5) {
    grid-column: 1 / -1;
    font-size: 1.2rem;
    font-weight: 300;
    border-bottom: 3px solid #d68b45;
    padding-bottom: 0px;
    margin-top: 1rem;
	text-decoration: underline;
}

/* =======================================================================
   5.5 CATEGORIAS - Incluye un script de JS en el footer para que funcione
   ======================================================================= */

/* Ocultar barra lateral solo en colecciones */
.page-categories .pkp_structure_sidebar {
    display: none;
}

/* Ocultar titulo solo en colecciones */
.page-categories .pkp_structure_main h1 {
    display: none;
}
.page-categories .pkp_structure_main {
    width: 1200px;
}

/* =======================================================================
   5.6 PAGINA INDIVIDUAL LIBROS 
   ======================================================================= */

.page.page_book {
	padding-top: 18px;
}

.obj_monograph_full .entry_details .item {
    padding: 1.143rem;
}

.cmp_download_link {
	border: 1px solid #f1f1f1 !important;
	background-color: #e0e0e0 !important;
}

.cmp_download_link:hover {
	background-color: #0274a7 !important;
}

.obj_monograph_full .cover img {
	border: 3px solid #ebe7e7 !important;
	border-radius: 4px;
}


/* =========================================================
   6. FOOTER
   ========================================================= */

.pkp_brand_footer {
    display: none;
}

.pkp_structure_footer_wrapper {
    background: #ffffff; /* GRIS: #f7f7f7; */
    /* border-top: 1px solid #888; */
	box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.1);
	border-bottom: 7px solid #0274a7; 
}

.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: center !important;
    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(20% - 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: 0px 0px 12px 0px; /* Asegura que no tengan margen individual y agrega margen inferior */
    background: white;
    border: 1px solid #ececec !important;
    box-shadow: 0px 1px 6px rgba(51, 51, 51, 0.25) !important;
}

.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;
}

/* Esto selecciona el primer .obj_monograph_summary sin importar qué haya antes */
.obj_monograph_summary.is_featured:first-of-type {
    margin-right: 1.143rem !important;
}
 
.cmp_monographs_list .obj_monograph_summary .cover img {
    width: 100%;
    max-width: 250px !important;
    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 {
    color: #000;
	margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: 100;
    line-height: 1.4;
}

.cmp_monographs_list .obj_monograph_summary h3.title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
	font-weight: 100;
}

.cmp_monographs_list .obj_monograph_summary h3.title a:hover {
    color: #000;
    text-decoration: none;
}

.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 */
/* Ajustes responsive - MODIFICADOS para 5 columnas */
@media screen and (max-width: 1100px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 calc(25% - 20px); /* 4 tapas en pantallas medianas */
    }
}

@media screen and (max-width: 768px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 calc(33.333% - 20px); /* 3 tapas en tablets */
    }
}

@media screen and (max-width: 576px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 calc(50% - 20px); /* 2 tapas en móviles */
    }
}

@media screen and (max-width: 400px) {
    .cmp_monographs_list .obj_monograph_summary {
        flex: 0 0 100%; /* 1 tapa en móviles muy pequeños */
    }
}

