/* --- Blog Index Page Styles for TasarMiPiso --- */

/* Blog Hero Section */
.blog-hero {
    padding: 80px 0 60px;
        background: radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 20px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.blog-section {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #059669;
}

.blog-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-category {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-date {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
}

.blog-card-read-more {
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-read-more i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-read-more i {
    transform: translateX(2px);
}

/* Featured Post Styles */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.featured-post .blog-card-image {
    height: 320px;
    border-bottom: none;
}

.featured-post .blog-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post .blog-card-category {
    background: #10b981;
    margin-bottom: 20px;
}

.featured-post h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.featured-post p {
    font-size: 16px;
    margin-bottom: 24px;
}

/* CTA Section */
.blog-cta {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.blog-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.blog-cta p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 36px;
    }
    
    .blog-hero p {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
    }
    
    .featured-post .blog-card-content {
        padding: 24px;
    }
    
    .featured-post h3 {
        font-size: 24px;
    }
    
    .blog-cta h2 {
        font-size: 28px;
    }
    
    .blog-cta p {
        font-size: 16px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .blog-hero p {
        font-size: 16px;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-cta {
        padding: 60px 0;
    }
    
    .blog-cta h2 {
        font-size: 24px;
    }
}

/* --- Article Hero Section Styles --- */
.article-hero {
    padding: 80px 0 40px;
    background: radial-gradient(circle at 20% 20%, rgba(5, 150, 105, 0.1) 0%, transparent 50%), 
                radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%), 
                radial-gradient(circle at 40% 60%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
}

.article-breadcrumb {
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: #059669;
}

.article-breadcrumb span {
    color: #94a3b8;
    margin: 0 8px;
}

.article-category {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive styles for article hero */
@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 30px;
    }
    
    .article-title {
        font-size: 36px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .article-hero {
        padding: 40px 0 20px;
    }
    
    .article-title {
        font-size: 28px;
    }
}
