/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* Custom latest posts shortcode styling */
.custom-latest-posts {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-latest-posts h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.post-item {
    text-align: center;
}

.post-item a {
    text-decoration: none;
    color: inherit;
}

.post-item img {
    width: 100% !important;
    height: auto !important;
    display: block;
    max-width: none !important;
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .custom-latest-posts h2 {
        font-size: 2em;
    }
}