<div style="background:#121212; min-height:100vh; padding:40px; color:#fff;">

    <div style="max-width:900px; margin:0 auto;">

        <h2 style="color:#ff2d2d; text-align:center; margin-bottom:30px;">Blog</h2>

        {% for post in blog_posts %}

        <div style="background:#1a1a1a; padding:20px; border-radius:8px; margin-bottom:20px; box-shadow:0 0 10px rgba(0,0,0,0.5);">

            <h3 style="color:#ff2d2d; margin-bottom:10px;">

                <a href="/blog/{{ post.slug }}" style="color:#ff2d2d; text-decoration:none;">

                    {{ post.title }}

                </a>

            </h3>

            <p style="color:#ccc; margin-bottom:10px;">{{ post.excerpt }}</p>

            <p style="color:#777; font-size:14px;">

                {{ post.date }}

            </p>

        </div>

        {% else %}

        <p style="text-align:center; color:#b3b3b3;">No blog posts available.</p>

        {% endfor %}

    </div>

</div>