/* Modern Blog Post Styles */

:root {
    --primary-color: #2d3436;
    --accent-color: #0984e3;
    --text-color: #2d3436;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

.blog-modern-hero {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: 35px;
}

.blog-modern-hero .featured-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
}

.blog-modern-hero .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
}

.blog-modern-hero .entry-title {
    font-size: 3.5rem;
    margin: 0 0 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.blog-modern-hero .post-meta {
    font-size: 1rem;
    display: flex;
    gap: 1.5rem;
    opacity: 0.9;
}

.blog-modern-hero .post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-main.blog-modern-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 5rem;
}

.page-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 2rem;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 1px solid #eee;
}

.related-posts-section h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.related-post-card .post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-card .card-content {
    padding: 1.5rem;
}

.related-post-card h4 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

.related-post-card .post-date {
    font-size: 0.85rem;
    color: #636e72;
}

@media (max-width: 768px) {
    .blog-modern-hero .entry-title {
        font-size: 2.5rem;
    }

    .blog-modern-hero .hero-content {
        padding: 2rem;
    }

    .blog-modern-hero .featured-image {
        height: 50vh;
    }

    .page-content {
        font-size: 1.1rem;
    }
}