body{
    font-family: 'Roboto';
    font-size:18px;
}

.bg-green{
    background: #8cc63e
}
h2{
    font-size: 27px;
}
h5{
    font-size: 16px;
}

footer{
    background: #363B40;
    padding-top: 50px;
    color:#FFF;
}
footer p{
    color:#FFF;
}

.custom-navbar .navbar-collapse{
    border-top: 3px solid #F0F0F0;
    border-bottom: 3px solid #F0F0F0
}
.custom-navbar a {
    border-top: 2px solid #F0F0F0;
    color: #25282A;
}
.custom-navbar a:hover{
    background-color: #F0F0F0;
    border-top-color: #24a9e1;
    border-bottom-color: #F0F0F0;
}

.header-box{
    background: #F0F0F0;
    border-left: 3px solid #f6941d;
    padding: 9px 15px 10px;
    font-size: 18px;
    line-height: 140%;
}
.title-post, .title-post a{
    line-height: 120%;
    color: #25282A;
    font-weight: normal;
}
p{
    font-size:14px;
    color: #3E3E3E;
    line-height: 150%;
}

.single-post-link {color:#25282A;}
.single-post-text{ font-size:14px;}
.single-post-link:hover {
    background: #8cc63e;
    text-decoration:none;
    color: #FFF
}


/*-------*/
.news-swiper-component {
    width: 100%;
    max-width: 1200px;
    --news-active-bg: #e3f2fd;
    --news-active-border: #007bff;
    --news-thumb-height: 120px;
}

/* --- Swiper principal --- */
.news-swiper-component .news-main-swiper {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

.news-swiper-component .news-main-swiper .swiper-slide {
    position: relative;
    color: #fff;
}

.news-swiper-component .news-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-swiper-component .news-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    color: #fff;
}

.news-swiper-component .news-overlay small {
    display: block;
    opacity: 0.9;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.news-swiper-component .news-overlay h3 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
}

.news-swiper-component .news-main-swiper .swiper-button-next,
.news-swiper-component .news-main-swiper .swiper-button-prev {
    color: #fff;
}

/* --- Miniaturas --- */
.news-swiper-component .news-thumb-swiper {
    width: 100%;
    box-sizing: border-box;
}

.news-swiper-component .news-thumb-swiper .swiper-slide {
    box-sizing: border-box;
    flex-shrink: 0;
    flex-basis: calc(25% - 10px);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.25s ease, transform 0.12s ease, border-bottom-color 0.25s ease;
    height: var(--news-thumb-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: none;
    border-bottom: 3px solid transparent;
}

.news-swiper-component .news-thumb-swiper small {
    display: block;
    color: #666;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.news-swiper-component .news-thumb-swiper p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Activa visual */
.news-swiper-component .news-thumb-swiper .swiper-slide-thumb-active {
    background-color: var(--news-active-bg);
    border-bottom: 3px solid var(--news-active-border);
}

/* Responsive */
@media (max-width: 992px) {
    .news-swiper-component .news-main-swiper {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .news-swiper-component .news-main-swiper {
        height: 350px;
    }
    .news-swiper-component .news-thumb-swiper .swiper-slide {
        flex-basis: calc(50% - 10px);
    }
    .news-swiper-component {
        --news-thumb-height: 100px;
    }
}