/*
Feature Section Posts
---------------------------------------------------------------------------------------------------- */

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;
    padding-left:  0;
}

.featured-posts-block ul{
position: relative;
	padding-bottom: 20px;
}

.featured-posts-block ul:after{
	content: '';
	background: url(/wp-content/plugins/PMD-Site-Functionality/images/border.svg) center repeat-x;
background-size: contain;
width: 450px;
height: 10px;
display: block;
margin: 10px 0 0 0;
	clear: both;
	position: absolute;
bottom: 0;
right: 0;
}

.featured-posts-block ul.post-side-by:after{
left: 0;
right: auto;
}

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{
    -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;
margin: 0 auto 25px;
}

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;
	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: 800;
}

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


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: 800;
}

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

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

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: 14px;
	font-weight: 800;
}

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;
display: flex;
flex-direction: row;
justify-content: space-between;
    align-items: flex-end;
}

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

.section-headline .section-title{
width: 65%;
text-align: left;
}

.section-headline .section-button{
    width: 35%;
text-align: right;
}

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

.see-more{
color: #2f2f2f;
font-weight: 800;
    font-size: 16px;
    position: relative;
}

.see-more:after{
content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/arrow.svg) center no-repeat;
background-size: contain;
width: 25px;
height: 15px;
display: inline-block;
vertical-align: middle;
margin-left: 5px;
}

.about-block,
.newsletter-block,
.featured-posts-block,
.featured-pages-block,
.search-block,
.callout-block{
	padding: 0;
}

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


.about-block a,
.newsletter-block a,
.featured-posts-block a,
.featured-pages-block a,
.callout-block a,
.icons-block a{
    background-image: none !important;
}


/* Featured Pages Block
------------------------------------------------------ */

.featured-pages-block{
text-align: center;
}

.featured-pages-block h2{
font-size: 24px;
}

.featured-pages-block ul{
position: relative;
padding-bottom: 20px;
}

.featured-pages-block ul:after{
	content: '';
	background: url(/wp-content/plugins/PMD-Site-Functionality/images/border.svg) center repeat-x;
background-size: contain;
width: 450px;
height: 10px;
display: block;
margin: 10px 0 0 0;
	clear: both;
	position: absolute;
bottom: 0;
left: 0;
}


/* Search Block
------------------------------------------------------ */

.search-block{
text-align: center;
	margin-bottom: 0;
}

.search-block .search-form{
background: #fff;
padding: 10px;
	margin: 10px auto 25px;
}


/* Newsletter Block
------------------------------------------------------ */

.newsletter-block .wrap{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
	padding: 1% 2%;
}

.newsletter-block h3{
margin: 0 auto;
font-size: 32px;
}

.newsletter-block h3 em{
font-style: normal;
    -webkit-text-stroke: 1.4px #fff;
    -webkit-text-fill-color: transparent;
    -webkit-animation: fill 0.5s infinite alternate;
font-weight: 900;
	letter-spacing: 1px;
}

.newsletter-block_row:last-of-type{
	width: 50%;
}


/* Latest Block
------------------------------------------------------ */

.latest-block .section-headline{
display: block;
}

.latest-block .section-title{
text-align: center;
	width: 100%;
}

.latest-block h2{
text-transform: lowercase;
}

.latest-block ul:before{
content: '';
background: #fff url(/wp-content/plugins/PMD-Site-Functionality/images/submark.svg) center no-repeat;
background-size: contain;
width: 120px;
height: 120px;
display: block;
	border-radius: 50%;
position: absolute;
top: 25px;
right: -25px;
}

.latest-block ul li h3{
text-align: left;
line-height: 1;
	padding: 0;
}

.latest-block ul li h3,
.latest-block ul li h3 a{
font-size: 24px;
}

.latest-block ul li .favorite-post_content{
padding: 2% 2%;
	font-size: 16px;
}


/* Callout Block
------------------------------------------------------ */

.callout-block .wrap{
	display: flex;
	align-items: center;
width: 100%;
	max-width: 900px;
margin: 0 auto;
	padding: 1% 2%;
}

.callout-block_row{
padding: 0 2%;
	width: 50%;
}

.callout-block .small-title{
margin-bottom: 0;
}

.callout-block h3{
line-height: 1.2;
}

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

.featured-posts-block .wrap{
}

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

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

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

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



/* About Block
------------------------------------------------------ */

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

.about-block .about-row{
width: 45%;
}

.about-block .about-row:first-of-type{
width: 55%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
	font-size: 16px;
}

.about-block .about-row:first-of-type img{
border-radius: 50%;
}

.about-block .about-row:first-of-type h3{
position: relative;
margin-bottom: 5px;
}

.about-block .about-row:first-of-type h3:before{
content: '';
background: url(/wp-content/themes/pmd-bakeme/images/txt-hey.svg) center no-repeat;
background-size: contain;
width: 110px;
height: 28px;
display: block;
margin: 0;
}

.about-block .about-row:first-of-type p.has-pink-color  {
margin-bottom: 10px;
color: #D21E75;
}

.about-row_inner_1{
	width: 40%;
}

.about-row_inner_2{
	width: 60%;
	padding: 0 8% 0 2%;
}

.about-block .about-row:first-of-type .wp-block-button__link{
padding: 5px 20px;
}

.about-block .about-row:last-of-type{
text-align: center;
}

.cat-icon_inner{
    display: grid;
    grid-column-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.cat-icon_inner img{
width: 100%;
max-width: 60px;
}

.cat-icon_inner .cat-ico{
margin: 0 auto 25px;
}

.cat-icon_inner .icon-title{
color: #242424;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}

/* Icons Block
------------------------------------------------------ */

.icons-block{
	text-align: center;
}

.icons-block .cat-icon_inner{
    grid-template-columns: repeat(8, 1fr);
}

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

.index-head .wp-block-group__inner-container{
width: 100%;
max-width: 900px !important;
margin: 0 auto;
}

.recipe-index .trending-recipes .featured-posts-block ul li .favorite-post_content:before{
content: '01';
	width: 30px;
height: 30px;
text-align: center;
margin: 0 auto;
	display: Block;
background: #de1f7c;
border-radius: 50%;
	color: #fff;
border: 2px solid #fff;
margin: -25px auto 0;
	position: relative;
font-weight: 700;
	font-size: 12px;
line-height: 2.4;
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+1) .favorite-post_content:before{
content: '01';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+2) .favorite-post_content:before{
content: '02';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+3) .favorite-post_content:before{
content: '03';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+4) .favorite-post_content:before{
content: '04';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+5) .favorite-post_content:before{
content: '05';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+6) .favorite-post_content:before{
content: '06';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+7) .favorite-post_content:before{
content: '07';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+8) .favorite-post_content:before{
content: '08';
}


.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+9) .favorite-post_content:before{
content: '09';
}

.recipe-index .trending-recipes .featured-posts-block ul li:nth-of-type(10n+10) .favorite-post_content:before{
content: '10';
}


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

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

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

.pin-block{
background: #de1f7c;
color: #fff;
width: 100%;
clear: both;
border-radius: 5px;
	display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 1% 4%;
}

.pin-block_row{
margin: 0 10px;
}

.pin-title{
font-size: 22px;
font-weight: 800;
}

.pin-block .button{
padding: 4px 25px;
	background: #242424;
}

.note-block{
padding: 4% 6%;
}

.note-block h2{
position: relative;
	border-bottom: 1px solid #242424;
}

.note-block h2:before{
	content: '';
background: url(/wp-content/plugins/PMD-Site-Functionality/images/accents.svg) center no-repeat;
background-size: contain;
width: 20px;
height: 20px;
display: inline-block;
	vertical-align: middle;
margin-right: 5px;
}

.outline-box{
border: 2px solid #244590;
border-radius: 10px;
}

@media only screen and (max-width: 767px) {
	
	.about-block .wrap, .newsletter-block .wrap, .featured-posts-block .wrap, .featured-pages-block .wrap, .search-block .wrap, .callout-block .wrap{
padding: 4%;
}
	
	.newsletter-block .wrap{
display: block;
text-align: center;
}
	
	.newsletter-block_row,
	.newsletter-block_row:last-of-type{
width: 100%;
	margin: 15px auto;
}
	
	.featured-posts-block{
text-align: center;
}
	
	.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;
}
	
	.section-headline .section-button{
margin: 15px auto 0;
}
	
	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);
	}
	
	.latest-block ul,
	.featured-posts-block ul.post-side-by{
display: block;
}
	
	.latest-block ul li,
	ul.post-side-by li{
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
	
	.latest-block ul li .favorite-post_img,
.featured-posts-block ul.post-side-by .favorite-post_img{
width: 40%;
}
	
	.latest-block ul li .favorite-post_content,
.featured-posts-block ul.post-side-by .favorite-post_content{
width: 60%;
		padding: 0 2%;
}
	
	.callout-block .wrap,
	.about-block .wrap{
display: block;
text-align: center;
}
	
	.callout-block_row,
	.about-block .about-row,
	.about-block .about-row:first-of-type{
		width: 100%;
		margin: 15px auto;
	}
	
	.wp-block-buttons{
justify-content: center;
}
	
	.about-block .wrap{
		overflow: visible;
	}
	
.about-block .about-row:first-of-type{
		display: block;
	}
	
	.about-row_inner_1,
	.about-row_inner_2{
width: 100%;
}
	
	.about-block .about-row:first-of-type img{
width: 100%;
	max-width: 200px;
border: 5px solid #fff;
margin: -55px auto 10px;
}
	
	.about-block .about-row:first-of-type h3:before{
margin: 0 auto;
}
	
	.about-row_inner_2{
padding: 0;
}
	
	.cat-icon_inner {
    grid-template-columns: repeat(3, 1fr);
	}
	
	.cat-icon_inner img{
		max-width: 80px;
	}
	
}


@media only screen and (max-width: 580px) {
	
	.featured-pages-block h2{
		font-size: 20px;
line-height: 1.2;
	}
	
	.latest-block ul li{
display: block;
}
	
	.latest-block ul li .favorite-post_img,
	.latest-block ul li .favorite-post_content{
width: 100%;
	padding: 2%;
		text-align: center;
	}
	
	.latest-block ul li h3, .latest-block ul li h3 a{
text-align: center;
}
	
	.section-headline h2{
font-size: 28px;
}

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: 14px;
}
	
	.cat-icon_inner img{
max-width: 60px;
}

	
	.cat-icon_inner .icon-title{
		line-height: 1.2;
display: block;
	}
	
	.icons-block .cat-icon_inner{
    grid-template-columns: repeat(4, 1fr);
}
	
	.icons-block .cat-icon_inner .cat-ico{
margin: 0 auto 30px;
}
	
	.icons-block .cat-icon_inner .icon-title{
font-size: 10px;
}
	
	
}