/*
Theme Name: Acerola
Theme URI: 
Author: Raiphy
Author URI: instagram.com/raiphy
Description: Tema WordPress minimalista, leve e otimizado para SEO, desenvolvido para blogs de tecnologia e aplicativos.
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acerola-theme
Tags: minimalista, leve, otimizado, seo, blog, tecnologia, aplicativos
*/

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

a {
    color: #404040;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0066cc;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Container para single posts - centralizado e mais largo */
.single-container {
    max-width: 900px; /* Aumentado de 800px para 900px */
    margin: 0 auto;
    padding: 0 15px;
}

/* Removidos os estilos do cabeçalho antigo */

/* Seções de conteúdo */
.content-section {
    margin: 30px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #404040;
    /* Removida a linha azul abaixo dos títulos */
}

/* Seção sem título */
.no-title {
    margin-top: 0;
}

/* Layout de duas colunas */
.main-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.main-content {
    flex: 0 0 70%;
    max-width: 70%;
    padding-right: 30px;
}

.sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

/* Seção de Destaques - Layout Atualizado */
.featured-posts-container {
    display: flex;
    gap: 20px;
}

.featured-post-main {
    flex: 0 0 60%;
    max-width: 60%;
}

.featured-posts-secondary {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-post {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-post:hover {
    transform: translateY(-5px);
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-main .featured-post-image {
    height: 350px;
}

.featured-posts-secondary .featured-post-image {
    height: 180px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 102, 204, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.featured-post-category a {
    color: #fff;
}

.featured-post-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-post-title a {
    color: #404040; /* Alterada a cor dos títulos para preto #404040 */
}

.featured-post-main .featured-post-title {
    font-size: 24px;
}

.featured-post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.featured-post-meta {
    font-size: 12px;
    color: #888;
    margin-top: auto;
}

/* Cards de artigos populares */
.posts-list {
    margin-bottom: 20px;
}

.horizontal-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.horizontal-card:hover {
    transform: translateY(-3px);
}

.horizontal-card-image {
    flex: 0 0 120px;
    max-width: 120px;
    height: 90px;
}

.horizontal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horizontal-card-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-card-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 20px;
}

.horizontal-card-title a {
    color: #404040; /* Alterada a cor dos títulos para preto #404040 */
}

/* Últimos posts na sidebar */
.sidebar-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.latest-posts-list {
    margin-bottom: 20px;
}

.latest-post {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.latest-post:last-child {
    border-bottom: none;
}

.latest-post-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.latest-post-title a {
    color: #404040; /* Alterada a cor dos títulos para preto #404040 */
}

/* Cores de categorias */
.category-border-blue {
    border-left: 4px solid #0066cc;
}

.category-border-green {
    border-left: 4px solid #00cc66;
}

.category-border-purple {
    border-left: 4px solid #9933cc;
}

.category-border-orange {
    border-left: 4px solid #ff9900;
}

.category-border-red {
    border-left: 4px solid #ff3366;
}

/* Botão Ver Mais */
.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.load-more-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0066cc;
    color: #fff;
    text-align: center;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.load-more-btn:hover {
    background-color: #004499;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Rodapé */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ccc;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #aaa;
}

/* Formulário de contato */
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.form-control:focus {
    border-color: #0066cc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.submit-btn {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #004499;
}

/* Estilos para Single Post - Minimalista */
.single-article {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-top: 40px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 42px; /* Tamanho da fonte do título para desktop */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #404040;
}

.entry-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    font-size: 16px; /* Tamanho da fonte do texto do artigo */
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}
.entry-content h2 {
    font-size: 1.7em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #00000;

    }

.entry-content h3 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #00000;

    }
    
.entry-content h4 {
    font-size: 1.1em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #00000;
}

.entry-content ul, 
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

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

.tags-links {
    margin-bottom: 20px;
}

.tag-label {
    font-weight: 600;
    margin-right: 5px;
}

/* Botões de Compartilhamento */
.share-buttons {
    margin: 30px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    margin-right: 15px;
    margin-bottom: 0px;
    color: #00000;
}

.share-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.share-facebook:hover {
    background-color: #3b5998;
    color: #fff;
}

.share-whatsapp:hover {
    background-color: #25d366;
    color: #fff;
}

.share-email:hover {
    background-color: #ea4335;
    color: #fff;
}

.share-twitter:hover {
    background-color: #1da1f2;
    color: #fff;
}

/* Seção do Autor */
.author-section {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 40px 0;
}

.author-avatar {
    flex: 0 0 100px;
    margin-right: 20px;
}

.rounded-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #404040;
}

.author-description {
    font-size: 14px;
    color: #666;
}

/* Artigos Relacionados */
.related-posts {
    margin: 40px 0;
}

.related-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #404040;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post-thumbnail {
    display: block;
    height: 180px;
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-title {
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    line-height: 1.3;
}

.related-post-title a {
    color: #404040;
}

/* Navegação entre posts */
.post-navigation {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous,
.nav-next {
    flex: 0 0 48%;
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
    color: #404040;
}

/* Responsividade */
@media (max-width: 992px) {
    .main-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    
    .sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 30px;
    }
    
    .featured-posts-container {
        flex-direction: column;
    }
    
    .featured-post-main,
    .featured-posts-secondary {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .featured-post-main .featured-post-image {
        height: 300px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-post-main .featured-post-image {
        height: 250px;
    }
    
    .entry-title {
        font-size: 30px; /* Tamanho da fonte do título para celular */
    }
    
    .author-section {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Remover contorno branco em artigos no mobile */
    .single-article,
    .page-article,
    .post,
    .featured-post,
    .horizontal-card,
    .related-post {
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }
    
    /* Ajustar espaçamento para conteúdo */
    .entry-content {
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .featured-post-main .featured-post-image,
    .featured-post-secondary .featured-post-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .featured-post-title, 
    .horizontal-card-title {
        font-size: 16px;
    }
}

/* Ajustes para compatibilidade com o novo header */
body.admin-bar .custom-site-header.sticky-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .custom-site-header.sticky-header {
        top: 46px;
    }
}

/* Ajuste para espaçamento após o header */
.custom-site-header + #primary {
    margin-top: 30px;
}

/* Ajuste para menu mobile */
body.menu-open {
    overflow: hidden;
}

/* Ajuste para overlay de pesquisa */
body.search-open {
    overflow: hidden;
}

/* Classe para esconder o header ao rolar para baixo */
.custom-site-header.header-hidden {
    transform: translateY(-100%);
}

/* Remover contorno branco em artigos */
.single-article,
.page-article,
.post {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

/* Ajustes para o conteúdo principal */
#primary {
    padding: 0;
    margin-top: 20px;
}

#main {
    padding: 0;
    margin: 0;
}
/*******************************************************
>>> INÍCIO DOS ESTILOS DOS CARROSSÉIS DA PÁGINA INICIAL <<<
Copie e cole este bloco de código no final do seu arquivo style.css 
OU em uma seção apropriada para novos componentes.
*******************************************************/

/* Estilos para a Seção do Carrossel */
.custom-carousel-section {
    margin-left: -15px;  /* Compensa o padding-left do .container pai */
    margin-right: -15px; /* Compensa o padding-right do .container pai */
    padding-left: 15px;  /* Adiciona padding interno para o conteúdo da seção (título, wrapper) */
    padding-right: 15px; /* Adiciona padding interno para o conteúdo da seção (título, wrapper) */
    margin-bottom: 30px; /* Espaçamento abaixo de cada carrossel */
}

/* .custom-carousel-section .container -> Removido, pois o container principal do tema já faz o controle de largura e centralização. */

/* Título da Seção do Carrossel - DEVE USAR a classe .section-title do tema principal para consistência */
/* .carousel-section-title foi removido do CSS. A classe .section-title do tema será usada diretamente no HTML. */

/* Wrapper para os Cards do Carrossel */
.carousel-wrapper {
    display: grid; /* Layout em grade */
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Grade responsiva, 4 colunas em telas largas, ajusta para menos colunas em telas menores */
    gap: 20px; /* Espaçamento entre os cards */
    padding-bottom: 20px; /* Espaço inferior */
    /* Removido overflow-x, white-space e -webkit-overflow-scrolling */
}

/* Estilos para cada Card do Carrossel */
.carousel-card {
    /* flex: 0 0 auto; Removido, não aplicável a grid da mesma forma */
    /* width: 280px; Removido, a largura será controlada pelo grid-template-columns */
    /* max-width: 75vw; Removido */
    background-color: #fff; /* Cor de fundo do card */
    border: 1px solid #e0e0e0; /* Borda sutil para os cards */
    border-radius: 8px; /* Bordas arredondadas */
    overflow: hidden; /* Garante que o conteúdo não ultrapasse as bordas arredondadas */
    display: flex; /* Para organizar imagem e conteúdo internamente */
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Imagem Destacada do Card */
.carousel-card-thumbnail {
    width: 100%;
    height: 180px; /* Altura fixa para a área da imagem, ajuste conforme necessário */
    overflow: hidden;
    background-color: #f0f0f0; /* Cor de fundo para área da imagem caso não haja imagem */
}

.carousel-card-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra a área sem distorcer */
    transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-card-thumbnail img {
    transform: scale(1.05);
}

/* Conteúdo do Card */
.carousel-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante no card */
}

/* Categoria do Post no Card */
.carousel-card-category {
    font-size: 0.8em;
    color: #777; /* Cor do texto da categoria, ajuste conforme o tema */
    margin-bottom: 8px;
    text-transform: uppercase;
}

.carousel-card-category a {
    color: inherit; /* Herda a cor definida acima */
    text-decoration: none;
}

.carousel-card-category a:hover {
    text-decoration: underline;
}

/* Título do Post no Card */
.carousel-card-title {
    font-size: 1.1em; /* Tamanho do título do post, ajuste conforme o tema */
	font-weight: 500;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.carousel-card-title a {
    text-decoration: none;
    color: #333; /* Cor do título, ajuste conforme o tema */
}

.carousel-card-title a:hover {
    color: #0066cc; /* Cor do título ao passar o mouse, ajuste conforme o tema */
}

/* Trecho do Post no Card */
.carousel-card-excerpt {
    font-size: 0.9em;
    color: #555; /* Cor do texto do trecho, ajuste conforme o tema */
    line-height: 1.5;
    flex-grow: 1; /* Ocupa o espaço restante antes de qualquer meta/botão */
}

/* Ajustes para Responsividade da Grade */
/* O grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); já lida bem com a responsividade.
   Ajustes adicionais podem ser feitos se necessário para larguras de card específicas em breakpoints. */

@media (max-width: 600px) {
    .carousel-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Cards um pouco menores em telas pequenas */
    }
}

/* Removida a estilização da barra de rolagem, pois não haverá mais scroll */

/*****************************************************
>>> FIM DOS ESTILOS DOS CARROSSÉIS DA PÁGINA INICIAL <<<
*****************************************************/

/************************************************************
>>> INÍCIO DOS ESTILOS DO NOVO GRID DE DESTAQUES DA HOME (v5 - Cor do Título Clicável Ajustada) <<<
Copie e cole este bloco de código no final do seu arquivo style.css 
OU em uma seção apropriada para novos componentes.
************************************************************/

.home-featured-grid-section {
    margin-bottom: 30px;
}

.home-featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.featured-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #333; /* Fallback background */
}

/* Este link envolve toda a área do card para torná-lo clicável */
/* No entanto, o título terá seu próprio link para garantir que ele também seja clicável e estilizado corretamente */
/* A imagem será clicável através do link do título ou de um link separado se necessário, mas a abordagem mais simples é um link por título e um link por imagem */

.featured-grid-item .featured-item-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Link da imagem abaixo do conteúdo */
}

.featured-grid-item .post-card-image-wrapper {
    /* Não precisa mais ser position absolute se o link da imagem já for */
    width: 100%;
    height: 100%; 
}

.featured-grid-item-large {
    height: 480px; 
}

.featured-grid-item .post-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; 
    transition: transform 0.4s ease;
}

.featured-grid-item:hover .post-card-image {
    transform: scale(1.05);
}

.featured-grid-item .post-card-category-wrapper.post-card-category-absolute {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3; 
}

.featured-grid-item .post-card-category-tag {
    display: inline-block;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none; /* Tags de categoria não devem ser sublinhadas */
}

.featured-grid-item .post-card-category-tag:hover {
    background-color: rgba(0,0,0,0.8);
}

.featured-grid-item .post-card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0) 100%);
    z-index: 2; 
    color: #fff;
    border-radius: 0 0 8px 8px; 
}

.featured-grid-item-large .post-card-title,
.featured-grid-item-small .post-card-title {
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px 0;
}

.featured-grid-item-large .post-card-title a,
.featured-grid-item-large .post-card-title a:visited,
.featured-grid-item-small .post-card-title a,
.featured-grid-item-small .post-card-title a:visited {
    color: #fff; /* Cor branca para os títulos clicáveis */
    text-decoration: none; /* Sem sublinhado */
}

.featured-grid-item-large .post-card-title a:hover,
.featured-grid-item-small .post-card-title a:hover {
    color: #f0f0f0; /* Leve alteração no hover, ou pode manter #fff */
    text-decoration: none; /* Ou underline, se preferir no hover */
}

.featured-grid-item-large .post-card-title {
    font-size: 24px;
}

.featured-grid-item-large .post-card-meta {
    font-size: 13px;
    color: #ddd;
}

.featured-grid-column-small {
    display: grid;
    grid-template-rows: repeat(3, 1fr); 
    gap: 20px;
}

.featured-grid-item-small .post-card-title {
    font-size: 16px;
    margin-bottom: 0; /* Nos cards pequenos, o título pode ser a última coisa */
}

/* Responsividade */
@media (max-width: 992px) { 
    .home-featured-grid {
        grid-template-columns: 1fr; 
    }
    .featured-grid-item-large {
        height: 400px; 
        margin-bottom: 20px; 
    }
    .featured-grid-column-small {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        grid-template-rows: auto; 
    }
    .featured-grid-item-small {
        height: 200px; 
    }
    .featured-grid-item-large .post-card-title {
        font-size: 22px;
    }
    .featured-grid-item-small .post-card-title {
        font-size: 15px;
    }
}

@media (max-width: 767px) { 
    .featured-grid-item-large {
        height: 320px; 
    }
    .featured-grid-column-small {
        grid-template-columns: 1fr; 
    }
    .featured-grid-item-small {
        height: 250px; 
    }
    .featured-grid-item-large .post-card-title {
        font-size: 20px;
    }
    .featured-grid-item-small .post-card-title {
        font-size: 14px;
    }
    .featured-grid-item .post-card-content-overlay {
        padding: 15px;
    }
    .featured-grid-item .post-card-category-wrapper.post-card-category-absolute {
        top: 10px;
        left: 10px;
    }
    .featured-grid-item .post-card-category-tag {
        font-size: 10px;
        padding: 5px 8px;
    }
}

/**********************************************************
>>> FIM DOS ESTILOS DO NOVO GRID DE DESTAQUES DA HOME (v5) <<<
**********************************************************/

/* CSS para garantir o estilo correto do ícone de pesquisa no header */
.custom-search-toggle svg {
    fill: none !important; /* Garante que não haja preenchimento na "bolinha" */
    stroke: currentColor;  /* O contorno usará a cor do texto definida para o header */
}

/* Corrige o overflow horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
}


