/**
 * Modificación mediante CSS de
 * @file styles
 * para OMP Eduvim (UNVM)
 * Sobre theme BASE 
 *
 * Realizado por Lucas Aimar (jun 202&)
 *
 */

/* MODIFICACIONES AL HEADER */

.pkp_structure_head {
    border-top: 5px solid #efd131;
	background-image: url(/imgs/triangulos-fondo-encabezado-pie-index.png); 
	background-repeat: no-repeat;
	background-position-x: right;
	background-size: auto 290px;
  }

.pkp_navigation_primary_wrapper {
    padding-left: 0;
    padding-right: 0;
    background-color: transparent !important;
	}

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 120px;
    }
}

@media (min-width: 992px) {
	.pkp_site_nav_menu {
		background-color: transparent;
  }
  
@media (min-width: 480px) {
	.pkp_site_name_wrapper {
		background-color: transparent;
		/* border-bottom: 0px;
		line-height: 1rem;
		border-bottom: 1px solid #ddd; */
		height: 220px;
		/* background-image: url(/imgs/triangulos-fondo-encabezado-pie-index.png); 
		background-repeat: no-repeat;
		background-position-x: right;
		background-size: auto 250px; */
		}
}

/* MODIFICACIONES GENERALES AL SITIO */

a  {
	color: #cd901b;
}
a:hover, a:focus {
    color: #cd901b;
	font-weight: bold;
	}

a.cover_image > img {
	padding-right: 10px;
	}
	
.pkp_page_index .additional_content {
    border: none;
}

.cmp_button, .cmp_download_link, .cmp_form .buttons button, .page_lost_password .buttons button, .page_search .cmp_search button, .obj_monograph_full .files .link a, .obj_monograph_full .files .pub_format_remote a, .obj_monograph_full .files .pub_format_single a, .block_make_submission a {
    display: inline-block;
	padding: 7px 10px;
    background-color: #F7B334;
	border-radius: 2px;
    font-weight: bold;
    border: 0px;
    /* border-top-color: #bbb; */
    /* box-shadow: inset 0 -1em 1em rgb(0 0 0 / 10%); */
    /* font-size: .93rem; */
    /* line-height: calc(2.143rem - 2px); */
    font-weight: 700;
    /* text-decoration: none; */
    text-shadow: 0px 1px #fff;
    color: #000; 
	}
 
.cmp_button:hover, .cmp_button:focus, .cmp_download_link:hover, .cmp_download_link:focus, .page_login .buttons button:hover, .page_login .buttons button:focus, .page_lost_password .buttons button:hover, .page_lost_password .buttons button:focus, .page_search .cmp_search button:hover, .page_search .cmp_search button:focus, .obj_monograph_full .files .link a:hover, .obj_monograph_full .files .pub_format_remote a:hover, .obj_monograph_full .files .pub_format_single a:hover, .obj_monograph_full .files .link a:focus, .obj_monograph_full .files .pub_format_remote a:focus, .obj_monograph_full .files .pub_format_single a:focus {
    background-color: #E7834F;
    /* border-color: #c50005; */
}

.pkp_structure_main {
	margin-top: 0px !important;
	}

.pkp_page_index .additional_content { /* Quita los espacios de padding del contenido adiconal del home */
    padding: 0px;
	}

.pkp_structure_main h3 {
	margin: 1.2rem 0 1rem;
	}

.obj_monograph_full {
	margin-top: 1rem;	
	}


/* MODIFICACIONES A LA BARRAS DE NAVEGACION */

.pkp_navigation_primary > li > a {
	color: #000;
	/* text-transform: uppercase; */
	/* font-weight: 700; */
	/* font-size: smaller; */
	/*font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; */
	}

.pkp_navigation_primary .dropdown-menu a:hover {
    border-color: #f6b333;
	color: #000;
	}
	

.pkp_nav_list ul a:hover, .pkp_nav_list ul a:focus {
    color: #000;
    border-color: #f6b333;
	}
	
.pkp_nav_list ul a {
    color: #000;
	/* font-size: small; */
	}

.pkp_structure_main:before, .pkp_structure_main:after {
    width: 0px; 
	}

/* MODIFICACIONES A LA PAGINA DEL CATALOGO */

/* BORRAR GENERAL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.cmp_monographs_list .row {
    border-bottom: none; /* Era: border-bottom: 0px solid #ddd; */
	}

/* BORRAR GENERAL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.cmp_monographs_list
.obj_monograph_summary:first-child {
	    border-right: none; /* Era: border-right: #1px solid #ddd; */ 

/* BORRAR GENERAL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	}	

 FIN BORRAR GENERAL */ 
 
/* MODIFICACIONES A LA PAGINA DE LOS LIBROS */

.item.references {
    display: none !important;
}  

/* Estilos para la Presentación de Eduvim en la Home */

/* --- Estilos Generales de Presentación --- */
.eduvim-welcome-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.eduvim-welcome-section h1 {
    font-size: 2rem;
    color: #334155;
    margin-bottom: 1rem;
}

.eduvim-welcome-section p {
    text-align: justify;
    text-justify: inter-word;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.eduvim-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

/* --- Estructura Grid/Flexbox para asegurar las Tarjetas --- */
.eduvim-navigation-hub {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.eduvim-card-wrapper {
    flex: 1;
    min-width: 280px; /* Evita que se rompan en pantallas chicas */
}

/* --- Diseño de las Tarjetas (Sin efectos de movimiento) --- */
.eduvim-card {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.eduvim-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.eduvim-card-content {
    margin-bottom: 1.5rem;
}

/* Colores de Fondo */
.bg-pale-gray {
    background-color: #e7e7e7 !important; /* Gris palido */
    border-color: #c7c7c7 !important;
}

.bg-pale-cream {
    background-color: #f4f1e5 !important; /* Pálido pastel */
    border-color: #eee7c8 !important;
}

.eduvim-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.eduvim-card-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* --- Botones Funcionales y Forzados --- */
.eduvim-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Estilo base para asegurar que parezcan botones en cualquier tema */
.eduvim-btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    border-radius: 6px;
    transition: background-color 0.15s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Botón Principal (Convocatorias) - Un tono ocre/dorado suave que combina con el amarillo */
.eduvim-btn.btn-primary {
    background-color: #eab308 !important; 
    color: #451a03 !important; /* Texto marrón oscuro para excelente contraste */
}

.eduvim-btn.btn-primary:hover {
    background-color: #ca8a04 !important;
}

/* Botón Secundario (Colecciones) - Fondo blanco con borde sutil */
.eduvim-btn.btn-secondary {
    background-color: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

.eduvim-btn.btn-secondary:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
}

/* --- Adaptabilidad Móvil --- */
@media (max-width: 768px) {
    .eduvim-navigation-hub {
        flex-direction: column;
    }
    .eduvim-btn {
        width: 100%;
    }
}


/* MODIFICACIONES AL FOOTER */

.pkp_brand_footer {
    display: none;
	}

/* --- Contenedor Estructural de 3 Columnas --- */
.eduvim-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem 0.5rem;
    background-color: transparent !important;
    box-sizing: border-box;
    width: 100%;
}

/* --- Configuración de Proporciones por Columna --- */
.eduvim-footer-col {
    box-sizing: border-box;
    min-width: 220px; /* Previene que colapsen abruptamente */
}

/* Columna del logo: más angosta */
.eduvim-footer-col.col-brand {
    flex: 0.8; 
}

/* Columna de contacto: intermedia/ancha para que el texto no se corte */
.eduvim-footer-col.col-contact {
    flex: 1.2; 
}

/* Columna de redes sociales: estándar */
.eduvim-footer-col.col-social {
    flex: 1; 
}

.eduvim-footer-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000 !important;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

/* --- Columna 1: Logotipo --- */
.eduvim-footer-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.eduvim-brand-sub {
    font-size: 0.95rem;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

/* --- Columna 2: Contacto con Iconos vía CSS --- */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.95rem;
    position: relative;
    padding-left: 1.75rem; /* Deja espacio para el icono */
}

.contact-item p {
    font-size: 0.95rem;
    color: #000000 !important;
    margin: 0;
    line-height: 1.4;
}

/* Inyección de SVGs en los pseudo-elementos (Inmunes al limpiador de OMP) */
.contact-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.item-location::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.item-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E"); }
.item-email::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.item-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z'/%3E%3C/svg%3E"); }

/* --- Columna 3: Redes Sociales Circulares --- */
.eduvim-social-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.eduvim-social-list li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Construcción de los círculos amarillos */
.eduvim-social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ebd034 !important; /* Amarillo idéntico a tus redes */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px; /* Tamaño del icono interno */
    transition: background-color 0.15s ease;
    text-decoration: none !important;
}

.eduvim-social-list a:hover {
    background-color: #d4bc2f !important;
}

/* Inyección de logos vectoriales negros en los botones correspondientes */
.social-fb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z'/%3E%3C/svg%3E"); }
.social-ig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.051.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z'/%3E%3C/svg%3E"); }
.social-in { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z'/%3E%3C/svg%3E"); }
.social-tw { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M22.23,5.924c-0.736,0.326-1.527,0.547-2.357,0.646c0.847-0.508,1.498-1.312,1.804-2.27 c-0.793,0.47-1.671,0.812-2.606,0.996C18.324,4.498,17.257,4,16.077,4c-2.266,0-4.103,1.837-4.103,4.103 c0,0.322,0.036,0.635,0.106,0.935C8.67,8.867,5.647,7.234,3.623,4.751C3.27,5.357,3.067,6.062,3.067,6.814 c0,1.424,0.724,2.679,1.825,3.415c-0.673-0.021-1.305-0.206-1.859-0.513c0,0.017,0,0.034,0,0.052c0,1.988,1.414,3.647,3.292,4.023 c-0.344,0.094-0.707,0.144-1.081,0.144c-0.264,0-0.521-0.026-0.772-0.074c0.522,1.63,2.038,2.816,3.833,2.85 c-1.404,1.1-3.174,1.756-5.096,1.756c-0.331,0-0.658-0.019-0.979-0.057c1.816,1.164,3.973,1.843,6.29,1.843 c7.547,0,11.675-6.252,11.675-11.675c0-0.178-0.004-0.355-0.012-0.531C20.985,7.47,21.68,6.747,22.23,5.924z'/%3E%3C/svg%3E"); }
.social-yt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z'/%3E%3C/svg%3E"); }

/* --- Comportamiento Responsivo (Móviles) --- */
@media (max-width: 768px) {
    .eduvim-footer-container {
        flex-direction: column;
        gap: 2.5rem;
        padding: 2rem 1rem;
    }
    .eduvim-footer-col {
        width: 100%;
    }
}
