/* ====================================
   BLOG PAGE STYLES - TONGARIRO CONSULTORIA
   ==================================== */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 8rem 0 4rem 0;
    margin-top: 80px;
    color: white;
    text-align: center;
}

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

.blog-hero .section-tag {
    background: rgba(212, 165, 116, 0.15);
    color: #D4A574;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #D4A574 0%, #E6B885 50%, #F2D7A7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Filters Section */
.blog-filters-section {
    background: white;
    padding: 2rem 0;
    border-bottom: 2px solid #f7fafc;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-btn {
    background: white;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 1rem;
}

.filter-btn:hover {
    background: #f7fafc;
    border-color: #D4A574;
    color: #D4A574;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #D4A574 0%, #E6B885 100%);
    color: white;
    border-color: #D4A574;
    box-shadow: 0 4px 10px rgba(212, 165, 116, 0.3);
}

/* Blog Articles Section */
.blog-articles {
    padding: 4rem 0 6rem 0;
    background: #f7fafc;
    min-height: 60vh;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Article Card */
.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

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

.article-card.hidden {
    display: none;
}

.article-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

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

.article-category-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-estrategia {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.badge-financas {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge-ma {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.badge-gestao {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.badge-capital {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Article Content */
.article-content {
    padding: 2.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: #D4A574;
}

.article-title {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.article-excerpt {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Article Highlights */
.article-highlights {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid #D4A574;
}

.article-highlights h4 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-highlights ul {
    list-style: none;
    padding: 0;
}

.article-highlights li {
    color: #4a5568;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.article-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4A574;
    font-weight: bold;
    font-size: 1.2rem;
}

.article-highlights li strong {
    color: #1a202c;
}

/* Article Details Section */
.article-details-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid #f7fafc;
    border-bottom: 2px solid #f7fafc;
}

.article-details-section h3 {
    color: #1a202c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #D4A574;
    display: inline-block;
}

.article-details-section h3:first-child {
    margin-top: 0;
}

.detail-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.detail-item h4 {
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-item p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    color: white;
}

.article-cta h4 {
    color: #D4A574;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.article-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #D4A574 0%, #E6B885 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.article-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Article Footer */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid #f7fafc;
    margin-top: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4a5568;
    font-weight: 600;
}

.article-author i {
    color: #D4A574;
    font-size: 1.2rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-share span {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    color: #4a5568;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: #D4A574;
    color: white;
    transform: translateY(-3px);
}

/* Coming Soon Badge */
.article-coming-soon {
    background: #fff5e6;
    border: 2px dashed #D4A574;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 2rem;
}

.article-coming-soon i {
    font-size: 2.5rem;
    color: #D4A574;
    margin-bottom: 1rem;
    display: block;
}

.article-coming-soon span {
    color: #1a202c;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem 0;
    }

    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-hero-description {
        font-size: 1rem;
    }

    .blog-filters {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .article-image {
        height: 250px;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-excerpt {
        font-size: 1rem;
    }

    .article-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .article-details-section h3 {
        font-size: 1.25rem;
    }

    .detail-item {
        padding: 1rem;
    }

    .article-cta {
        padding: 2rem 1.5rem;
    }

    .article-cta h4 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .blog-filters-section {
        position: relative;
        top: 0;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .article-category-badge {
        top: 1rem;
        left: 1rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}
