/*
Theme Name: Local Newspaper
Author: Paladinware UG
Author URI: https://paladinware.de/
Description: Jede Menge Interessantes aus der Nachbarschaft
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 8.4
Version: 1.0.0
*/

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.post-grid > :first-child {
    grid-column: 1 / -1;
}

.post-grid .wp-block-group {
    box-sizing: border-box;
    border: 1px solid #ccc;
    min-height: 100%;
    padding: 1rem;
}

@media (max-width: 48rem) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 36rem) {
    .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
