/* --- GLOBAIS E VARIÁVEIS DE COR --- */
:root {
    --rc-blue: #0044b3; /* Azul do logo */
    --rc-black: #000000; /* Preto do logo */
    --rc-white: #ffffff; /* Branco */
    --background-light: #f5f5f5;
    --text-dark: #212121;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- CABEÇALHO (Estilo Padrão) --- */
.main-header {
    background-color: var(--rc-white);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 60px; }
.main-nav ul { list-style: none; display: flex; gap: 25px; }
.main-nav a { text-decoration: none; color: var(--rc-black); font-weight: 700; font-size: 1rem; padding-bottom: 5px; border-bottom: 3px solid transparent; transition: all 0.3s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--rc-blue); border-bottom-color: var(--rc-blue); }
.menu-toggle, .mobile-nav { display: none; }

/* --- RODAPÉ (Estilo Padrão) --- */
.main-footer {
    background-color: var(--rc-black);
    color: var(--rc-white);
    padding: 40px 0;
    text-align: center;
}
.footer-logo { height: 80px; margin-bottom: 20px; }
.footer-content p { margin-bottom: 10px; font-size: 0.9rem; }


/* --- ESTILOS ESPECÍFICOS DA PÁGINA DE NOTÍCIAS --- */
.page-title-section {
    background-color: var(--rc-black);
    color: var(--rc-white);
    padding: 60px 0;
    text-align: center;
}
.page-title-section h1 { font-size: 3.5rem; }

.news-portal {
    padding: 60px 20px;
}

.featured-article {
    background: var(--rc-white);
    margin-bottom: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.featured-article img { width: 100%; display: block; }
.featured-article .article-content { padding: 30px; }
.featured-article .category { background: var(--rc-blue); color: var(--rc-white); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.featured-article h2 { font-size: 2.5rem; margin: 20px 0; }
.featured-article p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; }
.read-more { font-weight: 700; color: var(--rc-blue); text-decoration: none; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.article-card { background: var(--rc-white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card .article-content { padding: 20px; }
.article-card .category { font-size: 0.75rem; font-weight: 700; color: var(--rc-blue); text-transform: uppercase; }
.article-card h3 { font-size: 1.25rem; margin-top: 10px; }


/* --- RESPONSIVIDADE (Estilo Padrão + Ajustes) --- */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .main-nav { display: none; }
    .menu-toggle { display: block; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
    .menu-toggle .bar { display: block; width: 25px; height: 3px; background-color: var(--rc-black); margin: 5px 0; transition: 0.4s; }
    body.nav-open .menu-toggle .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    body.nav-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
    body.nav-open .menu-toggle .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
    body.nav-open .mobile-nav { display: block; }
    .mobile-nav { display: none; position: absolute; top: 91px; left: 0; width: 100%; background-color: var(--rc-white); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
    .mobile-nav ul { list-style: none; text-align: center; }
    .mobile-nav li { border-bottom: 1px solid #eee; }
    .mobile-nav a { display: block; padding: 20px; text-decoration: none; color: var(--rc-black); font-weight: 700; }
    
    /* Ajustes específicos da página */
    .page-title-section h1 { font-size: 2.5rem; }
    .featured-article h2 { font-size: 1.8rem; }
}