body{
   background:#eef2f7;
    margin:0;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    overflow-x:hidden;
}
.container-principal{
    background:#fff;
    border-radius:8px;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    padding:20px;
    margin-top:20px;
    margin-bottom:20px;
}
/* HEADER */

.topo{
    background:#0f172a;
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.navbar-custom{
    background:#0b2f6b;
    padding:12px 0;
}

.navbar-brand{
    color:#fff !important;
    font-weight:bold;
    font-size:24px;
}

.nav-link{
    color:#fff !important;
    font-weight:600;
}

.nav-link:hover{
    color:#cbd5e1 !important;
}

/* CAROUSEL */

.carousel-box{
    width:80%;
    margin:auto;
}

.carousel-item img{
    height:90px;
    object-fit:cover;
    border-radius:10px;
}

/* DESTAQUES */

.card-noticia{
    border:none;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    transition:0.3s;
    height:100%;
    background:#fff;
}

.card-noticia:hover{
    transform:translateY(-3px);
}

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

.card-body h5{
    font-size:18px;
    font-weight:bold;
    color:#0f172a;
}

/* SIDEBAR */

.sidebar-box{
    background:#dbeafe;
    border-radius:12px;
    padding:15px;
    margin-bottom:20px;
}

.sidebar-box h4{
    color:#0b2f6b;
    font-size:20px;
    margin-bottom:15px;
}

.sidebar-box img{
    border-radius:10px;
    margin-bottom:12px;
    width:100%;
}

/* ULTIMAS */

.ultima-noticia{
    display:flex;
    gap:15px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.ultima-noticia img{
    width:180px;
    height:120px;
    object-fit:cover;
}

.ultima-conteudo{
    padding:10px;
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.ultima-conteudo h5{
    font-size:18px;
    margin-bottom:10px;
}

.ultima-conteudo p{
    font-size:14px;
    color:#475569;
}
.rodape-noticia{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-top:15px;
}
.data-publicacao{
    font-size:10px;
    color:#94a3b8;
    text-align:right;
    white-space:nowrap;
}
/* FOOTER */

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

.footer-site{

    background:#0f172a;
    color:#cbd5e1;

    margin-top:50px;

    padding:50px 0 20px;

    border-top:4px solid #d90429;
}

.footer-site h4,
.footer-site h5{

    color:#fff;
    margin-bottom:15px;
}

.footer-site p{

    color:#cbd5e1;
    line-height:1.7;
}

.footer-links{

    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{

    margin-bottom:10px;
}

.footer-links a{

    color:#cbd5e1;
    text-decoration:none;

    transition:.3s;
}

.footer-links a:hover{

    color:#fff;
    padding-left:5px;
}

.footer-social{

    display:flex;
    gap:10px;
}

.footer-social a{

    width:42px;
    height:42px;

    border-radius:50%;

    border:1px solid rgba(255,255,255,.25);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    text-decoration:none;

    transition:.3s;
}

.footer-social a:hover{

    background:#fff;
    color:#0b2f6b;

    transform:translateY(-4px);
}

.footer-copy{

    text-align:center;

    color:#94a3b8;

    font-size:14px;
}

.footer-site hr{

    border-color:rgba(255,255,255,.1);
}

/* ===========================
   BOTÃO TOPO
=========================== */

.btn-topo{

    position:fixed;

    right:20px;
    bottom:20px;

    width:50px;
    height:50px;

    border-radius:50%;

    background:#0b2f6b;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:22px;

    box-shadow:0 4px 15px rgba(0,0,0,.25);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:9999;
}

.btn-topo:hover{

    background:#fff;
    color:#0b2f6b;

    transform:translateY(-4px);
}

.btn-topo.show{

    opacity:1;
    visibility:visible;
}

/* MOBILE */

@media(max-width:768px){

    .footer-site{

        text-align:center;
    }

    .footer-social{

        justify-content:center;
    }

}

/* LOGO */

.logo-site{
    height:50px;
    width:auto;
    max-width:180px;
    object-fit:contain;
    margin-right:10px;
}

.nome-site{
    font-size:24px;
    font-weight:700;
    color:#fff;
}

/* REDES SOCIAIS */

.social-topo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-left:20px;
}

.social-topo a{
    width:40px;
    height:40px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.4);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:18px;

    transition:all .3s ease;
}

.social-topo a:hover{
    background:#fff;
    color:#0b2f6b;
    transform:translateY(-3px);
}

.social-topo .bi-youtube:hover{
    color:#ff0000;
}

.social-topo .bi-facebook:hover{
    color:#1877f2;
}

.social-topo .bi-instagram:hover{
    color:#e1306c;
}
.navbar-custom .container{
    position:relative;
}

/* MENU CENTRALIZADO */

.navbar-nav{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
}

/* REDES À DIREITA */

.social-topo{
    margin-left:auto;
    display:flex;
    gap:12px;
}
/* BOTÃO VOLTAR AO TOPO */

.btn-topo{
    position:fixed;
    right:20px;
    bottom:20px;

    width:50px;
    height:50px;

    border-radius:50%;

    background:#0d6efd;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:22px;

    box-shadow:0 4px 10px rgba(0,0,0,.25);

    opacity:0;
    visibility:hidden;

    transition:.3s;
    z-index:9999;
}

.btn-topo:hover{
    background:#084298;
    color:#fff;
    transform:translateY(-3px);
}

.btn-topo.show{
    opacity:1;
    visibility:visible;
}
.clima-box{
    text-align:center;
    background:linear-gradient(135deg,#0b2f6b,#2563eb);
    color:#fff;
}

.clima-box h4{
    color:#fff;
}

.clima-atual img{
    width:80px;
    height:80px;
}

.clima-box .temp{
    font-size:42px;
    font-weight:bold;
    line-height:1;
}

.clima-box .desc{
    font-size:15px;
    margin-top:5px;
    opacity:.95;
}

.clima-info{
    text-align:left;
    font-size:14px;
}

.clima-info div{
    margin-bottom:8px;
}

.clima-box hr{
    border-color:rgba(255,255,255,.2);
}
/* CARD CLIMA */

.clima-box{
    text-align:center;
    background:linear-gradient(135deg,#0b2f6b,#2563eb);
    color:#fff;
}

.clima-box h4{
    color:#fff;
    margin-bottom:10px;
}

.cidade-clima{
    font-size:14px;
    opacity:.9;
    margin-bottom:5px;
}

.icone-clima{
    max-width:60px;
    max-height:60px;
    object-fit:contain;
    margin-bottom:5px;
}

.temp-principal{
    font-size:38px;
    font-weight:700;
    line-height:1;
}

.desc-clima{
    font-size:14px;
    margin-top:5px;
    margin-bottom:10px;
    text-transform:capitalize;
}

.clima-info{
    text-align:left;
    font-size:13px;
}

.clima-info div{
    margin-bottom:6px;
}

.clima-box hr{
    border-color:rgba(255,255,255,.2);
}

.pagination .page-link{
    /*color:#0b2f6b;*/
    color: #FFFF;
    border-radius:8px;
    margin:0 2px;
}

.pagination .active .page-link{
    background:#0b2f6b;
    border-color:#0b2f6b;
}

.pagination .page-link:hover{
    background:#dbeafe;
    color:#0b2f6b;
}
/* MOBILE */

@media(max-width:991px){

    .carousel-box{
        width:100%;
    }

    .ultima-noticia{
        flex-direction:column;
    }

    .ultima-noticia img{
        width:100%;
        height:220px;
    }

    .sidebar{
        margin-top:30px;
    }
    .logo-site{
        height:40px;
    }

    .nome-site{
        font-size:18px;
    }

    .social-topo{
        margin-top:15px;
        margin-left:0;
    }
    .navbar-nav{
        position:static;
        transform:none;
        text-align:center;
        margin-top:15px;
    }

    .social-topo{
        justify-content:center;
        margin-top:15px;
    }
    .carousel-item img{
        height:auto;
        max-height:120px;
        object-fit:contain;
    }

}