/* Blog Pages - Text-Focused Design */

/* Blog Index Page */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Blog Post Previews - Single Column */
.post-preview {
    background: #fff;
    padding: 48px;
    margin-bottom: 40px;
    border-left: 4px solid #fdad01;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-preview:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.post-preview h3 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.post-preview h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-preview h3 a:hover {
    color: #fdad01;
}

.post-preview p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px 0;
}

.post-meta {
    display: block;
    font-size: 0.875rem;
    color: #999;
    font-style: italic;
}

/* Blog Article Pages - Reader-Friendly */
.blog-container article,
.blog-container>h1,
.blog-container>h3,
.blog-container>p,
.blog-container>.screenshot,
.blog-container>.back-to-blog {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Back to Blog Link */
.back-to-blog {
    display: inline-block;
    margin: 32px 0 40px 0;
    color: #fdad01;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.back-to-blog:before {
    content: "← ";
}

.back-to-blog:hover {
    color: #333;
}

/* Article Typography */
.blog-container h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    color: #333;
    margin: 0 0 48px 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.blog-container h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    color: #333;
    margin: 40px 0 20px 0;
    font-weight: 700;
}

.blog-container h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    color: #333;
    margin: 48px 0 24px 0;
    font-weight: 700;
}

.blog-container p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #444;
    margin: 0 0 24px 0;
}

.blog-container a {
    color: #fdad01;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-container a:hover {
    color: #333;
    text-decoration: underline;
}

/* Article Images - Non-Clickable, Secondary to Text */
.blog-container .screenshot {
    margin: 56px auto;
    text-align: center;
}

/* Optional Grid Layout for Screenshots */
.blog-container .screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 100%;
}

.blog-container .screenshot-grid img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 4px;
}

.blog-container .screenshot img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 4px;
}

.blog-container .screenshot p {
    font-size: 0.9375rem;
    color: #777;
    font-style: italic;
    margin-top: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-container {
        padding: 48px 20px;
    }

    .blog-container h2 {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .post-preview {
        padding: 32px 24px;
    }

    .post-preview h3 {
        font-size: 1.5rem;
    }

    .blog-container h1 {
        font-size: 2.25rem;
    }

    .blog-container h2 {
        font-size: 1.125rem;
    }

    .blog-container h3 {
        font-size: 1.25rem;
    }

    .blog-container p {
        font-size: 1.0625rem;
    }
}