/*
Theme Name: Gridbox Child
Template: gridbox
Version: 1.0
*/

@import url("../gridbox/style.css");
body{
   
    font-family:Georgia, serif;
}

/* TOPO */

.site-header{
    background:#dddddd26;
}

.site-title a{
    color:#fff !important;
    font-size:42px;
    font-weight:900;
}

/* CONTAINER */

.giro-home{
    max-width:1800px;
    margin:auto;
    padding:10px 25px 40px;
}

/* GRID */

.top-news{
    display:grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap:35px;
    align-items:start;
}

/* ESQUERDA */

.cat-main{
    color:#0b4c74;
    font-size:18px;
    font-weight:700;
}

.main-news h1{
    font-size:40px;
    line-height:1.05;
    font-weight:700;
    margin:12px 0 20px;
}

.main-news h1 a{
    color:#111;
    text-decoration:none;
}

.main-news p{
    font-size:19px;
    color:#333;
    line-height:1.5;
    border-bottom:1px solid #ddd;
    padding-bottom:25px;
}

/* LISTA */

.mini-list{
    margin-top:25px;
}

.mini-item{
    display:flex;
    gap:15px;
    align-items:flex-start;
    
    border-bottom:1px solid #ddd;
}

.mini-bar{
    width:5px;
    height:28px;
    background:#0b4c74;
    margin-top:18px;
}

.mini-item h3{
    font-size:20px;
    line-height:1.3;
    font-weight:700;
}

.mini-item h3 a{
    color:#111;
    text-decoration:none;
}

/* DIREITA */

.side-image{
    position:relative;
    overflow:hidden;
    border-radius:4px;
}

.side-image img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1));
}

.side-content{
    position:absolute;
    bottom:30px;
    left:30px;
    right:30px;
    z-index:2;
}

.side-cat{
    background:#0b4c74;
    color:#fff;
    padding:8px 16px;
    font-size:13px;
    font-weight:700;
    border-radius:3px;
    text-transform:uppercase;
}

.side-content h2{
    font-size:25px;
    line-height:1.1;
    margin:20px 0;
}

.side-content h2 a{
    color:#fff;
    text-decoration:none;
}

.side-content p{
    color:#fff;
    font-size:18px;
    line-height:1.5;
}

/* MOBILE */

@media(max-width:991px){

.top-news{
    grid-template-columns:1fr;
}

.main-news h1{
    font-size:48px;
}

.side-image img{
    height:450px;
}

.side-content h2{
    font-size:32px;
}

.mini-item h3{
    font-size:20px;
}

}

.news-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
    margin-top:40px;
}

.grid-card{
    background:#fff;
}

.grid-card a{
    text-decoration:none;
}

.grid-thumb{
    overflow:hidden;
    border-radius:6px;
}

.grid-thumb img{
    width:100%;
    height:210px;
    object-fit:cover;
    transition:0.3s;
}

.grid-card:hover img{
    transform:scale(1.04);
}

.grid-content{
    padding-top:15px;
}

.grid-cat{
    color:#0b4c74;
    font-size:16px;
    font-weight:700;
}

.grid-content h2{
    color:#111;
    font-size:22px;
    line-height:1.3;
    margin-top:12px;
    font-weight:700;
}

/* MOBILE */

@media(max-width:991px){

.news-grid{
    grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.news-grid{
    grid-template-columns:1fr;
}
.cat-main{
    color:#0b4c74;
    font-size:18px;
    font-weight:700;
}

.main-news h1{
    font-size:30px;
    line-height:1.05;
    font-weight:700;
    margin:12px 0 20px;
}

.main-news h1 a{
    color:#111;
    text-decoration:none;
}

.main-news p{
    font-size:19px;
    color:#333;
    line-height:1.5;
    border-bottom:1px solid #ddd;
    padding-bottom:25px;
}

/* LISTA */

.mini-list{
    margin-top:25px;
}

.mini-item{
    display:flex;
    gap:15px;
    align-items:flex-start;
    
    border-bottom:1px solid #ddd;
}

.mini-bar{
    width:5px;
    height:28px;
    background:#0b4c74;
    margin-top:18px;
}

.mini-item h3{
    font-size:15px;
    line-height:1.3;
    font-weight:700;
}

.mini-item h3 a{
    color:#111;
    text-decoration:none;
}
.side-content h2{
    font-size:18px;
    line-height:1.1;
    margin:20px 0;
}
}
/* BODY */


/* BODY */

body{
    margin:0;
    background:#fff;
    font-family:Arial,sans-serif;
}



/* HEADER */

.header-main{
    max-width:1280px;
    margin:auto;
    padding:22px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.custom-logo{
    max-height:95px;
    width:auto;
}

.logo-text{
    font-size:54px;
    color:#ff7a00;
    margin:0;
    font-weight:900;
}

/* BANNER */

.header-banner img{
    width:100%;
    max-width:728px;
    border-radius:4px;
}

/* MENU */

.main-menu{
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
    background:#005;
}

/* MENU */

.menu-container{
    max-width:1280px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    padding:0 10px;
}

.portal-menu{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:35px;
    list-style:none;
    margin:0;
    padding:15x 10;
}

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

.portal-menu a{
    text-decoration:none;
    color:#fff;
    font-size:19px;
    font-weight:500;
}

.portal-menu a:hover{
    color:#ff7a00;
}




/* CONTEÚDO */

.site-content{
    max-width:1280px;
    margin:auto;
    padding:30px 20px;
}

/* MOBILE */

@media(max-width:991px){

.header-main{
    flex-direction:column;
    gap:20px;
}

.portal-menu{
    overflow-x:auto;
    white-space:nowrap;
    gap:20px;
}

.top-date{
    display:none;
}

}
/* FOOTER */

.news-footer{
    background:#111;
    color:#fff;
    margin-top:70px;
}

/* TOPO */

.footer-top{
    padding:60px 0;
    border-bottom:1px solid #222;
}

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

/* GRID */

.footer-top .footer-container{
    display:grid;
    grid-template-columns:1.2fr 2fr;
    gap:80px;
}

/* LOGO */

.footer-logo h2{
    font-size:48px;
    font-weight:900;
    margin-bottom:18px;
}

.footer-logo p{
    color:#aaa;
    font-size:18px;
    line-height:1.6;
}

/* COLUNAS */

.footer-columns{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.footer-col h3{
    font-size:22px;
    margin-bottom:25px;
    color:#fff;
}

/* LINKS */

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col li{
    margin-bottom:14px;
}

.footer-col a{
    color:#bbb;
    text-decoration:none;
    font-size:17px;
    transition:0.3s;
}

.footer-col a:hover{
    color:#ff7a00;
}

/* COPYRIGHT */

.footer-bottom{
    background:#0b0b0b;
}

.footer-copy{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 20px;
}

.footer-copy p{
    margin:0;
    color:#888;
    font-size:15px;
}

/* MOBILE */

@media(max-width:991px){

.footer-top .footer-container{
    grid-template-columns:1fr;
    gap:50px;
}

.footer-columns{
    grid-template-columns:1fr;
}

.footer-copy{
    flex-direction:column;
    gap:10px;
    text-align:center;
}

.footer-logo h2{
    font-size:36px;
}

}
section-title{
    font-size:38px;
    font-weight:900;
    margin:50px 0 0px;
    color:#111;
    border-left:6px solid #ff7a00;
    padding-left:2px;
}

.colunas-sociais{
    position:relative;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
    width:100vw;
    background:#02033b;
    padding:40px 20px;
}

body{
    overflow-x:hidden;
}
.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.section-header h2{
    color:#fff;
    font-size:28px;
    font-weight:700;
}

.autores{
    display:flex;
    gap:10px;
}

.autores a{
    border:1px solid #fff;
    padding:10px 18px;
    border-radius:30px;
    color:#fff;
    text-decoration:none;
    font-size:14px;
}

.colunas-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.coluna-card{
    overflow:hidden;
    border-radius:12px;
    background:#fff;
}

.coluna-card img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:block;
}

.content{
    padding:15px;
}

.content h3{
    font-size:22px;
    line-height:1.4;
    color:#111;
}
.section-header,
.colunas-grid{
    max-width:1200px;
    margin:auto;
}
@media(max-width:768px){

    .colunas-grid{
        grid-template-columns:1fr;
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .section-header h2{
        font-size:32px;
    }

}

/* =========================
   SINGLE PREMIUM
========================= */

.premium-single{
    max-width:950px;
    margin:auto;
    padding:40px 20px;
}

/* HERO */

.single-hero{
    margin-bottom:35px;
}

.post-category{
    margin-bottom:20px;
}

.post-category a{
    background:#0026ff;
    color:#fff;
    padding:7px 16px;
    border-radius:30px;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}

.entry-title{
    font-size:40px;
    line-height:1.1;
    font-weight:900;
    color:#111;
    margin-bottom:25px;
    letter-spacing:-2px;
}

/* LINHA */

.title-divider{
    width:90px;
    height:5px;
    background:#0026ff;
    border-radius:50px;
    margin-bottom:25px;
}

/* META */

.single-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    padding-bottom:25px;
    border-bottom:1px solid #eee;
}

.meta-left{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.meta-left span{
    color:#666;
    font-size:14px;
    font-weight:500;
}

.meta-right{
    display:flex;
    gap:10px;
}

.share-btn{
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    color:#fff;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.whatsapp{
    background:#1ebe5d;
}

.facebook{
    background:#1877f2;
}

.share-btn:hover{
    transform:translateY(-2px);
    opacity:.9;
}

/* IMAGEM */

.featured-image{
    margin-bottom:40px;
}

.featured-image img{
    width:100%;
    border-radius:18px;
    display:block;
}

/* CONTEÚDO */

.single-content{
    font-size:24px;
    line-height:1.9;
    color:#222;
}

.single-content p{
    margin-bottom:32px;
}

.single-content h2,
.single-content h3{
    margin-top:50px;
    margin-bottom:20px;
    line-height:1.3;
}

.single-content img{
    border-radius:15px;
    margin:30px 0;
}

/* TAGS */

.single-tags{
    margin-top:50px;
}

.single-tags a{
    background:#f1f1f1;
    padding:10px 16px;
    border-radius:30px;
    text-decoration:none;
    color:#333;
    margin-right:10px;
    display:inline-block;
    margin-bottom:10px;
    font-size:14px;
}

/* AUTOR */

.author-box{
    margin-top:60px;
    background:#f7f7f7;
    border-radius:20px;
    padding:30px;
    display:flex;
    gap:20px;
    align-items:center;
}

.author-avatar img{
    border-radius:50%;
}

.author-info h4{
    font-size:22px;
    margin-bottom:8px;
}

.author-info p{
    color:#666;
    line-height:1.6;
}

/* RELACIONADOS */

.related-posts{
    margin-top:70px;
}

.related-posts h2{
    font-size:40px;
    margin-bottom:30px;
    font-weight:800;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.related-card{
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.07);
    transition:.3s;
}

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

.related-thumb img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.related-content{
    padding:20px;
}

.related-content h3{
    font-size:20px;
    line-height:1.5;
    color:#111;
}

.related-card a{
    text-decoration:none;
}

/* MOBILE */

@media(max-width:991px){

    .entry-title{
        font-size:42px;
    }

    .single-content{
        font-size:20px;
    }

    .related-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    .entry-title{
        font-size:34px;
    }

    .single-content{
        font-size:19px;
        line-height:1.8;
    }

}
/* LEIA TAMBÉM */


.mid-related h3{
    font-size:15px;
    margin-bottom:0px;
    color:#111;
    font-weight:800;
    position:relative;
}

.mid-related h3:after{
    content:'';
    width:70px;
    height:4px;
    background:#0026ff;
    position:absolute;
    left:0;
    bottom:-10px;
    border-radius:50px;
}

.mid-related-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
}

.mid-related-card{
    transition:.3s;
}

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

.mid-related-card a{
    display:flex;
    gap:15px;
    text-decoration:none;
}

.mid-related-thumb img{
    width:205px;
    height:95px;
    object-fit:cover;
    border-radius:12px;
}

.mid-related-category{
    font-size:13px;
    font-weight:700;
    color:#0026ff;
    display:block;
    margin-bottom:8px;
    text-transform:uppercase;
}

.mid-related-content h4{
    font-size:18px;
    line-height:1.3;
    color:#111;
    font-weight:800;
}

@media(max-width:768px){

    .mid-related-grid{
        grid-template-columns:1fr;
    }

    .mid-related-content h4{
        font-size:18px;
    }

    .mid-related h3{
        font-size:25px;
    }

}
/* =========================
   NOTÍCIAS + BANNER
========================= */

.news-banner-section{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:40px;
    padding:40px 20px;
    border-bottom:1px solid #ddd;
}

/* NOTÍCIA PRINCIPAL */

.featured-news a{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    text-decoration:none;
    color:inherit;
}

.featured-thumb img{
    width:100%;
    height:420px;
    object-fit:cover;
    border-radius:12px;
}

.featured-category{
    color:#ff6600;
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
    display:block;
    margin-bottom:12px;
}

.featured-content h2{
    font-size:40px;
    line-height:1.1;
    color:#111;
    margin-bottom:20px;
    font-weight:900;
}

.featured-content p{
    font-size:0px;
    line-height:1.5;
    color:#555;
}

/* GRID MENOR */

.small-news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:40px;
}

.small-news-card a{
    text-decoration:none;
}

.small-thumb img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:12px;
}

.small-news-card h3{
    font-size:24px;
    line-height:1.4;
    color:#111;
    font-weight:700;
}

/* BANNER */

.banner-side img{
    width:100%;
    border-radius:10px;
    position:sticky;
    top:20px;
}

/* MOBILE */

@media(max-width:991px){

    .news-banner-section{
        grid-template-columns:1fr;
    }

    .featured-news a{
        grid-template-columns:1fr;
    }

    .featured-content h2{
        font-size:38px;
    }

    .featured-content p{
        font-size:22px;
    }

    .small-news-grid{
        grid-template-columns:1fr;
    }

}
/* ===== COLUNA SOCIAL PREMIUM ===== */

.social-premium{
    width:100%;
    padding:35px;
    margin:40px 0;
    background:linear-gradient(135deg,#f8f4ec,#efe7da);
    border-radius:28px;
    position:relative;
    overflow:hidden;
}

/* TITULO */

.social-title{
    margin-bottom:28px;
}

.social-title h2{
    font-size:38px;
    margin:0;
    color:#111;
    font-weight:900;
    font-family:Georgia, serif;
    letter-spacing:2px;
}

.social-title span{
    display:block;
    margin-top:10px;
    color:#b08a1c;
    font-size:13px;
    font-weight:700;
    letter-spacing:4px;
}

/* GRID 4 COLUNAS */

.social-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

/* CARD */

.social-card{
    position:relative;
    height:300px;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.social-card a{
    text-decoration:none;
}

.social-thumb{
    width:100%;
    height:100%;
}

.social-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.social-card:hover img{
    transform:scale(1.05);
}

/* OVERLAY */

.social-overlay{
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    padding:22px;
    background:linear-gradient(to top,rgba(0,0,0,.92),transparent);
}

.social-badge{
    background:#d4af37;
    color:#111;
    padding:6px 12px;
    border-radius:30px;
    font-size:10px;
    font-weight:900;
    letter-spacing:1px;
    display:inline-block;
    margin-bottom:12px;
}

.social-overlay h3{
    color:#fff;
    font-size:18px;
    line-height:1.2;
    margin:0;
    font-weight:900;

    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* RESPONSIVO */

@media(max-width:1200px){

    .social-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .social-grid{
        grid-template-columns:1fr;
    }

    .social-title h2{
        font-size:32px;
    }

    .social-card{
        height:350px;
    }

}