/**
 * The blog styles
 * 
 * @since 1.0.0
 */

/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/

/* Info Header */
.blog-info {
	padding: 40px 20px;
	color: rgb( 255, 255, 255 );
	text-align: center;
	background: url(../images/blog/header-bg.png) center center fixed;
	background-size: cover;
}

.blog-info h1 {
	margin-bottom: 10px;
	color: rgb( 255, 255, 255 );
}
.blog-info h1 span {
	display: block;
	font-style: italic;
}
@media screen and ( min-width: 600px ) {
	
	.blog-info h1 span {
		display: inline;
	}
}

.blog-info p {
	font-size: 1.6rem;
}
@media screen and ( min-width: 600px ) {
	
	.blog-info p {
		font-size: 2.0rem;
	}
}

.blog-info a[role="button"] {
	color: rgb( 255, 255, 255 );
	border-color: rgb( 255, 255, 255 );
}
.blog-info a[role="button"]:hover {
	color: rgb( 0, 0, 0 );
	background: rgb( 255, 255, 255 );
}

@media screen and ( min-width: 800px ) {
	
	.blog-info {
		padding: 40px 20%;
	}
}

/*--------------------------------------------------------------
2.0 Posts
--------------------------------------------------------------*/

/* Thumbnail */
.post-thumbnail {
	display: block;
	margin-bottom: 20px;
}
.post-thumbnail img {
	display: block;
	width: 100%;
}
@media screen and ( min-width: 600px ) {
	
	.post-thumbnail {
		margin-bottom: 30px;
	}
}

/* Header */
.post-header {
	position: relative;
	margin-bottom: 1em;
	padding-bottom: 1em;
}
.post-header::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 20%;
	height: 1px;
	content: '';
	background: rgb( 195, 154, 100 );
}
	.showcase .post-header::after {
		left: 41%;
	}

/* Title */

.post-title {
	margin-bottom: 15px;
	font-size: 2.8rem;
}
@media screen and ( min-width: 600px ) {
	
	.post-title {
		font-size: 3.2rem;
	}
}

/* Meta */
.post-meta {
	font-size: 1.4rem;
}
.post-meta a {
	color: rgb( 64, 64, 64 );
}
.post-meta .divider {
	display: inline-block;
	margin: 0 1em;
}
.post-meta .posted-on {
	font-weight: 700;
}
.post-meta .updated {
	display: none;
}
.post-meta .views {
	font-weight: 700;
}
.post-meta .views::before {
	margin: 0 0.5em 0 0;
}

/*--------------------------------------------------------------
3.0 Widget Area
--------------------------------------------------------------*/

@media screen and ( min-width: 800px ) {
	
	/* Sidebars */
	
	.blog-widget-area.sidebar {
		float: right;
		width: 30%;
		margin-bottom: 40px;
		clear: none;
	}
	.blog-widget-area.sidebar .widget {
		float: none;
		width: 100%;
		padding: 0;
	}
	
	/* Blog Footer */
	
	.blog-footer-widget-area .widget:nth-of-type(odd),
	.blog-footer-widget-area .widget:nth-of-type(even) {
		clear: none;
	}
	.blog-footer-widget-area .widget:nth-of-type(odd):last-of-type {
		float: left;
		width: 33.333%;
	}
	
	.blog-footer-widget-area .widget {
		float: left;
		width: 33.333%;
		padding: 0 10px;
	}
	.blog-footer-widget-area .widget:first-of-type,
	.blog-footer-widget-area .widget:nth-of-type(4n) {
		padding: 0 20px 0 0;
	}
	.blog-footer-widget-area .widget:nth-of-type(3n+3) {
		padding: 0 0 0 20px;
	}
}

/*--------------------------------------------------------------
Widgets
--------------------------------------------------------------*/

/* Latest Posts */

.latest-posts-widget .pitch-text {
	font-size: 16px;
}

/* Links Lists */

.blog-widget-area .links-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.blog-widget-area .links-list ul:before,
.blog-widget-area .links-list ul:after {
	content: "";
	display: table;
}
.blog-widget-area .links-list ul:after {
	clear: both;
}
.blog-widget-area .links-list li {
	display: block;
	float: left;
	margin: 0 10px 10px 0;
}
.blog-widget-area .links-list li a {
	display: block;
	padding: 6px 8px 5px;
	color: rgb( 195, 154, 100 );
	font-family: 'museo-slab', serif;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	border: 1px solid rgb( 195, 154, 100 );
	border-radius: 3px;
}
.blog-widget-area .links-list li a:hover {
	color: rgb( 255, 255, 255 );
	text-decoration: none;
	background: rgb( 195, 154, 100 );
}


/*--------------------------------------------------------------
2.1 Posts - Featured
--------------------------------------------------------------*/

.featured-posts .featured-post {
	margin-bottom: 40px;
}

@media screen and ( min-width: 800px ) {
	
	.featured-posts {
		margin-bottom: 60px;
	}
	
	.featured-posts .featured-post {
		float: left;
		width: 64%;
	}
}


/*--------------------------------------------------------------
2.2 Posts - Archive
--------------------------------------------------------------*/

.posts-archive {
	margin-bottom: 40px;
}

@media screen and ( min-width: 800px ) {
	
	.posts-archive {
		float: left;
		width: 64%;
	}
	.posts-archive.no-sidebar {
		float: none;
		width: 100%;
	}
}

/* Header */
.archive-header {
	margin: 0 0 2em 0;
	padding: 2em 0 1.5em;
}
.archive-header::after {
	left: 50%;
	width: 14%;
	-webkit-transform: translateX( -50% );
	    -ms-transform: translateX( -50% );
	        transform: translateX( -50% );
}

/* Title */
.archive-title {
	color: rgb( 223, 87, 58 );
	font-family: 'adelle', sans-serif;
	font-size: 4.8rem;
	font-style: italic;
	text-align: center;
}

.posts-archive article {
	margin-bottom: 2.5em;
}

/* Thumbnails */
.posts-archive .post-thumbnail {
	display: none;
}

@media screen and ( min-width: 600px ) {
	
	.posts-archive .post-thumbnail {
		display: block;
		float: left;
		width: 30%;
	}
	.posts-archive article.has-thumbnail .post-details {
		float: right;
		width: 64%;
	}
	
}

.posts-navigation {
	margin-bottom: 40px;
	text-align: center;
	clear: both;
}
.posts-navigation a {
	display: inline-block;
	width: 34px;
	height: 34px;
	color: rgb( 255, 255, 255 );
	font-size: 30px;
	line-height: 30px;
	background: rgb( 195, 154, 100 );
	border-radius: 100%;
}
.posts-navigation a:hover {
	text-decoration: none;
	background: rgb( 0, 146, 199 );
}
.posts-navigation .num-pages {
	display: inline-block;
	margin: 0 6px;
	padding: 10px 20px;
	font-family: 'museo-slab', serif;
	font-size: 1.8rem;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	background: rgb( 255, 255, 255 );
	border: 1px solid rgb( 195, 154, 100 );
	border-radius: 4px;
}

.posts-navigation .message {
	margin-top: 6px;
	font-size: 1.4rem;
	font-style: italic;
	clear: both;
}


/*--------------------------------------------------------------
2.3 Post - Single
--------------------------------------------------------------*/

.single-post .post {
	margin-bottom: 60px;
}
@media screen and ( min-width: 600px ) {
	
	.single-post .post {
		padding-top: 40px;
	}
}

/* Header */
.single-post .post-header {
	margin: 0 0 40px 0;
	padding: 0 0 30px;
}
.single-post .post-header::after {
	left: 50%;
	width: 14%;
	-webkit-transform: translateX( -50% );
	    -ms-transform: translateX( -50% );
	        transform: translateX( -50% );
}

/* Hero */

.post-hero-title {
	display: none;
}

@media screen and ( min-width: 600px ) {
	
	.post-hero {
		position: relative;
		width: 100%;
		height: 0;
		padding-top: 40%;
		background-attachment: fixed;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.post-hero::before {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100%;
		content: '';
		background: rgb( 0, 0, 0 );
		opacity: 0.3;
	}
	.post-hero::after {
		display: block;
		position: absolute;
		bottom: -34px;
		left: 50%;
		width: 68px;
		height: 68px;
		margin-left: -34px;
		padding: 20px 0;
		content: '\e806';
		color: rgb( 255, 255, 255 );
		font-family: "asada";
		font-size: 28px;
		font-style: normal;
		font-variant: normal;
		font-weight: normal;
		line-height: 1em;
		speak: none;
		text-align: center;
		text-decoration: inherit;
		text-transform: none;
		background: rgb( 223, 87, 58 );
		border-radius: 100%;
		z-index: 50;
	}
}
@media screen and ( min-width: 800px ) {
	
	.post-hero {
		padding-top: 50%;
	}
	
	.post-hero-title {
		display: block;
		position: absolute;
		top: 40%;
		left: 50%;
		width: 70%;
		color: rgb( 255, 255, 255 );
		font-family: 'adelle', sans-serif;
		font-size: 4.0rem;
		font-style: italic;
		text-align: center;
		-webkit-transform: translate( -50%, -50% );
		    -ms-transform: translate( -50%, -50% );
		        transform: translate( -50%, -50% );
	}
	
	.post-hero-title .post-hero-category {
		margin-bottom: 10px;
		color: rgb( 255, 255, 255 );
		font-family: 'lust-script-display', serif;
		font-size: 3.6rem;
		font-style: normal;
		line-height: 1;
		text-align: center;
		text-transform: lowercase;
		opacity: 0.4;
	}
}

/* Category */

.single-post .post-category {
	margin-bottom: 10px;
	color: rgb( 194, 125, 56 );
	font-family: 'lust-script-display', serif;
	font-size: 2.8rem;
	line-height: 1;
	text-align: center;
	text-transform: lowercase;
	opacity: 0.3;
}
@media screen and ( min-width: 600px ) {
	
	.single-post .post-category {
		font-size: 3.6rem;
	}
}

/* Title */

.single-post .post-title, .showcase .post-title {
	color: rgb( 223, 87, 58 );
	font-family: 'adelle', sans-serif;
	font-size: 3.8rem;
	font-style: italic;
	text-align: center;
}
@media screen and ( min-width: 600px ) {
	
	.single-post .post-title, .showcase .post-title {
		font-size: 4.8rem;
	}
}

/* Meta */
.single-post .post-meta {
	text-align: center;
}

/* Content */

.single-post .post-content img:not(.nobg) {
	padding: 8px;
	background: rgb( 255, 255, 255 );
	box-shadow: 0 1px 2px 0 rgba( 0, 0, 0, 0.2 );
}

.single-post .post-content iframe.instagram-media {
	margin: 0 auto !important;
}

/* Tags */

.single-post .post-tags {
	margin-bottom: 20px;
}
.single-post .post-tags ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.single-post .post-tags li {
	float: left;
	margin: 0 10px 10px 0;
}
.single-post .post-tags li a {
	display: block;
	padding: 8px 10px;
	color: rgb( 29, 58, 0 );
	font-size: 1.6rem;
	font-style: italic;
	line-height: 1;
	background: rgb( 184, 233, 134 );
	border-radius: 8px;
}
.single-post .post-tags li a:hover {
	text-decoration: none;
	background: rgb( 154, 208, 100 );
}

/* Date */

.single-post .post-date {
	margin-bottom: 20px;
	font-size: 1.4rem;
	font-style: italic;
}

/* Author */

.single-post .post-author {
	position: relative;
	min-height: 136px;
	padding: 20px;
	background: rgb( 255, 255, 255 );
}
.single-post .post-author img {
	display: block;
	position: absolute;
	top: 20px;
	left: 20px;
	border-radius: 100%;
}
.single-post .post-author .author-description {
	margin: 0;
	padding-left: 116px;
	font-size: 1.8rem;
	text-align: right;
}

/* Search */

.single-post .search-widget {
	margin: 0 0 40px;
}
.single-post .site-search {
	position: relative;
}
.single-post .site-search input {
	display: block;
	position: relative;
	width: 100%;
	height: 62px;
	font-size: 2.2rem;
	z-index: 50
}
.single-post .site-search input::-webkit-input-placeholder {
   color: rgb( 186, 186, 186 );
   font-style: italic;
}
.single-post .site-search input:-moz-placeholder { /* Firefox 18- */
   color: rgb( 186, 186, 186 );
   font-style: italic; 
}
.single-post .site-search input::-moz-placeholder {  /* Firefox 19+ */
   color: rgb( 186, 186, 186 );
   font-style: italic;  
}
.single-post .site-search input:-ms-input-placeholder {  
   color: rgb( 186, 186, 186 );
   font-style: italic;  
}

.single-post .site-search button {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	width: 35px;
	height: 35px;
	text-indent: -9999px;
	background: url(../images/front-page/icon-search.svg) right center no-repeat;
	background-size: 35px 35px;
	border: none;
	border-radius: 0;
	z-index: 100;
}

@media screen and ( min-width: 600px ) {
	
	.single-post .search-widget {
		width: 80%;
		margin: 0 auto 60px;
	}
}

/* Sidebars */

@media screen and ( min-width: 800px ) {
	
	/* Reset the previous column styling */
	
	.single-post .blog-widget-area.sidebar {
		float: none;
		width: 100%;
		clear: both;
	}
	.single-post .blog-widget-area.sidebar .widget:nth-of-type(odd),
	.single-post .blog-widget-area.sidebar .widget:nth-of-type(even) {
		clear: none;
	}
	.single-post .blog-widget-area.sidebar .widget:nth-of-type(odd):last-of-type {
		float: left;
		width: 33.33333%;
	}
	
	/* Add the three-column styling */
	
	.single-post .blog-widget-area.sidebar .widget {
		float: left;
		width: 33.333%;
		padding: 0 10px;
	}
	.single-post .blog-widget-area.sidebar .widget:first-of-type,
	.single-post .blog-widget-area.sidebar .widget:nth-of-type(4n) {
		padding: 0 20px 0 0;
	}
	.single-post .blog-widget-area.sidebar .widget:nth-of-type(3n+3) {
		padding: 0 0 0 20px;
	}
}
