/* NEWS */
.blog .item .cont h4 {
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog .item .cont p {
    max-height: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.blog-sidebar .widget ul li a.active {
    color: #91a538;
}

.blog-sidebar ul.tags li.active, .blog-sidebar ul.tags li.active a {
    background-color: #152229;
    color: #fff;
}
.blog .item .img {
    min-height: 200px;
    max-height: 200px;
}

/* HEADER */
.logo-img {
    width: 100%;
    max-height: 100px;
    margin-bottom: 0px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}
.nav-scroll .logo-img, .navbar.not-home .logo-img {
    width: 100%;
    max-height: 50px;
}

@media screen and (max-width: 991px) {
    .logo-wrapper {
        float: left;
        padding: 10px;
    }
    .logo-img {
        width: 100%;
        max-height: 90px;
    }
    .nav-scroll .logo-img, .navbar.not-home .logo-img {
        width: auto;
        max-height: 60px;
    }
    .nav-scroll .logo-wrapper, .navbar.not-home .logo-wrapper {
        padding: 0px 10px;
    }
}

/* Navbar en páginas internas (no home/landing): posición estática con separación */
.navbar.not-home {
    background: #152229;
    padding: 15px 0;
    position: fixed;
    top: -90px;
    left: 0;
    width: 100%;
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
    -webkit-transform: translateY(90px);
    transform: translateY(90px);
    border: none;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 90px;
    margin-bottom: 30px;
}

.header-spacer {
    height: 90px;
}

.navbar .dropdown-menu li {
    width: 110%;
}

.section-padding {
    padding: 30px 0;
}
.landing-section .section-padding {
    padding: 120px 0;
}
.blog .item .cont p.news-description {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: calc(1.6em * 3);
	line-height: 1.6em;
	transition: max-height 2s ease, -webkit-line-clamp 0.8s ease;
}

.blog .item:hover .cont p.news-description {
	-webkit-line-clamp: unset;
	max-height: 500px;
}