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

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background: #f1f1f1;
    color: #333;
}

/* CONTAINER */
.center {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* CLEAR */
.clear {
    clear: both;
}

/* ================= HEADER ================= */

.header-top {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    float: left;
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    margin-left: 25px;
    
}

.logo span {
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
}

/* MENU */
.menu {
    float: right;
}

.menu ul {
    list-style: none;
}

.menu ul li {
    display: inline-block;
    margin-left: 20px;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.3s;
}

.menu ul li a:hover {
    color: #c4170c;
}

/* DATA */
.data {
    text-align: right;
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

/* ================= BANNER ================= */

.banner-topo {
    margin: 20px 0;
}

.banner-topo img {
    width: 100%;
    border-radius: 10px;
}

/* ================= LAYOUT ================= */

.layout-flex {
    display: flex;
    gap: 20px;
}

/* COLUNAS */
.main-content {
    width: 70%;
}

.sidebar {
    width: 30%;
}

/* ================= DESTAQUE ================= */

.destaque-principal {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.destaque-principal img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.destaque-principal h1 {
    font-size: 28px;
    margin: 15px 0;
}

.destaque-principal p {
    color: #555;
    margin-bottom: 10px;
}

/* BOTÃO */
.btn {
    display: inline-block;
    background: #c4170c;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* ================= GRID ================= */

.grid-noticias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* CARD */
.box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

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

.box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.box h2 {
    font-size: 16px;
    padding: 10px;
}

.box p {
    font-size: 14px;
    padding: 0 10px 10px;
    color: #555;
}

.box a {
    display: block;
    margin: 10px;
    padding: 8px;
    text-align: center;
    background: #c4170c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

/* ================= SIDEBAR ================= */

.widget {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.widget h3 {
    margin-bottom: 10px;
}

/* MINI NOTICIAS */
.mini-noticia {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.mini-noticia img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.mini-noticia p {
    font-size: 14px;
}

/* ================= TITULOS ================= */

.section-title {
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    margin: 15px 0;
    font-size: 18px;
}

/* CORES */
.geral-bg { background: #c4170c; }
.saude-bg { background: #00a650; }
.cultura-bg { background: #0073e6; }
.ent-bg { background: #ff9800; }

.geral-cor { color: #c4170c; }
.saude-cor { color: #00a650; }
.cultura-cor { color: #0073e6; }
.entretendimento-cor { color: #ff9800; }

/* ================= FOOTER ================= */

footer {
    background: #fff;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
}

footer img {
    width: 50px;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 900px) {

    .layout-flex {
        flex-direction: column;
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    .menu {
        float: none;
        text-align: center;
        margin-top: 10px;
    }

    .menu ul li {
        display: block;
        margin: 10px 0;
    }

    .logo {
        float: none;
        justify-content: center;
    }

    .data {
        text-align: center;
    }

    .destaque-principal img {
        height: 250px;
    }
}

/* FORÇA HEADER CORRETO */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* MENU */
.menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu ul li {
    list-style: none;
}

/* REMOVE QUALQUER BULLET */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.banner-topo {
    text-align: center;
    margin: 20px 0;
}

.banner-topo img {
    max-width: 100%;
    width: 728px; /* TAMANHO REAL DO BANNER */
    height: auto;
    display: inline-block;
}