/*** General CSS ***/
body {
    line-height: 1.9em;
    color: #333;
}
a:hover, a:focus, a:active {
    color: #0fa89d;
}

/*** Header Area ***/
/* Top Head */
#sp-top-bar, #sp-top-bar a {
    color: #fff;
}

/* Header Menu */
#sp-header {
    top: 0;
    height: inherit;
    background: #fff;
}
#sp-header.header-sticky {
    position: fixed;
    top: 0;
    padding: 0;
  	background: #fff;
  	box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}
body:not(.home) #sp-header {
    background: #fff;
    position: static;
}
body:not(.home) #sp-header.header-sticky {
    position: fixed;    
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
    color: #252525;
    font-size: 14px !important;
}
.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    text-transform: uppercase;
}

/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 15px;
    font-weight: 500;
}

/*** Block Styles ***/
/* Button */
a.slider-btn {
  	color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    padding: 16px 30px !important;
    border-radius: 3px !important;
    border: 2px solid !important;
    display: inline-block;
    cursor: pointer;
    text-transform: uppercase !important;
    -moz-transition: ease all 0.55s;
    -o-transition: ease all 0.55s;
    -webkit-transition: ease all 0.55s;
    transition: ease all 0.55s;
    line-height: 50px;
    position: relative;
}
a.slider-btn:hover {
  	background: #fff !important;
}
a.slider-btn.right {
  	background: #fff !important;
  	margin-left: 20px !important;
}
a.slider-btn.right:hover {
  	color: #fff !important;
}
a.sppb-btn-custom {
    padding: 15px 30px;
    text-transform: uppercase;
  	color: #fff;
}
a.sppb-btn-custom:hover {
   	background-color:#000!important;
}

/* Title */
.title h3,
.title-1 h3 {
    font-size: 38px;
    font-weight: 700;
    line-height: 45px;
    position: relative;
}
.title h3 {
    top: -15px;
}
.title p {
    font-size: 14px;
    color: #777777;
    line-height: 30px;
    margin-bottom: 24px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
.title-2 p {
    font-size: 14px;
    color: #777777;
    line-height: 30px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
.title-1 {
    border-right: 2px solid #E7EEF6;
    position: absolute;
    bottom: 0px;
    padding-right: 7px;
}
#request .sppb-divider {
    width: 20%;
    margin-top: 0px!important;
    float: left;
}
.sppb-divider {
    width: 5%;
    left: 0;
    right: 0;
    margin: auto;
}
.sppb-btn-custom {
    cursor: pointer;
    padding: 10px 30px;
    border-radius: 3px!important;
}
.sppb-btn-custom:hover {
    background-color: #000!important;
}
#expert p,
#frequently p,
#portfolio p,
#team p,
#we-do p,
#pricing p,
#blog p {
    margin-top:15px;
}

/* Slider */
.slider-color span {
	color: #fff;
}
.slider-color i {
    border-radius: 50%;
    color: #242525;
    font-size: 48px;
    font-weight: 400;
    height: 62px;
    line-height: 64px;
    margin-left: 30px;
    overflow: hidden;
    padding: 1px 0 0 9px;
    text-align: center;
    width: 62px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

/* Feature */
.feature-item .home-features-contents:before {
    position: absolute;
    content: "";
    width: 8px;
    background: #2EA615;
    height: 100%;
    left: 15px;
    top: 0;
}
.feature-item .home-features-contents {
    padding: 20px;
    position: relative;
    padding-bottom: 15px;
}
.feature-item {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: .4s;
}
.feature-item:hover {
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.feature-item .home-features-title h3 {
    font-weight: 700;
    font-size: 18px;
    color: #333333;
}
.feature-item .home-features-title h5 {
    font-size: 14px;
}
.feature-item .home-features-contents h4 {
    color: #eff1f6;
    font-size: 44px;
    font-weight: 700;
    line-height: 44px;
}
.feature-item img {
  	width: 100%;
}

/* Expert */
.expert-item .single-how-it-work {
    text-align: center;
    padding: 0 20px;
}
.expert-item .single-how-it-work h3 {
    font-size: 24px;
    color: #333333;
    font-weight: 400;
    margin-bottom: 10px;
}
.expert-item .steps {
    height: 80px;
    width: 80px;
    background: #2EA615;
    border-radius: 50%;
    margin: auto;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding-top: 15px;
    margin-bottom: 15px;
}
.expert-item .single-how-it-work p {
    font-size: 14px;
    color: #777777;
    line-height: 1.7em;
    font-weight: 400;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
.expert-item:hover .steps {
    cursor: pointer;
    background: #000!important;
    -webkit-transition-property: color;
     transition-property: color;
     -webkit-transition-duration: 0.3s;
     transition-duration: 0.3s;
}

/* Business */
#business .sppb-icon-inner  {
    position: absolute;
    top: 43%;
    left: 41%;
    right: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid #ffffff;
    border-radius: 50%;  
}
#business .sppb-icon-inner i {
    color: #fff;
    transition: .3s;
    font-size: 50px;
    line-height: 78px;
    left: 18px;
    right: 0;
    margin: auto;
    padding-left: 11px;
}
.service-sub {
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.06)!important;
    transition: .4s;
}
.service-sub:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.32)!important;
}
.service-top .sppb-row {
    border-bottom: 1px solid #E7EEF6;
}

.service-sub h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 70px;
}
.service-sub .sppb-media {
    background: #2EA615;
}
.service-content .sppb-addon-content {
    padding: 15px;
}
.service-content .sppb-addon-content p {
    font-size: 14px;
    font-size: 14px;
    color: #777777;
    font-weight: 400;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
} 
.service-content .sppb-addon-content a {
    font-size: 14px;
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
}   
.service-sub i {
    font-size: 26px;
    background: rgba(0, 0, 0, 0.3215686274509804);
    margin-right: 15px;
    line-height: 75px;
    width: 75px;
    height: 75px;
    text-align: center;
    display: inline-block;
}

/* Portfolio */
#portfolio .sppb-row > div:first-child {
	  padding: 0;
}
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li {
    float: left;
    display: block;
    margin: 0 5px;
    background: #fff;
}
.portfolio p {
	  color: #fff!important;
}
.portfolio-top {
	  padding: 40px;
}
.portfolio-top p {
	  color: #000;
}
.portfolio-top ul {
	  padding-left: 0;
}
.portfolio-top ul li {
	  list-style: none;
}
.portfolio-top ul li:before {
    content: "\f101";
    font-family: FontAwesome;
    margin-right: 10px;
}
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li > a {
    background: none;
    color: #000;
    font-size: 14px;
    position: relative;
    padding: 11px;
}
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a {
	  background: none;
}
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a:after {
    visibility: inherit;
    opacity: 1;
}
.sp-simpleportfolio .sp-simpleportfolio-filter>ul>li>a {
  	border-radius: 0px;
}

/* Team */
.team-item .sppb-img-container,
.team-item .sppb-img-container img {
    width: 100%;
}
.team-item {
    margin-top: 30px;
    position: relative;
}
.team-item .sppb-addon-title  {
    font-size: 20px;
    font-weight: 700;
} 
.team-item h6 {
    font-style: italic;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}
.team-item ul {
    padding: 0;
    width: 100%;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.team-item h4 {
    font-size: 18px;
    color: #333333;
    font-weight: 700;
    padding: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.team-item h6 {
    color: #333;
    padding: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.team-item .sppb-addon-text {
    position: absolute;
    bottom: -40px;
    background: #fff;
    width: 74%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.37)!important;
    text-align: center;
    z-index: 2;
}
.team-item ul li {
    list-style: none;
    width: 33.33%;
    text-align: center;
    float: left;
    position: relative;
    z-index: 1;
}
.team-item ul li:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}
.team-item ul li a {
    background: #fff;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 45px;
    border-radius: 50px;
}
.team-item ul li em {
    font-size: 20px;
    color: #AFAEAE;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.team-item ul li a:hover {
    background: #ffffff!important;
}
.team-item ul {
    position: absolute;
    left: 50%;
    top: -200px;
    transform: translateX(-50%);
    display: none;
    transition: .4s;
}
.team-social a:hover {
    color: #1556A6;
}
.team-item:hover ul {
    display: block;
    z-index:2;
}
.team-item ul li strong {
    display: none;
}
.team-item .sppb-img-container:hover img {
    transform: scale(1.2);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.team-item .sppb-img-container {
    overflow: hidden;
}
.team-item .sppb-img-container:before {
    cursor: pointer;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: #2EA615;
    opacity: 0;
    display: block;
    z-index: 1;
    transition: .4s;
}
.team-item:hover .sppb-img-container:before {
    opacity: 0.9;
}

/* Testimonial */
h4.testimonial-job {
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
}
.testimonial-item .testimonial-name {
    font-weight: 600;
    margin-top: 30px;
    font-size: 25px;
}
.testimonial-item img {
    margin: 0 auto;
}
.testimonial-item p {
    line-height: 40px;
}

/* Pricing */
.title-pricing .sppb-icon-container {
    float: left;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-right: 15px;
}
.title-pricing .sppb-icon-container i {
    font-size: 25px;
}
.title-pricing p {
    font-size: 16px;
    padding-top: 12px;
}
.pricing-item {
    background: #fff;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    margin-bottom: 90px;
    padding: 50px 0;
}
#pricing .lt-pricing-2 {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: -25px;
}
.pricing-item ul li {
    line-height: 1.5;
    margin-bottom: 1.5em;
    color: rgba(0,0,0,0.8);
}
.pricing-item .price-col h4,
.pricing-item .price-col-2 h4 {
    font-size: 28px;
    letter-spacing: 0;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: .2em;
}
.pricing-item .price-col-2 h4,
.pricing-item .price-col-2 ul li .price,
.pricing-item .price-col-2 ul li.heading strong {
    color: #f2784b!important;
}
#pricing .lt-pricing-2 {
    border:6px solid #f2784b;
}
#pricing-item a.button-pricing {
    background:#f2784b!important;
    border: 1px solid #ddd;
    border-radius: 3px; 
}
.pricing-item .price-col ul li .price,
.pricing-item .price-col-2 ul li .price {
    font-size: 30px;
    font-weight: 700;
}
.pricing-item .price-col ul li .heading,
.pricing-item .price-col-2 ul li .heading {
    font-size: 30px;
    font-weight: 700;
}
.pricing-item a.button-pricing strong {
    display: none!important;
}
.pricing-item .price-col-2 a.button-pricing,
.pricing-item a.button-pricing {
    font-size: 12px;
    border: 1px solid #ddd;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #777;
    padding: 10px 25px;
    border-radius: 5px;  
}
.pricing-item a.button-pricing:hover {
    color: #ffffff!important;
}
.pricing-item .price-col-2 a.button-pricing:hover,
.pricing-item a.button-pricing:hover {
    -webkit-box-shadow: 0 4px 15px -6px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px -6px rgba(0,0,0,0.5);
}

/* Ourservice */
#service-bottom .sppb-btn-custom {
    background: #ffffff!important;
}
#service-bottom .sppb-btn-custom:hover {
    background: none!important;
    border: 1px solid #fff!important;
}
.service-bottom h3 {
    font-weight: 700;
}

/* Client */
.client-item  {
    padding: 30px 0;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

/* Contact */
.contact-us ul {
  	padding-left: 0;
}
.contact-us ul li {
  	list-style: none;
    margin: 20px 0;
    font-size: 15px;
    color: #100e0e;
}
.contact-us ul li em {
  	margin-right: 10px;
  	color: #555;
}
.creativecontactform_body {
    padding: 5px 15px 10px 0px !important;
}
.contact-us ul li strong {
  	display: none;
}

/* Counter */
.count {
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    margin-left: 9px;
}
.counter-area {
    padding: 55px 0;
}
.single-counter {
    color: #fff;
    text-align: center;
}
.single-counter h3 {
    font-size: 42px;
    font-weight: 600;
} 
.single-counter i {
    margin-right: 20px;
}
.single-counter p {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
}
.single-counter strong {
    display: none!important;
}

/* Frequently */
.sppb-panel-heading {
    background: none!important;
    border-radius: 50px!important;
}
.sppb-panel-modern {
    border-radius: 50px!important;
}

/* Contact Info */
.contact-info h2, .contact-info h3 {
	font-size: 23px;
}

/* Blog */
.jmm-item .jmm-image.mod-article-image {
  	overflow: hidden;
}
.jmm-image.mod-article-image img {
  	transform: scale(1);
  	-webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}
.jmm-item:hover .jmm-image.mod-article-image img {
  	transform: scale(1.12);
  	filter: grayscale(100%);
}

/* Bottom */
#sp-bottom .sp-module .sp-module-title {
    font-weight: 700;
    font-size: 22px;
}

/* Footer Copyright */
#sp-footer {
    text-align: center;
}
#sp-footer .container-inner {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*** Responsive Layout ***/
/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
      	max-width: 1320px;
    }
}
/* Mobile Standard Layout */
@media (max-width: 768px) {
	#sp-header, #sp-header .logo {
        height: 70px;
    }
  	#sp-footer p {
  		text-align: center;
	}
  	body #sp-header {
    	background: #fff;
      	padding: 0;
	}
}

/* Mobile Small Resolution */
@media (max-width: 480px) {
  .slider-small h3 {
    	margin-bottom: 0 !important;
  }
  .slider-big h1 {
    	padding: 0 !important;
  }
}

/* General color defination
Color value depend on preset color that picking on template settings > Presets
*/

:root {
  --background-color: currentColor;
  --background: currentColor;
  --text-color: currentColor;
}
.page-item.active .page-link, #sp-top-bar, a.slider-btn, a.slider-btn.right:hover,
.slider-item .sppb-btn-success, .sp-simpleportfolio .sp-simpleportfolio-filter>ul>li.active>a,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay,
.sppb-btn-custom, .counter, .pricing-item a.button-pricing:hover, #service-bottom {
 	background-color: var(--background-color) !important;
}
.article-list .article .readmore a:hover, .article-list .article .readmore a:active, .article-list .article .article-header h2 a:hover,
#sp-bottom a, .service-item:hover .sppb-icon-container i, .title b, .service-item-2 .sppb-icon-container i, .about-content h4, .contact-us ul li em, 
.contact-form h4, .pricing-item .price-col ul li .price, .pricing-item ul li strong, .pricing-item a.button-pricing, h3.testimonial-name, .slider-title h2,
a.slider-btn:hover, a.slider-btn.right {
  	color: var(--text-color) !important; 
}
.slider-content, .slider-btn a, .sppb-divider, .pricing-item a.button-pricing, a.slider-btn, a.slider-btn.right:hover {
  	border-color: var(--text-color) !important;
}
/*mis estilos ##################################################*/
/* Estilos para tablas de resoluciones FCCE */
.table-resoluciones {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
   border: 1px solid #000;
}

.table-resoluciones td {
    border: 1px solid #ddd;
    padding: 12px;
}

.table-resoluciones tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-resoluciones td[rowspan] {
    font-weight: bold;
}

.table-resoluciones td:first-child {
    font-weight: bold;
}

.table-resoluciones td[style*="text-align: center"] {
    text-align: center;
}

/* Mejoras de espaciado y responsividad */
@media screen and (max-width: 768px) {
    .table-resoluciones {
        font-size: 14px;
    }
    
    .table-resoluciones td {
           padding: 12px;
    text-align: left;
    }
}
.table-cell {
    padding: 12px;
    text-align: left;
}
.tabla-detalle td {
    padding: 12px;
    text-align: left;
}

/*para computo cursos*/
.custom-schedule body {
    font-family: 'Inter', sans-serif;
}
.custom-schedule .schedule-grid {
  display: grid;
  grid-template-columns: 80px 140px repeat(5, 1fr);
  min-width: 1000px;
}
.custom-schedule .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.custom-schedule .no-scrollbar::-webkit-scrollbar {
    display: none;
}
.custom-schedule .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/*para boton de clase mpresencial*/
/* Usamos un nombre de clase único para evitar conflictos */
.btn-unach-custom {
    background-color: #43bdd5 !important; /* Tu color base */
    color: #ffffff !important;           /* Texto blanco */
    padding: 12px 25px;
    border: none !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animación suave */
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
}

/* Estado Hover (cuando pasas el mouse) */
.btn-unach-custom:hover {
    background-color: #004a99 !important; /* Azul oscuro */
    color: #ffffff !important;
    transform: translateY(-2px);           /* Pequeño efecto de elevación */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Estado Active (cuando haces clic) */
.btn-unach-custom:active {
    transform: translateY(0);
}
/*para boton de clase mpresencial end*/

/*para transparencia universitaria*/
/* Usamos un prefijo único para evitar conflictos con el template de Joomla */
    /* Enlaces / Botones */
    .docente-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 15px;
    }

    .btn-link {
        padding: 8px;
        text-align: center;
        border-radius: 4px;
        text-decoration: none !important;
        font-size: 0.85rem;
        font-weight: bold;
        transition: 0.3s;
    }

    .btn-cti {
        background-color: #34495e; /* Gris oscuro */
        color: white !important;
    }

    .btn-orcid {
        background-color: #a6ce39; /* Color ORCID original o verde suave */
        color: white !important;
    }

    .btn-link:hover {
        opacity: 0.8;
    }

    /* Ajuste Móvil */
    @media (max-width: 480px) {
        .docentes-grid {
            grid-template-columns: 1fr;
            padding: 0 15px;
        }
    }
    .jc-wrapper {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        background-color: transparent;
        padding: 10px;
        max-width: 100%;
    }

    .jc-section {
        margin-bottom: 25px;
    }

    /* Estilo para los títulos encapsulados */
    .jc-header {
        display: flex;
        align-items: center;
        background-color: #72dd72;
        padding: 8px 15px;
        border-radius: 50px; /* Bordes muy redondeados como la imagen */
        margin-bottom: 15px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        line-height: 1.2;
    }

    .jc-number {
        margin-right: 12px;
        min-width: 35px;
    }

    /* Contenedor de tarjetas */
    .jc-cards-container {
        display: flex;
        flex-wrap: wrap; /* Para que sean responsivas en móviles */
        gap: 15px;
        padding-left: 5px;
    }

    /* Tarjetas individuales */
    .jc-card {
        background-color: #eef4ff;
        width: 160px;
        height: 130px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        text-decoration: none !important; /* Quita subrayado de links en Joomla */
        border: 1px solid #d0e1fd;
        transition: all 0.3s ease;
    }

    .jc-card:hover {
        background-color: #deeaff;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

    /* Iconos (Simulados con SVG o caracteres si no tienes FontAwesome) */
    .jc-icon {
        font-size: 32px;
        margin-bottom: 10px;
        color: #1a569d;
    }

    .jc-label {
        font-size: 13px;
        color: #444;
        font-weight: 500;
        line-height: 1.2;
    }

    /* Ajuste para móviles */
    @media (max-width: 600px) {
        .jc-header { font-size: 12px; }
        .jc-card { width: 45%; height: 110px; }
    }

/* estilos para tarjetas de proyectos de investigacion*/
    /* Contenedor Principal */
    .investigacion-container {
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        padding: 20px 10px;
        background-color: #f9f9f9;
    }

    .investigacion-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Tarjeta Individual */
    .proyecto-card {
        background: #ffffff;
        border-radius: 8px;
        border-left: 5px solid #28a745; /* Verde Institucional */
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .proyecto-card:hover {
        transform: translateY(-5px);
    }

    .proyecto-tag {
        font-size: 12px;
        font-weight: bold;
        color: #28a745;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .proyecto-titulo {
        font-size: 1.2rem;
        color: #333;
        margin: 0 0 15px 0;
        line-height: 1.4;
    }

    /* Botón de Descarga */
    .btn-descargar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #28a745;
        color: white !important;
        text-decoration: none !important;
        padding: 12px 20px;
        border-radius: 5px;
        font-weight: 600;
        text-align: center;
        transition: background 0.3s ease;
        margin-top: 10px;
    }

    .btn-descargar:hover {
        background-color: #1e7e34;
    }

    .btn-descargar i {
        margin-right: 8px;
    }

    /* Ajustes para Móvil */
    @media (max-width: 600px) {
        .proyecto-titulo {
            font-size: 1.1rem;
        }
        .investigacion-container {
            padding: 10px;
        }
    }
/* estilos para tarjetas de proyectos de investigacion end*/
/*ESTILOS PARA DOCENTES INVESTIGACDORES */
 /* ESTILOS PARA DOCENTES INVESTIGADORES - OPTIMIZADO */

.docentes-container {
    padding: 20px 0;
    background-color: #f4f4f4;
    width: 100%;
}

.docentes-grid {
    display: grid;
    /* Ajuste de columnas para que sea responsivo automático */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px; /* Margen de seguridad para móviles */
    box-sizing: border-box;
}

/* Tarjeta del Docente */
.docente-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #28a745; /* Verde institucional */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Asegura que todas las tarjetas midan lo mismo */
}

.docente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Cabecera con Foto */
.docente-header {
    padding: 20px 20px 10px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.docente-foto {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #eee;
    margin: 0 auto;
    display: block;
}

/* Información */
.docente-info {
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Empuja los botones hacia abajo uniformemente */
}

.docente-nombre {
    font-size: 1.05rem;
    color: #2c3e50;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    min-height: 48px;
    line-height: 1.2;
    text-align: center;
}

.docente-detalle {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 4px;
    /* Evita que correos largos rompan el ancho en móvil */
    word-break: break-all;
}
/*ESTILOS PARA DOCENTES INVESTIGACDORES END */
/*ESTILOS PARAINFORMACION ACADEMICA END */
  /* Contenedor con tipografía fluida */
    .academica-wrapper {
        max-width: 850px;
        margin: 15px auto;
        padding: 0 12px;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
    }

    .academica-header {
        border-bottom: 3px solid #28a745;
        margin-bottom: 20px;
        padding-bottom: 8px;
    }

    .academica-header h2 {
        color: #1a3c5e;
        /* Fuente que escala: mínimo 1.3rem, máximo 1.8rem */
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        font-weight: 800;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: -0.5px;
    }

    .info-item {
        background: #ffffff;
        border-radius: 10px;
        margin-bottom: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        border-left: 6px solid #28a745;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    /* Ajuste de fuente en la pregunta */
    .info-pregunta {
        padding: 16px 18px;
        font-weight: 700;
        color: #333;
        font-size: clamp(0.95rem, 3.5vw, 1.1rem); /* Adaptable a móvil */
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* Ajuste de fuente en la respuesta */
    .info-respuesta {
        padding: 0 18px 18px 18px;
        color: #444;
        font-size: clamp(0.88rem, 3.2vw, 1rem); /* Texto de lectura cómodo */
        border-top: 1px solid #f9f9f9;
    }

    .highlight-text {
        color: #1a3c5e;
        font-weight: 700;
    }

    /* Lista de carreras optimizada para pulgares */
    .carreras-grid {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 8px;
        list-style: none;
        padding: 0;
    }

    .carreras-grid li {
        background: #f1f8f2;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        color: #2c3e50;
        display: flex;
        align-items: center;
    }

    .carreras-grid li::before {
        content: "✔";
        color: #28a745;
        margin-right: 8px;
        font-weight: bold;
    }

    /* Media query para pantallas muy pequeñas */
    @media (max-width: 400px) {
        .info-pregunta {
            padding: 14px;
        }
        .academica-wrapper {
            padding: 0 8px;
        }
    }
/*ESTILOS PARAINFORMACION ACADEMICAEND */
/*SLIDER  NOTICIAS*/
/* --- SLIDER DE NOTICIAS ULTRA COMPACTO --- */
/* --- TARJETAS DE NOTICIAS ESTILO PROFESIONAL --- */
.slider-noticias-unach ul {
    display: flex !important;
    gap: 15px !important;
    padding: 20px 10px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    -webkit-overflow-scrolling: touch;
}

/* Estructura de Tarjeta (Similar a Docentes) */
.slider-noticias-unach ul li {
    flex: 0 0 220px !important; /* Ancho compacto */
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important; /* Sombra profesional */
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid #eee !important;
    border-bottom: 4px solid #28a745 !important; /* Detalle verde UNACH */
    transition: transform 0.3s ease;
}

/* Ajuste de Imágenes Pequeñas */
.slider-noticias-unach img {
    width: 100% !important;
    height: 120px !important; /* Imagen pequeña fija */
    object-fit: cover !important;
}

/* Títulos Compactos (Fuente pequeña) */
.slider-noticias-unach a.mod-articles-category-title {
    font-size: 0.85rem !important; /* Título mucho más pequeño */
    font-weight: 700 !important;
    color: #1a3c5e !important;
    padding: 10px 12px 5px !important;
    line-height: 1.2 !important;
    display: block !important;
    min-height: 40px; /* Alinea los títulos */
}

/* Texto de Introducción muy breve */
.slider-noticias-unach .mod-articles-category-introtext {
    font-size: 0.75rem !important;
    padding: 0 12px 10px !important;
    color: #555 !important;
    line-height: 1.3 !important;
}

/* Botón Leer Más Minimalista */
.slider-noticias-unach .mod-articles-category-readmore {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    font-weight: bold;
    color: #28a745 !important;
    padding: 5px 12px 12px !important;
    display: block !important;
    text-decoration: none !important;
}
/*SLIDER NOTICIAS END*/
/*mis estilos ################################################## end*/