/*
    News Page
*/
.title__news {
    background: url(../img/bg-news.jpg) center center no-repeat;
    background-size: cover;
    padding: 90px 0;
}

.title__news .boxed {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 50px;
}

.title__news h1 {
    font-size: 50px;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
}

.title__news p {
    margin-bottom: 30px;
    color: #fff;
}

/*
    Breadcrumbs
*/
.breadcrumbs {
    margin: 0 0 30px;
}

/*
    News List
*/
section.news {
    padding: 0 0 100px;
}

.news__list {
    display: flex;
    flex-direction: column;
}

.news__item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid #eaeaea;
    text-decoration: none;
    color: #333;
}

.news__item:first-child {
    padding-top: 0;
}

/* Imagem */
.news__item-img {
    flex: 0 0 300px;
    overflow: hidden;
    border-radius: 6px;
}

.news__item-img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .4s ease;
}

.news__item:hover .news__item-img img {
    transform: scale(1.05);
}

/* Post sem imagem: borda lateral azul */
.news__item--no-img .news__item-body {
    border-left: 3px solid var(--azul);
    padding-left: 24px;
}

/* Body */
.news__item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Categoria */
.news__item-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--laranja);
    margin-bottom: 10px;
}

/* Título */
.news__item h3 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--azul);
    line-height: 1.35;
    margin-bottom: 14px;
    transition: color .2s;
}

.news__item:hover h3 {
    color: var(--laranja);
}

/* Excerpt */
.news__item p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Footer: data + read more */
.news__item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.news__item time {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    font-weight: 600;
}

.news__item-more {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--azul);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s, color .2s;
}

.news__item:hover .news__item-more {
    color: var(--laranja);
    gap: 10px;
}

.news__empty {
    color: #666;
    font-size: 16px;
    padding: 20px 0;
}

/*
    Sidebar
*/
section.news > .container > .row {
    align-items: flex-start;
}

.news-sidebar {
    position: sticky;
    top: 120px;
}

.news-sidebar__block {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8e8e8;
}

.news-sidebar__block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-sidebar__title {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--azul);
    font-weight: bold;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.news-sidebar__list li a,
.news-sidebar__recent li a {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    padding: 8px 0;
    transition: color .15s;
}

.news-sidebar__list li a:hover,
.news-sidebar__recent li a:hover {
    color: var(--azul);
}

.news-sidebar__list li.is-active > a {
    color: var(--azul);
    font-weight: bold;
}

.news-sidebar__list .count {
    color: #999;
    font-weight: normal;
    font-size: 12px;
}

.news-sidebar__recent li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.news-sidebar__recent li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-sidebar__recent time {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

@media (max-width: 991px) {
    section.news > .container > .row {
        flex-direction: column-reverse;
    }

    section.news .news__main,
    section.news .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .news-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .title__news {
        padding: 36px 0;
    }

    .title__news .boxed {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .title__news h1 {
        font-size: 28px;
    }

    section.news {
        padding: 0 0 48px;
    }

    .news__item {
        flex-direction: column;
        gap: 20px;
    }

    .news__item-img {
        flex: none;
        width: 100%;
    }

    .news__item-img img {
        height: 200px;
    }

    .news__item h3 {
        font-size: 16px;
    }
}
