/*
 Theme Name: Vida Veg - 2025
 Theme URI: https://vidaveg.com.br
 Author: Renan Wilker
 Author URI: https://example.com/
 Description: Um tema WordPress personalizado construído do zero.
 Version: 1.20
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: vida-veg
 Tags: custom-theme, minimal
*/

@font-face {
    font-family: 'Parkinsans';
    src: url('fonts/Parkinsans-Bold.ttf') format('woff2'),
         url('fonts/Parkinsans-Light.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}
.font-parkinsans {
    font-family: 'Parkinsans', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: #fff;
    color: #333;
    padding: 0;
}

main {
    max-width: 1152px; /* max-w-6xl, alinhado com archive */
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3 {
    color: #333;
}

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover:not(.nav-link) {
    text-decoration: none;
}


/* Menu do footer */
ul#menu-menu-footer a:hover,
ul#menu-menu-footer-2 a:hover {
    color: #93cd22;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-menu {
    background: #333;
    padding: 0.5rem;
}

.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-menu ul li {
    margin: 0 1rem;
}

.footer-menu ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #0073aa;
}

/* Footer */
.content-placeholder {
    text-align: center;
    color: #666;
}

.footer-wave {
    width: 100%;
    height: 50px;
    margin-bottom: -5px;
}

.logo-container {
    max-width: 150px;
    margin-bottom: 1rem;
}

.logo-container img {
    width: 100%;
    height: auto;
}

.selo {
    background-color: #016943;
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.selo2 {
    background-color: #92c430;
    border-radius: 50px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

/* Botão flutuante de WhatsApp */
.float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.options {
    position: absolute;
    bottom: 80px;
    right: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option-item {
    margin-bottom: 15px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.options.active .option-item {
    transform: scale(1);
}

.options.active .option-item:nth-child(1) {
    transition-delay: 0.1s;
}

.options.active .option-item:nth-child(2) {
    transition-delay: 0.2s;
}

.option-card {
    width: 280px;
    max-width: 90vw;
    border-left: 4px solid #00754a;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.option-card:hover {
    background-color: #f0fdf4;
    transform: translateX(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.option-card h3 {
    color: #00754a;
}

.option-card p {
    color: #4b5563;
}

#whatsapp-button {
    background-color: #00754a;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

#whatsapp-button:hover {
    background-color: #026f47;
}

#whatsapp-button i {
    color: #ffffff;
}

.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 117, 74, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 117, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 117, 74, 0); }
}

/* Formulário de newsletter */
.newsletter-container {
    background-color: #92c430;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.input-field {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.input-field:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.submit-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Produtos */
.produto-grid article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.single-produto img {
    max-height: 500px;
    object-fit: cover;
}

/* Categorias de Produto */
#category-filter select {
    background-color: #ffffff;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#category-filter select:focus {
    border-color: #00754a;
    box-shadow: 0 0 0 3px rgba(0, 117, 74, 0.1);
}

.single-produto .category-links {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Slider de Produtos */
.produto-card {
    transition: transform 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
}

.slider-container {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    max-width: 92%;
    contain: content;
    z-index: 10;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-container:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    box-sizing: content-box;
}

.scroll-hint {
    animation: pulse 2s infinite;
    font-size: 0.9rem;
    opacity: 0.8;
}

.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img.logo2 {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
}

.image-container:hover img {
    transform: scale(1.03);
}

.itemclaim {
    transition: transform 0.3s ease;
}

.itemclaim:hover {
    transform: translateY(-8px) scale(1.03);
}

.itemclaim:hover .iconclaim {
    color: #4f46e5;
    transform: scale(1.1);
}

.iconclaim {
    transition: color 0.3s ease, transform 0.3s ease;
}

.iconclaim-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

/* Seção do slider */
section[style*="background-color: #00754a"] {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 600px;
    margin-top: 0;
}

/* Hero Slider */
#hero-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 1rem;
    height: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background: #92c430;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #hero-slider {
        height: 300px;
    }
    .slide-content h2 {
        font-size: 1.5rem;
    }
    .slide-content p {
        font-size: 1rem;
        max-width: 90%;
    }
    .slide-content a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .dot {
        width: 0.75rem;
        height: 0.75rem;
    }
}

/* General Responsive Adjustments */
@media (max-width: 768px) {
    .mobile-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mobile-center ul {
        align-items: center;
    }
    .selos-container {
        justify-content: center;
    }
    .float-button {
        bottom: 20px;
        right: 20px;
    }
    .options {
        bottom: 70px;
    }
    .option-card {
        width: 250px;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-form > div {
        width: 100%;
        margin-bottom: 1rem;
    }
    .submit-btn {
        width: 100%;
    }
    .single-produto img {
        max-height: 300px;
    }
    .slider-container {
        overflow-x: auto;
    }
    .produto-card {
        width: 100%;
    }
    section[style*="background-color: #00754a"] {
        min-height: 500px;
    }
}

/* Highlight Section */
#highlight-section {
    background-color: #f5f5f5;
}

#highlight-section img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#highlight-section img:hover {
    transform: scale(1.02);
}

#highlight-section h1 {
    color: #92c430;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

#highlight-section h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #92c430;
}

#highlight-section p {
    color: #000;
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 768px) {
    #highlight-section .flex-col {
        flex-direction: column;
    }
    #highlight-section h1 {
        font-size: 1.75rem;
        text-align: left;
    }
    #highlight-section p {
        font-size: 14px;
        max-width: 100%;
        text-align: left;
    }
    #highlight-section img {
        max-width: 100%;
    }
    #highlight-section h1::after {
        left: 0;
        transform: translateX(0);
    }
}

/* Highlight Section Alternativa */
#highlight-section-alt {
    background-color: #00754a;
}

#highlight-section-alt img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#highlight-section-alt img:hover {
    transform: scale(1.02);
}

#highlight-section-alt h1 {
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

#highlight-section-alt h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #92c430;
}

#highlight-section-alt p {
    color: #ffffff;
    font-size: 16px;
    max-width: 500px;
    text-align: left;
}

@media (max-width: 768px) {
    #highlight-section-alt .flex-col {
        flex-direction: column;
    }
    #highlight-section-alt h1 {
        font-size: 1.75rem;
        text-align: left;
    }
    #highlight-section-alt p {
        font-size: 14px;
        max-width: 100%;
        text-align: left;
    }
    #highlight-section-alt img {
        max-width: 100%;
    }
    #highlight-section-alt h1::after {
        left: 0;
        transform: translateX(0);
    }
}

/* Highlight Section Alternativa 2 */
#highlight-section-alt-2 {
    background-color: transparent;
}

#highlight-section-alt-2 img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#highlight-section-alt-2 img:hover {
    transform: scale(1.02);
}

#highlight-section-alt-2 h1 {
    color: #92c430;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-align: left;
}

#highlight-section-alt-2 h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #92c430;
}

#highlight-section-alt-2 p {
    color: #000;
    font-size: 14px;
    max-width: 500px;
    text-align: left;
}

@media (max-width: 768px) {
    #highlight-section-alt-2 .flex-col {
        flex-direction: column;
    }
    #highlight-section-alt-2 h1 {
        font-size: 1.75rem;
        text-align: left;
    }
    #highlight-section-alt-2 p {
        font-size: 14px;
        max-width: 100%;
        text-align: left;
    }
    #highlight-section-alt-2 img {
        max-width: 100%;
    }
    #highlight-section-alt-2 h1::after {
        left: 0;
        transform: translateX(0);
    }
}

/* Espaçamento entre texto e imagem */
#highlight-section-alt .flex,
#highlight-section-alt-2 .flex {
    gap: 1rem;
}

section#impact-section {
    font-family: 'Poppins';
    color: #004530;
}

/* Content Slider */
.content-slider-container {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    max-width: 100%;
    contain: content;
    z-index: 10;
    -webkit-overflow-scrolling: touch;
}

.content-slider-container::-webkit-scrollbar {
    display: none;
}

.content-slider-container:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    box-sizing: content-box;
}

.content-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

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

.content-card img {
    aspect-ratio: 3/2;
}

.content-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00754a;
}

.content-card p {
    font-size: 0.875rem;
    color: #4b5563;
}

.content-card a {
    transition: color 0.3s ease;
}

.content-card .read-more:hover {
    transform: translateX(3px);
}

.content-slider-dots {
    display: flex;
    gap: 0.5rem;
}

.content-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.content-dot:hover {
    transform: scale(1.2);
}

.content-dot.active {
    background: #00754a;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .content-card {
        width: 260px;
    }
}

@media (max-width: 360px) {
    .content-card {
        width: 220px;
    }
}

/* Abas de Categorias */
.category-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tab {
    display: inline-block;
}

.category-tab-link {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    background-color: #f5f5f5;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.category-tab-link:hover {
    background-color: #e5e7eb;
    color: #00754a;
}

.category-tab-link.active {
    background-color: #00754a;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .category-tabs {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    .category-tab-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Cards de Produtos */
.produto-card {
    display: flex;
    flex-direction: column;
    height: 240px;
    border: 1px solid #e5e7eb00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card-link {
    text-decoration: none;
}

.produto-card-link:hover .produto-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.produto-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.produto-card-link:hover .produto-image-container img {
    transform: scale(1.05);
}

.produto-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produto-card .text-gray-600 {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #4b5563;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.details-btn {
    background-color: #00754a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.details-btn:hover {
    background-color: #92c430;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .produto-card {
        height: 240px;
        max-width: 400px;
        width: 90%;
        margin: 0 auto;
    }
    .produto-image-container {
        height: 200px;
    }
    .produto-card h2 {
        font-size: 1.25rem;
    }
    .produto-card .text-gray-600 {
        font-size: 0.9rem;
    }
    .details-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .produto-card {
        height: 250px;
        max-width: 400px;
        width: 90%;
    }
    .produto-image-container {
        height: 200px;
    }
    .produto-card h2 {
        font-size: 1.25rem;
    }
    .produto-card .text-gray-600 {
        font-size: 0.9rem;
    }
    .details-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .produto-card {
        height: 240px;
        max-width: 340px;
        width: 95%;
    }
    .produto-image-container {
        height: 180px;
    }
    .produto-card h2 {
        font-size: 1.125rem;
    }
    .produto-card .text-gray-600 {
        font-size: 0.85rem;
    }
    .details-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Tabela nutricional */
.produto-single table {
    width: 100%;
}

.produto-single th,
.produto-single td {
    padding: 0.75rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .produto-single table {
        font-size: 0.85rem;
    }
    .produto-single th,
    .produto-single td {
        padding: 0.5rem;
    }
}

.slider-container.active {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* Page Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Archive Page Styles */
.container {
    max-width: 1152px; /* max-w-6xl */
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 192px; /* h-48 */
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    display: flex;
    flex-direction: column;
    padding: 1.25rem; /* p-5 */
}

.blog-title {
    height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    color: #374151;
}

.blog-meta {
    font-size: 0.75rem; /* text-xs */
    color: #4b5563;
}

.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    background-color: #92c430;
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.blog-card .read-more:hover {
    background-color: #00754a;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.pagination-btn.bg-green-600 {
    background-color: #92c430;
    border-color: #92c430;
}

.pagination-btn.bg-green-600:hover {
    background-color: #00754a;
    border-color: #00754a;
}

/* Sidebar Styles (from single.php) */
.sidebar {
    background-color: #ffffff;
    padding: 1.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.sidebar:hover {
    transform: translateY(-2px);
}

.sidebar h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #92c430;
    padding-bottom: 0.5rem;
}

/* Share Buttons (from single.php) */
.share-buttons .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border: 2px solid #92c430;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, background 0.4s ease;
}

.share-buttons .share-btn:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(145deg, #f0fdf4, #ffffff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #00754a;
}

.share-buttons .share-btn svg {
    transition: transform 0.4s ease;
}

.share-buttons .share-btn:hover svg {
    transform: rotate(-5deg);
}

.share-buttons .whatsapp svg {
    fill: #92c430;
}

.share-buttons .facebook svg {
    fill: #3b5998;
}

/* Recent Posts (from single.php) */
.recent-post {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.recent-post:hover {
    background-color: #f9fafb;
}

.recent-post a img {
    transition: transform 0.3s ease;
}

.recent-post a img:hover {
    transform: scale(1.05);
}

.recent-post h4 {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
}

.recent-post h4 a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post h4 a:hover {
    color: #92c430;
}

.recent-post .text-xs {
    color: #6b7280;
}

/* Tags Links (from single.php) */
.entry-footer .tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.entry-footer .tags-links .tag-link,
.entry-footer .tags-links a {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(145deg, #92c430, #a0d95a);
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.3s ease;
}

.entry-footer .tags-links .tag-link:hover,
.entry-footer .tags-links a:hover {
    background: linear-gradient(145deg, #00754a, #00965e);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tags-links a {
    background: linear-gradient(145deg, #92c430, #a0d95a) !important;
    color: #ffffff !important;
    padding: 0.375rem 1rem !important;
    border-radius: 1.5rem !important;
    font-size: 0.75rem !important;
    text-decoration: none !important;
}

/* Responsive Adjustments for Archive Page */
@media (max-width: 767px) {
    .blog-image {
        height: 160px;
    }
    .blog-content {
        padding: 1rem;
    }
    .blog-title {
        font-size: 1.125rem;
    }
    .blog-excerpt {
        font-size: 0.8125rem;
    }
    .blog-card .read-more {
        padding: 0.25rem 0.75rem;
        font-size: 0.8125rem;
    }
}

/* area do video */
     .video-text-section {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      padding: 20px;
    }

    .custom-video-wrapper {
      flex: 1 1 400px;
      max-width: 600px;
      height: 394px;
      margin-right: 20px;
    }

    .custom-video-wrapper iframe {
      width: 100%;
      height: 100%;
      border: 0;
    }

    .text-container {
      flex: 1 1 300px;
      max-width: 500px;
    }

    @media (max-width: 768px) {
      .video-text-section {
        flex-direction: column;
        padding: 10px;
      }

      .custom-video-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
      }
    }

/* ===== CABEÇALHO FIXO COM SOMBRA ===== */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ===== CONTAINER CENTRALIZADO ===== */
.header-container {
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo img {
  height: 60px;
}

/* ===== BOTÃO HAMBURGUER ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

/* ===== WRAPPER DO MENU + BOTÃO ===== */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ===== MENU PRINCIPAL ===== */
.main-nav .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* ===== ITENS DO MENU (NÍVEL 1) ===== */
.main-nav .menu > li {
  position: relative;
}

.main-nav .menu > li > a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.main-nav .menu > li > a:hover {
  color: #56ab2f;
}

/* ===== ÍCONE DA SETA ===== */
.main-nav .menu > li > a i {
  margin-left: 6px;
  font-size: 0.75rem;
}

/* ===== DROPDOWN DESKTOP ===== */
.main-nav .menu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff; /* fundo branco */
  padding: 20px;
  min-width: 220px;
  list-style: none;
  border-radius: 6px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-nav .menu li:hover > ul.sub-menu {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

/* ===== ITENS DO SUBMENU DESKTOP ===== */
.main-nav .menu li ul li a {
  color: #1b3a20; /* verde escuro */
  padding: 10px 15px;
  display: block;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.main-nav .menu li ul li a:hover {
  background-color: #f4f4f4;
  padding-left: 20px;
  border-radius: 20px;
  color:#56ab2f;
}

/* ===== BOTÃO ONDE ENCONTRAR ===== */
.onde-encontrar-btn {
  background-color: #56ab2f;
  color: #fff;
  padding: 10px 18px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  margin-left: 2rem; /* ADICIONADO: espaço entre menu e botão */
}

.onde-encontrar-btn:hover {
  background-color: #3d851f;
  transform: translateY(-2px);
}

/* ===== RESPONSIVO - MOBILE ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
    z-index: 1000;
  }

  .nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 999;
  }

  .nav-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav .menu {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .main-nav .menu > li {
    width: 100%;
  }

  .main-nav .menu > li > a {
    display: inline-block;
    width: auto;
  }

  /* ===== DROPDOWN MOBILE ===== */
  .main-nav .menu li ul.sub-menu {
    position: absolute;
    left: 0;
    width: 100vw;
    background: #ffffff;
    box-shadow: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    text-align: left;
    z-index: 998;
  }

  .main-nav .menu li.show-submenu > ul.sub-menu {
    display: block;
  }

  .main-nav .menu li ul li a {
    color: #1b3a20;
    padding: 10px 20px;
    display: block;
  }

  .main-nav .menu li ul li a:hover {
    background-color: #f4f4f4;
    padding-left: 25px;
  }

  .onde-encontrar-btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center; /* CENTRALIZA horizontalmente */
  align-self: center;       /* CENTRALIZA dentro do flex */
  text-align: center;
  margin-left:-5px;
  margin-right:0px;
}
}