/* Blog — Lemma */

/* Blog Header */
.blog-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.blog-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-family: var(--font-body);
}

/* Blog Posts Section */
.blog-posts {
    padding: 4rem 2rem;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.blog-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--card-gap-color);
}

/* Blog Post Cards */
.blog-post-card {
    padding: 2.5rem;
    background: var(--card-bg);
    transition: background 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .blog-post-card:hover {
        background: var(--card-hover);
    }
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-date {
    font-family: var(--font-mono);
    color: var(--text-faint);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.post-category {
    font-family: var(--font-mono);
    color: var(--accent-saffron);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: 4px;
}

/* Post Title */
.post-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: lowercase;
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .post-title a:hover {
        color: var(--accent-saffron);
    }
}

/* Post Excerpt */
.post-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Post Tags — uses .lem-tag from shared.css */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Read More Link */
.read-more {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    color: var(--accent-saffron);
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .read-more:hover {
        transform: translateX(5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 1.5rem 3rem;
        min-height: 30vh;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-posts {
        padding: 3rem 1.5rem;
    }

    .blog-post-card {
        padding: 2rem;
    }

    .post-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-post-card {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.2rem;
    }
}
