/*
Theme Name: SocietyTheme
Theme URI: https://wordpress.org/themes/societytheme
Author: Casablanca SoC
Author URI:
Description: This theme aims to be the number 1 theme for News Blogs and Web Journals. 
Requires at least: 6.7
Tested up to: 8.1
Requires PHP: >7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: societytheme
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, news
*/



/*--------------------------------------------------------------
# Header do Site (Diário da Sociedade)
--------------------------------------------------------------*/

/* Importação de Fontes (já incluída no HTML via Google Fonts link) */

body {
    font-family: 'Georgia', serif; /* Fonte padrão para o corpo */
    margin: 0;
    padding: 0;
    color: #333; /* Cor de texto padrão */
    line-height: 1.6;
}

.container {
    width: 100%; /* Largura do container principal */
    max-width: 1200px; /* Largura máxima */
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

/* --- Barra Superior --- */
.header-top-bar {
    background-color: #ffffff; /* Fundo branco conforme imagem */
    padding: 10px 0 20px 0;
    font-size: 0.875rem; /* Tamanho da fonte um pouco menor */
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-bar__left .current-date {
    color: #333;
    font-weight:400;
    font-family: 'PT Sans', sans-serif; /* Libre Franklin como primeira opção */
}

.header-top-bar__right {
    display: flex;
    align-items: center;
}

.header-top-bar__right .subscribe-button {
    display: none;
    background-color: #837543; /* Cor do botão "Inscreva-se" da imagem (aproximada) */
    color: #ffffff;
    padding: 4px 10px;
    text-decoration: none;
    border-radius: 2px; /* Bordas levemente arredondadas */
    margin-right: 20px; /* Aumentado o espaço para a lupa */
    font-weight: bold; /* A fonte não parece em negrito na imagem */
    font-family: 'Libre Franklin', 'PT Sans', sans-serif; /* Libre Franklin como primeira opção */
    transition: background-color 0.3s ease;
    font-size: 0.7rem; /* Ajuste fino do tamanho da fonte do botão */
}

.header-top-bar__right .subscribe-button:hover,
.header-top-bar__right .subscribe-button:focus {
    background-color: #c0b283; /* Cor do botão ao passar o mouse (mais escura) */
}

.header-top-bar__right .search-icon-link { /* Alterado para link */
    color: #837543;
    text-decoration: none;
    font-size: 1.2rem; /* Ajustado para Font Awesome */
}
.header-top-bar__right .search-icon-link i {
    font-weight: 900; /* Para Font Awesome Solid */
}

.search-icon-mobile{
    display: none;
}

/* --- Seção do Logo e Cotação --- */
.site-branding-container {
    padding: 0 0 50px 0; /* Espaçamento vertical */
}

.site-branding-mobile {
    display: none;
}

.site-branding-container .container {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    position: relative; /* Para posicionamento absoluto da cotação se necessário */
}

.site-branding {
    /* Para centralizar absolutamente o logo */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* Estilo para o logo */
.custom-logo-link img.custom-logo {
    max-height: 60px; 
    width: auto;
    display: block; 
}
.site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    font-family: 'Georgia', serif; 
    font-size: 0.9rem; 
    color: #707070; 
    margin-top: 5px; 
    margin-bottom: 0;
    font-style: italic; 
}

.header-extra-info-link {
    /* Posiciona a cotação à direita, garantindo que não sobreponha o logo centralizado */
    margin-right: auto; /* Empurra para a direita */
    min-width: 150px; /* Garante espaço para a cotação */
    text-align: left;
    vertical-align: middle;
    z-index: 1; /* Para garantir que fique acima de qualquer sobreposição do logo se houver */
}

.ultimas-noticias-link {
    font-size: 0.85rem; 
    color: #333;
    text-align: left;
    font-family: 'PT Sans', sans-serif;
}

.ultimas-noticias-link a {
    color: #333;
    text-decoration: none;
}

.ultimas-noticias-link a:hover {
    color: #837543;
}

.header-extra-info {
    /* Posiciona a cotação à direita, garantindo que não sobreponha o logo centralizado */
    margin-left: auto; /* Empurra para a direita */
    min-width: 150px; /* Garante espaço para a cotação */
    text-align: right;
    vertical-align: middle;
    z-index: 1; /* Para garantir que fique acima de qualquer sobreposição do logo se houver */
}

.dollar-quote {
    font-size: 0.85rem; 
    color: #333;
    text-align: right;
    font-family: 'PT Sans', sans-serif;
}

.dollar-quote__label {
    margin-right: 2px;
}

.dollar-quote__value {
    color: #000;
    margin-right: 1px;
}

.dollar-quote__change {
    color: #28a745; 
    font-weight: lighter;
}

/* --- Barra de Navegação Principal --- */
.main-navigation {
    width: 100%;
    display: block;
    font-size: 0.95rem; 
}

.main-navigation .container {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    padding-top: 30px;
    font-weight: 900;
    font-family: 'Libre Franklin', sans-serif;
}

.menu-toggle { 
    display: none; 
}

.primary-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 1; /* Permite reduzir o tamanho se necessário */
    min-width: 0;
    justify-content: center; 
}

.primary-menu-list li.menu-item {
    margin: 0 12px; /* Espaçamento aumentado entre os itens do menu */
}

.primary-menu-list li.menu-item a {
    display: block;
    padding: 5px 0; 
    text-decoration: none;
    color: #333;
    font-weight: normal; 
    text-transform: none; 
    transition: color 0.3s ease;
}

.primary-menu-list li.menu-item a:hover,
.primary-menu-list li.menu-item a:focus > a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #131313;
}

/* --- Linhas Separadoras --- */
.header-bottom-lines {
    content: "";
    height: 3px;
    border-top: 1px solid #131313;
    border-bottom: 1px solid #131313;
    margin-bottom: 15px;
    margin-top: 10px;
    box-sizing: content-box;
}
.header-line {
    border: 0;
    height: 1px;
    background-color: #131313;
    margin-left: auto;
    margin-right: auto;
    color: #131313;
}

.header-line--above-nav {
    margin-bottom: 0px;
    background-color: #131313; 
}

.header-line--below-nav {
     margin-top: 3px;
     background-color: #131313; 
}


/*--------------------------------------------------------------
# Manchete Section (Home - index.php)
--------------------------------------------------------------*/
.manchete-section {
    padding: 30px 0;
}

.manchete-section__grid {
    display: flex;
    align-items: stretch; 
    gap: 1px; 
    background-color: #e0e0e0; 
}

.manchete-section__secondary-news,
.manchete-section__main-news,
.manchete-section__columnists {
    background-color: #fff; 
}

.manchete-section__secondary-news { 
    flex: 0 0 22%; 
    padding: 0 20px 20px 0;
}

.manchete-section__main-news { 
    flex: 0 0 50%;
    padding: 0 20px 20px 20px;
}

.manchete-section__columnists { 
    flex: 28% 0 28%;
    padding: 0 0 20px 20px;
}

.news-item {
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid #e0e0e0; 
}
.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; 
}
.news-item--main {
    border-bottom: none; 
    padding-bottom: 0;
    margin-bottom: 0; 
}
.news-item__title {
    margin-top: 0; 
    margin-bottom: 12px;
    line-height: 1.35; 
}
.news-item__title a {
    color: #222;
    text-decoration: none;
    font-size: 1.15rem;
}
.news-item__title a:hover {
    color: #837543;
    text-decoration: none; 
}

.news-item__excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0;
    margin: 0;
}

.news-item--main .news-item__image-container {
    margin-top: 0; 
    margin-bottom: 5px;
    width: 100%; 
    height: 400px; 
    overflow: hidden; 
    position: relative; 
}
.news-item--main .news-item__image-container a {
    display: flex;
    width: 100%;
}
.news-item--main .news-item__image-container img {
    width: 100%; 
    object-fit: cover; 
    object-position: center center; 
    vertical-align: top; 
}
.news-item__caption {
    font-size: 0.7rem;
    color: #555;
    text-align: right; 
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}
.news-item--main .news-item__title--main {
    font-size: 1.9rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
}
.news-item--main .news-item__title--main a {
    font-size: 1.9rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
}
.news-item__related-posts-internal {
    margin-top: 15px;
    padding-top: 15px;
}

.related-posts-internal__list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.related-posts-internal__item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: bold;
}
.related-posts-internal__item:last-child {
    margin-bottom: 0;
}

.related-posts-internal__marker {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #837543;
    border-radius: 1px;
    margin-right: 10px;
    flex-shrink: 0;
}

.related-posts-internal__item a {
    color: #222;
    text-decoration: none; 
}
.related-posts-internal__item a:hover {
    color: #837543;
    text-decoration: none; 
}

.news-item--secondary .news-item__title {
    font-size: 1rem;
    font-weight: bold;
}

.columnist-item {
    display: flex;
    position: relative;
    align-items: flex-start; 
    margin-bottom: 15px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid #e0e0e0;
    width: 100%;            
    max-width: 100%;        
    box-sizing: border-box; 
}
.columnist-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none; 
}

.columnist-item__avatar {
    margin-top: 0; 
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    margin-inline-start: 0px;
    unicode-bidi: isolate;
}
.columnist-item__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.columnist-item__info {
    flex-grow: 1;
}
.columnist-item__name {
    margin: 0 0 3px 0;
    font-size: 0.9rem;
    font-family: 'Franklin Libre', sans-serif;
    font-weight: bold;
}
.columnist-item__name a {
    color: #6C570B;
    text-decoration: none;
}
.columnist-item__name a:hover {
    color: #837543;
    text-decoration: none; 
}

.columnist-item__post-title {
    font-size: 1rem;
    color: #222;
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
}
.columnist-item__post-title a {
    color: inherit;
    text-decoration: none; 
}
.columnist-item__post-title a:hover {
    color: #837543;
    text-decoration: none; 
}


/*--------------------------------------------------------------
# Vida & Estilo Section
--------------------------------------------------------------*/
.vida-estilo-section { 
    padding-bottom: 15px; 
    background-color: #ffffff; 
}
.section-header--line-above {
    margin-bottom: 25px; 
    padding-top: 15px; 
    position: relative; 
}
.section-header--line-above .section-header__line {
    border: 0;
    height: 0.6px; 
    background-color: #131313; 
    width: 100%;
    display: block;
    position: absolute; 
    top: 0; 
    left: 0;
}
.section-header--line-above .section-title {
    font-family: 'Libre Franklin', 'PT Sans', sans-serif; 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: #131313; 
    margin: 0; 
    font-style: italic;
    text-align: left; 
    padding-top: 5px; 
}
.vida-estilo-section__featured-post {
    display: flex;
    gap: 30px; 
    margin-bottom: 40px;
    border-bottom: none; 
    padding-bottom: 0;
}
.vida-estilo-section__featured-image-container {
    flex: 0 0 50%;
    margin: 0;
}
.vida-estilo-section__featured-image-container img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-bottom: 5px;
}
.vida-estilo-section__featured-content {
    flex: 0 0 calc(50% - 30px); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}
.news-item__title--featured-ve a { 
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.25;
    color: #222;
    font-weight: bold;
    margin-bottom: 10px; 
    display: block;
}
.vida-estilo-section__featured-content .news-item__excerpt {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    text-align: center;
    color: #555;
    margin-top: 0; 
    margin-bottom: 15px;
}
.news-item__category--ve-entrevista { 
    font-family: 'Franklin Libre', sans-serif;
    font-style: italic;
    font-size: 0.75rem;
    text-align: center;
    text-transform: uppercase;
    color: #61605e;
    font-weight: bold;
    display: inline-block; 
    background-color: transparent; 
    padding: 0; 
}

.vida-estilo-section__secondary-grid {
    display: flex;
    width: 100%;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin: 20px 0;
}
.equal-column {
    flex: 1;
    position: relative;
}
.equal-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: 0;
    width: 1px;
    background-color: #e0e0e0;
}
.equal-column-content {
    padding: 20px;
}
.category-label {
    display: block;
    font-family: 'Franklin Libre', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #61605e;
    margin-bottom: 6px;
}

.article-title {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 0;
}
.article-title a {
    color: #222;
    text-decoration: none;
}

.article-title a:hover {
    color: #837543;
}

.vida-estilo-section__carousel-container {
    position: relative;
    background-color: #fff; 
    padding-top: 5px;     
    margin-top: 50px;
}

.vida-estilo-section__carousel-container .ve-carousel {
    display: flex;
    width: 100%; 
    overflow: hidden;
}

.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item {
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
    display: none;
    flex-grow: 0;
    flex-shrink: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.news-item__inner-wrapper {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-1 {
    flex-basis: calc(((100% - 123px) / 4) + 20px); 
    border-left: none;
}
.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-1 .news-item__inner-wrapper {
    padding-left: 0;
    padding-right: 20px; 
}

.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-2 {
    flex-basis: calc(((100% - 123px) / 4) + 20px + 20px + 1px); 
    border-left: 1px solid #e0e0e0;
}
.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-2 .news-item__inner-wrapper {
    padding-left: 20px; 
    padding-right: 20px; 
}

.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-3 {
    flex-basis: calc(((100% - 123px) / 4) + 20px + 20px + 1px); 
    border-left: 1px solid #e0e0e0;
}
.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-3 .news-item__inner-wrapper {
    padding-left: 20px; 
    padding-right: 20px; 
}

.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-4 {
    flex-basis: calc(((100% - 123px) / 4) + 20px + 1px); 
    border-left: 1px solid #e0e0e0;
}
.vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-4 .news-item__inner-wrapper {
    padding-left: 20px; 
    padding-right: 0;
}


.vida-estilo-section__carousel-container .news-item-carousel__image-container {
    margin-bottom: 10px; 
}
.vida-estilo-section__carousel-container .news-item-carousel__image-container a {
    display: block;
    text-decoration: none;
}
.vida-estilo-section__carousel-container .news-item-carousel__image-container img {
    width: 100%; 
    height: 200px;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.vida-estilo-section__carousel-container .news-item__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
    padding-bottom: 12px; 
}

.vida-estilo-section__carousel-container .news-item-carousel__title {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 4px 0;
    line-height: 1.35;
    order: 1; 
}
.vida-estilo-section__carousel-container .news-item-carousel__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.vida-estilo-section__carousel-container .news-item-carousel__title a:hover {
    color: #837543;
    text-decoration: none;
}

.vida-estilo-section__carousel-container .news-item__category {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.8rem;
    color: #61605e;
    margin: 0;
    line-height: 1.3;
    text-transform: none;
    font-weight: 400;
    order: 2; 
}

.vida-estilo-section__carousel-container .carousel-navigation {
    position: absolute;
    top: -28px;
    right: 0px;
    display: flex;
    gap: 4px;
    z-index: 10;
}
.vida-estilo-section__carousel-container .carousel-arrow {
    background-color: #fff;
    border: 1px solid #dcdcdc;
    color: #777777;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.vida-estilo-section__carousel-container .carousel-arrow--prev::before {
    content: '‹';
}
.vida-estilo-section__carousel-container .carousel-arrow--next::before {
    content: '›';
}
.vida-estilo-section__carousel-container .carousel-arrow:hover {
    background-color: #f7f7f7;
    border-color: #c0c0c0;
    color: #333333;
}


/*--------------------------------------------------------------
# Esportes Section
--------------------------------------------------------------*/
.esportes-section {
    padding-top: 20px;
    padding-bottom: 15px;
}

.esportes-section__grid {
    display: flex;
    gap: 1px; 
    background-color: #e0e0e0; 
    margin-top: 25px;
}

.esportes-section__main-news,
.esportes-section__secondary-news,
.esportes-section__scoreboard {
    background-color: #fff; 
    box-sizing: border-box; 
    min-width: 0; 
    margin-bottom: 0;
    border-bottom: 0;
}

.esportes-section__main-news {
    flex: 0 0 42%;
    padding: 0 20px 0 0; 
}

.esportes-section__main-news .news-item__image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 8px;
}

.esportes-section__main-news .news-item__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.esportes-section__main-news .news-item__title {
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}
.esportes-section__main-news .news-item__title a {
    font-size: inherit;
}

.esportes-section__main-news .news-item__excerpt {
    font-size: 1rem;
    margin-bottom: 10px;
}

.esportes-section__main-news .news-item__category {
    font-size: 0.75rem;
    font-family: 'Franklin Libre', sans-serif;
    color: #61605e;
    text-transform: uppercase;
}

.esportes-section__secondary-news {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
    gap: 0; 
    padding: 0 20px 0 20px; 
}

.news-item--esportes-secondary {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px; 
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
}
.news-item--esportes-secondary:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item--esportes-secondary .news-item__content {
    flex-grow: 1;
    min-width: 0; 
}

.news-item--esportes-secondary .news-item__title {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}
.news-item--esportes-secondary .news-item__title a{
    font-size: inherit;
}

.news-item--esportes-secondary .news-item__category {
    font-size: 0.7rem;
    font-family: 'Franklin Libre', sans-serif;
    color: #61605e;
    text-transform: uppercase;
}

.news-item__image-container--esportes-secondary {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.news-item__image-container--esportes-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.esportes-section__scoreboard {
    flex: 0 0 25%;
    padding: 0 0 0 20px;
}

.scoreboard__header {
    display: flex;
    justify-content: start;
    gap: 5px;
    align-items: center;
    margin-bottom: 15px; 
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.scoreboard__league-info {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.scoreboard__league-logo {
    width: 24px; 
    height: 24px;
    object-fit: contain;
}

.scoreboard__title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
    font-weight: 700; 
    margin: 0;
    text-transform: uppercase;
}

.scoreboard__dropdown-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    padding: 5px;
}

.scoreboard__dropdown-btn i { 
    font-size: 0.7rem; 
}

.scoreboard__matches {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.scoreboard__match-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 0;
    border-bottom: 1px solid #eaeaea;
    font-family: 'PT Sans', sans-serif;
}
.scoreboard__match-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.match-item__team {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 4px; 
    min-width: 0; 
    text-align: center; 
}

.team__logo {
    width: 35px; 
    height: 35px;
    object-fit: contain;
}

.team__name {
    font-size: 0.9rem; 
    color: #222;
    font-weight: normal;
    max-width: 11ch; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: inline-block; 
}

.match-item__score {
    font-weight: bold;
    font-size: 1.7rem; 
    color: #333; 
    background-color: #ebebeb; 
    padding: 2px 8px; 
    border-radius: 2px; 
    white-space: nowrap;
    text-align: center; 
    line-height: 1.1; 
}

.score__home,
.score__away {
    font-weight: bold;
    font-size: 2.3rem;
}

.match-item__info {
    grid-column: 1 / -1; 
    text-align: center; 
    font-size: 0.7rem;
    color: #777;
    margin-top: 8px; 
}

.scoreboard__navigation {
    display: flex;
    justify-content: flex-end; 
    gap: 5px; 
    margin-top: 15px; 
}

.esportes-section__scoreboard .carousel-arrow {
    background-color: #fff; 
    border: 1px solid #dcdcdc; 
    color: #777777; 
    width: 22px; 
    height: 22px;
    font-size: 12px; 
    line-height: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0;
    border-radius: 0; 
}
.esportes-section__scoreboard .carousel-arrow i {
    font-size: 0.7rem; 
}
.esportes-section__scoreboard .carousel-arrow:hover {
    background-color: #f0f0f0; 
    border-color: #c0c0c0; 
    color: #333333; 
}


/*--------------------------------------------------------------
# Artes & Entretenimento Section
--------------------------------------------------------------*/
.artes-section {
    padding-top: 20px;
    padding-bottom: 15px;
}

.artes-section__grid {
    display: flex;
    gap: 1px; 
    background-color: #e0e0e0; 
    margin-top: 25px;
}

.artes-section__main-news,
.artes-section__secondary-news,
.artes-section__artes-featured {
    background-color: #fff; 
    box-sizing: border-box; 
    min-width: 0; 
    margin-bottom: 0;
    border-bottom: 0;
}

.artes-section__main-news {
    flex: 0 0 42%;
    padding: 0 20px 0 0; 
}

.artes-section__main-news .news-item__image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 8px;
}

.artes-section__main-news .news-item__image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.artes-section__main-news .news-item__title {
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}
.artes-section__main-news .news-item__title a {
    font-size: inherit;
}

.artes-section__main-news .news-item__excerpt {
    font-size: 1rem;
    margin-bottom: 10px;
}

.artes-section__main-news .news-item__category {
    font-size: 0.75rem;
    font-family: 'Franklin Libre', sans-serif;
    color: #61605e;
    text-transform: uppercase;
}

.artes-section__secondary-news {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
    gap: 0; 
    padding: 0 20px 0 20px; 
}

.news-item--artes-secondary {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px; 
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
}
.news-item--artes-secondary:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item--artes-secondary .news-item__content {
    flex-grow: 1;
    min-width: 0; 
}

.news-item--artes-secondary .news-item__title {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}
.news-item--artes-secondary .news-item__title a{
    font-size: inherit;
}

.news-item--artes-secondary .news-item__category {
    font-size: 0.7rem;
    font-family: 'Franklin Libre', sans-serif;
    color: #61605e;
    text-transform: uppercase;
}

.news-item__image-container--artes-secondary {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.news-item__image-container--artes-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.artes-section__artes-featured {
    flex: 0 0 25%;
    padding: 0 0 0 20px;
}
.artes-section__artes-featured > .news-item {
    padding: 0;
    padding-bottom: 15px; 
    margin-bottom: 15px; 
    border-bottom: 1px solid #e9e9e9;
}
.artes-section__artes-featured > .news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0; 
    border-bottom: none;
}
.news-item--artes-featured-sidebar { 
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}
.news-item--artes-featured-sidebar .news-item__content { 
    flex: 1; 
}
.news-item__title--artes-featured-sidebar a { 
    font-family: 'Georgia', serif;
    font-size: 1.25rem; 
    font-weight: bold;
    line-height: 1.25;
    margin-bottom: 6px;
    color: #222;
}
.news-item--artes-featured-sidebar .news-item__excerpt {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 6px;
    color: #444;
}
.news-item--artes-featured-sidebar .news-item__category {
    font-size: 0.7rem;
    font-family: 'Franklin Libre', sans-serif;
    color: #61605e;
    text-transform: uppercase;
    font-weight: 600;
}
.news-item__image-container--artes-featured-sidebar { 
    flex: 0 0 70px; 
    height: 100px; 
    width: 28%;
    overflow: hidden;
    float: right;
    margin-left: 15px; 
    margin-bottom: 5px;
}
.news-item__image-container--artes-featured-sidebar img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: center center;
}
.news-item__content::after {
    content: "";
    clear: both;
    display: table;
}


/*--------------------------------------------------------------
# Footer do Site
--------------------------------------------------------------*/
.site-footer {
    background-color: #ffffff; 
    color: #333;
    padding-top: 30px; 
    font-family: 'Georgia', serif;
}

.footer-top-line { 
    content: "";
    height: 3px;
    border-top: 1px solid #131313;
    border-bottom: 1px solid #131313;
    margin-bottom: 30px; 
}

.footer-branding {
    text-align: left; 
    margin-bottom: 30px; 
}

.footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 45px; 
}

.footer-content-wrapper { 
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-grow: 1;
    gap: 20px; 
    justify-content: flex-start;
}

.footer-column {
    flex: 1;
    min-width: 150px; 
}

.footer-column.footer-column-large {
    flex: 2; 
    min-width: 300px;
}

.footer-column h4 {
    font-family: 'Libre Franklin', 'PT Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    color: #000000;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul.multi-column-list {
    column-count: 2; 
    column-gap: 20px;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    font-family: 'Libre Franklin', 'PT Sans', sans-serif;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    font-weight: normal;
}

.footer-column ul li a:hover {
    color: #837543;
    text-decoration: underline;
}

.footer-subscribe {
    flex-basis: 280px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.subscribe-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.subscribe-icon {
    width: 30px; 
    height: auto;
    margin-right: 10px;
}

.footer-subscribe h4 {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

.footer-subscribe p {
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    color: #555;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    box-sizing: border-box; 
}

.subscribe-form button {
    background-color: #6a592b; 
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-family: 'Libre Franklin', 'PT Sans', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 2px;
    text-transform: uppercase;
    width: 100%; 
}

.subscribe-form button:hover {
    background-color: #50421c; 
}

.footer-copyright {
    text-align: center;
    padding: 15px 0;
    margin-top: 20px; 
}

.footer-copyright p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.75rem;
    color: #555;
    margin: 0;
}


/* --- Responsividade --- */
@media (max-width: 768px) {
    .header-top-bar .container {
        display: none;
        flex-direction: column; 
        gap: 10px;
    }
    .site-branding-container .container {
        display: none;
        flex-direction: column; 
        align-items: center;
        gap: 15px;
    }
    .header-top-bar,
    .site-branding-container, 
    .main-navigation .primary-menu-list { 
        display: none;
    }

    .main-navigation .menu-toggle,
    .main-navigation .site-branding-mobile,
    .main-navigation .search-icon-mobile {
        display: block; 
    }
    .main-navigation .search-icon-mobile { 
        display: inline-block; 
    }
    .main-navigation .search-icon-mobile i {
        color: #333;
    }

    #site-navigation .container { 
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 20px; 
        padding-bottom: 10px;
        width: 100%; 
        box-sizing: border-box;
    }
    #site-navigation.main-navigation > .container {
        padding-left: 0; 
        padding-right: 0;
        max-width: none; 
    }

    #site-navigation .menu-toggle {
        order: 1;
        font-size: 1.5rem; 
        color: #333;
        background: none;
        border: none;
        padding: 5px 10px; 
        cursor: pointer;
    }

    #site-navigation .site-branding-mobile {
        order: 2;
        line-height: 0; 
    }
    #site-navigation .site-branding-mobile .custom-logo {
        max-height: 28px; 
        width: auto;
        padding-left: 5px;
    }

    #site-navigation .search-icon-mobile {
        order: 3;
        font-size: 1.3rem; 
        color: #333;
        padding: 5px 10px; 
    }

    #primary-menu.toggled-on {
        display: block; 
        flex-direction: column;
        width: 100%; 
        position: absolute;
        top: 128px; 
        left: 0;
        background-color: #fff; 
        border-top: 1px solid #e0e0e0;
        z-index: 999; 
        padding-left: 0; 
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    #primary-menu.toggled-on .menu-item {
        margin: 0;
        width: 100%;
    }

    #primary-menu.toggled-on .menu-item a {
        display: block;
        padding: 12px 4%; 
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        font-family: 'Libre Franklin', sans-serif;
        font-size: 0.9rem;
    }
    #primary-menu.toggled-on .menu-item:last-child a {
        border-bottom: none;
    }
    
    .site-branding {
        display: none;
    }
    .header-extra-info {
        display: none;
    } 
    .fa-magnifying-glass:before, .fa-search:before {
    display: flex;
    }
    .header-bottom-lines .container {
        padding-top: 0; 
        padding-bottom: 0;
    }
    .header-line {
        border: 0;
        height: 0.1px;
        background-color: #131313; 
        margin-left: auto;
        margin-right: auto;
    }
    .header-line--above-nav {
        margin-bottom: 0px; 
    }
    .header-line--below-nav {
        margin-top: 0px; 
    }

    .manchete-section__grid {
        flex-direction: column; 
        background-color: #ffffff;
    }
    .manchete-section__main-news {
        order: 1; 
        padding: 0px; 
        border-bottom: 0.5px solid #e0e0e0;
    }
    .manchete-section__main-news .news-item__image-container {
        display: flex;
        width: 100%;
        height: 250px; 
        overflow: hidden;
    }
    .manchete-section__main-news .news-item__image-container img {
        height: 100%;
        width: auto;
        object-fit: cover; 
        object-position: center center;
        vertical-align: top;
    }
    .news-item--main .news-item__title--main,
    .news-item--main .news-item__title--main a {
        font-size: 1.5rem; 
    }
    .manchete-section__secondary-news {
        order: 2; 
        padding: 0px; 
        padding-top: 15px;
    }
    .manchete-section__secondary-news .news-item--secondary {
        display: none; 
    }
    .manchete-section__secondary-news .news-item--secondary:nth-child(-n+2) {
        display: block; 
    }
    .news-item__related-posts-internal {
        margin-top: 0px;
        padding-top: 15px;
        margin-bottom: 15px;
    }

    .manchete-section__columnists {
        order: 3; 
        padding: 15px 0; 
        display: flex; 
        overflow-x: scroll; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; 
        gap: 0; 
    }
    .manchete-section__columnists .columnist-item {
        flex: 0 0 100%; 
        scroll-snap-align: start; 
        padding: 0 15px; 
        border-bottom: none; 
        border-top: none;
        margin-bottom: 0;
    }

    .vida-estilo-section__featured-post {
        flex-direction: column; 
        gap: 15px;
        align-items: center; 
    }
    .vida-estilo-section__featured-image-container,
    .vida-estilo-section__featured-content {
        flex-basis: 100%; 
        padding: 0;
    }
    .news-item__title--featured-ve a {
        font-size: 1.5rem; 
    }
    .vida-estilo-section__secondary-grid {
        flex-direction: column; 
        border-bottom: 1px solid #ffffff;
    }
    .vida-estilo-section__secondary-grid .equal-column {
        min-width: 100%; 
        border-bottom: 1px solid #e0e0e0;
    }
    .vida-estilo-section__secondary-grid .equal-column:last-child {
        border-bottom: none;
    }
    .vida-estilo-section__secondary-grid .equal-column:not(:last-child)::after {
        display: none; 
    }
    .vida-estilo-section__secondary-grid .equal-column {
        display: none;
    }
    .vida-estilo-section__secondary-grid .equal-column:nth-child(-n+2) {
        display: block;
    }
    .equal-column-content {
    padding: 20px 0;
    }

    .vida-estilo-section__carousel-container .ve-carousel {
           overflow: hidden;
    }
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item {
        flex-basis: 100% !important; 
        min-width: 100% !important;  
        display: none; 
        padding: 0 10px; 
        box-sizing: border-box;
        border-left: none !important; 
    }

    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.is-visible {
        display: flex !important; 
    }
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item .news-item__inner-wrapper {
        padding-left: 0 !important; 
        padding-right: 0 !important;
    }

    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-1,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-2,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-3,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-4 {
        border-left: none;
        flex-basis: 100%; 
    }
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-1 .news-item__inner-wrapper,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-2 .news-item__inner-wrapper,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-3 .news-item__inner-wrapper,
    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item.visible-item-4 .news-item__inner-wrapper {
        padding: 0;
    }
    
    .vida-estilo-section__carousel-container .news-item-carousel__image-container {
        height: 250px; 
    }
    .vida-estilo-section__carousel-container .news-item-carousel__image-container img {
        height: 100%;
        object-fit: cover; 
        object-position: center center;
    }

    .esportes-section__grid {
        flex-direction: column; 
        background-color: #ffffff;
    }
    .esportes-section__main-news,
    .esportes-section__secondary-news,
    .esportes-section__scoreboard {
        flex-basis: 100%; 
        padding: 0 0 15px 0; 
        border-bottom: 1px solid #e0e0e0; 
    }
    .esportes-section__scoreboard {
        margin-top: 40px;
    }
    .news-item--esportes-secondary:first-child{
        padding-top: 15px;
    }
    .esportes-section__grid > *:last-child {
        border-bottom: none;
    }
    .esportes-section__main-news .news-item__image-container {
        height: 220px; 
    }
    .scoreboard__header{
        padding-top: 10px;
        margin-bottom: 20px;
    }
    .scoreboard__match-item {
        grid-template-columns: 1fr auto 1fr; 
        gap: 5px; 
    }
    .team__logo {
        width: 30px;
        height: 30px;
    }
    .team__name {
        font-size: 0.8rem;
        max-width: 10ch;
    }
    .match-item__score {
        font-size: 1.5rem;
        padding: 2px 6px;
    }
    .score__home, .score__away {
        font-size: 2rem;
    }
    .scoreboard__navigation {
        justify-content: center; 
    }

    .artes-section__grid {
        flex-direction: column; 
        background-color: #ffffff;
    }
    .artes-section__main-news {
    padding: 0; 
    }
    .artes-section__main-news,
    .artes-section__secondary-news,
    .artes-section__artes-featured {
        flex-basis: 100%; 
        padding-bottom: 20px; 
        border-bottom: 1px solid #e0e0e0; 

    }
    .artes-section__secondary-news{
        padding: 0;
        
    }
    .news-item--artes-secondary:first-child{
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .news-item--artes-secondary:last-child{
        padding-bottom: 15px;
        border-bottom: none;
    }
    .artes-section__grid > *:last-child {
        border-bottom: none;
    }
    .artes-section__artes-featured{
        padding: 20px 0 0 0;
    }
    .artes-section__main-news .news-item__image-container {
        height: 220px; 
    }
    .news-item__image-container--artes-featured-sidebar {
        width: 100px; 
        height: 120px;
        float: right;
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .footer-content-wrapper {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }
    .footer-branding {
    text-align: center; 
    margin-bottom: 30px; 
    }
    .footer-logo {
    max-width: 100%;
    height: auto;
    max-height: 28px;
    }
    .footer-links {
        flex-direction: column; 
        align-items: center;
        width: 100%;
    }
    .footer-column {
        min-width: 100%; 
        margin-bottom: 20px;
    }
    .footer-column ul.multi-column-list {
        column-count: 2; 
    }
    .footer-subscribe {
        align-items: center; 
        text-align: center;
    }
    .subscribe-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .news-item--main .news-item__title--main,
    .news-item--main .news-item__title--main a {
        font-size: 1.75rem;
        line-height: 2rem;
    }
    .news-item__title--featured-ve a {
        font-size: 1.4rem;
        font-weight: bolder;
    }
    .esportes-section__main-news .news-item__title,
    .artes-section__main-news .news-item__title {
        font-size: 1.5rem;
    }

    .header-top-bar__left, .header-extra-info {
        display: none;
    }
    .header-top-bar__right {
        width: 100%;
        justify-content: center; 
    }
    .site-branding-container .container {
        padding: 15px 0; 
    }
    .custom-logo-link img.custom-logo {
        max-height: 50px; 
    }

    .related-posts-internal__item {
        font-size: 1rem;
    }

    .manchete-section__columnists {
        padding-left: 10px;
        padding-right: 10px;
    }
    .manchete-section__columnists .columnist-item {
        padding: 0 10px;
    }
    .columnist-item__avatar img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    .columnist-item__post-title {
        font-size: 1.25rem;
        line-height: 1.4rem;
    }

    .vida-estilo-section__carousel-container .ve-carousel article.carousel-item.news-item {
        padding: 0 5px; 
    }
    .vida-estilo-section__carousel-container .news-item-carousel__image-container img {
        height: 250px; 
    }
}


/*--------------------------------------------------------------
# Single Post Styles (single.php)
--------------------------------------------------------------*/
.site-content-single {
    margin-top: 40px;
}

.single-post-article {
    margin-bottom: 40px;
}

.single-post-content {
    padding-right: 50px;
}

.single-post-article .entry-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.single-post-article .entry-title {
    font-size: 2.5rem; 
    color: #222;
    font-family: 'Georgia', serif;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.single-post-article .entry-summary {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

.single-post-article .entry-meta {
    font-size: 0.85rem;
    color: #555; 
    margin-top: 15px;
    margin-bottom: 15px;
    font-family: 'Libre Franklin', sans-serif;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 15px 20px; 
    padding: 5px 0;
}

.single-post-article .entry-meta span, 
.single-post-article .entry-meta a.action-icon { 
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #555; 
    position: relative; 
}

.single-post-article .entry-meta i { 
    margin-right: 7px;
    font-size: 0.9em; 
    color: #555; 
}

.single-post-article .entry-meta a.action-icon i {
    color: #555; 
    font-size: 1.1em; 
}
.single-post-article .entry-meta a.action-icon:hover,
.single-post-article .entry-meta a.action-icon:hover i {
    color: #837543; 
}

.single-post-article .entry-meta .author-single a {
    color: #555; 
    text-decoration: none; 
    font-weight: inherit; 
}

.single-post-article .entry-meta .author-single a:hover {
    color: #837543; 
    text-decoration: none; 
}

.single-post-article .entry-meta .comments-link-icon .comments-count {
    font-size: 0.9em; 
    margin-left: 5px;
    font-weight: 500;
    color: inherit; 
}

#share-menu-popup {
    position: absolute;
    background-color: #fff; 
    border: 1px solid #ddd;
    border-radius: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 10px; 
    z-index: 1001;
    min-width: 180px; 
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
}

#share-menu-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#share-menu-popup a,
#share-menu-popup button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px 10px; 
    text-decoration: none;
    color: #333; 
    background-color: transparent; 
    border: none; 
    border-radius: 3px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    transition: background-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}

#share-menu-popup a:hover,
#share-menu-popup button:hover {
    background-color: #837543; 
    color: #fff; 
}

#share-menu-popup i.fab, 
#share-menu-popup i.fas { 
    margin-right: 10px;
    font-size: 1.2em; 
    width: 20px; 
    text-align: center;
    color: #837543; 
}

#share-menu-popup a:hover i.fab,
#share-menu-popup a:hover i.fas,
#share-menu-popup button:hover i.fas {
    color: #fff; 
}

.single-post-article .post-thumbnail-wrapper {
    margin-bottom: 25px;
    text-align: center;
}

.single-post-article .post-thumbnail-wrapper img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.single-post-article .post-thumbnail-wrapper .wp-caption-text {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.single-post-article .entry-content {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.single-post-article .entry-content p {
    margin-bottom: 1.5em;
}

.single-post-article .entry-content h2,
.single-post-article .entry-content h3,
.single-post-article .entry-content h4 {
    font-family: 'Libre Franklin', sans-serif;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    font-weight: bold;
}
.single-post-article .entry-content h2 { font-size: 1.8rem; }
.single-post-article .entry-content h3 { font-size: 1.5rem; }
.single-post-article .entry-content h4 { font-size: 1.3rem; }

.single-post-article .entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 30px;
}

.post-author-box .author-avatar img {
    border-radius: 50%;
    max-width: 90px;
}

.post-author-box .author-info {
    flex-grow: 1;
}

.post-author-box .author-name {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-family: 'Libre Franklin', sans-serif;
    font-weight: bold;
}
.post-author-box .author-name a {
    text-decoration: none;
    color: #333;
}
.post-author-box .author-name a:hover {
    color: #837543;
}

.post-author-box .author-bio {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    font-family: 'Georgia', serif;
}

.post-tags-box {
    margin-top: 20px;
}
.post-tags-box .tags-title {
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Libre Franklin', sans-serif;
}
.post-tags-box .tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline;
}
.post-tags-box .tags-list li {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 5px;
}
.post-tags-box .tags-list li a {
    display: inline-block;
    padding: 3px 8px;
    background-color: #eee;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 1px;
    font-family: 'Libre Franklin', sans-serif;
}
.post-tags-box .tags-list li a:hover {
    background-color: #837543;
    color: #fff;
}

.related-posts-section {
    margin-top: 40px;
    padding-top: 20px;
}

.related-posts-section .related-posts-title {
    font-size: 1rem;
    font-family: 'Libre Franklin', sans-serif;
    font-style: italic;
    font-weight: bold;
    padding-top: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-top: 1px solid #131313;
    color: #131313;
}

.related-posts-list {
    display: grid;
    gap: 20px;
}

.related-post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.related-post-item .related-post-image {
    flex: 0 0 120px;
}

.related-post-item .related-post-image img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.related-post-item .related-post-content {
    flex-grow: 1;
}

.related-post-item .related-post-title {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 5px;
    font-family: 'Georgia', serif;
    font-weight: bold;
}
.related-post-item .related-post-title a {
    text-decoration: none;
    color: #333;
}
.related-post-item .related-post-title a:hover {
    color: #837543;
}

.related-post-item .related-post-date {
    font-size: 0.9rem;
    color: #777;
    font-family: 'Libre Franklin', sans-serif;
}

/*--------------------------------------------------------------
# Comments Section Styles
--------------------------------------------------------------*/
#comments {
    margin-top: 40px;
    padding-top: 30px;
}

#comments .comments-title,
#comments .comment-reply-title {
    font-size: 1rem;
    font-family: 'Libre Franklin', sans-serif;
    font-style: italic;
    font-weight: bold;
    padding-top: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-top: 1px solid #131313;
    color: #131313;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}
.comment-list .comment:last-child {
    border-bottom: none;
}
.comment-list .children { 
    list-style: none;
    padding-left: 30px; 
    margin-top: 20px;
}
.comment-list .children .comment {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.comment-author.vcard { 
    display: flex;
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 8px; 
}

.comment-author img.avatar { 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
}

.comment-author .fn { 
    font-weight: bold;
    font-family: 'Libre Franklin', sans-serif;
    color: #333;
    text-decoration: none;
    display: block; 
    font-size: 1rem;
}
.comment-author .fn a {
    color: inherit;
    text-decoration: none;
}
.comment-author .fn a:hover {
    color: #837543;
}

.comment-metadata {
    font-size: 0.8rem;
    color: #777;
}
.comment-metadata a {
    color: #777;
    text-decoration: none;
}
.comment-metadata a:hover {
    text-decoration: underline;
}
.comment-metadata .edit-link {
    margin-left: 10px;
}
.comment-metadata .edit-link a {
    color: #837543;
}

.comment-content-wrapper {
    padding-left: 60px; 
    margin-top: -40px; 
}

.comment-content p {
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}
.comment-content p:last-child {
    margin-bottom: 0;
}

.reply { 
    margin-top: 10px;
    text-align: right; 
}
.comment-reply-link {
    font-size: 0.85rem;
    font-family: 'Libre Franklin', sans-serif;
    color: #837543;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border: 1px solid #837543;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-block;
}
.comment-reply-link:hover {
    background-color: #837543;
    color: #fff;
}
.comment-awaiting-moderation {
    font-style: italic;
    color: #888;
    font-size: 0.9em;
    background-color: #fffbe4;
    border: 1px solid #ffeccc;
    padding: 8px 12px;
    border-radius: 3px;
    margin-top: 5px;
}

.comment-form {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 5px;
}
.comment-form p {
    margin-bottom: 15px;
}
.comment-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.9rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    box-sizing: border-box;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: #837543;
    outline: none;
    box-shadow: 0 0 0 0.1rem rgba(131, 117, 67, 0.25);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .form-submit input[type="submit"] {
    background-color: #837543;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.comment-form .form-submit input[type="submit"]:hover {
    background-color: #6a592b;
}

.comment-notes, .logged-in-as {
    font-size: 0.85rem;
    color: #777;
    font-family: 'Libre Franklin', sans-serif;
}
.logged-in-as a {
    color: #837543;
    text-decoration: none;
}
.logged-in-as a:hover {
    text-decoration: underline;
}


/*--------------------------------------------------------------
# Sidebar (col-md-4)
--------------------------------------------------------------*/
.widget-area {
    padding-left: 80px;
}

.widget-area .widget {
    margin-bottom: 30px;
    padding: 0;
}

.widget-area .widget-title {
    font-size: 1rem;
    font-family: 'Libre Franklin', sans-serif;
    font-style: italic;
    font-weight: bold;
    padding-top: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-top: 1px solid #131313;
    color: #131313;
}

.widget_most_read_posts .most-read-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    counter-reset: most-read-counter; 
}

.most-read-item {
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; 
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0; 
    gap: 10px; 
}
.most-read-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.most-read-item--featured {
    flex-direction: column; 
}

.most-read-item--featured .most-read-item__image {
    margin-bottom: 10px;
    line-height: 0; 
}
.most-read-item--featured .most-read-item__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    display: block; 
}

.most-read-item__content {
    display: flex;
    align-items: flex-start; 
    gap: 8px; 
    flex-grow: 1; 
}

.most-read-item__content::before {
    counter-increment: most-read-counter;
    content: counter(most-read-counter);
    font-size: 1.75rem; 
    font-weight: 600;
    color: #222; 
    line-height: 1; 
    min-width: 20px; 
    font-family: 'Georgia', serif; 
    position: relative;
    align-items: center;
    justify-content: center;
}

.most-read-item__title {
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
    line-height: 1.35;
    margin: 0;
    color: #222; 
    font-weight: 500; 
}

.most-read-item--featured .most-read-item__title {
    font-size: 1.1rem; 
    font-weight: 500; 
}

.most-read-item__title a {
    text-decoration: none;
    color: inherit; 
}
.most-read-item__title a:hover {
    color: #837543; 
}

.widget_advertisement .advertisement-content {
    text-align: center; 
    max-width: 300px; 
    max-height: 600px;
    margin-left: auto !important;  
    margin-right: auto !important; 
    padding: 15px 0; 
}
.widget_advertisement .advertisement-content span {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: 'Libre Franklin', sans-serif;
}
.widget_advertisement .advertisement-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    display: block; 
    margin-left: auto; 
    margin-right: auto;
}

@media (max-width: 768px) {
    .single-post-content {
    padding-right: 0;
    }

    .single-post-article .entry-meta {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }
    .single-post-article .entry-meta .post-actions {
        margin-left: 0;
        margin-top: 10px; 
    }

    .single-post-article .entry-title {
    font-size: 2rem; 
    line-height: 1.2;
    }

    .post-author-box {
        flex-direction: column;
        align-items: center;
    }
    .post-author-box .author-info{
        text-align: center;
    }
    .post-author-box .author-name {
        font-size: 1.35rem;

    }
    .post-author-box .author-bio {
        font-size: 1.1rem;
    }

    .widget-area {
        padding-left: 12px;
        margin-top: 40px;
    }

    .widget_advertisement .advertisement-content {
        padding-left: 15px; 
        padding-right: 15px; 
        box-sizing: border-box; 
    }

    .related-posts-list {
        grid-template-columns: 1fr;
    }

    .comment-list .children {
        padding-left: 15px;
    }

    .comment-content-wrapper {
        padding-left: 0; 
        margin-top: 10px; 
    }
    .comment-author img.avatar {
        width: 40px;
        height: 40px;
    }
    .reply {
        text-align: left; 
    }
}


/*--------------------------------------------------------------
# Archive Page General Styles (tag.php, category.php, etc.)
--------------------------------------------------------------*/
.site-content-archive {
    margin-top: 40px; 
    margin-bottom: 30px;
}

.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.archive-title {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5em;
}

.archive-meta { 
    font-size: 1rem;
    color: #555;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Tag Archive Item Styles (tag.php) - REMOVIDO POIS FOI SUBSTITUÍDO
  PELOS ESTILOS DE .archive-list-item ABAIXO
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Archive List Item Style (Floating Image) - NOVOS ESTILOS
--------------------------------------------------------------*/
.archive-list-item.floating-image-style {
    margin-bottom: 30px;
    padding-bottom: 0; 
}

.archive-list-item__inner {
    display: flex;
    gap: 20px; 
    align-items: flex-start;
}

.archive-list-item__meta { 
    flex: 0 0 100px; 
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.85rem;
    color: #777;
    padding-top: 3px; 
    order: 1; 
}

.archive-list-item__main-content { 
    flex: 1;
    min-width: 0; 
    position: relative; 
    order: 2; 
}

.archive-list-item__main-content::after {
    content: "";
    clear: both;
    display: table;
}

.archive-list-item__image-container {
    width: 150px; 
    height: 150px; 
    float: right;
    margin-left: 20px; 
    margin-bottom: 10px; 
    margin-top: 5px; 
}

.archive-list-item__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0px; 
    display: block; /* ou flex */
}

.archive-list-item__title {
    font-family: 'Georgia', serif;
    font-size: 1.6rem; 
    font-weight: bold;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 0.5em;
}
.archive-list-item__title a {
    color: #222;
    text-decoration: none;
}
.archive-list-item__title a:hover {
    color: #837543;
}

.archive-list-item__excerpt {
    font-family: 'Georgia', serif;
    font-size: 1rem; 
    color: #555;
    line-height: 1.65;
    margin-bottom: 0.75em;
}
.archive-list-item__excerpt p { 
    margin-bottom: 0;
}

.archive-list-item__author {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    color: #777;
    display: block; 
    margin-top: 8px;
}
.archive-list-item__author a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}
.archive-list-item__author a:hover {
    color: #837543;
}

hr.archive-list-item__divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin-top: 30px; 
}
.archive-list-item:last-of-type > hr.archive-list-item__divider {
    display: none;
}
#tag-posts-container > .archive-list-item:last-child,
#category-posts-container > .archive-list-item:last-child,
#author-posts-container > .archive-list-item:last-child,
#all-posts-container > .archive-list-item:last-child {
    margin-bottom: 0;
}


/* Responsividade para o novo layout de lista de arquivo */
@media (max-width: 768px) {
    .archive-list-item__inner {
        flex-direction: column; 
    }

    .archive-list-item__main-content { 
        order: 1; 
        width: 100%;
    }
    
    .archive-list-item__meta { 
        flex-basis: auto;
        width: 100%;
        order: 2; 
        margin-top: 0px; 
        font-size: 0.85rem;
        text-align: left; 
        padding-top: 0;
    }

    /* .archive-list-item__image-container {
        width: 40%; 
        max-width: 150px; 
        margin-left: 15px;
        margin-bottom: 8px;
        margin-top: 3px; 
    } */
    /* .archive-list-item__thumbnail {
        max-height: 130px; 
    } */

    .archive-list-item__title {
        font-size: 1.35rem; 
        line-height: 1.3;
    }
    .archive-list-item__excerpt {
        font-size: 1rem; 
        line-height: 1.55;
    }
    .archive-title { /* Ajuste geral para títulos de arquivo em mobile */
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .archive-list-item__image-container {
        width: 120px; 
        height: 120px;
    }
    
    /* .archive-list-item__image-container {
        width: 100%; 
        max-width: none;
        float: none; 
        margin-left: 0;
        margin-bottom: 15px; 
    }
    .archive-list-item__thumbnail {
        max-height: 180px; 
    } */
}


/*--------------------------------------------------------------
# Author Archive Page - Profile Section Styles
--------------------------------------------------------------*/
.author-profile-section {
    padding-top: 0px;    
    padding-bottom: 40px; 
    margin-bottom: 30px;  
}

.author-profile-card {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;     
    padding: 30px;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}

.author-profile-section .author-avatar {
    margin-bottom: 20px; 
}

.author-profile-section .author-profile-image {
    border-radius: 50%; 
    width: 150px;       
    height: 150px;      
    object-fit: cover;
    object-position: center center;
    border: 4px solid #ffffff; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
}

.author-profile-section .author-name-title {
    font-size: 2.4rem; 
    margin-bottom: 10px;
    color: #222;
    font-family: 'Georgia', serif;
    font-weight: bold;
}

.author-profile-section .author-bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0; 
}

.author-profile-section .author-website a {
    color: #837543;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}
.author-profile-section .author-website a:hover {
    text-decoration: underline;
}

.posts-by-author-title {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left; 
}

@media (max-width: 768px) {
    .author-profile-card {
        padding: 20px;
    }
    .author-profile-section .author-name-title {
        font-size: 2rem;
    }
    .author-profile-section .author-profile-image {
        width: 120px;
        height: 120px;
    }
    .posts-by-author-title {
        font-size: 1.1rem;
    }
}

/*--------------------------------------------------------------
# Search Form (searchform.php & Overlay)
--------------------------------------------------------------*/
.society-search-form {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 600px; 
    margin: 0 auto; 
}

.society-search-form__input {
    flex-grow: 1;
    padding: 12px 15px;
    padding-right: 50px; 
    font-size: 1rem; 
    font-family: 'Georgia', serif;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    -webkit-appearance: none; 
}
.society-search-form__input:focus {
    border-color: #837543;
    outline: none;
    box-shadow: 0 0 0 2px rgba(131, 117, 67, 0.2);
}

.society-search-form__submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background-color: #837543;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    font-size: 1rem; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.society-search-form__submit:hover,
.society-search-form__submit:focus {
    background-color: #6a592b;
}

/*--------------------------------------------------------------
# Search Overlay
--------------------------------------------------------------*/
.society-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98); 
    z-index: 10000; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.society-search-overlay[hidden] {
    display: none; 
}

.society-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.society-search-overlay__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 1.8rem; 
    color: #333;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}
.society-search-overlay__close:hover,
.society-search-overlay__close:focus {
    color: #837543;
}

.society-search-overlay__content {
    width: 100%;
    max-width: 700px; 
}
.society-search-overlay .society-search-form__input {
    font-size: 1.2rem; 
    padding: 15px 20px;
    padding-right: 60px; 
}
.society-search-overlay .society-search-form__submit {
    padding: 0 20px;
    font-size: 1.2rem;
}


/*--------------------------------------------------------------
# Search Results Page (search.php)
--------------------------------------------------------------*/
.search-results-main {
    width: 100%;
    max-width: 800px; 
    margin: 0 auto; 
}

.search-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.search-title {
    font-family: 'Georgia', serif;
    font-size: 2rem; 
    font-weight: bold;
    color: #222;
}
.search-title span {
    color: #837543; 
}

.search-result-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
}
.search-result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.search-result-item:last-of-type hr.search-item-divider {
    display: none;
}

.search-item-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.search-item-image-column {
    flex: 0 0 120px; 
}
.search-item-thumbnail-link {
    display: block;
    line-height: 0;
}
.search-item-thumbnail {
    width: 100%;
    height: auto;
    max-height: 100px; 
    object-fit: cover;
    object-position: center center;
    border-radius: 3px;
}

.search-item-main-column {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.3em;
}
.search-item-title a {
    color: #222;
    text-decoration: none;
}
.search-item-title a:hover {
    color: #837543;
}

.search-item-meta {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5em;
}
.search-item-meta .search-item-date {
    margin-right: 10px;
}
.search-item-meta .search-item-author a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
}
.search-item-meta .search-item-author a:hover {
    color: #837543;
}

.search-item-excerpt {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}
.search-item-excerpt p:last-child {
    margin-bottom: 0;
}

hr.search-item-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin-top: 30px;
}

.navigation.pagination {
    margin-top: 40px;
    font-family: 'Libre Franklin', sans-serif;
}
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.navigation.pagination .page-numbers {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus {
    background-color: #f0f0f0;
    border-color: #ccc;
}
.navigation.pagination .page-numbers.current {
    background-color: #837543;
    color: #fff;
    border-color: #837543;
    font-weight: bold;
}

.no-results .page-content {
    text-align: center;
    padding: 40px 20px;
}
.no-results .page-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.no-results .society-search-form {
    max-width: 500px; 
}

@media (max-width: 768px) {
    .search-title {
        font-size: 1.6rem;
    }
    .search-item-content-wrapper {
        flex-direction: column; 
    }
    .search-item-image-column {
        flex-basis: auto;
        width: 100%;
        margin-bottom: 15px;
        max-width: 200px; 
    }
    .search-item-thumbnail {
        max-height: 150px;
    }
    .search-item-title {
        font-size: 1.2rem;
    }
}

/* Estilos para o indicador de carregamento (se for usar um diferente do padrão) */
#loading-status {
    font-family: 'Libre Franklin', sans-serif;
    color: #777;
}
#loading-status.hidden { 
    display: none !important;
}

/*--------------------------------------------------------------
# 404 Page Styles
--------------------------------------------------------------*/
.site-content-404 {
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center; /* Centraliza o conteúdo da seção */
}

.error-404 .page-header-404 {
    margin-bottom: 30px;
}

.error-404 .page-title-404 {
    font-size: 2.8rem; /* Tamanho grande para o título */
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.error-404 .page-content-404 p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 600px; /* Limita a largura do parágrafo */
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.button-404 {
    display: inline-block;
    padding: 12px 25px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    min-width: 220px; /* Largura mínima para os botões */
}

.button-404--home {
    background-color: #837543; /* Cor primária do tema */
    color: #ffffff;
}
.button-404--home:hover,
.button-404--home:focus {
    background-color: #6a592b; /* Tom mais escuro da cor primária */
    color: #ffffff;
}

.button-404--search {
    background-color: #f0f0f0; /* Cor secundária ou neutra */
    color: #333;
    border-color: #ccc;
}
.button-404--search:hover,
.button-404--search:focus {
    background-color: #e0e0e0;
    border-color: #bbb;
    color: #333;
}

/* Ajustes para o formulário de busca se exibido diretamente na página 404 */
.error-404 .society-search-form {
    max-width: 500px; /* Largura do formulário de busca */
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Responsividade para a página 404 */
@media (min-width: 768px) {
    .error-404-actions {
        flex-direction: row; /* Botões lado a lado em telas maiores */
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .error-404 .page-title-404 {
        font-size: 2.2rem;
    }
    .error-404 .page-content-404 p {
        font-size: 1rem;
    }
    .button-404 {
        width: 100%;
        max-width: 300px; /* Limita a largura dos botões em mobile */
    }
}
