/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
header {
    background: #1a2a6c;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.logo span {
    color: #fdbb2d;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: #fdbb2d;
}

.search-bar input {
    padding: 0.5rem;
    border-radius: 5px;
    border: none;
    outline: none;
}

/* Main Layout */
main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Featured Section */
.featured h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-left: 4px solid #1a2a6c;
    padding-left: 10px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

.card-content {
    padding: 1.5rem;
}

.category {
    background: #1a2a6c;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.news-card p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #1a2a6c;
    text-decoration: none;
    font-weight: bold;
}

/* Sidebar */
.sidebar .widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sidebar .widget h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #1a2a6c;
    padding-bottom: 5px;
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget ul li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.sidebar .widget ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
}

.sidebar .widget ul li a:hover {
    color: #1a2a6c;
}

.adsense-placeholder {
    background: #eee !important;
    text-align: center;
    color: #999;
    padding: 3rem !important;
    border: 1px dashed #ccc;
}

/* Footer */
footer {
    background: #1a2a6c;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid h3 {
    margin-bottom: 1rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-grid ul li a:hover {
    color: #fff;
}

.social-links a {
    color: #fff;
    margin-right: 1rem;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2c3e50;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 1rem;
    }
    main {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
