/* ISOLAMENTO COMPLETO - Prefixo zest- em tudo */
.zest-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.zest-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #f8f9fa;
}

.zest-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ANIMAÇÕES DE SCROLL */
.zest-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.zest-fade-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease;
}

.zest-fade-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease;
}

.zest-fade-in.zest-visible,
.zest-fade-left.zest-visible,
.zest-fade-right.zest-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.zest-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #162447;
    margin-bottom: 15px;
    font-weight: 700;
}

.zest-section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b8e5f;
    margin-bottom: 60px;
}

/* BLOG SECTION */
.zest-blog {
    padding: 100px 20px;
    background: #f8f9fa;
}

.zest-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.zest-blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.zest-blog-card:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.zest-blog-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.zest-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zest-blog-card:hover .zest-blog-image img {
    transform: scale(1.15) rotate(2deg);
}

.zest-blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #6b8e5f;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

.zest-blog-content {
    padding: 30px;
}

.zest-blog-category {
    display: inline-block;
    color: #6b8e5f;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.zest-blog-content h3 {
    font-size: 1.5rem;
    color: #162447;
    margin-bottom: 15px;
    line-height: 1.4;
}

.zest-blog-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.zest-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b8e5f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.zest-blog-link:hover {
    color: #162447;
    gap: 15px;
}

/* PAGINAÇÃO */
.zest-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.zest-pagination .page-numbers {
    padding: 12px 20px;
    background: white;
    color: #162447;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.zest-pagination .page-numbers:hover,
.zest-pagination .page-numbers.current {
    background: #6b8e5f;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(107, 142, 95, 0.3);
}

/* SINGLE POST PAGE */
.zest-single-post {
    padding: 60px 20px;
    background: #f8f9fa;
}

.zest-single-header {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.zest-single-header .zest-blog-category {
    font-size: 1rem;
    margin-bottom: 20px;
}

.zest-single-header h1 {
    font-size: 3rem;
    color: #162447;
    margin-bottom: 20px;
    line-height: 1.2;
}

.zest-single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: #666;
    font-size: 1rem;
}

.zest-single-meta i {
    color: #6b8e5f;
    margin-right: 8px;
}

.zest-single-featured-image {
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}

.zest-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.zest-single-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.zest-single-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 25px;
}

.zest-single-content h2 {
    font-size: 2rem;
    color: #162447;
    margin: 40px 0 20px;
}

.zest-single-content h3 {
    font-size: 1.5rem;
    color: #162447;
    margin: 30px 0 15px;
}

.zest-single-content ul,
.zest-single-content ol {
    margin: 20px 0 20px 30px;
    line-height: 1.9;
}

.zest-single-content li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333;
}

.zest-single-content blockquote {
    border-left: 5px solid #6b8e5f;
    padding: 20px 30px;
    margin: 30px 0;
    background: #f8f9fa;
    border-radius: 5px;
    font-style: italic;
    color: #555;
}

.zest-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6b8e5f;
    text-decoration: none;
    font-weight: 600;
    margin: 40px 0 0;
    transition: all 0.3s ease;
}

.zest-back-link:hover {
    color: #162447;
    gap: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .zest-blog-grid {
        grid-template-columns: 1fr;
    }

    .zest-section-title {
        font-size: 2rem;
    }

    .zest-single-header h1 {
        font-size: 2rem;
    }

    .zest-single-content {
        padding: 30px 20px;
    }

    .zest-single-meta {
        flex-direction: column;
        gap: 15px;
    }
}