

/* =============================================
   Estilos da Seção de Notícias - Design Arrojado
   =============================================== */
.news-showcase-section {
    padding: 60px 0;
    background-color: #FFF; /* Fundo claro para destacar o conteúdo */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color); /* Azul bem claro */
    color: #FFF;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a253c;
    margin-top: 10px;
}

/* Grid Assimétrico */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Coluna da esquerda é 2x maior */
    gap: 40px;
}

/* Artigo em Destaque */
.featured-article {
    display: block;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 65, 155, 0.1);
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Gradiente que escurece a imagem na base para legibilidade */
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0) 60%);
    z-index: 1;
    transition: background 0.4s ease;
}

.featured-article img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-article:hover img {
    transform: scale(1.05); /* Efeito de zoom sutil */
}

.article-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
}
.article-category {
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase;
    color: #87CEFA; /* Azul claro para a categoria */
}
.article-content h3 {
    font-size: 1.8rem; margin: 5px 0 10px 0;
    line-height: 1.3;
}
.article-content p {
    font-weight: 300;
    opacity: 0.8;
}

/* Artigos Secundários */
.secondary-articles {
    display: flex;
    flex-direction: column;
}

.secondary-article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
    text-decoration: none;
    color: #000;
}
.article-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}
.secondary-article-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}
.article-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.secondary-article-item:hover h4 {
    color: var(--gold-color);
}
.secondary-article-item:hover .article-arrow {
    transform: translateX(5px);
    color: var(--gold-color);
}

/* Link "Ver Todos" */
.view-all-link {
    margin-top: auto; /* Empurra o link para o final da coluna */
    padding-top: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
}
.view-all-link::after {
    content: '';
    position: absolute;
    width: 30%; height: 2px;
    background-color: var(--primary-color);
    bottom: -5px; left: 0;
    transition: width 0.3s ease;
}
.view-all-link:hover::after {
    width: 100%;
}



.news-showcase-section .secondary-article-item h4 {
    /* As 4 propriedades mágicas para truncamento em múltiplas linhas */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* <-- AQUI você define o número máximo de linhas! */
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* Propriedades de estilo que você já tinha (para garantir consistência) */
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4; /* Ajuste o line-height para um bom espaçamento */
    transition: color 0.3s ease;
}

/* Garante que o hover continue funcionando como antes */
.news-showcase-section .secondary-article-item:hover h4 {
    color: var(--gold-color);
}


/* --- Truncamento para o TÍTULO (h3) do artigo de destaque --- */
.news-showcase-section .featured-article .article-content h3 {
    /* As 4 propriedades mágicas para truncamento */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* <-- Limite de 2 linhas para o TÍTULO */
    -webkit-box-orient: vertical;
    overflow: hidden;

    /* Estilos existentes para garantir consistência */
    font-size: 1.8rem;
    margin: 5px 0 10px 0;
    line-height: 1.3;
}

/* --- Truncamento para o RESUMO (p) do artigo de destaque --- */
.news-showcase-section .featured-article .article-content p {
    /* As 4 propriedades mágicas para truncamento */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* <-- Limite de 3 linhas para o RESUMO */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;

    /* Estilos existentes para garantir consistência */
    font-weight: 300;
    opacity: 0.8;
    line-height: 1.5; /* Bom espaçamento para o parágrafo */
}



/* Responsividade */
@media (max-width: 991.98px) {
    .news-grid {
        grid-template-columns: 1fr; /* Coluna única em telas menores */
    }
    .featured-article {
        height: 400px;
    }
}


