/* =========================================================
   BLOG.CSS — Penteado Imóveis
   Usa variáveis CSS do :root — padrão visual idêntico às
   demais páginas (empresa.css / fale-conosco.css etc.)
   ========================================================= */

/* ========================= HERO LISTAGEM ========================= */

.blog-hero {
    background: linear-gradient(135deg, var(--cor-site-1) 0%, var(--cor-site-3) 60%, var(--cor-site-5) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--branco);
}

.blog-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--branco);
}

.blog-hero__titulo {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--branco);
}

.blog-hero__sub {
    font-size: 1.05rem;
    opacity: .85;
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: var(--branco);
}

.blog-hero__sub a {
    color: var(--branco);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: border-color .15s;
}

.blog-hero__sub a:hover { border-bottom-color: var(--branco); }

.blog-hero__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.blog-hero__stat {
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, .25);
}

.blog-hero__stat:last-child { border-right: none; }

.blog-hero__stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--branco);
}

.blog-hero__stat-val small {
    font-size: .9rem;
    font-weight: 600;
    opacity: .7;
}

.blog-hero__stat-leg {
    display: block;
    font-size: .78rem;
    opacity: .75;
    margin-top: 4px;
    color: var(--branco);
}

@media (max-width: 576px) {
    .blog-hero { padding: 60px 0 40px; }
    .blog-hero__stat {
        padding: 12px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        width: 50%;
    }
    .blog-hero__stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .2); }
    .blog-hero__stat:last-child { border-bottom: none; }
}

/* ========================= LAYOUT PRINCIPAL ========================= */

.blog-main {
    background: var(--section-bg-1, #f4f7fc);
    padding: 48px 0 72px;
}

/* ========================= TOPBAR ========================= */

.blog-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.blog-topbar__info {
    font-size: 13.5px;
    font-weight: 500;
    color: #666;
}

.blog-topbar__info strong {
    color: var(--ltn__heading-color, #333);
    font-weight: 700;
}

.blog-topbar__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--cor-site-1);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(119, 7, 28, .25);
    border-radius: 999px;
    background: rgba(119, 7, 28, .05);
    transition: background .15s, color .15s;
}

.blog-topbar__clear:hover {
    background: var(--cor-site-1);
    color: #fff;
    text-decoration: none;
}

/* ========================= GRID DE CARDS ========================= */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================= CARD ========================= */

.blog-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--border-radius, 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sombra, 0 4px 18px rgba(0,0,0,.08));
    transition: transform .20s ease, box-shadow .20s ease, border-color .20s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(119, 7, 28, .20);
    box-shadow: 0 16px 42px rgba(0,0,0,.12);
}

.blog-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 55%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
    transform: rotate(18deg);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.blog-card:hover::after {
    opacity: 1;
    left: 120%;
    transition: left .8s ease, opacity .15s ease;
}

.blog-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0e8ea;
    flex-shrink: 0;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform .45s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.1);
}

.blog-card__thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72) 100%);
    pointer-events: none;
    z-index: 1;
}

.blog-card__cats {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

.pill-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--cor-site-1);
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: background .15s, color .15s;
}

.pill-cat:hover {
    background: var(--cor-site-1);
    color: #fff;
    text-decoration: none;
}

.pill-cat--active {
    background: var(--cor-site-1) !important;
    color: #fff !important;
}

.blog-card__meta-img {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .93);
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0,0,0,.45);
    transition: transform .3s ease;
}

.blog-card:hover .blog-card__meta-img {
    transform: translateY(-4px);
}

.blog-card__meta-img i { opacity: .8; }

.blog-card__meta-sep {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, .55);
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e8ea 0%, #ddc0c7 100%);
    font-size: 36px;
    color: rgba(119, 7, 28, .28);
}

.blog-card__body {
    padding: 18px 20px 0;
    flex: 1;
}

.blog-card__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--ltn__heading-color, #333);
    margin: 0 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__title a {
    text-decoration: none;
    color: inherit;
    transition: color .15s;
}

.blog-card__title a:hover { color: var(--cor-site-1); }

.blog-card__excerpt {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ltn__paragraph-color, #666);
    margin: 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__footer {
    padding: 14px 20px 18px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.blog-card__date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a0b4;
    letter-spacing: .02em;
}

.blog-card__date i { font-size: 11px; }

.blog-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--cor-site-1);
    text-decoration: none;
    padding: 6px 14px;
    border: 1.5px solid rgba(119, 7, 28, .22);
    border-radius: 999px;
    background: rgba(119, 7, 28, .05);
    transition: background .15s, color .15s, border-color .15s;
}

.blog-card__btn:hover {
    background: var(--cor-site-1);
    color: #fff;
    border-color: var(--cor-site-1);
    text-decoration: none;
}

.blog-no-posts {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 52px 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--border-radius, 10px);
    color: #94a0b4;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.blog-no-posts i {
    font-size: 32px;
    opacity: .35;
}

/* ========================= PAGINAÇÃO ========================= */

.blog-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, .11);
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: background .14s, color .14s, border-color .14s, transform .14s;
}

.page-btn:hover {
    background: rgba(119, 7, 28, .06);
    border-color: rgba(119, 7, 28, .22);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--cor-site-1);
}

.page-btn.is-active {
    background: var(--cor-site-1);
    border-color: var(--cor-site-1);
    color: #fff;
    box-shadow: 0 4px 14px rgba(119, 7, 28, .35);
}

.page-btn.is-dots {
    border: none;
    background: transparent;
    cursor: default;
    min-width: auto;
    color: #aaa;
}

.page-btn.is-dots:hover {
    background: transparent;
    transform: none;
    color: #aaa;
    border: none;
}

/* ========================= SIDEBAR ========================= */

.blog-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 65px !important;
    gap: 20px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--border-radius, 10px);
    padding: 22px;
    box-shadow: var(--sombra, 0 4px 18px rgba(0,0,0,.08));
}

.sidebar-widget__title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cor-site-1);
    background: rgba(119, 7, 28, .08);
    border: 1px solid rgba(119, 7, 28, .18);
    margin-bottom: 16px;
}

.sidebar-widget__title i { font-size: 11px; }

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-active {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 13px;
    background: rgba(119, 7, 28, .05);
    border-left: 3px solid var(--cor-site-1);
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.filter-active span {
    font-weight: 800;
    color: var(--cor-site-1);
}

.filter-active a {
    margin-left: auto;
    font-size: 11px;
    color: #b00;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.filter-active a:hover { text-decoration: underline; }

.recent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    transition: opacity .15s;
}

.recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-item:first-child { padding-top: 0; }
.recent-item:hover { opacity: .72; }

.recent-thumb {
    width: 72px;
    height: 56px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0e8ea 0%, #ddc0c7 100%);
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, .07);
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recent-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(119, 7, 28, .28);
}

.recent-info { min-width: 0; }

.recent-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ltn__heading-color, #333);
    line-height: 1.3;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-date {
    font-size: 11px;
    font-weight: 600;
    color: #94a0b4;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================
   BLOG-DETALHES.PHP — estilos do post individual
   ========================================================= */

/* ── HERO DO POST ─────────────────────────────────────── */

.post-hero {
    background: linear-gradient(135deg, var(--cor-site-1) 0%, var(--cor-site-3) 60%, var(--cor-site-5) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--branco);
}

.post-hero__inner {
    /* wrapper interno usado no blog-detalhes */
}

/* Breadcrumb pill */
.post-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--branco);
    margin-bottom: 16px;
}

.post-hero__pill a {
    color: inherit;
    text-decoration: none;
    transition: opacity .15s;
}

.post-hero__pill a:hover { opacity: .8; }
.post-hero__pill i { font-size: 9px; }

/* Badge de categoria */
.post-hero__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    margin-bottom: 14px;
    transition: opacity .15s;
}

.post-hero__cat:hover { opacity: .85; color: #fff; text-decoration: none; }

.post-hero__titulo {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 auto 14px;
    max-width: 820px;
}

.post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 0;
}

.post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .80);
}

.post-hero__meta-item i { font-size: 12px; opacity: .75; }

/* Barra de compartilhamento */
.post-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.post-hero__actions-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .60);
    margin-right: 4px;
}

.post-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    text-decoration: none;
    transition: background .16s, color .16s, transform .16s;
}

.post-share-btn:hover {
    background: #fff;
    color: var(--cor-site-1);
    transform: translateY(-2px);
    text-decoration: none;
}

.post-share-btn--wpp:hover { background: #25d366; color: #fff; }
.post-share-btn--fb:hover  { background: #1877f2; color: #fff; }
.post-share-btn--li:hover  { background: #0a66c2; color: #fff; }
.post-share-btn--tw:hover  { background: #1da1f2; color: #fff; }

/* ── CORPO PRINCIPAL ─────────────────────────────────── */

.post-main {
    background: var(--section-bg-1, #f4f7fc);
    padding: 40px 0 64px;
}

.post-content-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--border-radius, 10px);
    padding: 36px 40px 40px;
    box-shadow: var(--sombra, 0 4px 18px rgba(0,0,0,.08));
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .post-content-card { padding: 22px 18px 28px; }
}

.post-body {
    font-size: 16.5px;
    line-height: 1.80;
    color: var(--ltn__paragraph-color, #444);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0;
}

.post-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ltn__heading-color, #333);
    margin: 32px 0 14px;
    line-height: 1.25;
}

.post-body h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--ltn__heading-color, #333);
    margin: 26px 0 12px;
}

.post-body p { margin: 0 0 18px; word-break: break-word; }

.post-body a {
    color: var(--cor-site-1);
    text-decoration: underline;
    font-weight: 600;
}

.post-body ul, .post-body ol {
    padding-left: 22px;
    margin: 0 0 18px;
}

.post-body li { margin-bottom: 6px; }

.post-body blockquote {
    border-left: 4px solid var(--cor-site-1);
    background: rgba(119, 7, 28, .05);
    border-radius: 0 10px 10px 0;
    padding: 14px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #445;
}

.post-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    margin-top: 28px;
}

.post-cats__label {
    font-size: 12px;
    font-weight: 700;
    color: #94a0b4;
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 4px;
}

/* ── POSTS RELACIONADOS ───────────────────────────────── */

.rel-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    transition: opacity .15s;
}

.rel-item:first-child { padding-top: 0; }
.rel-item:last-child  { border-bottom: none; padding-bottom: 0; }
.rel-item:hover       { opacity: .72; }

.rel-thumb {
    width: 70px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0e8ea, #ddc0c7);
    border: 1px solid rgba(0, 0, 0, .07);
}

.rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rel-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(119, 7, 28, .28);
}

.rel-info { min-width: 0; }

.rel-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ltn__heading-color, #333);
    line-height: 1.3;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rel-date {
    font-size: 11px;
    font-weight: 600;
    color: #94a0b4;
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-link-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--cor-site-1);
    text-decoration: none;
    transition: gap .16s, opacity .16s;
}

.widget-link-all:hover {
    gap: 10px;
    opacity: .75;
    text-decoration: none;
}

/* ── CTA DE CONTATO NA SIDEBAR ─────────────────────── */

.sidebar-cta {
    background: linear-gradient(135deg, var(--cor-site-1) 0%, var(--cor-site-3) 60%, var(--cor-site-5) 100%);
    border-radius: var(--border-radius, 10px);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
}

.sidebar-cta::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.sidebar-cta__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 14px;
}

.sidebar-cta__title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.sidebar-cta__text {
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    margin: 0 0 18px;
    line-height: 1.5;
}

.sidebar-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}

.sidebar-cta__btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.sidebar-cta__btn--prim {
    background: #fff;
    color: var(--cor-site-1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
    margin-bottom: 10px;
}

.sidebar-cta__btn--prim:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    color: var(--cor-site-1);
}

.sidebar-cta__btn--wpp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
}

.sidebar-cta__btn--wpp:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, .40);
    color: #fff;
}

/* ========================= RESPONSIVO ========================= */

@media (max-width: 576px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ── FAB (botão flutuante filtros mobile) ── */
.blog-fab {
    display: none;
    position: fixed;
    top: 96px;
    right: 16px;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--cor-site-1);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(119, 7, 28, .40);
    align-items: center;
    justify-content: center;
    transition: transform .18s, box-shadow .18s;
}

.blog-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(119, 7, 28, .50);
}

.blog-fab__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f5c518;
    border: 2px solid var(--cor-site-1);
}

.blog-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1050;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .28s ease;
}

.blog-drawer-overlay.is-open {
    display: block;
    opacity: 1;
}

.blog-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--section-bg-1, #f4f7fc);
    z-index: 1060;
    transform: translateX(100%);
    transition: transform .30s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, .18);
}

.blog-drawer.is-open { transform: translateX(0); }

.blog-drawer__close {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 14px 16px 10px;
    background: var(--section-bg-1, #f4f7fc);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--ltn__heading-color, #333);
    transition: color .15s;
}

.blog-drawer__close:hover { color: var(--cor-site-1); }

.blog-drawer__inner {
    padding: 0 14px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 991px) {
    .blog-fab { display: flex; }
}

/* ── SEÇÃO DE CARDS RELEVANTES (posts da categoria/recentes) ── */

.post-related {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--border-radius, 10px);
    padding: 22px;
    box-shadow: var(--sombra, 0 4px 18px rgba(0,0,0,.08));
    margin-top: 20px;
}

/* Os cards dentro da seção relacionados usam blog-card já definido acima.
   Ajustes de tamanho para cards menores dentro do widget: */
.post-related .blog-card__title {
    font-size: 14px;
}

.post-related .blog-card__footer {
    padding: 10px 16px 14px;
    margin-top: 10px;
}

/* ── CTA FINAL — "Veja mais posts" ── */

.blog-cta {
    background: linear-gradient(135deg, var(--cor-site-1) 0%, var(--cor-site-3) 60%, var(--cor-site-5) 100%);
    padding: 60px 0;
}

.blog-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.blog-cta__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--branco);
    margin-bottom: 12px;
}

.blog-cta__titulo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--branco);
    margin: 0 0 8px;
}

.blog-cta__sub {
    color: rgba(255, 255, 255, .8);
    font-size: .95rem;
    margin: 0;
}

.blog-cta__acoes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--border-radius, 10px);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: var(--transicao, all .3s ease);
    white-space: nowrap;
}

.blog-cta__btn--prim {
    background: var(--branco, #fff);
    color: var(--cor-site-1);
}

.blog-cta__btn--prim:hover {
    background: var(--section-bg-1, #f4f7fc);
    color: var(--cor-site-1);
    text-decoration: none;
}

.blog-cta__btn--wpp {
    background: #25d366;
    color: #fff;
}

.blog-cta__btn--wpp:hover {
    background: #1ebe5d;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .blog-cta__inner { flex-direction: column; text-align: center; }
    .blog-cta__acoes { justify-content: center; }
}

.blog-cta__texto { flex: 1; min-width: 0; }
