/*
Feature Section Posts
---------------------------------------------------------------------------------------------------- */
.featured-posts-block ul{
margin-left: 0 !important;
}

ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
margin: 0 auto;
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    padding-left:  0;
    margin-left:  0 !important;
    padding-left:  0;
}

ul.section-posts-one-half li,
ul.section-posts-one-third li,
ul.section-posts-one-fourth li,
ul.section-posts-one-fifth li,
ul.section-posts-one-sixth li{
	background: #fff;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.10);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.10);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.10);
list-style-type: none !important;
margin: 0 auto 25px;
}

.featured-posts-block ul li:before{
display: none !important;
}

.featured-posts-block ul li h3,
.featured-posts-block ul li h3 a{
	display: block;
text-decoration: none !important;
text-transform: none;
letter-spacing: 0;
	line-height: 1.2;
color: #242424 !important;
}

ul.section-posts-one-half h3,
ul.section-posts-one-third h3,
ul.section-posts-one-fourth h3,
ul.section-posts-one-fifth h3,
ul.section-posts-one-sixth h3{
text-align: center;
color: #242424 !important;
    padding: 1% 2%;
line-height: 1.4;
}

ul.section-posts-one-half h3,
ul.section-posts-one-half h3 a,
ul.section-posts-one-third h3,
ul.section-posts-one-third h3 a{
font-size: 22px;
    font-weight: 700;
}

ul.section-posts-one-half.post-side-by h3,
ul.section-posts-one-half.post-side-by h3 a{
font-size: 20px;
    font-weight: 700;
}


ul.section-posts-one-third.post-side-by h3,
ul.section-posts-one-third.post-side-by h3 a,
ul.section-posts-one-third.post-side-by .article-title{
font-size: 18px;
    font-weight: 700;
}

ul.section-posts-one-fourth h3,
ul.section-posts-one-fourth h3 a{
font-size: 18px;
    font-weight: 700;
}

ul.section-posts-one-fourth.post-side-by h3,
ul.section-posts-one-fourth.post-side-by h3 a{
font-size: 14px;
    font-weight: 700;
}

ul.section-posts-one-fifth h3,
ul.section-posts-one-fifth h3 a,
ul.section-posts-one-sixth h3,
ul.section-posts-one-sixth h3 a{
font-size: 16px;
    font-weight: 700;
}

ul.section-posts-one-half{
    grid-template-columns: repeat(2, 1fr);
}

ul.section-posts-one-third{
    grid-template-columns: repeat(3, 1fr);
}

ul.section-posts-one-fourth{
    grid-template-columns: repeat(4, 1fr);
}

ul.section-posts-one-fifth{
    grid-template-columns: repeat(5, 1fr);
}

ul.section-posts-one-sixth{
    grid-template-columns: repeat(6, 1fr);
}

ul.post-side-by li{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

ul.post-side-by li img{
display: block;
margin: 0;
}

ul.post-side-by li h3{
text-align: left;
    padding: 2%;
}


ul.post-side-by .favorite-post_content{
text-align: left;
    padding: 2% 4%;
}

.featured-posts-block ul li img,
.featured-pages-block img,
.archive .content .entry img,
.search .content .entry img,
.blog .content .entry img{
transition: .5s;
}

.featured-posts-block ul li:hover img,
.featured-pages-block li:hover img,
.archive .content .entry:hover img,
.search .content .entry:hover img,
.blog .content .entry:hover img{
opacity: .8;
}


/*
Custom Blocks
---------------------------------------------------------------------------------------------------- */

.page-template-block-page .site-inner,
.page-template-full-width .site-inner{
padding: 0;
}

.section-headline{
width: 100%;
clear: both;
margin: 0 auto 15px;
	text-align: center;
}

.section-headline h2{
font-size: 24px;
    margin: 0;
}

.section-headline .section-button{
    width: 100%;
margin: 5px auto 35px;
}

.section-excerpt{
width: 100%;
clear: both;
}

.see-more{
color: #343434;
font-weight: 700;
    font-size: 15px;
    position: relative;
border: 3px solid #343434;
padding: 10px 15px;
text-transform: uppercase;
letter-spacing: 2px;
}

.see-more:after{
content: '';
background: url(/wp-content/themes/pmd-rockstar/images/arrow.svg) center no-repeat;
	background-color: #6bccde;
background-size: 11px 11px;
width: 20px;
height: 20px;
display: inline-block;
vertical-align: middle;
	margin-left: 5px;
	border-radius: 50%;
	transition: .5s;
	margin-top: -2px;
}

.see-more:hover:after{
background-color: #dd2c68;
}

.featured-posts-block .wrap,
.icons-block .wrap,
.newsletter-block .wrap,
.latest-block .wrap,
.featured-pages-block .wrap,
.callout-block .wrap,
.search-callout-block .wrap{
    width:  100%;
    max-width:  1240px;
    margin:  0 auto;
    padding: 25px 2%;
}


/* Featured Posts Block
------------------------------------------------------ */

.featured-posts-block .wrap{
padding: 35px 2%;
}

.featured-posts-block ul{
margin: 0 auto;
    width: 100%;
    flex-flow: column nowrap;
    overflow: visible;
}

.featured-posts-block ul li{
list-style-type: none;
    margin: 0 auto 25px;
}

.featured-posts-block ul li h3{
    color: #2f2f2f;
}

.featured-posts-block ul li h3 a{
color: #2f2f2f;
}

.yes-stripe{
background-image: linear-gradient(45deg, #ffffff 35.71%, #fafafa 35.71%, #fafafa 50%, #ffffff 50%, #ffffff 85.71%, #fafafa 85.71%, #fafafa 100%);
background-size: 19.80px 19.80px;
}



/* In Post Blocks
------------------------------------------------------ */

.note-block,
.solid-box,
.outline-box,
.pin-block,
.outline-box-star{
padding: 2%;
width: 100%;
clear: both;
margin: 0 auto 25px;
}

.solid-box p:last-of-type,
.outline-box p:last-of-type,
.outline-box-star p:last-of-type{
    margin-bottom:  0;
}

.solid-box p,
.outline-box p,
.outline-box-star p{
margin-top: 0;
}


.pin-block{
width: 100%;
text-align: center;
background: #D84B5B;
	padding: 0 !Important;
}

.pin-block .button{
background: none;
display: block;
width: 100%;
position: relative;
	text-transform: none;
Letter-spacing: 0;
	font-size: 20px;
padding: 15px;
color: #fff !important;
	border-radius: 0;
}


.pin-block .button:hover{
background: none;
}

.pin-block .button:before{
content: '';
	background: url(/wp-content/plugins/PMD-Site-Functionality/images/pinterest.svg) center no-repeat;
background-size: 20px 20px;
	border: 2px solid #fff;
width: 32px;
height: 32px;
	border-radius: 50%;
	margin-right: 10px;
display: inline-block;
vertical-align: middle;
}

.solid-box{
padding: 4%;
font-weight: 600;
font-style: italic;
background: #5BC2B9;
color: #242424;
}


.solid-box a{
color: #242424;
}

.outline-box{
	padding: 20px 45px;
border: 4px solid #F7A71A;
	position: relative;
	border-radius: 10px;
	margin-top: 35px;
}

.outline-box:before{
content: '';
background: url(https://www.familyfreshmeals.com/wp-content/uploads/2022/07/cooking-pot.svg) center no-repeat;
background-size: 30px 30px;
	background-color: #5BC2B9;
	border: 4px solid #fff;
border-radius: 50%;
display: inline-block;
vertical-align: middle;
position: absolute;
width: 60px;
height: 60px;
top: -30px;
left: -10px;
}


.outline-box-star{
	padding: 20px 35px;
border: 4px solid #3344A0;
	position: relative;
	border-radius: 10px;
	display: Flex;
flex-direction: row;
	justify-content: space-between;
}

.outline-box-star_star{
	width: 25px;
}

.outline-box-star_inner{
	width: 100%;
}

.outline-box-star_star{
background: url(/wp-content/plugins/PMD-Site-Functionality/images/star.svg) center no-repeat;
	background-color: #fff;
background-size: contain;
width: 25px;
height: 25px;
display: inline-block;
vertical-align: middle;
	margin-right: 10px;
}

.note-block{
 border-top: 5px solid #D84B5B;
background-image: linear-gradient(45deg, #ffffff 35.71%, #fafafa 35.71%, #fafafa 50%, #ffffff 50%, #ffffff 85.71%, #fafafa 85.71%, #fafafa 100%);
background-size: 19.80px 19.80px;
    -webkit-box-shadow: 0 3px 6px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.10);
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 10%);
	padding: 25px 35px;
}

.favorite-product-block{
border: 4px solid #7BC05A;
border-radius: 10px;
padding: 15px;
	width: 100%;
	clear: both;
margin: 0 auto 25px;
}

.favorite-product-block .wrap{
display: flex;
flex-direction: row;
justify-content: space-between;
}

.favorite-product-block h2,
.favorite-product-block h3,
.favorite-product-block h4{
margin-bottom: 5px;
font-size: 22px;
}

.favorite-product-img,
.favorite-product-content{
	padding: 0 2%;
	line-height: 1.4;
}

.favorite-product-img img{
	display: block;
margin: 0 auto;
}

.favorite-product-content p:last-of-type{
margin-bottom: 15px;
}

.favorite-product-content .button{
color: #fff !important;
	padding: 10px 30px;
	text-decoration: none !important;
font-size: 14px;
background: #4C5EBE;
}

.favorite-product-img img{
border-radius: 50%;
	width: 100%;
	max-width: 200px;
}


.favorite-product-img{
width: 30%;
}

.favorite-product-content{
	width: 70%;
}

/* Recipe Index
--------------------------------------------- */

.recipe-index-intro{
	    background-image: linear-gradient(45deg, #ffffff 35.71%, #fafafa 35.71%, #fafafa 50%, #ffffff 50%, #ffffff 85.71%, #fafafa 85.71%, #fafafa 100%);
    background-size: 19.8px 19.8px;
	margin-bottom: 15px;
	padding: 0 2%;
}

.recipe-index-intro .wp-block-group__inner-container{
    padding: 2% 3%;
	margin: 0 auto;
		width: 100%;
		max-width: 1240px;
margin: 0 auto;
}

.recipe-index-intro h1{
margin-bottom: 5px;
}

.recipe-index-intro p:last-of-type{
margin-bottom: 0;
}


@media only screen and (max-width: 1023px) {
	
	.icons-block .cat-ico {
		line-height: 1.2;
	}
	
	.icons-block .cat-ico img{
max-width: 70px;
}
	
	.icons-block .cat-ico .icon-title{
		font-size: 12px;
	}
	
}

@media only screen and (max-width: 767px) {
    
    .featured-posts-block{
text-align: center;
}
	
	.featured-posts-block .wrap{
padding: 25px 2%;
}
    
    .section-headline{
display: block;
text-align: center;
}
    
    .section-headline .section-title,
    .section-headline .section-button{
width: 100%;
float: none;
margin: 0 auto;
    text-align: center;
}

    
    ul.section-posts-one-half,
ul.section-posts-one-third,
ul.section-posts-one-fourth,
ul.section-posts-one-fifth,
ul.section-posts-one-sixth{
    grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-posts-block ul.post-side-by{
display: block;
}
    
    ul.post-side-by li{
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
    
.featured-posts-block ul.post-side-by .favorite-post_img{
width: 40%;
}
    
.featured-posts-block ul.post-side-by .favorite-post_content{
width: 60%;
        padding: 0 2%;
}
	
	.featured-pages-block ul li{
width: 100%;
}
	
	.featured-pages-block ul li img{
width: 100%;
	height: 250px;
object-fit: cover;
	}
	
	.featured-pages-block ul li:nth-of-type(4n+1) h2{
background: #FEBD30;
color: #343434;
}
	
		.featured-pages-block ul li:nth-of-type(4n+2) h2{
background: #DC2D68;
color: #fff;
}
	
		.featured-pages-block ul li:nth-of-type(4n+3) h2{
background: #57B28C;
color: #343434;
}
	
		.featured-pages-block ul li:nth-of-type(4n+4) h2{
background: #6ACCDD;
color: #343434;
}
	
	
	.featured-pages-block ul li:hover h2{
background: #fff;
color: #343434;
}
    
	.icons-block_inner{
		flex-wrap: wrap;
	}
    
	.icons-block_intro{
		width: 100%;
text-align: center;
	}
	
	.icons-block_intro h2,
	.icons-block_intro h2 span{
display: inline-block;
text-transform: capitalize;
letter-spacing: 0;
font-size: 38px;
}
	
	.icons-block_intro h2 span{
		margin-right: 8px;
	}
	
	.icons-block_intro .button{
		margin: 10px auto 25px;
		display: block;
width: 100%;
		max-width: 250px;
padding: 15px 25px;
	}
	
	.icons-block_inner .cat-ico{
width: 32%;
margin: 0 auto 25px;
	}
	
	.icons-block_inner .cat-ico img{
    -webkit-box-shadow: 0 3px 6px 0 rgb(0 0 0 / 10%);
    -moz-box-shadow: 0 3px 6px 0 rgba(0,0,0,.10);
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 10%);
		width: 100%;
		max-width: 80%;
		padding: 15px;
}
	
		.icons-block .cat-ico .icon-title{
		font-size: 14px;
	}
	
	.newsletter-block .wrap{
		flex-wrap: wrap;
text-align: center;
	}
	
	.newsletter-block h2{
		margin: 0 auto 15px;
	}
	
	.latest-block .wrap{
		flex-wrap: wrap;
text-align: center;
}
	
	.latest-block_latest,
	.latest-block_trending{
width: 100%;
}
	
	.latest-block_latest li{
display: block;
text-align: center;
}
	
	.latest-block_latest li img{
		width: 100%;
		height: 600px;
object-fit: cover;
	}
	
.latest-block_latest li .favorite-post_img{
		width: 100%;
	}
	
	.latest-block .blog-post-button{
		text-align: center;
margin: 15px auto 45px;
	}
	
	.latest-block .blog-post-button .see-more{
width: 100%;
	display: block;
	}
	
	.trending-recipes .favorite-post_img img{
		width: 100%;
		max-width: 200px;
	}
	
	.latest-block_trending h2{
		text-align: center;
font-size: 36px;
		margin: 0 auto 5px;
	}
	
	.latest-block_trending{
text-align: left;
}
	
	.trending-recipes li:last-of-type{
border-bottom: 2px solid #343434;
}
	
	.section-headline .section-button{
margin: 15px auto 25px;
}
	
	.see-more{
		display: block;
width: 100%;
		max-width: 95%;
		margin: 0 auto;
	}
	
	.search-callout-block .wrap{
display: block;
text-align: center;
}
	
	.search-callout-block h4:before{
		display: block;
margin: 0 auto 5px;
	}
	
	.search-callout-block .search-form{
margin: 15px auto 10px;
	}
	
	.callout-block .wrap{
display: block;
}
	
	.callout_row-img,
	.callout_row-content{
		width: 100%;
		text-align: center;
	}
	
	.callout_row-content:before{
margin: 0 auto 5px;
}
	
	.callout-block .wp-block-buttons{
justify-content: center;
}
	
	.columns-block .wp-block-column{
display: flex;
flex-direction: row;
	justify-content: center;
align-items: center;
		margin-bottom: 0;
		padding: 2%;
}
	
	.column-block-row-img{
width: 30%;
		margin: 0 auto;
	}
	
	.column-block-row-img img{
		display: block;
		margin: 0 auto;
}
	
	.column-block-row-content{
width: 70%;
	text-align: center;
		padding: 2%;
}
	
	.latest-block_latest li:before{
top: -30px;
}
	
}



@media only screen and (max-width: 580px) {
	
	ul.section-posts-one-half, ul.section-posts-one-third, ul.section-posts-one-fourth, ul.section-posts-one-fifth, ul.section-posts-one-sixth{
grid-column-gap: 10px;
}
	
		.featured-pages-block ul li img{
	height: 150px;
	}
    
    .featured-pages-block h2{
        font-size: 20px;
line-height: 1.2;
    }
    
    .latest-block_latest ul li{
display: block;
}
    
    .latest-block_latest ul li .favorite-post_img,
    .latest-block_latest ul li .favorite-post_content{
width: 100%;
    padding: 2%;
        text-align: center;
    }
	
	.latest-block_latest ul li .favorite-post_content{
padding: 2% 2% 4%;
}
    
    .latest-block_latest ul li h3, .latest-block_latest ul li h3 a{
text-align: center;
}
    
    .section-headline h2{
font-size: 20px;
}

ul.section-posts-one-half h3,
ul.section-posts-one-half h3 a,
ul.section-posts-one-third h3,
ul.section-posts-one-third h3 a,
ul.section-posts-one-fourth h3,
ul.section-posts-one-fourth h3 a,
ul.section-posts-one-fifth h3,
ul.section-posts-one-fifth h3 a,
ul.section-posts-one-sixth h3,
ul.section-posts-one-sixth h3 a,
ul.section-posts-one-half.post-side-by h3, ul.section-posts-one-half.post-side-by h3 a{
font-size: 16px;
}
	
	.featured-pages-block ul li h2{
		font-size: 12px;
		position: relative;
width: 100%;
	margin: 0 auto;
		bottom: auto;
		left: auto;
		padding: 10px 5px;
	}
	
	.icons-block_intro h2, .icons-block_intro h2 span,
	.latest-block_trending h2{
		font-size: 28px;
	}
	
	.icons-block .cat-ico{
line-height: 1.1;
		width: 33%;
}

	.icons-block .cat-ico .icon-title{
		font-size: 11px;
		letter-spacing: 1px;
	}
	
	.icons-block_inner .cat-ico img{
padding: 10px;
}
	
	.latest-block_latest li img{
		height: 350px;
	}
	
	
	.latest-block .see-more{
padding: 10px 5px;
}

	.trending-recipes .favorite-post_content h3, .trending-recipes .favorite-post_content h3 a{
		font-size: 16px;
	}
	
	.callout-block .wrap{
padding: 25px 4%;
}
	
	.columns-block .wp-block-column{
flex-wrap: wrap;
}
	
		.column-block-row-img{
width: 100%;
		margin: 0 auto;
	}
	
	.column-block-row-img img{
		display: block;
		margin: 0 auto;
}
	
	.column-block-row-content{
width: 100%;
	text-align: center;
		padding: 2%;
}
	
	.newsletter-block:before{
		left: -100px;
	}
}