.conteudo_site_blog{
    width: 100%;
}
.subconteudo_site_blog{
    display: none;
}
.container_site_blog{
    width: 100%;
    margin-top: -20px;
}
.content_site_full{
    padding: 0;
}

.content_termo{
    width: calc(90% - 40px);
    padding: 20px;
    margin: auto;
    margin-top: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 10px;
}

/* ==========================================================================
   Blog nativo (substitui o antigo iframe) — layout tipo magazine
   Cores de marca chegam via custom properties (--blog-accent / --blog-accent-2
   / --blog-accent-text), definidas inline em .blog_page a partir do $config
   de cada tenant.
   ========================================================================== */

.blog_page{
    --blog-radius: 16px;
    font-family: inherit;
}
.blog_page a{
    -webkit-tap-highlight-color: transparent;
}

/* ---------- Hero ---------- */
.blog_hero{
    position: relative;
    overflow: hidden;
    padding: 52px 24px 96px;
    background: linear-gradient(135deg, var(--blog-accent-2), var(--blog-accent));
    color: var(--blog-accent-text);
    text-align: center;
}
.blog_hero::before, .blog_hero::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
}
.blog_hero::before{
    width: 260px;
    height: 260px;
    top: -120px;
    right: -60px;
}
.blog_hero::after{
    width: 180px;
    height: 180px;
    bottom: -100px;
    left: -40px;
    background: rgba(0,0,0,.08);
}
.blog_hero_inner{
    position: relative;
    z-index: 1;
}
.blog_hero_eyebrow{
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.blog_hero_title{
    font-size: clamp(26px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

/* ---------- Wrapper geral (flutua sobre o hero) ---------- */
.blog_wrap{
    width: 92%;
    max-width: 1120px;
    margin: -56px auto 0;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}
.blog_section_heading{
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 40px 0 16px;
}
.blog_wrap > .blog_section_heading:first-child,
.blog_wrap > .blog_featured + .blog_section_heading{
    margin-top: 0;
}
/* O primeiro heading cai sobre o hero colorido (overlap negativo do .blog_wrap),
   então usa a cor de contraste da marca em vez do texto escuro padrão. */
.blog_wrap > .blog_section_heading:first-child{
    color: var(--blog-accent-text);
}

/* ---------- Trending / destaques (scroll horizontal) ---------- */
.blog_trending_scroll{
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 14px;
    scroll-snap-type: x mandatory;
}
.blog_trending_card{
    flex: 0 0 auto;
    width: 140px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}
.blog_trending_img{
    width: 140px;
    height: 140px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    transition: transform .25s ease;
}
.blog_trending_card:hover .blog_trending_img{
    transform: translateY(-4px);
}
.blog_trending_title{
    font-size: 12px;
    font-weight: 700;
    color: #333;
    line-height: 1.35;
}

/* ---------- Post em destaque (card grande) ---------- */
.blog_featured{
    position: relative;
    display: block;
    min-height: 320px;
    border-radius: var(--blog-radius);
    overflow: hidden;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
    margin-bottom: 8px;
}
.blog_featured::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
}
.blog_featured_content{
    position: relative;
    z-index: 1;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}
.blog_featured_title{
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 12px 0 0;
    max-width: 640px;
}

/* ---------- Badge de data (reutilizado em vários lugares) ---------- */
.blog_badge_data{
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--blog-accent);
    color: var(--blog-accent-text);
}

/* ---------- Grid de publicações ---------- */
.blog_grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.blog_card{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--blog-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog_card:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,.13);
}
.blog_card_img{
    height: 170px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}
.blog_card_body{
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog_card_title{
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}
.blog_empty{
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* ---------- Página do artigo ---------- */
.blog_article_wrap{
    width: 92%;
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 0 12px;
}
.blog_breadcrumb{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 20px;
}
.blog_breadcrumb a{
    color: #8a8a8a;
    text-decoration: none;
}
.blog_breadcrumb a:hover{
    color: var(--blog-accent);
}
.blog_breadcrumb .blog_breadcrumb_current{
    color: #1a1a1a;
    font-weight: 600;
}
.blog_article_title{
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0 0 14px;
}
.blog_article_meta{
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #8a8a8a;
    margin-bottom: 24px;
}
.blog_article_meta svg{
    width: 14px;
    height: 14px;
    fill: #8a8a8a;
}
.blog_article_cover{
    width: 100%;
    max-height: 420px;
    border-radius: var(--blog-radius);
    overflow: hidden;
    margin-bottom: 30px;
}
.blog_article_cover img{
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog_article_body{
    font-size: 17px;
    line-height: 1.85;
    color: #2c2c2c;
}
.blog_article_body p{
    margin: 0 0 18px;
}
.blog_article_body img, .blog_article_body figure{
    max-width: 100%;
    border-radius: 10px;
}

/* ---------- Compartilhar ---------- */
.blog_share{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid #ececec;
}
.blog_share_label{
    font-size: 13px;
    font-weight: 700;
    color: #8a8a8a;
}
.blog_share_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f2f2;
    transition: background .2s ease, transform .2s ease;
}
.blog_share_btn svg{
    width: 18px;
    height: 18px;
    fill: #4a4a4a;
    transition: fill .2s ease;
}
.blog_share_btn:hover{
    transform: translateY(-3px);
    background: var(--blog-accent);
}
.blog_share_btn:hover svg{
    fill: var(--blog-accent-text);
}

/* ---------- Leia também ---------- */
.blog_related_wrap{
    width: 92%;
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* ---------- Responsivo ---------- */
@media only screen and (max-width: 640px){
    .blog_hero{
        padding: 40px 20px 76px;
    }
    .blog_wrap{
        margin-top: -44px;
    }
    .blog_featured, .blog_featured_content{
        min-height: 260px;
    }
    .blog_grid{
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
    .blog_card_img{
        height: 130px;
    }
    .blog_card_body{
        padding: 12px;
    }
    .blog_card_title{
        font-size: 14px;
    }
    .blog_article_cover{
        max-height: 260px;
    }
    .blog_article_cover img{
        max-height: 260px;
    }
    .blog_article_body{
        font-size: 16px;
    }
}