/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

.popular-recipes-inner,
.category-archive-title {
	max-width: var(--global-content-width);
	margin: 0 auto;
	padding: var(--global-content-edge-padding);
}
.popular-recipes-inner h2,
.category-archive-title h2 {
    text-align: center;
}
.popular-recipes-inner h2{
	margin-bottom: 30px;
}

.popular-recipes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 2.5rem;
    row-gap: 2.5rem;
}

.popular-recipes h3 {
    font-size: 20px;
    text-align: center;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    font-family: Raleway, sans-serif;
    color: var(--global-palette4);
    margin-top: 10px;
}

.popular-recipes a {
    text-decoration: none;
}

.popular-recipes-single:hover a {
    text-decoration: underline;
}

.popular-recipes-single a.popular-recipes-img-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
}

.popular-recipes-single img{
	object-fit: cover;
    height: 350px;
    width: 100%;
}

.archive.category #inner-wrap #primary.content-area {
    margin-top: 0;
}


@media screen and (max-width: 767px) {
	.popular-recipes {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.popular-recipes-single img{
		height: 200px;
	}
}
