/* =========================
   PÁGINAS PADRÃO
========================= */

.default-page-content{
    padding:0;
    background:#fff;
    color:#111;
}

.default-page-content .container-read{
    max-width:860px;
    margin:0 auto;
}

.default-page-content p{
    margin-bottom:22px;
    font-size:18px;
    line-height:1.85;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner{
    position:relative;
    width:100%;
    height:52vh;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
}

.page-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.78),
        rgba(0,0,0,.22)
    );
}

.page-banner-content{
    position:relative;
    z-index:2;
    color:#fff;
    width:100%;
    padding:50px 20px;
}

.page-banner-content .container{
    max-width:1150px;
    margin:0 auto;
}

.page-banner-content h1{
    max-width:780px;
    font-size:clamp(34px, 5vw, 56px);
    font-weight:400;
    letter-spacing:-2px;
    line-height:1.02;
    text-wrap:balance;
    text-shadow:0 4px 18px rgba(0,0,0,.18);
}

/* =========================
   SINGLE PORTAL
========================= */

.portal-single{
    background:#fff;
    color:#111;
}

/* =========================
   LEGENDA / FONTE IMAGEM
========================= */

.wp-caption{
    width:100% !important;
    margin:38px 0;
    background:#fafafa;
    border-radius:1px;
    overflow:hidden;
    border:1px solid #ececec;
}

.wp-caption img{
    width:100%;
    display:block;
    margin:0 !important;
    border-radius:0 !important;
}

.wp-caption-text{
    padding:14px 18px !important;
    margin:0 !important;
    font-size:13px;
    line-height:1.7;
    color:#555;
    font-style:normal;
    background:#fafafa;
    border-top:1px solid #ececec;
}

.wp-caption-text strong{
    color:#111;
    font-weight:700;
}

/* =========================
   LEGENDA GUTENBERG
========================= */

.post-content .wp-block-image{
    margin:40px 0;
}

.post-content .wp-block-image img{
    width:100%;
    border-radius:1px;
    margin-bottom:0;
}

.post-content .wp-block-image figcaption{
    margin-top:0;
    padding:14px 18px;
    background:#f6f6f6;
    border:1px solid #ececec;
    border-top:none;
    border-radius:0 0 18px 18px;
    font-size:9px;
    line-height:1.7;
    color:#555;
    text-align:left;
}

.post-content .wp-block-image figcaption strong{
    color:#111;
    font-weight:700;
}

/* SINGLE VIDEO */

.single-video-page .post-content .wp-block-image figcaption,
.single-video-page .video-post-content .wp-block-image figcaption{
    background:#111;
    border-color:rgba(255,255,255,.08);
    color:rgba(255,255,255,.72);
}

.single-video-page .wp-block-image figcaption strong{
    color:#fff;
}

.single-video-page .wp-caption{
    background:#111;
    border:1px solid rgba(255,255,255,.08);
}

.single-video-page .wp-caption-text{
    background:#111;
    border-top:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.72);
}

.single-video-page .wp-caption-text strong{
    color:#fff;
}

/* =========================
   ADS
========================= */

.ad-global-top,
.ad-sidebar,
.ad-middle{
    margin:35px 0;
}

.ad-box{
    border:1px solid #ececec;
    overflow:hidden;
}

.ad-box img{
    display:block;
    width:100%;
}

.ad-box iframe{
    width:100%;
}

.ad-box span{
    display:block;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#777;
}

.ad-global-top .ad-box,
.ad-sidebar .ad-box,
.ad-middle .ad-box{
    background:#fafafa;
    border-radius:18px;
    padding:12px;
}

.ad-global-top .ad-box span,
.ad-sidebar .ad-box span,
.ad-middle .ad-box span{
    margin-bottom:10px;
}

.category-ad-top .ad-box{
    background:#f5f5f5;
    border-radius:1px;
    text-align:center;
}

.category-ad-top .ad-box span{
    padding:10px;
}

/* =========================
   HERO SINGLE
========================= */

.portal-hero{
    position:relative;
    height:68vh;
    overflow:hidden;
    background:#000;
    color:#fff;
    display:flex;
    align-items:flex-end;
}

.portal-hero.no-hero-image{
    height:auto;
    background:#111;
    padding:140px 0 70px;
}

.portal-hero.no-hero-image .hero-content{
    position:relative;
    z-index:5;
    width:100%;
    padding:0 20px;
    text-align:center;
    left:auto;
    transform:none;
    margin:0 auto;
}

.portal-hero.no-hero-image .meta{
    justify-content:center;
    margin-top:16px;
}

/* IMAGEM */

.hero-media{
    position:absolute;
    inset:0;
}

.hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* OVERLAY */

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.92) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.15) 100%
    );
}

/* CONTEÚDO HERO */

.portal-hero > .hero-content{
    position:absolute;
    left:50%;
    bottom:80px;
    transform:translateX(-50%);
    z-index:5;
    width:100%;
    max-width:1500px;
    padding:40px 80px;
    text-align:center;
}

.portal-hero > .hero-content .container{
    max-width:1120px;
    margin:0 auto;
}

/* CATEGORIA */

.portal-hero .category{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--cat-color, #f18d3e);
    color:#fff;
    padding:7px 15px;
    border-radius:30px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.8px;
    text-transform:uppercase;
    margin-bottom:16px;
}

/* TÍTULO HERO */

.portal-hero h1{
    max-width:90%;
    margin:0 auto 20px;
    font-size:clamp(12px, 6vw, 35px);
    font-weight:400;
    line-height:1.05;
    letter-spacing:0;
    color:#fff;
    text-wrap:balance;
    text-shadow:0 4px 20px rgba(0,0,0,.45);
}

/* META */

.portal-hero .meta{
    display:flex;
    justify-content:center;
    margin-top:20px;
    font-size:15px;
    font-weight:500;
    letter-spacing:.5px;
    color:rgba(255,255,255,.85);
}

/* SUBTÍTULO HERO */

.hero-subtitle{
    max-width:820px;
    margin:0 auto 24px;
    font-size:24px;
    line-height:1.6;
    font-weight:400;
    color:rgba(255,255,255,.95);
}

.portal-hero.no-hero-image .hero-subtitle{
    color:rgba(255,255,255,.82);
}

/* AUTOR + FONTE */

.article-info{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    align-items:center;
    margin-bottom:28px;
    padding-bottom:18px;
    border-bottom:1px solid #ececec;
    font-size:14px;
    color:#666;
}

.article-author{
    font-weight:600;
    color:#111;
}

.article-source a{
    color:var(--cat-color);
    text-decoration:none;
    font-weight:600;
}

.article-source a:hover{
    text-decoration:underline;
}

/* =========================
   LAYOUT SINGLE
========================= */

.portal-body{
    display:grid;
    grid-template-columns:minmax(0, 780px) 300px;
    justify-content:center;
    gap:50px;
    max-width:1320px;
    margin:0 auto;
    padding:60px 20px 90px;
}

/* =========================
   CONTEÚDO
========================= */

.content-column{
    width:100%;
}

.post-content{
    font-size:19px;
    line-height:1.85;
    color:#222;
}

.post-content p{
    margin-bottom:24px;
}

.post-content h2{
    font-size:32px;
    line-height:1.2;
    margin-top:50px;
    margin-bottom:16px;
    font-weight:800;
}

.post-content h3{
    font-size:26px;
    line-height:1.3;
    margin-top:38px;
    margin-bottom:15px;
    font-weight:700;
}

.post-content strong{
    font-weight:700;
}

.post-content a{
    color:var(--cat-color, #f18d3e);
    text-decoration:none;
    font-weight:600;
}

.post-content a:hover{
    text-decoration:underline;
}

.post-content blockquote{
    border-left:4px solid var(--cat-color, #f18d3e);
    padding:8px 0 8px 20px;
    margin:35px 0;
    font-size:24px;
    line-height:1.5;
    font-weight:700;
    color:#111;
}

.post-content img{
    width:100%;
    height:auto;
    border-radius:16px;
    margin:3px 0;
}

.post-content ul,
.post-content ol{
    margin:22px 0 22px 24px;
}

.post-content li{
    margin-bottom:10px;
}

/* =========================
   SHARE
========================= */

.share-box{
    margin-top:55px;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding-top:28px;
    border-top:1px solid #ececec;
}

.share-box span{
    font-size:13px;
    font-weight:700;
    color:#555;
}

.share-box a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#111;
    color:#fff;
    padding:11px 16px;
    border-radius:40px;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    transition:.25s ease;
}

.share-box a:hover{
    background:var(--cat-color, #f18d3e);
    transform:translateY(-2px);
}

/* =========================
   RELACIONADOS
========================= */

.related-posts{
    margin-top:55px;
}

.related-posts h3{
    font-size:28px;
    margin-bottom:22px;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
}

.related-item{
    text-decoration:none;
    color:#111;
}

.related-item img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:10px;
    transition:.3s ease;
}

.related-item:hover img{
    transform:scale(1.03);
}

.related-item h4{
    font-size:16px;
    line-height:1.45;
    font-weight:700;
}

/* ===================================
   SIDEBAR
=================================== */

.sidebar-column{
    position:sticky;
    top:100px;
    align-self:start;
}

.sidebar-widget{
    background:#fff;
    border:1px solid #ececec;
    border-radius:1px;
    overflow:hidden;
    margin-bottom:30px;
}

.sidebar-widget h3{
    margin:0;
    padding:20px 24px;
    font-size:22px;
    font-weight:700;
    border-bottom:1px solid #ececec;
}

.sidebar-widget ul{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-widget li{
    border-bottom:1px solid #efefef;
}

.sidebar-widget li:last-child{
    border-bottom:none;
}

.sidebar-widget a{
    text-decoration:none;
    color:#111;
    font-weight:600;
    line-height:1.5;
    transition:.2s ease;
}

.sidebar-widget a:hover{
    color:var(--cat-color, #f18d3e);
}

.sidebar-news-list{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-news-list a{
    display:grid;
    grid-template-columns:1fr 92px;
    gap:18px;
    align-items:center;
    padding:20px 24px;
    text-decoration:none;
    color:#111;
}

.sidebar-news-list img{
    width:92px;
    height:92px;
    border-radius:14px;
    object-fit:cover;
}

.sidebar-news-list span{
    font-size:17px;
    line-height:1.45;
    font-weight:600;
    transition:.2s;
}

.sidebar-news-list a:hover span{
    color:var(--cat-color);
}

.sidebar-ad{
    margin-bottom:30px;
}

.sidebar-ad img{
    width:100%;
    border-radius:1px;
}

/* BOX GENÉRICO */

.widget-box{
    background:#fafafa;
    border:1px solid #ececec;
    padding:22px;
    border-radius:1px;
}

.widget-box h3{
    font-size:22px;
    margin-bottom:18px;
}

.widget-box ul{
    list-style:none;
}

.widget-box li{
    padding:12px 0;
    border-bottom:1px solid #ececec;
}

.widget-box li:last-child{
    border-bottom:none;
}

.widget-box a{
    color:#111;
    text-decoration:none;
    font-size:15px;
    line-height:1.5;
    font-weight:600;
    transition:.2s ease;
}

.widget-box a:hover{
    color:var(--cat-color, #f18d3e);
}

/* =========================
   HERO CATEGORY MELHORADO
========================= */

.category-hero{
    position:relative;
    min-height:12vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:10px 10px 1px;
    background:linear-gradient(135deg, var(--cat-color), #111);
    overflow:hidden;
    color:#fff;
}

.category-overlay{
    position:absolute;
    inset:0;
    background:radial-gradient(
        circle at top,
        rgba(255,255,255,.18),
        transparent 60%
    );
    opacity:.9;
}

.category-hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    animation:fadeUp .6s ease;
}

.category-hero h1{
    max-width:900px;
    margin-inline:auto;
    margin-bottom:22px;
    font-size:clamp(42px, 7vw, 10px);
    line-height:.95;
    font-weight:400;
    letter-spacing:0px;
    text-transform:uppercase;
    color:#fff;
    text-wrap:balance;
    text-shadow:
        0 10px 40px rgba(0,0,0,.35),
        0 3px 8px rgba(0,0,0,.25);
}

.category-hero h1::after{
    content:'';
    display:block;
    width:120px;
    height:5px;
    margin:26px auto 0;
    border-radius:2px;
    background:#fff;
    opacity:.9;
}

.category-description{
    max-width:760px;
    margin:0 auto;
    font-size:20px;
    line-height:1.9;
    font-weight:400;
    color:rgba(255,255,255,.92);
    text-wrap:pretty;
    text-shadow:0 2px 10px rgba(0,0,0,.25);
}

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* =========================
   LAYOUT CATEGORY
========================= */

.content-with-sidebar{
    display:flex;
    align-items:flex-start;
    gap:40px;
    width:100%;
}

.g1-list-news{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.category-sidebar{
    width:380px;
    min-width:350px;
    position:sticky;
    top:100px;
    align-self:start;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.category-hero.hero-empty{
    min-height:0;
    padding:0;
    overflow:hidden;
}

.category-hero.hero-empty .category-overlay{
    display:none;
}

/* ===================================
   HERO 3 NOTÍCIAS
=================================== */

.g1-hero-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:16px;
    margin:20px 0 35px;
}

.hero-main-card{
    overflow:hidden;
    background:#fff;
    border-radius:1px;
    box-shadow:0 8px 26px rgba(0,0,0,.06);
}

.hero-main-card a{
    display:flex;
    flex-direction:column;
    text-decoration:none;
}

.hero-thumb{
    height:430px;
    overflow:hidden;
}

.hero-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.hero-main-card:hover img{
    transform:scale(1.03);
}

.hero-main-card .hero-content{
    background:#fff;
    margin-top:40px;
    padding:26px;
}

.hero-main-card h2{
    margin:0 0 15px;
    color:#111;
    font-size:clamp(30px, 2.6vw, 42px);
    line-height:1.15;
    font-weight:400;
}

.hero-main-card p{
    margin:0;
    color:#555;
    font-size:17px;
    line-height:1.7;
}

.hero-side-grid{
    display:grid;
    grid-template-rows:1fr 1fr;
    gap:16px;
}

.hero-side-card{
    overflow:hidden;
    background:#fff;
    border-radius:1px;
    box-shadow:0 8px 26px rgba(0,0,0,.06);
}

.hero-side-card a{
    display:flex;
    flex-direction:column;
    text-decoration:none;
}

.side-thumb{
    height:170px;
    overflow:hidden;
}

.side-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.hero-side-card:hover img{
    transform:scale(1.03);
}

.side-content{
    padding:18px;
}

.side-content h3{
    margin:0;
    color:#111;
    font-size:22px;
    line-height:1.35;
    font-weight:400;
}

/* ===================================
   PUBLICIDADE CATEGORY
=================================== */

.category-ad-top{
    margin:50px 0 40px;
}

.horizontal-ad{
    width:100%;
}

/* ===================================
   LISTAGEM ESTILO G1 COMPACTA
=================================== */

.g1-list-news{
    gap:22px;
}

.list-news-item{
    padding:18px 0;
    border-bottom:1px solid #ececec;
}

.list-news-item:last-child{
    border-bottom:none;
}

.list-news-item > a{
    display:grid;
    grid-template-columns:250px 1fr;
    gap:20px;
    align-items:start;
    text-decoration:none;
    color:inherit;
}

.list-thumb{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    border-radius:8px;
}

.list-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s ease;
}

.list-news-item:hover img{
    transform:scale(1.04);
}

.list-content{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.list-content h2{
    margin:0 0 8px;
    font-size:18px;
    line-height:1.15;
    font-weight:600;
    color:var(--cat-color);
    transition:.25s;
}

.list-news-item:hover h2{
    filter:brightness(.85);
}

.list-content p{
    margin:0 0 10px;
    color:#555;
    font-size:14px;
    line-height:1.55;
}

.post-meta{
    font-size:13px;
    color:#777;
    margin-top:auto;
}

/* =========================
   PAGINAÇÃO
========================= */

.category-pagination{
    margin-top:50px;
    text-align:center;
}

.category-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    margin:0 4px;
    border-radius:50%;
    background:#f3f3f3;
    color:#111;
    text-decoration:none;
    transition:.25s;
}

.category-pagination .current,
.category-pagination .page-numbers:hover{
    background:var(--cat-color);
    color:#fff;
}

/* =========================
   RESPONSIVO
========================= */

@media(max-width:991px){

    .content-with-sidebar{
        flex-direction:column;
    }

    .category-layout{
        grid-template-columns:1fr;
    }

    .category-sidebar{
        width:100%;
        min-width:100%;
        position:relative;
        top:auto;
    }

    .portal-body{
        grid-template-columns:1fr;
        gap:40px;
    }

    .sidebar-column{
        position:relative;
        top:auto;
    }

    .g1-hero-grid{
        grid-template-columns:1fr;
    }

    .hero-side-grid{
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto;
    }

    .list-news-item > a,
    .list-news-item a{
        grid-template-columns:1fr;
        gap:16px;
    }

    .list-content h2{
        font-size:24px;
    }

    .list-content p{
        font-size:15px;
    }
}

@media(max-width:768px){

    .hero-subtitle{
        font-size:16px;
        line-height:1.6;
    }

    .portal-hero{
        height:50vh;
    }

    .portal-hero > .hero-content{
        bottom:15px;
        padding:15px;
    }

    .portal-hero h1{
        max-width:100%;
        font-size:28px;
        line-height:1.15;
        margin-bottom:8px;
        letter-spacing:0;
    }

    .hero-subtitle{
        font-size:15px;
        line-height:1.5;
        margin-bottom:14px;
    }

    .portal-hero .meta{
        font-size:12px;
        margin-top:10px;
    }

    .portal-body{
        padding:40px 16px 70px;
    }

    .post-content{
        font-size:17px;
        line-height:1.75;
    }

    .post-content h2{
        font-size:26px;
    }

    .post-content blockquote{
        font-size:20px;
    }

    .category-hero{
        min-height:20vh;
        padding:110px 20px 35px;
    }

    .category-hero h1{
        font-size:34px;
    }

    .category-description{
        font-size:15px;
    }

    .hero-thumb{
        height:230px;
    }

    .side-thumb{
        height:170px;
    }

    .hero-main-card h2{
        font-size:24px;
    }

    .side-content h3{
        font-size:18px;
    }

    .hero-side-grid{
        grid-template-columns:1fr;
    }

    .list-content h2{
        font-size:22px;
    }

    .list-content p{
        font-size:15px;
    }

    .sidebar-widget h3{
        font-size:22px;
    }

    .sidebar-news-list a{
        grid-template-columns:1fr 80px;
        gap:14px;
    }

    .sidebar-news-list img{
        width:80px;
        height:80px;
    }
}
