.letra-blanca {
    color: white;
}

.card-exstudents {
    color: white;
    border: white 1px solid;
}
 .txt-gris
 {
    color: #b6b6b6 !important;
 }

.scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    width: 50px;
    height: 50px;
    background-color: #0f5ba7;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    transition: 0.3s;
}

.scrollToTop:hover {
    background-color: #083c73;
}

.scrollToTop .arrow-up {
    color: white;
    font-size: 24px;
    line-height: 50px;
}

.lineH-1{
    line-height: 100%;
}
#content07-n{
    background-color: #edefeb;
}

/*ticker*/
.news-ticker{
    height:240px;
    overflow:hidden;
}

.news-ticker ul{
    list-style:none;
    padding:0;
    margin:0;
}

.news-ticker li{
    padding:20px 0;
    font-size:1.2rem;
    display:flex;
    align-items:center;
}

/*TARJETAS NOTICIAS HOME*/
/* Card completa */
.item-content{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* Imagen arriba */
.item-img img{
    width:100%;
    height:200px;
    object-fit:cover;
}

/* Contenido textual */
.text-wrapper{
    display:flex;
    flex-direction:column;
    flex-grow:1;
    padding:15px 0;
}

/* Copete limitado para mantener altura uniforme */
.item-text{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* Botón siempre abajo */
.ver-mas{
    margin-top:auto;
    padding-top: 20px;
    display:inline-block;
    color:#c0002b;
    font-weight:bold;
}
@media (max-width:768px){

.item-img img{
    height:160px;
}

}
.item-content{
    min-height:auto;
}

/* Hide horizontal scrollbar in image galleries on mobile (keep touch swipe) */
@media (max-width:768px){
    .slider02 .embla__viewport{
        -ms-overflow-style:none;
        scrollbar-width:none;
    }

    .slider02 .embla__viewport::-webkit-scrollbar{
        display:none;
    }
}

/* Compact menu caret behavior: closed => right, open => down */
.nav-dropdown-sm .link.dropdown-toggle::after,
.nav-dropdown-sm .dropdown-toggle[data-toggle="dropdown-submenu"]::after,
.cid-uH4oOVUMJA .navbar .dropdown > .dropdown-menu .dropdown > .dropdown-item.dropdown-toggle::after {
    content: "" !important;
    border-top: 0.35em solid transparent !important;
    border-right: 0 !important;
    border-bottom: 0.35em solid transparent !important;
    border-left: 0.35em solid currentColor !important;
    transform: none !important;
}

.nav-dropdown-sm .link.dropdown-toggle[aria-expanded="true"]::after,
.nav-dropdown-sm .dropdown-toggle[data-toggle="dropdown-submenu"][aria-expanded="true"]::after,
.cid-uH4oOVUMJA .navbar-nav .open > .nav-link.dropdown-toggle::after,
.cid-uH4oOVUMJA .navbar .dropdown > .dropdown-menu .dropdown.open > .dropdown-item.dropdown-toggle::after {
    border-top: 0.35em solid !important;
    border-right: 0.35em solid transparent !important;
    border-left: 0.35em solid transparent !important;
    border-bottom: 0 !important;
    transform: none !important;
}

/* Header logo */
#siteHeaderLogo {
    height: 3.5rem;
    width: auto;
}

.site-brand-text {
    display: none;
}

/* Compact header: make logo more visible */
@media (max-width: 991px) {
    .cid-uH4oOVUMJA .navbar-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    #siteHeaderLogo {
        height: 3.5rem !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        filter: none !important;
    }

    .site-brand-text {
        display: none !important;
        flex-direction: column;
        line-height: 1.05;
        color: #aeb8c7;
        text-shadow: none !important;
        font-family: 'Onest', sans-serif;
        letter-spacing: 0.2px;
    }

    .site-brand-line1 {
        font-size: 0.88rem;
        font-weight: 700;
    }

    .site-brand-line2 {
        margin-top: 2px;
        font-size: 0.78rem;
        font-weight: 800;
    }

    /* Compact menu must be opaque for readability */
    .cid-uH4oOVUMJA .navbar-collapse {
        background: rgba(10, 63, 122, 0.94) !important;
        background-color: rgba(10, 63, 122, 0.94) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        opacity: 1 !important;
    }

    .cid-uH4oOVUMJA .navbar .dropdown > .dropdown-menu,
    .cid-uH4oOVUMJA .navbar .dropdown > .dropdown-menu .dropdown-submenu {
        background: rgba(15, 74, 142, 0.96) !important;
        background-color: rgba(15, 74, 142, 0.96) !important;
        opacity: 1 !important;
    }
}
