/* =========================
   BLOG - BASE
========================= */
.card-body {
    position: relative;
    padding-bottom: 50px; /* espaço para o botão Ler Mais */
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.no-image {
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 18px;
    color: #888;
}

.btn-custom {
    background-color: #5A6268;
    color: white;
    position: absolute;
    bottom: 10px;
    right: 10px;
    transition: 0.3s;
}
.btn-custom:hover {
    background-color: #343A40;
    color: white;
}

/* =========================
   BLOG - HERO
========================= */
.blog-hero {
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.blog-hero .hero-overlay {
    display: inline-block;
    background-color: rgba(255,255,255,0.85); /* fundo claro padrão */
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 900px;
}

.blog-hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b; /* texto escuro no claro */
}

.blog-hero p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #111827;
}

.blog-hero blockquote {
    font-size: 1rem;
    font-style: italic;
    margin-top: 10px;
    color: #374151;
}

/* =========================
   BLOG - CARDS
========================= */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    transition: transform 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
    color: #7a7a7a;
}

.card-footer {
    background-color: #f8f9fa;
    font-size: 0.85rem;
    border-top: none;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    .blog-hero p {
        font-size: 1rem;
    }
    .blog-hero .hero-overlay {
        padding: 15px 20px;
        max-width: 100%;
    }
}

/* =========================
   DARK MODE (blog - HERO)
========================= */
body.dark-mode .blog-hero .hero-overlay {
    background-color: rgba(0,0,0,0.7); /* fundo escuro no dark */
}

body.dark-mode .blog-hero h1 {
    color: #facc15 !important; /* título destaque amarelo */
}

body.dark-mode .blog-hero p,
body.dark-mode .blog-hero blockquote {
    color: #f1f5f9 !important; /* textos claros */
}

/* =========================
   DARK MODE (blog - CARDS)
========================= */
body.dark-mode .card {
    background-color: #1e293b; /* fundo escuro */
    color: #f1f5f9; /* texto claro */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
body.dark-mode .card-title {
    color: #facc15 !important; /* título amarelo */
}
body.dark-mode .card-text {
    color: #e2e8f0 !important; /* texto cinza claro */
}
body.dark-mode .card-footer {
    background-color: #0f172a; /* rodapé escuro */
    color: #cbd5e1 !important;
}
body.dark-mode .card-footer small {
    color: #cbd5e1 !important;
}

