/*
	* CSS for Archives, Homepage, Search Results, and 404 Page
	*
	* @package      sallysbakingrecipes
	* @author       Lindsay Humes
	* @since        1.0.0
	* @license      GPL-2.0+
*/
/*--------------------------------------------------------------
## Header: General
--------------------------------------------------------------*/
.page-title {
    margin: 0 0 15px;
}

.archive-content {
    max-width: 1045px;
    width: calc(100% - 20px);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
}

.error-404 .archive-content {
    margin: 0 auto 30px;
}

/*--------------------------------------------------------------
## Header: Archive
--------------------------------------------------------------*/
.archive-header {
    margin: 0 auto;
}

.archive-header .wrap {
    padding: 20px 0 0;
}

.archive-title-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 10px;
}

.archive-title-group h1 {
    margin: 0;
    text-align: left;
}

.archive-recent-header {
    margin: 0 auto 10px;
    max-width: 1045px;
    width: calc(100% - 20px);
}

.archive-recent-header h2 {
    margin: 20px auto;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -.01em;
    font-size:  28px;
}
.archive-recent-header h2 em {
    font-weight:  400;
    font-size:  .8em;
}
.archive-content-before {
    margin:  0 auto 15px;
}
.archive-description {
    margin:  0 auto 15px;
}
.blog .accent-nowrap {
    margin:  0 auto 30px;
}
/*--------------------------------------------------------------
## Header: Blog
--------------------------------------------------------------*/
.archive-header.blog-header .page-title {
    margin: 0 0 15px;
    line-height: 1.2;
}

/*--------------------------------------------------------------
## Header: Search
--------------------------------------------------------------*/
.search-header .flexbox {
    align-items: baseline;
}

.search-header h1.page-title {
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.search-header h1.page-title .bold {
    font-weight: 700;
    font-style: normal;
}

/*--------------------------------------------------------------
## Header: Error
--------------------------------------------------------------*/
.error-header .search-form {
    max-width: 1045px;
    margin: 20px auto;
}

/*--------------------------------------------------------------
## Page Template: Default
--------------------------------------------------------------*/
.page-header {
    padding: 10px 0 0;
    max-width: 1045px;
    width: calc(100% - 20px);
    margin: 0 auto;
}
/*--------------------------------------------------------------
## Header: Image
--------------------------------------------------------------*/
.img-header {
    padding:  0 0 20px;
    background:  #FDEDF0;
    position: relative;
}
.img-header .flexbox {
    padding:  20px;
    background:  #ffffff;
    border-bottom:  1px solid #FDEDF0;
    position: relative;
    z-index:  2;
}
.img-header::after {
    content: "";
    display: block;
    background: #FFFFFF;
    width: 100%;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}
.image-content {
    padding: 20px 0 20px 20px;
}
/*--------------------------------------------------------------
## Page: Subscribe
--------------------------------------------------------------*/
.page-subscribe {
    background:  #FDEDF0;
}
.page-subscribe .page-content {
    margin:  0 auto;
}
/*--------------------------------------------------------------
## RESPONSIVE
--------------------------------------------------------------*/
@media screen and (max-width: 760px) {
    .img-header .flexbox {
        display: block;
        padding: 10px;
    }
    .image-content {
        padding: 10px 0 0;
    }
    .img-header::after {
        height: 25%;
    }

}
