/* General */

article {
	margin-bottom: 4rem;
}

/****** Post Header ******/

header.post-header {
	max-width: 95rem;
	margin: 0 auto;
}

/* Header: Categories */
ul.post-categories {
	list-style: none;
	margin: 0 0 1.5rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

ul.post-categories li {
	margin: 0 1rem;
}

ul.post-categories li a {
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.6rem;
	letter-spacing: -0.5px;
}

/* Header: Title */

h1.entry-title {
	margin-bottom: 4rem;
	text-align: center;
}

/* Header: Meta Top */

.post-meta.meta-top {
	justify-content: center;
	margin-bottom: 3rem;
}

.meta-item {
	display: flex;
	align-items: center;
	margin: 0 1.2rem;
}

.meta-icon .svg-icon {
	height: 1.8rem !important;
	width: auto !important;
}

p.meta-text {
	margin: 0;
	font-size: 1.6rem;
}

.post-meta .post-author a {
	border-bottom: 2px solid var(--main-accent-color);
	margin-bottom: 2px;
}

/* Header: Image */

.post-featured-image {
	max-width: 72rem;
	margin: 0 auto;
}


/****** Content ******/

.container {
	display: flex;
	margin-top: 2rem;
}

.content {
	max-width: 72.8rem;
	margin-top: 3rem;
	margin-right: 4.2rem;
}

/* Content: Meta Bottom */

.meta-bottom .meta-item {
	margin: 0 2.4rem 1.2rem 0;
}

/* Content: Author */

.author-bio {
	border: 1px solid #e7e7e7;
	padding: 2rem;
	margin-top: 3rem;
}

.author-bio .author-title {
	font-size: 2.6rem;
}

.author-social-links {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

/* Content: Sidebar */

.sidebar {
	width: 30rem;
	max-width: 30rem;
}

/* Content: Sidebar Posts */

.sidebar-post-wrapper-main {
	margin: 0;
	list-style: none;
	min-height: 1100px;
}

.sp-main {
	position: relative;
	height: 200px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
	max-width: 350px;
	margin: 3rem auto !important;
}

@media(min-width: 1600px) {
	.sp-main {
		height: 250px;
		max-width: 400px;
		margin: 4rem auto !important;
	}
}

.sp-main-link:hover .sp-bg-overlay {
	background: rgba(20, 49, 72, 0.6);
}

.sp-main-bg {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
}

.sp-bg-overlay {
	width: 100%;
	height: 100%;
	background: linear-gradient(-180deg, rgba(20, 49, 72, 0) 12%, #161F30 98%);
	transition: background 0.5s ease-in;
}

.sp-main-title-wrapper {
	position: absolute;
	bottom: 0;
}

.sp-main-title {
	margin: 1rem;
	font-size: 20px;
	text-align: left;
	text-transform: capitalize;
	text-shadow: 2px 2px 19px rgba(0, 0, 0, 0.5);
	color: #fff !important;
}

.sp-main-title a {
	color: #fff;
	text-decoration: none !important;
}

.sp-main-title:before {
	content: "";
	width: 8rem;
	background-color: #fff;
	height: 3px;
	display: block;
	margin-bottom: 6px;
}

/* Content: Footer */

footer.post-footer {
	margin-top: 3rem;
}

/*********** Comments ***********/

.comments-header {
	display: flex;
	align-items: center;
}

.qna-header-icon {
	display: flex;
	width: 50px;
	height: 50px;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	color: #fff;
	background-color: var(--main-accent-color);
}

.qna-header-icon span {
	font-size: 2.4rem;
	line-height: 1;
}

.qna-header-icon .svg-icon {
	fill: #fff;
}

h2.comment-reply-title {
	margin: 0 !important;
	font-size: 18px;
	font-weight: 400;
	color: #606060
}

h2.comment-container-title {
	font-size: 3.2rem;
	margin: 0 0 0 1rem !important;
}

.comments-wrapper {
	margin-top: 2rem;
	border: 1px solid #e7e7e7;
	padding: 2rem 2rem 0 2rem;
}

.comments-wrapper #commentform {
	margin-top: 4rem
}

.comments-inner {
	max-width: 100% !important;
}

@media(min-width: 1000px) {
	.comments-wrapper #commentform {
		margin-top:5rem
	}
}

.must-log-in {
	text-align: center;
	margin: 10px auto 20px auto !important;
	font-size: 16px
}

@media (min-width: 700px) {
	.comment-meta {
		line-height:1.1;
		margin-bottom: 1.5rem;
		min-height: 5rem;
		padding: 0.3rem 0 0 7.5rem;
		position: relative
	}

	.comment-meta .avatar {
		height: 6rem;
		position: absolute;
		left: 0;
		top: 0;
		width: 6rem
	}
}

.comment-meta .avatar {
	border-radius: 3px;
	box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1)
}

.comment-content.entry-content {
	width: 100% !important
}

#reply-title {
	color: #000;
	font-weight: 600;
	font-size: 20px
}

p.logged-in-as {
	margin-bottom: 2rem !important
}

.comment-form-comment label {
	font-weight: bold
}

.comment-form-comment label:after {
	content: " :"
}

p.comment-form-comment textarea {
	border: 3px solid #000;
	border-radius: 5px;
	position: relative;
	vertical-align: middle;
	-webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out
}

p.comment-form-comment textarea:focus {
	border-color: #366ef1 !important
}

p.comment-form-comment textarea::placeholder {
	font-size: 14px;
	letter-spacing: 0.1px
}

.comments-wrapper .form-submit input {
	border-radius: 3px;
	padding: 1.2rem 1.5rem 1rem 1.5rem;
	box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1);
	font-size: 14px;
	text-decoration: none !important;
	transition: transform 300ms ease
}

.comments-wrapper .form-submit input:hover {
	transform: translatey(-3px)
}

a.do-not-scroll.comment-reply-link {
	border-radius: 3px;
	padding: 0.8rem 0.7rem 0.7rem 0.7rem;
	box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1)
}

.comment-content {
	font-weight: 500;
	color: #030303;
	font-size: 1.5rem;
}

.comment-content p {
	font-size: 1.5rem;
}

.only-comments .section-inner {
	width: 100% !important
}

.comments-inner .depth-1 {
	padding: 2rem !important;
	margin-bottom: 2rem;
	border-bottom: 1px solid #e7e7e7;
}

.comment-wrapper-list {
	list-style: none;
	margin: 0 auto
}

.comment-list-item {
	margin: 30px 0;
	box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.08);
	padding: 1rem;
	border-radius: 3px
}

.comment-list-item:nth-of-type(1) {
	margin-top: 20px
}

.reply-or-comment {
	color: #000;
	font-size: 14px
}

.reply-or-comment a {
	font-size: 14px !important
}

.reply-or-comment strong {
	font-weight: 600
}

.comment-content-main {
	margin: 1.2rem 0 0 0;
	font-weight: 600;
	color: #030303;
	font-size: 14px
}

.comment-time {
	margin: 1rem 0 0 0;
	font-size: 12px
}

.sce-comment {
	margin-bottom: 0 !important
}

.sce-edit-comment {
	margin-bottom: 0 !important
}

.sce-edit-button {
	position: absolute;
	bottom: 10px;
	left: 65px;
	display: flex;
	justify-content: center;
	align-items: center
}

.sce-edit-button a {
	border-radius: 3px;
	background-color: #3572d4;
	height: 27px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: 600;
	padding: 0.8rem 0.7rem 0.7rem 0.7rem;
	font-size: 1.2rem
}

.sce-edit-comment svg {
	width: 15px;
	fill: #fff
}

textarea.sce-comment-text {
	border-radius: 5px;
	border: 3px solid #000;
	transition: border-color 1s ease
}

textarea.sce-comment-text:focus {
	border-color: #366ef1 !important
}

.sce-comment-edit-buttons {
	display: flex;
	justify-content: flex-start;
	padding-top: 1.5rem
}

.sce-comment-edit-buttons button {
	padding: 0.7rem 1rem 0.7rem 1rem;
	;border-radius: 3px;
	box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1);
	font-size: 13px;
	background-color: #000;
	transition: transform 300ms ease;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: 0.2px !important;
	margin-right: 15px
}

.sce-comment-edit-buttons button:hover {
	transform: translatey(-3px)
}

.sce-comment-delete svg {
	width: 13px;
	fill: #fff
}

/******** Related Posts *********/

.related-posts {
	margin-top: 5.5rem;
	max-width: 1300px
}

.related-posts-list {
	display: flex;
	flex-wrap: wrap
}

.related-post-wrapper {
	width: calc(25% - 2rem);
	margin: 1.5rem 1rem;
	background-color: var(--dm-dark-color);
	border-radius: 3px;
}

.related-posts .widget-title {
	margin: 0 0 0 1rem
}

.related-posts-header {
	display: flex;
	align-items: center;
	margin: 0 0 1rem 1rem
}

.rp-full {
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s
}

.rp-full:hover {
	transform: translateY(-10px)
}

.related-thumbnail img {
    border-radius: 3px 3px 0 0;
}

.related-title {
	color: var(--dm-light-color);
	line-height: 1.5;
	margin: 1rem 0 0;
	font-size: 1.6rem;
	padding: 1rem;
	letter-spacing: normal;
}

.related-posts-header .qna-header-icon span {
	margin-bottom: .4rem
}

@media (min-width: 768px) and (max-width:1022px) {
	.related-post-wrapper {
		width:calc(50% - 2rem)
	}

	.related-thumbnail img {
		width: 100%
	}
}

/********* Tablet Styles ********/

@media(max-width:999px){

	/* General */
	main{
		padding: 4rem;		
	}

	/* Content */
	.container{
		flex-direction: column;
	}

	.content {
		margin: 1rem auto 0 auto;
		width: 100%;
	}
	
	/* Sidebar */

	.sidebar{
		display: none;
	}

	/* Ads */

	.ad-placeholder.ad-header {
		width: 100%;
		height: 8rem;
	}
}

/********* Mobile Styles ********/

@media(max-width:640px){

	/* General */
	main {
		padding: 4rem 2rem;
	}

	/* Post Header */

	ul.post-categories li a{
		font-size: 1.4rem;
	}

	h1.entry-title.post-title {
		font-size: 2.8rem;
		line-height: normal;
		margin-bottom: 3rem;
	}

	.post-meta.meta-top{
		margin-bottom: 2rem;
	}

	.meta-item {
		margin-bottom: 1rem;
	}

	.meta-icon .svg-icon {
		height: 1.6rem !important;
	}

	p.meta-text {
		font-size: 1.4rem;
	}

	/* Related Posts */

	.related-posts {
		padding: 0
	}

	.related-post-wrapper {
		width: 100%;
		margin: 1.5rem 0
	}

	.related-thumbnail img {
		width: 100%
	}

	.related-title {
		font-size: 1.75rem
	}

	.related-posts-header {
		margin-left: 0
	}
}