:root {
    --cor1: #204f72; 
    --cor2: #1a4667;
}
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.3;
}
    .navbar.navbar-expand-lg{
        position: sticky;
        top: 0;
        z-index: 111; 
    }

.navbar-toggler{
    margin: 5px;
    background-color: #fff;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1530px !important;
    }
}
.bg{
    padding: 10px 12px;
    background-color: #fff;
}
@media (min-width: 992px) {
    .bg_menu{ 
        max-width: 1507px !important;
    }
    .bg{
        padding: 30px;
        -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    }
}
 
@media (max-width: 992px) {
    main{
        background-color: #fff;
    }
    .navbar-toggler{
        font-size: 16px;
    }
}

.bg_menu{
    display: block; 
    background: linear-gradient(to bottom, #2c6793 0%,#214f71 25%);
    /*background-color: #fff;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);*/
}

@media (min-width: 992px) {
    .navbar.navbar-expand-lg{
        padding: 0 12px;
    }
}

.btn-1{
    background-color: var(--cor1);
    color: #fff;
}

strong, b{
    font-weight: 700;
}

body{
    background-color: #efefef;
}

.btn-outline-primary{
    border-color: var(--cor1);
    color: var(--cor1);
}

.topo{
    font-size: 14px;
    background-color: #363638;
    border-bottom: 1px solid #fff;
    box-shadow: -1px 4px 0px 0px rgba(55,126,244,1);
    -webkit-box-shadow: -1px 4px 0px 0px rgba(55,126,244,1);
    -moz-box-shadow: -1px 4px 0px 0px rgba(55,126,244,1);
}

.header-main { 
    padding: 10px 0;  
}

#blogNavbar .nav-item{
    padding: 0 5px;
}

@media(min-width: 1200px){
    #blogNavbar li.nav-item:first-child{
        padding-left: 0;
    }
}

#blogNavbar .nav-item{
    position: relative;
}
#blogNavbar .nav-item:last-child:after{
    display: none;
}
#blogNavbar .nav-item:after{
    content: "";
    position: absolute;
    right: 0;
    width: 0px;
    height: 50%;
    top: 25%;
    border-left: 1px solid #0f3249;
    border-right: 1px solid #2d72a6;
}
#blogNavbar li ul .nav-item:after{
    display: none;
}
#blogNavbar .nav-link{
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 50px;

}
#blogNavbar .nav-link.active{
    color: #fff;
    font-weight: 600;
}

#blogNavbar .nav-link:hover{
    color: #fff;
    background-color: #153a55;
}

.midias_sociais a i{
    color: #fff;
    font-size: 20px;
}

.buscar{
    background-color: #3579ad;
    border-radius: 5px;
    padding: 5px;
}

.buscar .btn:hover{
    color: #fff;
    background-color: var(--cor2);
}

.featured-story{
    background-color: var(--cor1);
}

@media(min-width: 768px){
    .carousel-control-next-icon, .carousel-control-prev-icon{
        margin-top: 350px;
    }
}

.destaque  h2{
    color: #fff;
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 15px;
}

.destaque p{
    color: #fff;
    margin-top: 15px;
}
.destaque  time{
    display: inline-block;
    padding: 5px;
    font-size: 14px;
    background-color: var(--cor2);
    color: #fff;
}

.featured-img img{
    object-fit: cover; 
    height: 483px;
}

@media(max-width: 768px){
    .destaque p,
    .destaque time{
        display: none;
    }

    .featured-img img{
        height: 350px; 
    }
}
@media(max-width: 580px){

    .featured-img img{
        height: 280px; 
    }
}


.sidebar .wp-block-heading,
.topic,
.topic a{
    color: var(--cor1);
    font-size: 30px;
    font-weight: 600;
}
.sidebar .wp-block-heading,
.sidebar .topic {
    color: #1c58bc;
    font-size: 30px;
    font-weight: 600;
}
@media(max-width: 768px){
    .sidebar .wp-block-heading,
    .topic,
    .topic a,
    .entry-title,
    .destaque  h2{
        font-size: 22px;
    }
}
@media(max-width: 580px){
    .sidebar .wp-block-heading,
    .topic,
    .topic a,
    .entry-title,
    .destaque  h2{
        font-size: 20px;
    }
}

.footer {
    background-color: var(--cor1);
    color: white;
    font-size: 0.8rem;
}
.rodape{
	padding: 5px 0;
	background-color: var(--cor2);
}

.sidebar-author-box {
    background-color: #f8f9fa;
    padding: 15px;
    border: 1px solid #ddd; 
}
 
.ad-banner img{
	max-width: 100%;
}

.page-link{
    color: var(--cor1);
}
 .page-item.active a.page-link{
    background-color: var(--cor1);
    border-color: var(--cor1);
 }

@media(min-width: 992px){
    .sidebar{ 
        border-left: 1px solid #ebebeb;
    }
}

/* Imagens flutuantes e alinhamento */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
}

/* Garante que imagens e vídeos sejam responsivos */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Legendas de Imagem */
.wp-caption {
    max-width: 100%;
    background-color: #f7f7f7;
    padding: 0.5rem;
    margin-bottom: 1.5em;
    border: 1px solid #eee;
    border-radius: 0.3rem;
}

.wp-caption img {
    margin-bottom: 0.5rem;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    font-size: 0.9em;
    color: #666;
}

/* Gutenberg e alinhamento de largura ampla/total */
.alignwide {
    /* Estilos para quebras de largura além do conteúdo principal */
    margin-left: -5%;
    margin-right: -5%;
    max-width: 110%;
    width: auto;
}

.alignfull {
    /* Estilos para ocupar a largura total da tela */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Estilos de paginação (Complementa as classes do Bootstrap) */
.pagination .page-numbers {
    padding: 0.5rem 0.75rem;
    line-height: 1.25;
}

.page-numbers.current {
    font-weight: 700;
}

.news-card-img img {
    object-fit: cover;
}
.news-card-img img {
    width: 100%;
    height: 370px;
    object-fit: cover;
}

/* ==========================================================================
   7. COMENTÁRIOS E FORMULÁRIO
   ========================================================================== */

#comments {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#comments h2.comments-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #003366;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

/* Lista de Comentários (ul.comment-list) */
.comment-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.comment {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Avatares */
.avatar {
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid #f0f2f5;
    background-color: #fff;
}

/* Metadados do Comentário (Autor e Data) */
.comment-meta {
    font-size: 0.9em;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #1a1a1a;
}

.comment-metadata a {
    color: #6c757d;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #0066cc;
}

/* Conteúdo do Comentário */
.comment-content {
    margin-top: 0.5rem;
    font-size: 1em;
}

/* Link de Resposta */
.reply a {
    font-size: 0.9em;
    font-weight: 600;
    color: #dc3545; /* Cor de destaque */
}

/* Comentários Aninhados (Respostas) */
.children {
    list-style: none;
    margin-left: 2rem; /* Recuo para comentários aninhados */
    padding-left: 0;
    margin-top: 1rem;
    border-left: 3px solid #f0f2f5; /* Linha de indicação de aninhamento */
    padding-left: 1rem;
}

/* Formulário de Comentário (comment-respond) */
#respond {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

#reply-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Estilizando os campos do formulário (Bootstrap form-control) */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.3rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0066cc;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Botão de Envio */
.form-submit input[type="submit"] {
    background-color: #003366; /* Azul escuro do menu */
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background-color: #004488;
}

/* Títulos de widgets (usando .topic para o autor, .widget-title para outros) */
.ad-banner .topic,
.sidebar .widget-title {
    font-size: 1.25rem;
    color: #003366;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

/* Estilizando listas em widgets (Categorias, Arquivos, etc.) */
.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.sidebar ul li {
    padding: 0.3rem 0;
    border-bottom: 1px dotted #eee;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

/* Estilos Específicos para Widgets Padrões (Posts Recentes, Categorias, Arquivos) */
.sidebar ul li a {
    color: #333; /* Cor do texto padrão */
    transition: color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.sidebar ul li a:hover {
    color: #dc3545; /* Cor de destaque (vermelho) no hover */
}

/* Contagem de posts ou itens em Categorias/Arquivos */
.sidebar ul li .post-count,
.sidebar ul li .count {
    float: right;
    color: #999;
    font-size: 0.9em;
    background-color: #f0f2f5;
    padding: 2px 6px;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Widget de Posts Recentes (Recent Posts) */
.widget_recent_entries li {
    font-size: 1em;
}

.widget_recent_entries li a {
    font-weight: 500;
}

.widget_recent_entries .post-date {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    font-style: italic;
    margin-top: 2px;
}

/* Widget de Pesquisa (searchform) */
.widget_search input[type="search"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 0.3rem;
}

.widget_search input[type="search"]:focus {
    border-color: #0066cc;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.widget_search input[type="submit"] {
    display: none; 
}

/* Widget de Nuvem de Tags (tag-cloud) */
.tagcloud a {
    display: inline-block;
    background-color: #f0f2f5;
    color: #6c757d;
    padding: 5px 10px;
    margin-right: 5px;
    margin-bottom: 8px;
    border-radius: 0.3rem;
    font-size: 0.9em !important; /* Sobrescreve o tamanho inline do WP */
    transition: background-color 0.2s ease;
}

.tagcloud a:hover {
    background-color: #003366;
    color: #fff;
}

/* --- ESTILOS PARA BLOCOS GUTENBERG NA SIDEBAR --- */

/* Container do bloco de Últimos Posts */
.sidebar .wp-block-latest-posts {
    margin-bottom: 2rem;
    /* O estilo de padding e fundo deve vir do wrapper do widget (.ad-banner),
       mas se for usado fora, ele terá um bom espaçamento. */
}

/* Lista (ul/ol) do Bloco de Últimos Posts */
.sidebar .wp-block-latest-posts__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* Item individual do Bloco de Últimos Posts */
.sidebar .wp-block-latest-posts__list li {
    padding: 10px 10px 10px 20px;
    position: relative;
    border-radius: 5px; 
    background-color: #e4ecf9;
    margin-bottom: 10px; 
    font-size: 1em;
}
.sidebar .wp-block-latest-posts__list li:before{
    content: "";
    width: 100%;
    border-radius: 5px;
    left: 5px;
    width: 4px;
    background-color: #1c58bc;
    position: absolute;
    height: 90%;
    top: 5%;
}

.sidebar .wp-block-latest-posts__list li:last-child {
    border-bottom: none;
}

/* Título do Post (Link) */
.sidebar .wp-block-latest-posts__post-title {
    font-weight: 500;
    margin-bottom: 0;
}

.sidebar .wp-block-latest-posts__post-title a {
    color: #333;
    transition: color 0.2s ease;
}

.sidebar .wp-block-latest-posts__post-title a:hover {
    color: #dc3545; /* Cor de destaque (vermelho) no hover */
}

/* Data do Post (se estiver exibida) */
.sidebar .wp-block-latest-posts__post-date {
    display: block;
    font-size: 0.8em;
    color: #6c757d;
    font-style: italic;
    margin-top: 2px;
}

.entry-header{
    border-bottom: 1px solid #387ef4;
    padding-bottom: 5px;
    position: relative;
}

.entry-header h1{
    color: #1c58bc;
    font-size: 30px;
}

.entry-header:after{
    content: "";
    width: 70%;
    bottom: -5px;
    left: 0;
    position: absolute;
    display: block;
    border-bottom: 3px solid #363638;
}

.imgblue{
    box-shadow: 5px 5px 0px 0px rgba(56,126,244,1);
    -webkit-box-shadow: 5px 5px 0px 0px rgba(56,126,244,1);
    -moz-box-shadow: 5px 5px 0px 0px rgba(56,126,244,1);
}

.entry-content ul{
    list-style: none;
    padding: 0;
}
.entry-content ul li{
    list-style: none;
  padding-left: 15px;
  margin-bottom: 5px;
}

.entry-content ul li:before{
  content: "";
  width: 7px;
  height: 7px;
  float: left;
  margin-top: 8px;
  background: var(--cor1);
  margin-left: -15px;
  border-radius:50%;
}

@media(min-width: 768px){
    .chamada{
        float: left;
        width: 50%;
        margin-right: 15px;
    }
}