/* =========================
   BLOG – Correção de Títulos
   ========================= */

.blog-posts h2,
.blog-posts h3,
.blog-posts h4,
.blog-comments h2,
.blog-comments h3,
.blog-details h1,
.blog-details h2,
.blog-details h3,
.blog-details h4,
.page-title h1,
.widget-title {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--heading-color) !important;
    opacity: 1 !important;
    text-transform: none !important;
}

/* Título do post na listagem */
.blog-posts .title a {
    font-weight: 700 !important;
    color: var(--heading-color) !important;
    opacity: 1 !important;
    text-decoration: none;
}

    .blog-posts .title a:hover {
        color: var(--accent-color) !important;
    }

/* Sidebar */
.categories-widget h3,
.tags-widget h3 {
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Remove qualquer opacidade herdada */


.blog-detail-image {
    max-width: 820px; /* controla largura */
    margin: 0 auto 30px; /* centraliza */
}

    .blog-detail-image img {
        width: 100%;
        max-height: 610px; /* aqui você controla o tamanho */
        object-fit: cover; /* corta sem distorcer */
        border-radius: 10px;
        display: block;
    }


/* =========================
   BLOG – Título do formulário de comentários
   ========================= */

.comment-form h2,
.comment-form h3 {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    color: var(--heading-color) !important;
    opacity: 1 !important;
    text-transform: none !important;
}


/* Miniaturas da sidebar - Posts Recentes */
.recent-posts-widget .post-item img {
    width: 70px; /* largura fixa da miniatura */
    height: 70px; /* altura fixa da miniatura */
    object-fit: cover; /* corta a imagem mantendo proporção */
    border-radius: 8px; /* cantos arredondados */
    margin-right: 10px; /* espaço entre imagem e texto */
    display: inline-block;
    vertical-align: middle;
}

.recent-posts-widget .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}


/* Botões primários do sistema */
.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
a.btn-primary {
    background-color: #336699 !important; /* cor de fundo */
    border-color: #336699 !important; /* borda */
    color: #ffffff !important; /* texto branco */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-primary:hover,
    button.btn-primary:hover,
    input[type="submit"].btn-primary:hover,
    a.btn-primary:hover {
        background-color: #28527a !important; /* cor ao passar o mouse */
        border-color: #28527a !important;
        color: #ffffff !important;
    }



/* Força todos os links da navbar principal */
#navmenu ul li a {
    color: #ffffff !important; /* branco */
    font-weight: 600 !important; /* não fininho */
    opacity: 1 !important; /* totalmente visível */
    transition: color 0.3s ease;
}

    /* Item ativo ou hover */
    #navmenu ul li a.active,
    #navmenu ul li a:hover {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

/* Dropdown items (se houver) */
#navmenu ul li ul li a {
    color: #003366 !important;
    font-weight: 600 !important;
}

    #navmenu ul li ul li a:hover {
        color: #ffffff !important;
        background-color: #003366 !important;
    }


/* Logo da navbar */
header .logo .sitename {
    color: #ffffff !important; /* branco */
    font-weight: 700 !important; /* grosso, não fininho */
    opacity: 1 !important; /* totalmente visível */
    font-size: 1.8rem; /* ajuste o tamanho se quiser */
    text-transform: uppercase; /* deixa em maiúsculas */
}

