/**
 * AYA LIVE Blog Styles
 * Blog-specific styles matching home page design
 */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    padding: 140px 7% 80px;
    background: var(--gradient-hero), var(--bg);
    text-align: center;
}

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

.blog-hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease;
}

.blog-hero h1 span {
    color: var(--primary);
}

.blog-hero p {
    font-size: 22px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeIn 1s ease;
}

/* Featured Article */
.featured-section {
    padding: 60px 7%;
}

.featured-article {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--card-dark);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.featured-image {
    position: relative;
    aspect-ratio: 21/9;
    overflow: hidden;
}

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

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
}

.featured-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.featured-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.featured-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--primary);
}

.featured-excerpt {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 20px;
    max-width: 700px;
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: var(--muted);
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-meta i {
    color: var(--primary);
}

/* Articles Grid */
.articles-section {
    padding: 60px 7%;
}

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

/* Blog Layout with Sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 60px 7%;
}

.blog-main {
    min-width: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    background: var(--card-dark);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--muted);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 18px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 950px) {
    .blog-hero h1 {
        font-size: 52px;
    }
    
    .blog-hero p {
        font-size: 18px;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .featured-title {
        font-size: 32px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 20px 60px;
    }
    
    .blog-hero h1 {
        font-size: 42px;
    }
    
    .featured-section,
    .articles-section {
        padding: 40px 20px;
    }
    
    .blog-layout {
        padding: 40px 20px;
    }
    
    .featured-overlay {
        padding: 24px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-excerpt {
        font-size: 16px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 8px;
    }
}
