.article-post {
	&.page {
		.entry-content {
			margin-bottom: 0;
		}
	}

	&.sticky {
		border:1px solid $color_background_post_sticky;
		padding: 2rem;
	}

	.entry-title {
		font-size: 34px;
		word-break: break-word;
		margin-bottom: 0;
		a {
			color: inherit;
			@include transition(all .3s);
			border-bottom: 1px solid transparent;
			&:hover {
				border-color: currentColor;
			}
		}
	}
}


.entry-meta-cat {
	margin-bottom: 15px;
	ul.post-categories {
		list-style: none;
		margin: 0;
		padding: 0;
		li {
			display: inline-block;
			margin-right: 5px;
			margin-bottom: 5px;
			&:last-child {
				margin-right: 0;
			}
			> a {
				display: block;
				color: #000;
				background: #F5F5F5;
				@include border-radius(3px);
				padding: 3px 16px;
				@include transition(all .3s);
				&:hover,
				&:active,
				&:focus {
					background-color: #000;
					color: #fff;
				}
			}
		}
	}
}

.entry-meta {
	margin-top: 8px;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
	a {
		color: inherit;
		border-bottom: 1px solid transparent;
		@include transition(all .3s);
		&:hover {
			color: var(--g5-color-dark);
			border-color: currentColor;
		}
	}

	li {
		display: inline;
		&:after {
			content: '';
			display: inline-block;
			width: 4px;
			height: 4px;
			@include border-radius(50%);
			background-color: #C4C4C4;
			margin: 0 8px;
			vertical-align: middle;
		}
		&:last-child {
			&:after {
				display: none;
			}
		}

		i{
			padding-right: 5px;
		}

		&.meta-author {
			a {
				color: var(--g5-color-dark);
			}
			img {
				@include border-radius(50%);
				margin-right: 5px;
			}
			&:after {
				width: 1px;
				height: 14px;
				@include border-radius(0);
			}
		}
	}
}

.entry-excerpt {
	p:last-child {
		margin-bottom: 0;
	}
}

.btn-read-more {
	margin-top: 30px;
}

.article-archive-post {
	margin-bottom: 60px;
	text-align: center;
	.post-thumbnail {
		margin-bottom: 35px;
	}

	.entry-header + .entry-excerpt {
		margin-top: 19px;
	}


	.entry-header {
		position: relative;
	}

	&.has-post-thumbnail {
		.entry-meta-cat {
			position: absolute;
			top: -49px;
			left: 0;
			right: 0;
		}
	}

}

body.no-sidebar {
	.article-archive-post {
		max-width: $content_width;
		margin-left: auto;
		margin-right: auto;
	}


}

#main-content .article-post:last-child {
	margin-bottom: 0;
}

body.page {
	.article-post {
		margin-bottom: 0;
	}
}

.article-single-post {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--g5-color-border);

	.entry-title {
		font-size: 40px;
	}

	.entry-meta-cat {
		margin-bottom: 10px;
	}

	.entry-header {
		text-align: center;
		+ .entry-content {
			margin-top: 40px;
		}
	}

	.post-thumbnail {
		margin-top: 50px;
		margin-bottom: 40px;
	}

	.tagcloud {
		padding-top: 70px;
		color: var(--g5-color-muted);
		a {
			margin: 0 10px 0 0;
			&:before {
				content: '#';
				display: inline-block;
			}
			&:last-child {
				margin-right: 0;
			}
		}
	}

	.entry-content {
		> * {
			&:last-child {
				margin-bottom: 0;
			}
		}

	}
}

body.single {
	.breadcrumbs-wrap + #primary-content {
		padding-top: 80px;
	}
}



body.no-sidebar.single-post {
	.article-single-post .post-thumbnail {
		margin-left: -($container_width - ($content_width + $grid_gutter_width)) / 2;
		margin-right: -($container_width - ($content_width + $grid_gutter_width )) / 2;
	}
}




.entry-content {
	@extend %clearfix;

	h1, h2, h3, h4, h5, h6 {
		margin-top: 2rem;
	}
	h1, h2, h3, h4, h5, h6 {
		&:first-child {
			margin-top: 0;
		}
	}
	> p:last-child,
	> ul:last-child {
		margin-bottom: 0;
	}
}



.author-info-wrap {
	margin-top: 70px;
}

.author-info-inner {
	@include d-flex;
}

.author-info-avatar {
	width: 70px;
	margin-right: 35px;
	@include flex-shrink-0;
	img {
		@include border-radius(100%);
	}
}

@media (max-width: 767px) {
	.author-info-avatar {
		width: 50px;
		margin-right: 20px;
	}
}

.author-info-content {
	.name {
		margin-bottom: 10px;
		font-size: 14px;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		a {
			color: inherit;
			border-bottom: 1px solid transparent;
			@include transition(all .3s);
			&:hover {
				color: var(--g5-color-dark);
				border-color: currentColor;
			}
		}
	}
}

.site-search-results-not-found {
	text-align: center;
	h2 {
		font-size: 32px;
	}

	@include widget-search();
	.search-form {
		max-width: 450px;
		margin: auto;
	}
}

.post-password-form {
	label {
		display: block;
	}
	input[type="password"] {
		display: block;
		width: 100%;
	}
}

article.post {
	.entry-content div {
		margin-bottom: $margin_element;
	}
}

