/* ==========================================================================
   PÁGINA NEWS — Estilos Específicos e Layout em Grid
   ========================================================================== */

/* --- SISTEMA DE GRID SEGURO --- */
.container, .row, .col-12, .col-md-4, .vit-news-card {
    box-sizing: border-box;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12, .col-md-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Margens Utilitárias */
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-5 { margin-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.text-center { text-align: center !important; }

/* --- CABEÇALHO DA PÁGINA --- */
.vit-news-subtitle {
    color: var(--vit-muted, #666);
    font-size: 1.1rem;
}

/* --- CARDS DE NOTÍCIA --- */
.vit-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    background-color: #fdfdfd;
    padding: 1.5rem; /* Ajustado para dar espaço interno com a imagem grande */
    border-radius: 0.5rem;
    border: 1px solid var(--vit-border, #eee);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vit-news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vit-shadow-hover, 0 8px 25px rgba(0,0,0,0.08));
}

/* Imagens do Card */
.vit-news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.4rem;
    margin-bottom: 1.25rem;
}

.vit-news-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #f4f4f4;
    border-radius: 0.4rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vit-news-img-placeholder i {
    font-size: 3rem;
    color: #ccc;
}

/* Textos do Card */
.vit-news-date {
    font-size: 0.8rem;
    color: var(--vit-accent, #cc5500);
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.vit-news-date i {
    margin-right: 6px;
    font-size: 0.9rem;
}

.vit-news-title {
    color: var(--vit-title, #111);
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.vit-news-text {
    flex-grow: 1; /* Ocupa o espaço vazio empurrando o rodapé para baixo */
    margin-bottom: 1.5rem;
}

.vit-news-text p {
    font-size: 0.95rem;
    color: var(--vit-text, #555);
    line-height: 1.7;
    margin: 0;
}

/* Rodapé do Card (Link) */
.vit-news-footer {
    border-top: 1px solid var(--vit-border, #eee);
    padding-top: 1.25rem;
    margin-top: auto; 
    display: flex;
    align-items: center;
    justify-content: space-between; /* Afasta o texto do ícone */
    color: var(--vit-accent, #cc5500);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.vit-news-card:hover .vit-news-footer {
    color: #a34300; /* Leve escurecimento no hover para indicar interação */
}

/* --- ESTADO VAZIO (Sem notícias) --- */
.vit-news-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.vit-news-empty p {
    color: var(--vit-muted, #666);
    font-size: 1.1rem;
}