/* Import posts-grid styles to use the same classes for post items */
@import url('../posts-grid/block.css');

.related-posts {
    width: 100%;
    padding: 0;
    margin: 4rem auto;
}

.related-posts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(30px, 5vw, 60px);
}

.related-posts__title {
    font-family: Lexend, sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -2px;
    color: #000;
    margin: 0 0 2rem 0;
    padding: 0;
}

/* Related posts uses posts-grid classes for items */
/* All item styles are inherited from posts-grid block.css */

.related-posts__no-results {
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

/* Responsive - Mobile */
@media (max-width: 1024px) {
    /* Grid styles inherited from posts-grid */
}

@media (max-width: 768px) {
    .related-posts {
        margin: 3rem auto;
    }
    
    .related-posts__container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .related-posts__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Grid styles inherited from posts-grid */
}


