/* --- ESTRUTURA GERAL --- */
#mapea-blog-section {
    /* Variáveis Locais */
    --b-merlot: #4F0713;
    --b-rosa: #E499B6;
    --b-gold: #FDC762;
    --b-rubi: #AD0919;
    --b-bg: #ffffff;
    --b-gray: #f4f4f4;

    width: 100%;
    padding: 80px 20px;
    background-color: var(--b-bg);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* Container travado em 1200px */
#mapea-blog-section .blog-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: block;
}

/* --- CABEÇALHO --- */
.blog-header { text-align: center; margin-bottom: 50px; }

.blog-header .tag-pill {
    display: inline-block;
    background: rgba(79, 7, 19, 0.05);
    color: var(--b-merlot);
    font-size: 12px; font-weight: 800; letter-spacing: 2px;
    padding: 8px 20px; border-radius: 50px; margin-bottom: 15px;
}

.blog-header h2 {
    font-size: 2.5rem; color: var(--b-merlot); font-weight: 800; margin-bottom: 10px; line-height: 1.1;
}

.highlight-merlot {
    color: var(--b-rubi); position: relative; z-index: 1;
}
.highlight-merlot::after {
    content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 10px;
    background: var(--b-gold); opacity: 0.4; z-index: -1; transform: rotate(-2deg);
}

.blog-header p { font-size: 1rem; color: #666; max-width: 600px; margin: 0 auto; }

/* --- GRID --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
}

/* --- CARD --- */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    display: flex; flex-direction: column;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 7, 19, 0.12);
}

.card-link-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; }

/* Imagem */
.card-image-box {
    height: 200px; width: 100%;
    position: relative; overflow: hidden;
}

.post-thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .post-thumb { transform: scale(1.08); }

/* Data Flutuante */
.date-badge {
    position: absolute; top: 15px; left: 15px;
    background: white;
    border-radius: 10px;
    padding: 6px 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex; flex-direction: column;
    line-height: 1; z-index: 2;
}
.date-badge .day { font-size: 16px; font-weight: 800; color: var(--b-merlot); }
.date-badge .month { font-size: 9px; text-transform: uppercase; color: #999; font-weight: 600; margin-top: 2px; }

/* Conteúdo */
.card-content {
    padding: 22px;
    display: flex; flex-direction: column;
    flex-grow: 1;
}

.meta-tags {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; font-size: 11px;
}
.cat-pill {
    color: var(--b-rubi); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.read-time { color: #aaa; }

.card-content h3 {
    font-size: 1.25rem; color: var(--b-merlot); margin-bottom: 12px;
    line-height: 1.35; font-weight: 700;
    transition: color 0.3s;
}
.blog-card:hover h3 { color: var(--b-rubi); }

.excerpt {
    font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.card-footer {
    margin-top: auto; padding-top: 15px;
    border-top: 1px solid #f9f9f9;
}
.read-more {
    color: var(--b-merlot); font-weight: 700; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
    transition: gap 0.3s;
}
.blog-card:hover .read-more { gap: 12px; color: var(--b-rubi); }

/* Botão Ver Todos */
.blog-cta { text-align: center; margin-top: 50px; }
.btn-blog-all {
    display: inline-block;
    border: 2px solid var(--b-merlot);
    color: var(--b-merlot);
    padding: 12px 35px; border-radius: 50px;
    font-weight: 700; text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.btn-blog-all:hover {
    background: var(--b-merlot); color: white; transform: translateY(-3px);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    #mapea-blog-section { padding: 50px 20px; }
    .blog-header h2 { font-size: 2rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 25px; }
}