/* ==========================================================================
   PÁGINA DETALHES DA NOTÍCIA - REFATORAÇÃO DEFINITIVA (PRODUÇÃO)
   ========================================================================== */

/* Reset Seguro para essa página */
.vit-news-container * {
    box-sizing: border-box;
}

.vit-news-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 15px;
}

/* --- TÍTULO CENTRALIZADO --- */
.vit-header-news {
    text-align: center;
    margin-bottom: 5rem;
}
.vit-badge-orange {
    color: #cc5500;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
.vit-article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #111;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}
.vit-article-line {
    width: 60px;
    height: 4px;
    background-color: #cc5500;
    margin: 0 auto;
    border-radius: 2px;
}

/* --- GRID DAS SEÇÕES (FLEXBOX BLINDADO) --- */
.vit-news-section {
    display: flex;
    flex-direction: row; /* Padrão: Texto (Esq) / Imagem (Dir) */
    align-items: center;
    gap: 4rem; /* Espaço seguro entre texto e imagem */
    margin-bottom: 5rem;
}

/* Intercalação (Pares) - Inverte a ordem visualmente */
.vit-layout-reverse {
    flex-direction: row-reverse; /* Inverte: Imagem (Esq) / Texto (Dir) */
}

/* Colunas de exatos 50% */
.vit-col-text, .vit-col-image {
    flex: 1;
    width: 50%;
    min-width: 0; /* Impede que o conteúdo interno quebre o layout flex */
}

/* --- TEXTO --- */
.vit-col-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* --- IMAGEM CONFINADA --- */
.vit-img-wrap {
    width: 100%;
    display: block;
}
.vit-img-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.vit-legenda {
    font-size: 0.9rem;
    color: #777;
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* --- RESPONSIVO (CELULAR E TABLET) --- */
@media (max-width: 850px) {
    .vit-news-section, 
    .vit-news-section.vit-layout-reverse {
        flex-direction: column; /* Quebra para uma coluna vertical */
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .vit-col-text, .vit-col-image {
        width: 100%; /* Ocupam a tela toda */
    }
    
    /* Força a imagem a sempre aparecer em cima do texto no celular */
    .vit-col-image { order: -1; }
    .vit-col-text { order: 2; }
}

/* --- BOTOES --- */
.vit-btn-back {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border: 2px solid #cc5500;
    color: #111;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.vit-btn-back:hover {
    background: #cc5500;
    color: #fff;
}
.vit-text-center { text-align: center; margin-top: 2rem; margin-bottom: 2rem; }