/* Estilos específicos do Blog */

/* Hero Section do Blog */
.blog-hero {
    background: linear-gradient(135deg, #2E7D6E, #1F3B4D);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(203, 161, 53, 0.2);
    color: #CBA135;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    border: 1px solid rgba(203, 161, 53, 0.3);
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.blog-hero-title .highlight {
    color: #CBA135;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.7;
}

/* Seção de Posts */
.blog-posts {
    padding: 80px 0;
    background: #F2E9DA;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Card do Blog */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(31, 59, 77, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 110, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 59, 77, 0.15);
}

/* Header do Card */
.blog-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-video {
    position: relative;
    width: 100%;
    height: 200px;
}

.blog-card-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Conteúdo do Card */
.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #2E7D6E;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i {
    color: #CBA135;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1F3B4D;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #1F3B4D;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Footer do Card */
.blog-card-footer {
    padding: 20px 25px 25px;
    border-top: 1px solid rgba(46, 125, 110, 0.1);
}

.btn-read-more {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 12px 20px;
}

/* Estado Vazio */
.empty-blog {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(46, 125, 110, 0.1);
}

.empty-blog i {
    font-size: 4rem;
    color: #CBA135;
    margin-bottom: 20px;
}

.empty-blog h3 {
    color: #1F3B4D;
    margin-bottom: 15px;
}

.empty-blog p {
    color: #1F3B4D;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* CTA Section */
.blog-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E7D6E, #1F3B4D);
    color: white;
    text-align: center;
}

.blog-cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.blog-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Estilos para página individual do post */
.post-breadcrumb {
    background: #F2E9DA;
    padding: 20px 0;
    border-bottom: 1px solid rgba(46, 125, 110, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #2E7D6E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #CBA135;
}

.breadcrumb i {
    color: #CBA135;
    font-size: 0.8rem;
}

.breadcrumb span {
    color: #1F3B4D;
    font-weight: 500;
}

.post-content {
    padding: 60px 0;
    background: white;
}

.post-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(31, 59, 77, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-featured-video {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(31, 59, 77, 0.1);
}

.post-featured-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.post-meta {
    margin-bottom: 25px;
}

.post-meta-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #2E7D6E;
}

.post-meta-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta-info i {
    color: #CBA135;
}

.post-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1F3B4D;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.1rem;
    color: #1F3B4D;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 0;
}

.post-body {
    margin-bottom: 50px;
}

.post-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1F3B4D;
}

.post-content-text h1,
.post-content-text h2,
.post-content-text h3,
.post-content-text h4,
.post-content-text h5,
.post-content-text h6 {
    font-family: 'Playfair Display', serif;
    color: #1F3B4D;
    margin: 30px 0 15px 0;
}

.post-content-text h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #CBA135;
    padding-bottom: 10px;
}

.post-content-text h3 {
    font-size: 1.5rem;
}

.post-content-text p {
    margin-bottom: 20px;
}

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

.post-content-text li {
    margin-bottom: 8px;
}

.post-content-text blockquote {
    border-left: 4px solid #CBA135;
    padding: 20px 30px;
    margin: 30px 0;
    background: rgba(203, 161, 53, 0.05);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #1F3B4D;
}

.post-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(31, 59, 77, 0.1);
}

.post-footer {
    border-top: 1px solid rgba(46, 125, 110, 0.1);
    padding-top: 30px;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tag-label {
    color: #1F3B4D;
    font-weight: 500;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.social-btn.facebook {
    background: #3b5998;
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.post-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #2E7D6E, #1F3B4D);
    color: white;
    text-align: center;
}

.post-cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.post-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }
    
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-posts {
        padding: 60px 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card-header {
        height: 180px;
    }
    
    .blog-card-video {
        height: 180px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-footer {
        padding: 15px 20px 20px;
    }
    
    .blog-card-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    
    .blog-card-header {
        height: 160px;
    }
    
    .blog-card-video {
        height: 160px;
    }
    
    .blog-card-title {
        font-size: 1.2rem;
    }
}
