/*
 * Blog / archive / single-post styles.
 *
 * html_ref ships no blog markup, so these rules extend (never override)
 * assets/css/style.css using the same design tokens already established
 * there: colors (#2C3B20 / #4A7C4A / #C8A84B), Merriweather headings,
 * Open Sans body copy, the .subpage-link card shadow/radius language,
 * and the existing spacing scale.
 */

/*-_-_Back_To_Home_Bar_-_-*/
.back-to-home-bar {
	background: #F0EDE6;
	border-bottom: 1px solid #E5E7EB;
}

.back-to-home-bar .back-to-home-link {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 0;
	font-size: 13px;
	font-weight: 600;
	color: #2C3B20;
	transition: 0.4s all ease;
}

.back-to-home-bar .back-to-home-link svg {
	width: 16px;
	height: 16px;
	transition: 0.4s all ease;
}

.back-to-home-bar .back-to-home-link:hover {
	color: #4A7C4A;
}

.back-to-home-bar .back-to-home-link:hover svg {
	transform: translateX(-3px);
}

/*-_-_Page_Header_-_-*/
.page-header-wrap {
	padding: 64px 0 48px;
	text-align: center;
}

.page-header-wrap .page-header-title {
	font-size: 48px;
	line-height: 1.25;
	font-weight: 500;
	color: #000000;
	font-family: "Plus Jakarta Sans", sans-serif;
	margin-bottom: 12px;
}

.page-header-wrap .page-header-desc {
	font-size: 16px;
	line-height: 1.5;
	color: #6A7282;
	max-width: 640px;
	margin: 0 auto;
}

/*-_-_Blog_Listing_-_-*/
.blog-listing-wrap {
	padding: 0 0 100px;
}

.blog-listing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	overflow: hidden;
	background: #FFFFFF;
	box-shadow: 0 1px 3px 0px rgba(0, 0, 0, 0.1);
	transition: 0.4s all ease;
}

.blog-card:hover {
	border-color: #4A7C4A;
	box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.blog-card .blog-card-thumb {
	display: block;
	aspect-ratio: 480/320;
	overflow: hidden;
	background: #F0EDE6;
}

.blog-card .blog-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card .blog-card-body {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blog-card .blog-card-meta {
	font-size: 12px;
	line-height: 1.25;
	font-weight: 600;
	text-transform: uppercase;
	color: #4A7C4A;
	margin-bottom: 8px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.blog-card .blog-card-title {
	font-size: 20px;
	line-height: 1.375;
	font-weight: 700;
	font-family: "Merriweather", serif;
	color: #2C3B20;
	margin-bottom: 12px;
}

.blog-card .blog-card-title a {
	color: inherit;
}

.blog-card .blog-card-title a:hover {
	color: #4A7C4A;
}

.blog-card .blog-card-excerpt {
	font-size: 14px;
	line-height: 1.625;
	color: #364153;
	margin-bottom: 16px;
	flex: 1;
}

.blog-card .blog-card-readmore {
	font-size: 13px;
	font-weight: 600;
	color: #2C3B20;
	border-bottom: 1px solid #C8A84B;
	align-self: flex-start;
}

.blog-card .blog-card-readmore:hover {
	color: #4A7C4A;
}

.blog-listing-empty {
	text-align: center;
	padding: 48px 0;
	color: #6A7282;
	font-size: 16px;
	grid-column: 1 / -1;
}

/*-_-_Pagination_-_-*/
.azaf-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.azaf-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.azaf-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #E5E7EB;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #2C3B20;
	background: #FFFFFF;
	transition: 0.4s all ease;
}

.azaf-pagination .page-numbers:hover,
.azaf-pagination .page-numbers.current {
	border-color: #4A7C4A;
	background: #F0FDF4;
}

/*-_-_Single_Post_-_-*/
.single-post-wrap {
	padding: 64px 0 100px;
}

.single-post-wrap .single-post-header {
	text-align: center;
	max-width: 768px;
	margin: 0 auto 32px;
}

.single-post-wrap .single-post-title {
	font-size: 42px;
	line-height: 1.2;
	font-weight: 700;
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin-bottom: 16px;
}

.single-post-meta {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
	color: #6A7282;
}

.single-post-meta a {
	color: #4A7C4A;
	font-weight: 600;
}

.single-post-thumb {
	margin: 0 0 32px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.single-post-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content {
	max-width: 768px;
	margin: 0 auto;
}

.entry-content p {
	font-size: 16px;
	line-height: 1.5;
	color: #364153;
	margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin: 32px 0 16px;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
	color: #364153;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content blockquote {
	border-left: 4px solid #C8A84B;
	padding-left: 20px;
	margin: 0 0 24px;
	font-style: italic;
	color: #2C3B20;
}

.single-post-tags {
	max-width: 768px;
	margin: 0 auto 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.single-post-tags a {
	font-size: 12px;
	font-weight: 600;
	color: #2C3B20;
	background: #F0EDE6;
	border-radius: 4px;
	padding: 4px 12px;
}

.single-post-tags a:hover {
	background: #F0FDF4;
	color: #4A7C4A;
}

.post-navigation {
	max-width: 768px;
	margin: 0 auto 48px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid #E5E7EB;
	padding-top: 24px;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: #6A7282;
	margin-bottom: 4px;
}

.post-navigation .nav-title {
	font-size: 14px;
	font-weight: 600;
	color: #2C3B20;
}

.post-navigation .nav-previous {
	text-align: left;
}

.post-navigation .nav-next {
	text-align: right;
	margin-left: auto;
}

.related-posts-wrap {
	max-width: 1048px;
	margin: 0 auto;
	padding-top: 48px;
	border-top: 1px solid #E5E7EB;
}

.related-posts-wrap h3 {
	text-align: center;
	font-size: 30px;
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin-bottom: 32px;
}

.related-posts-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

/*-_-_Search_Form_-_-*/
.search-form {
	display: flex;
	gap: 8px;
	max-width: 480px;
	margin: 0 auto;
}

.search-form .search-field {
	flex: 1;
	border: 1px solid #E5E7EB;
	border-radius: 4px;
	padding: 10px 16px;
	font-size: 14px;
	color: #1A1A1A;
}

.search-form .search-field:focus {
	outline: none;
	border-color: #4A7C4A;
}

.search-form .search-submit {
	background: #4A7C4A;
	color: #FFFFFF;
	border: 0;
	border-radius: 4px;
	padding: 10px 20px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

.search-form .search-submit:hover {
	background: #2C3B20;
}

/*-_-_Comments_-_-*/
.comments-wrap {
	max-width: 768px;
	margin: 48px auto 0;
	border-top: 1px solid #E5E7EB;
	padding-top: 48px;
}

.comments-wrap .comments-title,
.comments-wrap .comment-reply-title {
	font-size: 24px;
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin-bottom: 24px;
}

.comment-list {
	margin: 0 0 32px;
}

.comment-list,
.comment-list .children {
	list-style: none;
}

.comment-list .children {
	margin-left: 40px;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid #E5E7EB;
}

.comment-meta .comment-author.vcard {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.comment-author .avatar {
	border-radius: 50%;
	width: 40px;
	height: 40px;
}

.comment-author .fn {
	font-weight: 600;
	color: #2C3B20;
	font-style: normal;
}

.comment-metadata {
	font-size: 12px;
	color: #6A7282;
	margin-bottom: 8px;
}

.comment-metadata a {
	color: inherit;
}

.comment-content p {
	font-size: 15px;
	color: #364153;
	margin-bottom: 12px;
}

.comment-reply-link,
.comment-form input[type="submit"] {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: #FFFFFF;
	background: #4A7C4A;
	border: 0;
	border-radius: 4px;
	padding: 8px 16px;
	cursor: pointer;
}

.comment-reply-link:hover,
.comment-form input[type="submit"]:hover {
	background: #2C3B20;
	color: #FFFFFF;
}

.comment-form p {
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #2C3B20;
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid #E5E7EB;
	border-radius: 4px;
	padding: 10px 16px;
	font-size: 14px;
}

.comment-awaiting-moderation {
	font-size: 13px;
	font-style: italic;
	color: #6A7282;
}

/*-_-_Sidebar / Widgets_-_-*/
.widget {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid #E5E7EB;
}

.widget-title {
	font-size: 18px;
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin-bottom: 16px;
}

/*-_-_404_-_-*/
.error-404-wrap {
	padding: 100px 0;
	text-align: center;
}

.error-404-wrap .error-404-code {
	font-size: 96px;
	font-weight: 700;
	font-family: "Merriweather", serif;
	color: #C8A84B;
	line-height: 1;
	margin-bottom: 16px;
}

.error-404-wrap .error-404-title {
	font-size: 30px;
	font-family: "Merriweather", serif;
	color: #1A1A1A;
	margin-bottom: 16px;
}

.error-404-wrap .error-404-desc {
	color: #6A7282;
	margin-bottom: 32px;
}

.error-404-wrap .error-404-home-link {
	background: #4A7C4A;
	color: #FFFFFF;
	border-radius: 4px;
	padding: 10px 24px;
	font-weight: 600;
	font-size: 14px;
}

.error-404-wrap .error-404-home-link:hover {
	background: #2C3B20;
}

.error-404-wrap .error-404-search {
	max-width: 480px;
	margin: 32px auto 0;
}

/*-_-_Responsiveness_-_-*/
@media only screen and (max-width: 991.5px) {
	.blog-listing-grid,
	.related-posts-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-header-wrap .page-header-title {
		font-size: 36px;
	}

	.single-post-wrap .single-post-title {
		font-size: 32px;
	}
}

@media only screen and (max-width: 767.5px) {
	.blog-listing-wrap {
		padding-bottom: 70px;
	}

	.blog-listing-grid,
	.related-posts-row {
		grid-template-columns: 1fr;
	}

	.page-header-wrap {
		padding: 48px 0 32px;
	}

	.page-header-wrap .page-header-title {
		font-size: 28px;
	}

	.single-post-wrap {
		padding: 48px 0 50px;
	}

	.single-post-wrap .single-post-title {
		font-size: 26px;
	}

	.post-navigation {
		flex-direction: column;
	}

	.post-navigation .nav-next {
		text-align: left;
		margin-left: 0;
	}

	.comment-list .children {
		margin-left: 16px;
	}
}
