/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Ihre Name
Author URI: Ihre Website
Description: Child Theme für Astra
Version: 1.0.0
*/

/* Hauptstil vom Eltern-Theme importieren */
@import url("../astra/style.css");


.wpr-grid-image-wrap {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpr-grid-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    display: block;
}


.wpr-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Automatische Anpassung */
    gap: 20px;
    align-items: start;
}

/* Kleinere Bildschirme: 2 Spalten */
@media (max-width: 768px) {
    .wpr-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
			gap:20px
    }
}

/* Sehr kleine Bildschirme: 1 Spalte */
@media (max-width: 480px) {
    .wpr-grid {
        grid-template-columns: 1fr;
				gap: 20px
    }
}