/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

/* Navegação */
.nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu {
    list-style: none;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    font-weight: 500;
}

.nav-menu li a:hover {
    background-color: #667eea;
    color: white;
}

/* Layout principal */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 30px 0;
}

.content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Notícia destaque */
.noticia-destaque {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.noticia-destaque img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.noticia-destaque-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px;
}

.noticia-destaque-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.noticia-destaque-info p {
    font-size: 16px;
    opacity: 0.9;
}

/* Grid de notícias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.noticia-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.noticia-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.noticia-card-body {
    padding: 15px;
}

.noticia-categoria {
    display: inline-block;
    background-color: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
}

.noticia-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.noticia-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

/* Página de notícia individual */
.noticia-single {
    max-width: 800px;
    margin: 0 auto;
}

.noticia-header {
    margin-bottom: 30px;
}

.noticia-header h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

.noticia-header h2 {
    font-size: 20px;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
}

.noticia-info {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.noticia-info span {
    font-size: 14px;
    color: #666;
}

.noticia-info i {
    margin-right: 5px;
    color: #667eea;
}

.noticia-imagem {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.noticia-conteudo {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.noticia-conteudo p {
    margin-bottom: 20px;
}

.noticia-conteudo img {
    margin: 20px 0;
    border-radius: 8px;
}

/* Sidebar widgets */
.widget {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.widget-noticias {
    list-style: none;
}

.widget-noticias li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.widget-noticias li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.widget-noticias a {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.widget-noticias a:hover {
    color: #667eea;
}

.widget-noticias small {
    font-size: 12px;
    color: #999;
}

/* Anúncios */
.anuncio {
    text-align: center;
    margin: 20px 0;
}

.anuncio img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    text-align: center;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

.pagination a:hover {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .current {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* Responsivo */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .noticia-destaque img {
        height: 250px;
    }
    
    .noticia-destaque-info h2 {
        font-size: 20px;
    }
    
    .noticia-header h1 {
        font-size: 28px;
    }
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* Desktop */@media (min-width: 769px) {    .nav-menu {        display: flex;    }}
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
}
