/* ============================================================
   ESTILO DE CARDS LIMPO
   ============================================================ */
.container-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.card-item {
    flex: 1 1 300px;
    max-width: 360px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.card-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.card-item:hover img { transform: scale(1.02); }

.card-item h3 {
    font-size: 16px;
    color: #333 !important;
    margin: 15px 0 10px 0;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
    height: 45px;
    overflow: hidden;
}

.btn-ver-mais {
    display: inline-block;
    padding: 7px 18px;
    background-color: #d3050d !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    align-self: flex-end;
    margin-top: 5px;
}

/* --- ESTILOS PARA NOTICIAS.PHP --- */
.container-noticia-detalhe { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    box-sizing: border-box; 
}

/* Título: Mantido conforme você gosta */
.noticia-titulo { 
    color: #d3050d; 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 24px; 
    font-weight: bold; 
    margin-bottom: 10px; 
}

/* Importa a fonte Open Sans para garantir que ela carregue igual à página 'O Câncer' */
@import url('https://googleapis.com');

/* 1. Ajuste da Linha Vermelha */
.noticia-linha { 
    width: 60px !important;
    height: 2px !important; 
    background: #d3050d !important; 
    margin-bottom: 30px !important; 
    display: block;
}

/* 2. O Texto idêntico à página 'O Câncer' */
.noticia-texto, 
.noticia-texto p, 
.noticia-texto span, 
.noticia-texto div,
.noticia-texto li { 
    font-family: 'Open Sans', sans-serif !important; 
    font-size: 18px !important; /* Tamanho exato da referência */
    color: #444 !important; /* Cinza escuro profissional, não preto puro */
    line-height: 1.8 !important; /* Espaçamento que dá leveza ao texto */
    text-align: justify !important; 
    font-weight: 400 !important;
}

/* 3. Destaque para Negritos (Nomes e termos importantes) */
.noticia-texto b, 
.noticia-texto strong,
.noticia-texto b span,
.noticia-texto strong span {
    color: #d3050d !important;
    font-weight: 700 !important;
}

/* 4. Ajuste para Celular */
@media (max-width: 768px) {
    .noticia-texto, .noticia-texto p, .noticia-texto span {
        font-size: 17px !important;
        text-align: left !important;
    }
}

.noticia-foto-principal { 
    float: left; 
    margin: 0 25px 20px 0; 
    max-width: 400px; 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    object-fit: cover;
    object-position: top; /* Foco nas cabeças */
}

.galeria-extras { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin-top: 40px; 
    padding-top: 20px; 
    border-top: 1px solid #eee; 
}

.galeria-extras img { 
    width: 150px; 
    height: 110px; 
    object-fit: cover; 
    object-position: top; 
    border-radius: 8px; 
}

/* BOTÃO VOLTAR: Lado direito e Vermelho */
.area-voltar { 
    width: 100%; 
    text-align: right; 
    margin: 30px 0; 
    clear: both; 
}

.btn-voltar-noticia { 
    display: inline-block; 
    background: #d3050d; 
    color: #fff !important; 
    padding: 10px 25px; 
    border-radius: 4px; 
    text-decoration: none !important; 
    font-weight: bold; 
    text-transform: uppercase;
    font-size: 13px;
    font-family: Arial;
}