/* ===== LISTAGEM ===== */
.news-archive {
    padding: 4rem 0;
}

.news-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a1a1a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-thumb {
    height: 220px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #666;
}

.news-date {
    margin-right: 1rem;
}

.news-category {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0.5rem 0 1rem;
    line-height: 1.3;
}

.news-excerpt {
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    color: #e53e3e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #c53030;
}

.news-read-more svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.news-read-more:hover svg {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    padding: 0 1.5rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pagination .page-numbers.current, .pagination .page-numbers:hover {
    background: #e53e3e;
    color: #fff;
}

.pagination .page-numbers.dots {
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

/* ===== SINGLE ===== */
.single-news {
    background: #fff;
}

.news-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 4rem;
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 5%;
    color: #fff;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    bottom: 40px;
}

.news-breadcrumb {
    display: flex;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-breadcrumb a:hover {
    opacity: 0.8;
}

.news-breadcrumb span {
    margin: 0 0.5rem;
}

.news-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-meta-single {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.news-meta-single > * {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.news-meta-single svg {
    margin-right: 0.5rem;
    color: #e53e3e;
}

.news-content-wrapper {
    /* max-width: 900px; */
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.news-content p {
    margin-bottom: 1.5rem;
}

.news-content h2, .news-content h3, .news-content h4 {
    margin: 2.5rem 0 1.5rem;
    color: #1a1a1a;
}

.news-content h2 {
    font-size: 2rem;
}

.news-content h3 {
    font-size: 1.7rem;
}

.news-content h4 {
    font-size: 1.4rem;
}

.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.news-gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-gallery a:hover {
    transform: translateY(-5px);
}

.news-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Comentários */
.comments-area {
    max-width: 900px;
    margin: 5rem auto 0;
    padding: 0 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.comment {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.comment:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.comment-body {
    display: flex;
}

.comment-author-avatar {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.comment-author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 1rem;
    color: #333;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #777;
}

.comment-text {
    color: #444;
    line-height: 1.7;
}

.reply {
    margin-top: 1rem;
}

.comment-reply-link {
    font-size: 0.85rem;
    color: #e53e3e;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.comment-reply-link svg {
    margin-right: 0.5rem;
}

.comment-respond {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.comment-reply-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.comment-form-comment, .comment-form-author, .comment-form-email, .comment-form-url {
    margin-bottom: 0;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-cookies-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comment-form-cookies-consent input {
    margin-right: 0.75rem;
}

.form-submit {
    grid-column: 1 / -1;
    margin: 0;
}

.submit {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit:hover {
    background: #c53030;
}

/* Responsivo */
@media (max-width: 768px) {
    .news-banner {
        height: 400px;
    }

    .news-banner h1 {
        font-size: 2.2rem;
    }

    .news-content-wrapper {
        padding: 0 1rem 3rem;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .news-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .news-banner {
        height: 300px;
    }

    .news-banner h1 {
        font-size: 1.8rem;
    }

    .news-meta-single {
        flex-wrap: wrap;
    }

    .news-meta-single > * {
        margin-bottom: 0.5rem;
    }

    .news-gallery {
        grid-template-columns: 1fr;
    }
}

.single-news {
    background: #fff;
}

.news-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.news-subtitle {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.news-author {
    font-weight: 600;
    color: #777;
    margin-bottom: 2rem;
}

.news-hero-img {
    width: 100%;
    border-radius: 24px;
    margin-top: 2rem;
}

.news-body {
    max-width: 850px;
    margin: 4rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Mobile */
@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2.2rem;
    }
}

/* BANNER NOTÍCIAS */
.news-banner {
    position: relative;
    width: 100vw;
    height: 75vh;
    /* altura do banner */
    min-height: 420px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

/* Imagem */
.news-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay escuro */
.news-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Conteúdo */
.news-banner__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
}

.news-banner__content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.news-banner__content p {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    opacity: 0.9;
}

/* Mobile ajuste */
@media (max-width: 768px) {
    .news-banner {
        height: 60vh;
        min-height: 360px;
    }
}

.card {
    box-shadow: 0 0 12px 4px rgba(107, 55, 252, 0.35);
    animation: shadowPulse 5.5s infinite ease-in-out;
    transition: box-shadow 0.3s ease;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 12px 4px rgba(107, 55, 252, 0.35);
    }

    50% {
        box-shadow: 0 0 25px 8px rgba(107, 55, 252, 0.45);
    }

    100% {
        box-shadow: 0 0 12px 4px rgba(107, 55, 252, 0.35);
    }
}

/* =========================
   BANNER DA NOTÍCIA
========================= */
.news-banner {
    position: relative;
    /* width: 100%; */
    /* height: 85vh; */
    /* min-height: 480px; */
    /* overflow: hidden; */
}

.news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.news-header h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.news-meta-single {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.news-meta-single span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Breadcrumb */
.news-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 12px;
    opacity: 0.85;
}

.news-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.news-breadcrumb span {
    margin: 0 6px;
}

/* =========================
   CONTEÚDO
========================= */
.news-content-wrapper {
    /* max-width: 900px; */
    margin: -120px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.news-content {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.news-subtitle {
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 28px;
}

/* Texto */
.entry-content p {
    line-height: 1.75;
    margin-bottom: 18px;
    color: #333;
}

.entry-content h2, .entry-content h3 {
    margin: 32px 0 16px;
}

/* =========================
   GALERIA
========================= */
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.news-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform .3s ease;
}

.news-gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   FONTE
========================= */
.news-source {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

/* =========================
   COMPARTILHAR
========================= */
.news-share {
    margin-top: 50px;
}

.news-share h3 {
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
}

.share-button.facebook {
    background: #6b37fc;
}

.share-button.twitter {
    background: #6b37fc;
}

.share-button.whatsapp {
    background: #6b37fc;
}

/* =========================
   COMENTÁRIOS
========================= */
.news-comments {
    margin-top: 60px;
}

.comments-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 20px;
    border-radius: 12px;
    background: #f7f7f7;
    margin-bottom: 16px;
}

.comment-author {
    font-weight: 600;
}

.comment-meta {
    font-size: 0.8rem;
    color: #777;
}

.comment-content {
    margin-top: 10px;
}

.comment-reply-link {
    font-size: 0.85rem;
    color: #6d38fc;
    text-decoration: none;
}

/* Formulário */
.comment-form input, .comment-form textarea {
    /* width: 100%; */
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.comment-form input[type="submit"] {
    background: #6d38fc;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .news-banner-content {
        padding: 30px 20px;
    }

    .news-content {
        padding: 32px 24px;
    }
}

.news-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.news-block-gallery img {
    width: 100%;
    /* aspect-ratio: 2 / 3; */
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-block-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* =========================
   ÁREA DE COMENTÁRIOS
========================= */
.news-comments {
    margin-top: 80px;
}

.comments-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
}

/* LISTA */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* CARD DO COMENTÁRIO */
.comment {
    background: #f7f7fb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* HEADER */
.comment-body {
    display: flex;
    gap: 20px;
    flex-direction: column;
    /* align-items: flex-start; */
}

/* AVATAR */
.comment-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* AUTOR */
.comment-author b, .comment-author .fn {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

/* DATA */
.comment-metadata {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}

/* TEXTO */
.comment-content {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* BOTÃO RESPONDER */
.comment-reply-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: #6d38fc;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* COMENTÁRIOS FILHOS */
.children {
    margin-top: 24px;
    padding-left: 40px;
    border-left: 3px solid #e6e6f0;
}

/* =========================
   FORMULÁRIO
========================= */
.comment-respond {
    margin-top: 48px;
}

.comment-respond h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

/* INPUTS */
.comment-form input, .comment-form textarea {
    /* width: 100%; */
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* BOTÃO */
.comment-form input[type="submit"] {
    background: #6d38fc;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.comment-form input[type="submit"]:hover {
    background: #5a2fe0;
}

/* CARD DO COMENTÁRIO */
.news-comments .comment {
    position: relative;
    background: #ffffff;
    padding: 24px 24px 24px 28px;
    border-radius: 14px;
    margin-bottom: 28px;
    /* SOMBRA */
    box-shadow: 0 10px 30px rgb(109 56 252 / 28%);
}

/* DETALHE ROXO LATERAL */
.news-comments .comment::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 6px;
    background: linear-gradient( 180deg, #6d38fc, #9b7bff );
}

/* AUTOR */
.news-comments .comment-author {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

/* "DISSE:" */
.news-comments .comment-author .says {
    display: none;
}

/* AVATAR */
.news-comments .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #6d38fc;
}

/* DATA */
.news-comments .comment-metadata {
    font-size: 0.85rem;
    color: #777;
    margin: 4px 0 10px;
}

/* TEXTO DO COMENTÁRIO */
.news-comments .comment-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
}

/* LINK RESPONDER */
.news-comments .reply a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(109, 56, 252, 0.08);
    color: #6d38fc;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-comments .reply a:hover {
    background: #6d38fc;
    color: #fff;
    box-shadow: 0 6px 20px rgba(109, 56, 252, 0.35);
}

/* RESPOSTAS (FILHOS) */
.news-comments .children {
    margin-top: 20px;
    padding-left: 40px;
    border-left: 2px dashed rgba(109, 56, 252, 0.25);
}

/* ÁREA GERAL DO FORM */
.news-comments #respond {
    margin-top: 60px;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgb(109 56 252 / 45%);
}

/* TÍTULO */
.news-comments #reply-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.news-comments #reply-title a {
    color: #6d38fc;
    font-weight: 600;
    text-decoration: none;
}

/* TEXTO DE AVISO */
.news-comments .comment-notes, .news-comments .logged-in-as {
    font-size: 0.9rem;
    color: #6b37fc;
    margin-bottom: 20px;
}

/* CAMPOS */
.news-comments textarea, .news-comments input[type="text"], .news-comments input[type="email"], .news-comments input[type="url"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    font-size: 1rem;
    margin-bottom: 18px;
    background: #fafafa;
    transition: all 0.2s ease;
}

/* FOCO */
.news-comments textarea:focus, .news-comments input:focus {
    border-color: #6d38fc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 56, 252, 0.15);
    outline: none;
}

/* LABELS */
.news-comments label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

/* CHECKBOX */
.news-comments .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #555;
    margin: 20px 0;
}

/* BOTÃO */
.news-comments input[type="submit"] {
    width: 100%;
    border: none;
    padding: 16px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(135deg, #6d38fc, #8b5cf6);
    color: #fff;
    box-shadow: 0 12px 30px rgba(109, 56, 252, 0.35);
    transition: all 0.25s ease;
}

.news-comments input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(109, 56, 252, 0.45);
}

/* CANCELAR RESPOSTA */
.news-comments #cancel-comment-reply-link {
    font-size: 0.85rem;
    margin-left: 10px;
    color: #777;
}

.news-comments #cancel-comment-reply-link:hover {
    color: #6d38fc;
}

/* RESPONSIVO */
@media (max-width: 640px) {
    .news-comments #respond {
        padding: 24px;
    }
}

/* botão */
.open-comment-form {
    margin: 30px 0;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6d38fc, #8b5cf6);
    color: #fff;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(109, 56, 252, 0.35);
}

/* formulário escondido */
#respond {
    display: none;
}

/* formulário visível */
#respond.active {
    display: block;
    margin-top: 30px;
}

.comment-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.comment-popup {
    background: #6d38fc;
    color: #fff;
    padding: 30px 36px;
    border-radius: 18px;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(109, 56, 252, 0.6);
    animation: popupIn .3s ease;
}

.comment-popup p {
    font-size: 16px;
    margin-bottom: 20px;
}

.comment-popup button {
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #6d38fc;
    font-weight: 800;
    cursor: pointer;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .news-block-gallery {
        grid-template-columns: initial;
    }
}

.news-page {
    background: #f6f7fb
}

.news-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px
}

/* BANNER */
.news-banner {
    position: relative;
    height: 360px
}

.news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.news-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,.35),rgba(0,0,0,.75));
}

.news-banner-content {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 2
}

.news-banner h1 {
    font-size: 42px
}

.news-banner p {
    font-size: 18px;
    opacity: .9
}

/* DESTAQUE */
.news-top-highlight {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
    margin: 50px 0;
    box-shadow: 0 8px 25px rgba(128, 0, 255, 0.35);
    border-radius: 20px;
    overflow: hidden
}

.news-top-highlight img {
    width: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 20px;
    padding: 40px
}

.news-top-content span {
    font-size: 13px;
    color: #6b37fc;
    font-weight: 700;
    text-transform: uppercase
}

.news-top-content h2 {
    font-size: 36px;
    margin: 15px 0
}

.news-top-content p {
    font-size: 18px;
    color: #555
}

.news-top-content a {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 22px;
    background: #6b37fc;
    color: #fff;
    border-radius: 8px;
    font-weight: 600
}

/* SEARCH */
.news-search {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    margin-bottom: 50px
}

.news-search form {
    display: flex;
    gap: 15px
}

.news-search input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #ddd
}

.news-search button {
    background: #6b37fc;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600
}

/* LAYOUT */
.news-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px
}

/* GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08)
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.news-card .body {
    padding: 18px
}

.news-card span {
    font-size: 12px;
    font-weight: 700;
    color: #6b37fc;
    text-transform: uppercase
}

.news-card h3 {
    font-size: 18px;
    margin: 8px 0
}

.news-card p {
    font-size: 14px;
    color: #555
}

/* SIDEBAR */
.news-sidebar h4 {
    font-size: 18px;
    margin-bottom: 15px
}

.trending-text {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06)
}

.news-categories ul {
    list-style: none;
    padding: 0
}

.news-categories li {
    margin-bottom: 10px
}

.news-categories a {
    color: #6b37fc;
    font-weight: 600
}

/* PAGINAÇÃO */
.news-pagination {
    margin: 50px 0;
    display: flex;
    justify-content: center
}

.news-pagination .page-numbers {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff;
    margin: 0 4px
}

.news-pagination .current {
    background: #6b37fc;
    color: #fff;
    border-color: #6b37fc
}

/* RESPONSIVO */
@media(max-width: 900px) {
    .news-top-highlight {
        grid-template-columns:1fr
    }

    .news-layout {
        grid-template-columns: 1fr
    }

    .news-grid {
        grid-template-columns: 1fr
    }

    .news-top-highlight img {
        height: 260px
    }
}

.news-top-content {
    justify-content: center;
    display: flex;
    flex-direction: column;
    max-width: 420px;
}

.news-categories {
    margin-top: 25px;
}

.news-sidebar h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    border-left: 4px solid #6c2bd9;
    padding-left: 10px;
    color: #222;
}

.news-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.news-categories ul li a {
    display: block;
    background: #673ab712;
    padding: 10px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.news-categories ul li a:hover {
    background: #6c2bd9;
    color: #ffffff;
    transform: translateY(-2px);
}

.trending-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.trending-item a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
}

.trending-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.trending-info span {
    font-size: 12px;
    color: #7c3aed;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.trending-info p {
    font-size: 14px;
    color: #111;
    margin: 0;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.news-empty h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.news-empty p {
    font-size: 15px;
    opacity: .8;
}
