/* ===== DM SERIF DISPLAY ===== */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=DM+Serif+Display:ital@0;1&display=swap');
@font-face {
    font-family: 'DM Serif Display';
    src: url('../assets/fonts/dm_serif_display/DMSerifDisplay-Regular.ttf') format('ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    background: url('/wp-content/uploads/2025/10/fundo-claro.png');
}
header {
    background: url('/wp-content/uploads/2025/11/fundo-cinza.png');
}

/* ===== APLICAÇÃO DAS FONTES ===== */

/* Fonte principal para textos */
body {
    font-family: 'Crimson Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
    background-color: unset !important;
    color: #000000b0 !important;
}
.front-boxes p {
    font-family: 'Crimson Pro', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.2rem !important;
    line-height: 1.1 !important;
    background-color: unset !important;
    color: #0000009e !important;
}
.post-content time {
    margin-right: 11px;
}
.categoria .far {
    margin-right: 5px;
}
.post-meta {
    font-style: italic;
}
.logotipo {
    color: #ffffffbf;
    font-size: 4rem;
    position: relative;
    top: 14px;
    left: 12px;
    font-weight: 600;
}
.border-bottom2 {
    border-bottom: 1px solid #0000001a;
}
.site-main article:last-child {
    border-bottom: unset !important;
} 
.navbar a {
    font-family: 'Crimson Pro', sans-serif !important;
    font-weight: 400 !important;
}
.site-content {
    margin-top: 70px;
}

body img {
    mix-blend-mode: darken;
    opacity: 0.76;
}
.site-branding {
    padding: 27px 0;
}
.site-logo img {
    filter: invert(1);
    mix-blend-mode: lighten;
}
.Divider {
    height: 55px;
    margin: -18px 0;
    position: relative;
    z-index: 1;
}
.Divider-rule {
    background: url('/wp-content/uploads/2025/11/divider-sprite.png') repeat-x 50% 100%;
    border: 0;
    height: 55px;
    left: 50%;
    margin: 0 0 0 -82px;
    position: absolute;
    top: 5px;
    width: 164px;
}
.Divider:before {
  left: 0;
  margin-right: 82px;
  right: 50%;
  background: url('/wp-content/uploads/2025/11/divider-sprite.png') repeat-x 50% 0;
  content: "";
  height: 55px;
  position: absolute;
  top: 0;
}
.Divider:after {
  left: 50%;
  margin-left: 82px;
  right: 0;
  background: url('/wp-content/uploads/2025/11/divider-sprite.png') repeat-x 50% 0;
  content: "";
  height: 55px;
  position: absolute;
  top: 0;
}

/* Fonte para títulos */
h1, h2, h3, h4, h5, h6,
.site-title-heading,
.navbar-brand {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.2;
}
.leia-mais {
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    color: #830909c9;
}

/* Menu de navegação */
.navbar-nav .nav-link {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}

/* Widgets e elementos especiais */
.widget-title,
.sidebar h2,
.footer-widget h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
}

h1 {
    font-family: 'DM Serif Display', serif !important;
    color: #ff0000; /* Vermelho para destacar */
}
a.front-titulo:hover {
    color: #892312e8 !important;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: url('/wp-content/uploads/2025/11/fundo-cinza.png');
    background-color: #000000 !important;
    border-top: unset !important;
    font-size: 12px;
    padding: 10px;
    color: white;
}

.osr-footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.osr-footer a:hover {
    color: #3498db;
    text-decoration: none;
}

/* Widget Areas */
.footer-widgets {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 -15px;
    padding: 40px 30px !important;
}

.footer-widgets .widget {
    margin-bottom: 0;
}

.footer-widgets .widget-title {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'DM Serif Display', serif;
}

/* Logo no Footer */
.footer-logo img {
    max-height: 40px;
    width: auto;
    opacity: 0.9;
}

.footer-site-title a {
    color: #ecf0f1 !important;
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
}

.footer-description {
    color: #bdc3c7 !important;
}

/* Menu do Footer */
.footer-menu.list-inline {
    margin-bottom: 0;
}

.footer-menu .list-inline-item {
    margin-right: 1.5rem;
}

.footer-menu .list-inline-item:last-child {
    margin-right: 0;
}

.footer-menu a {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Redes Sociais */
.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    color: white !important;
    transform: translateY(-2px);
}




/* Responsividade */
@media (max-width: 768px) {
    .footer-widgets {
        margin: 0;
        padding: 30px 20px !important;
    }
    
    .footer-menu .list-inline-item {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        line-height: 32px;
        margin-right: 0.5rem !important;
    }
}

/* ######################################
CAMPO DE BUSCA
/* ######################################*/
.custom-search-form {
    display: flex; /* Para garantir que o input e o botão fiquem na mesma linha */
    align-items: center; /* Alinha verticalmente */
    margin-bottom: 20px; /* Espaço abaixo do formulário */
}

.search-input-wrapper {
    display: flex;
    width: 100%;
    border: 1px solid #00000057;
    background-color: unset;
    border-radius: 4px;
    overflow: hidden;
}

/* Estilo para o campo de input */
.custom-search-field {
    flex-grow: 1; /* Faz o input ocupar o máximo de espaço possível */
    padding: 10px 15px; /* Preenchimento interno */
    border: none; /* Remove a borda padrão */
    background-color: transparent; /* Fundo transparente para herdar do wrapper */
    font-size: 16px;
    color: #333; /* Cor do texto digitado */
    outline: none; /* Remove o contorno ao focar */
}

/* Estilo para o placeholder */
.custom-search-field::placeholder {
    color: #a0a0a0; /* Cor do texto do placeholder */
    opacity: 1; /* Garante que o placeholder não seja transparente no Firefox */
}

/* Estilo para o botão de busca */
.custom-search-button {
    background-color: #00000057; /* Um vermelho escuro ou cor que contraste, por exemplo */
    color: #fff; /* Cor do ícone */
    border: none; /* Remove a borda do botão */
    padding: 10px 15px; /* Preenchimento interno */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease; /* Transição suave no hover */
    display: flex; /* Para centralizar o ícone */
    align-items: center;
    justify-content: center;
}

.custom-search-button:hover {
    background-color: #00000067; /* Cor mais escura no hover */
}