/*
Theme Name: Costura Tema
Theme URI: https://exemplo.com/costura-tema
Author: Manus AI
Author URI: https://exemplo.com
Description: Tema minimalista e feminino para blog de dicas de costura e modelagem, com funcionalidades de download de PDFs e integração com Mercado Pago.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: costura-tema
Tags: blog, custom-fields, responsive, minimalist, sewing
*/

/* Variáveis de cores */
:root {
    --primary-color: #723653;
    --primary-light: #9a4a70;
    --primary-dark: #4e2539;
    --accent-color: #f8e3ee;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Reset e estilos base */















.single-post-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.single-post-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.single-post-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.single-post-meta {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.single-post-thumbnail {
    margin: 0 -20px 40px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}

.single-post-content p {
    margin-bottom: 25px;
}

.single-post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.single-post-content h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    color: var(--primary-color);
}

.single-post-content h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 25px 20px;
    padding-left: 20px;
}

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

.single-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 30px 0;
    background-color: var(--accent-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-post-content img {
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(114, 54, 83, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.single-post-content a:hover {
    color: var(--primary-light);
    text-decoration-color: var(--primary-light);
}

/* Seção de download */
.download-section {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.size-button {
    background-color: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-button:hover, .size-button.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.download-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(114, 54, 83, 0.3);
}

.download-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(114, 54, 83, 0.4);
}

/* Footer do post */
.single-post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    font-size: 14px;
    color: var(--text-color);
}

/* Posts relacionados */
.related-posts {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.related-posts h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Modal */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-color);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
}

.close-modal:hover {
    opacity: 1;
    background-color: var(--border-color);
}

.modal-title {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.timer-container {
    margin: 25px 0;
}

.timer {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--accent-color);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-info {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.whatsapp-invite {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.whatsapp-invite h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #128C7E;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.download-now-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(114, 54, 83, 0.3);
}

.download-now-button.active {
    opacity: 1;
    pointer-events: auto;
}

.download-now-button.active:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(114, 54, 83, 0.4);
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

.footer-widget a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-widget a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation li {
        margin: 5px 0;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    article.post {
        padding: 30px 15px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
}

/* Estilos para AdSense */
.adsense-container {
    margin: 40px 0;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Estilos para paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: var(--light-gray);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.page-numbers.current {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.page-numbers:hover:not(.current) {
    background-color: var(--border-color);
}

/* Breadcrumbs */
.breadcrumbs {
  
    margin: 0 auto 30px;
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.7;
    padding: 0 20px;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 5px;
}

/* Modal de Pesquisa */
.search-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.search-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    transform: scale(1.1);
}

.search-modal-content h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.search-form-modal {
    margin: 0;
}

.search-input-wrapper {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.search-field-modal {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

.search-field-modal::placeholder {
    color: #999;
}

.search-submit-modal {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.search-submit-modal:hover {
    background-color: var(--primary-light);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do modal de pesquisa */
@media (max-width: 768px) {
    .search-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .search-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .search-field-modal {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-submit-modal {
        padding: 12px 15px;
        font-size: 14px;
    }
}




/*
Theme Name: Costura Tema
Theme URI: https://exemplo.com/costura-tema
Author: Manus AI
Author URI: https://exemplo.com
Description: Tema minimalista e feminino para blog de dicas de costura e modelagem, com funcionalidades de download de PDFs e integração com Mercado Pago.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: costura-tema
Tags: blog, custom-fields, responsive, minimalist, sewing
*/

/* Variáveis de cores */
:root {
    --primary-color: #723653;
    --primary-light: #9a4a70;
    --primary-dark: #4e2539;
    --accent-color: #f8e3ee;
    --text-color: #333333;
    --light-text: #ffffff;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Reset e estilos base */















.single-post-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.single-post-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.single-post-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.single-post-meta {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.single-post-thumbnail {
    margin: 0 -20px 40px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-color);
}

.single-post-content p {
    margin-bottom: 25px;
}

.single-post-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.single-post-content h3 {
    font-size: 24px;
    margin: 35px 0 18px;
    color: var(--primary-color);
}

.single-post-content h4 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 25px 20px;
    padding-left: 20px;
}

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

.single-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 30px 0;
    background-color: var(--accent-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.single-post-content img {
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(114, 54, 83, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

.single-post-content a:hover {
    color: var(--primary-light);
    text-decoration-color: var(--primary-light);
}

/* Seção de download */
.download-section {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.download-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

.size-button {
    background-color: var(--background-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-button:hover, .size-button.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.download-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(114, 54, 83, 0.3);
}

.download-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(114, 54, 83, 0.4);
}

/* Footer do post */
.single-post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    font-size: 14px;
    color: var(--text-color);
}

/* Posts relacionados */
.related-posts {
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.related-posts h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.related-posts h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Modal */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-color);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-gray);
}

.close-modal:hover {
    opacity: 1;
    background-color: var(--border-color);
}

.modal-title {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.timer-container {
    margin: 25px 0;
}

.timer {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--accent-color);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-info {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.whatsapp-invite {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.whatsapp-invite h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #128C7E;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.download-now-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(114, 54, 83, 0.3);
}

.download-now-button.active {
    opacity: 1;
    pointer-events: auto;
}

.download-now-button.active:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(114, 54, 83, 0.4);
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

.footer-widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

.footer-widget a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-widget a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation li {
        margin: 5px 0;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    article.post {
        padding: 30px 15px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
}

/* Estilos para AdSense */
.adsense-container {
    margin: 40px 0;
    text-align: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Estilos para paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    background-color: var(--light-gray);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.page-numbers.current {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.page-numbers:hover:not(.current) {
    background-color: var(--border-color);
}

/* Breadcrumbs */
.breadcrumbs {
  
    margin: 0 auto 30px;
    font-size: 16px;
    color: var(--text-color);
    opacity: 0.7;
    padding: 0 20px;
}

.breadcrumbs a {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 5px;
}

/* Modal de Pesquisa */
.search-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.search-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-content {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close-search {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    transform: scale(1.1);
}

.search-modal-content h3 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.search-form-modal {
    margin: 0;
}

.search-input-wrapper {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.search-field-modal {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: transparent;
}

.search-field-modal::placeholder {
    color: #999;
}

.search-submit-modal {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.search-submit-modal:hover {
    background-color: var(--primary-light);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade do modal de pesquisa */
@media (max-width: 768px) {
    .search-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .search-modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .search-field-modal {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-submit-modal {
        padding: 12px 15px;
        font-size: 14px;
    }
}



.flex-grid.cols-3,
.masonry.cols-3,
.content-area.flex-grid.cols-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* ajuste o espaçamento se quiser */
}

.flex-grid.cols-3 > article,
.masonry.cols-3 > article,
.content-area.flex-grid.cols-3 > article {
  width: calc(33.333% - 20px); /* 3 colunas, ajuste o valor do gap se mudar */
  box-sizing: border-box;
}