.wp-block-column:has(.recipe-grid-item) {
    margin-right: 0% !important;
}

.recipe-grid-item p,
.recipe-grid-item a {
    padding: 0px !important;
    margin: 0px !important;
    text-decoration: none !important;
    outline: none;
    color: white !important;
}
.recipe-grid-item h2 {
	font-weight: bold;
    margin-bottom: 0px !important;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none !important;
    outline: none;
    color: white !important;
}
.recipe-grid-item h2:after {
    display: none !important;
}
.recipe-grid-item div.outer {
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: end;
    text-align: center;
    background-color: #000;
    position: relative;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,.6), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}
.recipe-grid-item div.outer::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;    
    background-size: cover;
}
.recipe-grid-item div.outer:hover {
    cursor: pointer;
    animation: zoom-in-zoom-out 0.5s both;
}
.recipe-grid-item div.outer div {
    position: relative;
}
@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1.03, 1.03);
    }
}

div#fisch-und-meeresfruechte div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/fisch-und-meeresfruechte.jpg");
}
div#fisch-und-meeresfruechte div.outer::before {
    opacity: 0.7;
}

div#fruehstueck div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/fruehstueck.jpg");
}
div#fruehstueck div.outer::before {
    opacity: 0.7;
}

div#huehnerfleisch-und-weissfleisch div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/huehnerfleisch-und-weissfleisch.jpg");
}
div#huehnerfleisch-und-weissfleisch div.outer::before {
    opacity: 0.7;
}

div#nachspeisen div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/nachspeisen.jpg");
}
div#nachspeisen div.outer::before {
    opacity: 0.7;
}

div#rotes-fleisch div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/rotes-fleisch.jpg");
}
div#rotes-fleisch div.outer::before {
    opacity: 0.7;
}

div#vegetarisches-menu div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/vegetarisches-menu.jpg");
}
div#vegetarisches-menu div.outer::before {
    opacity: 0.7;
}

div#vorspeisen-und-beilagen div.outer::before {
    background-image: url("https://heissluftfritteuse-rezepte.com/wp-content/uploads/vorspeisen-und-beilagen.jpg");
}
div#vorspeisen-und-beilagen div.outer::before {
    opacity: 0.7;
}


.wp-block-columns:has(.recipe-grid-item) {
    text-align: center; 
    margin-left: auto; 
    margin-right: auto;    
    margin-top: 1.5em !important;
}
.recipe-grid-item div.outer div {
    padding: 0px 0px 30px 0px;
}
@media only screen and (max-width : 1250px) {
    .wp-block-columns:has(.recipe-grid-item) {
        flex-wrap: wrap !important;
        margin-bottom: 4em;
        gap: 0;
        margin: 0;
        padding: 0px 1em;
    }
    .wp-block-column:has(.recipe-grid-item) {
        flex: 1 1 100%;
        margin: 0;
        padding: 0;
        gap: 0;
        width: 90%;
        max-width: 550px;
        height: auto;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 50px !important;
    }
    .recipe-grid-item div.outer {
        height: 450px;
    }
}
@media only screen and (min-width : 1250px) and (max-width : 1400px ){
    .wp-block-columns:has(.recipe-grid-item) {
        max-width: 1200px;
    }
    .recipe-grid-item div.outer {
        height: 450px;
    }
}
@media only screen and (min-width : 1400px) and (max-width : 1600px ){
    .wp-block-columns:has(.recipe-grid-item) {
        max-width: 1380px;
    }
    .recipe-grid-item div.outer {
        height: 500px;
    }
}
@media only screen and (min-width : 1600px) and (max-width : 1800px ){
    .wp-block-columns:has(.recipe-grid-item) {
        max-width: 1580px;
    }
    .recipe-grid-item div.outer {
        height: 600px;
    }
}
@media only screen and (min-width : 1800px) {
    .wp-block-columns:has(.recipe-grid-item) {
        max-width: 1760px;
    }
    .recipe-grid-item div.outer {
        height: 600px;
    }
}

/* SEARCH PAGE CUSTOM STYLES */
body.search .recipe-grid-item div.outer {
    height: 300px;
}