/* ==========================================
   BLOG PAGE STYLES
   ========================================== */

/* Hero */
.blog-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    margin-top: 80px;
}

.blog-hero-content {
    text-align: center;
    max-width: 800px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xxl);
}

/* Article Card */
.article-card {
    background: var(--white);
    border: 2px solid var(--black);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.article-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    opacity: 0.7;
}

.article-category {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.article-date {
    color: var(--gray-500);
}

.article-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    font-weight: 400;
    line-height: 1.3;
}

.article-excerpt {
    font-size: var(--text-base);
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-950);
}

.read-time {
    font-size: var(--text-sm);
    opacity: 0.6;
}

.read-time i {
    margin-right: var(--space-xs);
}

.read-more {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.read-more:hover {
    opacity: 0.6;
}

/* Featured Article */
.featured-article {
    grid-column: 1 / -1;
    background: var(--black);
    color: var(--white);
    padding: var(--space-xxl);
}

.featured-article .article-title {
    font-size: var(--text-5xl);
}

.featured-article .article-excerpt {
    font-size: var(--text-lg);
}

.featured-article .read-more {
    color: var(--white);
    border: 2px solid var(--white);
    padding: var(--space-sm) var(--space-lg);
    display: inline-block;
}

.featured-article .read-more:hover {
    background: var(--white);
    color: var(--black);
    opacity: 1;
}

/* Tags */
.article-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.tag {
    padding: 0.25rem 0.5rem;
    font-size: var(--text-xs);
    background: var(--light-gray);
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-article .tag {
    background: var(--white);
    color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        margin-top: 60px;
        min-height: 40vh;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-article {
        padding: var(--space-xl);
    }

    .featured-article .article-title {
        font-size: var(--text-3xl);
    }

    .article-title {
        font-size: var(--text-2xl);
    }
}
