/* =========================
   BASE
========================= */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#eef2f7;
    color:#111;
}

/* =========================
   HEADER
========================= */

header{
    position:sticky;
    top:0;
    z-index:9999;
    background:#0f172a;
    color:white;
    padding:10px 12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.25);
}

/* linha superior */
.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

/* =========================
   BOTÕES (GERAL)
========================= */

.btn{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    color:white;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    cursor:pointer;
    transition:0.2s;
    white-space:nowrap;
}

.btn:hover{
    background:rgba(255,255,255,0.18);
    transform:scale(1.03);
}

/* ATIVO */
.active{
    background:#f59e0b !important;
    color:#111 !important;
    font-weight:bold;
    border:1px solid #f59e0b;
}

/* =========================
   GRUPOS
========================= */

.days,
.categories{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;
}

/* =========================
   LOGO
========================= */

.logo{
    font-weight:900;
    font-size:18px;
    margin-left:auto;
    letter-spacing:0.5px;
}

/* =========================
   ADS TOPO
========================= */

.ads-top{
    background:#ffffff;
    text-align:center;
    padding:12px;
    font-size:12px;
    border-bottom:1px solid #ddd;
    color:#666;
}

/* =========================
   CONTEÚDO NOTÍCIAS
========================= */

.news{
    max-width:900px;
    margin:20px auto;
    padding:0 12px;
}

/* CARD NOTÍCIA */
.card{
    background:#fff;
    padding:16px;
    margin-bottom:12px;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
    transition:0.2s;
}

.card:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 14px rgba(0,0,0,0.1);
}

.card h3{
    margin:0 0 6px 0;
    font-size:16px;
}

.card p{
    font-size:14px;
    color:#444;
    margin:0 0 8px 0;
}

.card small{
    color:#777;
    font-size:12px;
}

.card a{
    display:inline-block;
    margin-top:8px;
    color:#2563eb;
    font-weight:bold;
    text-decoration:none;
}

.card a:hover{
    text-decoration:underline;
}

/* =========================
   ADS ENTRE NOTÍCIAS
========================= */

.ad{
    background:#fff;
    border:1px dashed #bbb;
    padding:18px;
    text-align:center;
    margin:15px 0;
    border-radius:10px;
    color:#666;
    font-size:13px;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width:768px){

    .top{
        flex-direction:column;
        align-items:flex-start;
    }

    .logo{
        margin-left:0;
        font-size:16px;
        margin-top:6px;
    }

    .btn{
        font-size:11px;
        padding:5px 8px;
    }
}


/* =========================
   FOOTER (FINAL DA PÁGINA)
========================= */

.footer{
    background:#0f172a;
    color:white;
    padding:20px 12px;
    margin-top:30px;
    border-top:1px solid rgba(255,255,255,0.08);
}

.footer-container{
    max-width:900px;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    flex-wrap:wrap;
}

.footer-left{
    font-size:12px;
    color:#cbd5e1;
    line-height:1.4;
    max-width:500px;
}

.footer-right{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.footer-right a{
    color:#f59e0b;
    text-decoration:none;
    font-size:12px;
    font-weight:bold;
}

.footer-right a:hover{
    text-decoration:underline;
}
