/* =========================================================
   BLOG GRID
========================================================= */

.blog-section {
	padding: 80px 0;
	background: var(--gray-bg);
}

.blog-section .section-header {
	max-width: 800px;
	margin: 0 auto 45px;
	text-align: center;
}


/* Grid */

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


/* Card */

.blog-card {
	display: flex;
	flex-direction: column;

	min-width: 0;

	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;

	box-shadow: var(--shadow);
	transition: var(--transition);
}

.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}


/* Image */

.blog-card__image {
	display: block;
	height: 250px;
	overflow: hidden;
}

.blog-card__image img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform .4s ease;
}

.blog-card:hover .blog-card__image img {
	transform: scale(1.05);
}


/* Content */

.blog-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;

	padding: 25px;
}


/* Date */

.blog-card__date {
	display: flex;
	align-items: center;
	gap: 7px;

	margin-bottom: 12px;

	color: var(--text-light);
	font-size: 13px;
}

.blog-card__date i {
	color: var(--green);
}


/* Title */

.blog-card__title {
	margin: 0 0 12px;

	font-size: 21px;
	line-height: 1.35;
}

.blog-card__title a {
	color: inherit;
	text-decoration: none;

	transition: var(--transition);
}

.blog-card__title a:hover {
	color: var(--green);
}


/* Excerpt */

.blog-card__excerpt {
	margin-bottom: 20px;

	color: var(--text-light);
	font-size: 14px;
	line-height: 1.65;
}

.blog-card__excerpt p {
	margin: 0;
}


/* Read More */

.blog-card__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 9px;

	margin-top: auto;

	color: var(--green);

	font-size: 14px;
	font-weight: 600;

	text-decoration: none;
}

.blog-card__link i {
	font-size: 11px;

	transition: transform .25s ease;
}

.blog-card__link:hover i {
	transform: translateX(4px);
}


/* Pagination */

.blog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;

	margin-top: 45px;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 42px;
	height: 42px;
	padding: 0 12px;

	background: var(--white);
	border-radius: 8px;

	color: var(--text);
	font-size: 14px;
	font-weight: 600;

	text-decoration: none;

	box-shadow: var(--shadow);
	transition: var(--transition);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
	background: var(--green);
	color: var(--white);
}


/* Tablet */

@media (max-width: 1024px) {

	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* Mobile */

@media (max-width: 768px) {

	.blog-section {
		padding: 60px 0;
	}

	.blog-section .section-header {
		margin-bottom: 30px;
	}

	.blog-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.blog-card__image {
		height: 220px;
	}

}
.single-post .blog-single .faq-section > .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}
/* ========================================
   BLOG SINGLE
======================================== */

.blog-single-section {
	padding: 50px 0 80px;
	background: #fff;
}

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) 350px;
	gap: 40px;
	align-items: start;
}

.blog-single {
	min-width: 0;
}


/* Featured image */

.blog-single__featured {
	margin-bottom: 20px;
}

.blog-featured-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}


/* Date */

.blog-date-badge {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 25px;
	font-size: 14px;
	color: #6b6b6b;
}

.blog-date-badge i {
	color: #43a047;
}

.blog-date-badge time {
	font-weight: 600;
	color: #222;
}


/* Content */

.blog-single__content {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.blog-single__content p {
	margin: 0 0 18px;
}

.blog-single__content h2 {
	margin: 35px 0 15px;
	padding: 0;
}

.blog-single__content h3 {
	margin: 30px 0 15px;
}

.blog-single__content ul,
.blog-single__content ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.blog-single__content a {
	color: #43a047;
	text-decoration: none;
	font-weight: 600;
}

.blog-single__content a:hover {
	text-decoration: underline;
}


/* ========================================
   AUTHOR
======================================== */

.author-box {
	background: #fafafa;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	padding: 28px 32px;
	margin: 40px 0;
}

.author-box__label {
	font-family: 'Barlow', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #1f4a2b;
	margin: 0 0 16px;
}

.author-box__top {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.author-box__avatar {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.author-box__content {
	flex: 1;
	min-width: 0;
}

.author-box__name {
	font-family: 'Barlow', sans-serif;
	font-weight: 700;
	font-size: 18px;
	margin: 0 0 4px;
}

.author-box__name a {
	color: #2f6b3f;
	text-decoration: underline;
}

.author-box__title {
	font-size: 14px;
	color: #6b6b6b;
	margin: 0 0 12px;
}

.author-box__desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #1a1a1a;
	margin: 0 0 14px;
}

.author-box__desc p:last-child {
	margin-bottom: 0;
}

.author-box__social {
	display: flex;
	gap: 10px;
}

.author-box__social a {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid #e6e6e6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2f6b3f;
	text-decoration: none;
	transition: .2s ease;
}

.author-box__social a:hover {
	background: #2f6b3f;
	color: #fff;
}


/* ========================================
   LATEST ARTICLES
======================================== */

.blog-sidebar {
	position: sticky;
	top: 120px;
}

.sidebar-widget {
	background: #fff;
	border-radius: 16px;
	padding: 25px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.sidebar-widget h3 {
	margin: 0 0 25px;
	font-size: 28px;
}

.latest-post {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
	text-decoration: none;
}

.latest-post:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.latest-post__image {
	width: 200px;
	height: 80px;
	flex: 0 0 90px;
	object-fit: cover;
	border-radius: 10px;
}

.latest-post__content {
	min-width: 0;
}

.latest-post h4 {
	margin: 0 0 5px;
	font-size: 15px;
	line-height: 1.4;
	color: #111;
}

.latest-post span {
	font-size: 13px;
	color: #777;
}


/* ========================================
   FLEX INSIDE ARTICLE
======================================== */

.single-post .blog-single .faq-section {
	margin-top: 30px;
}

.single-post .blog-single .faq-section > .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 991px) {

	.blog-layout {
		grid-template-columns: 1fr;
	}

	.blog-sidebar {
		position: static;
		order: 2;
	}

	.blog-single {
		order: 1;
	}

}

@media (max-width: 575px) {

	.blog-single-section {
		padding: 35px 0 60px;
	}

	.author-box {
		padding: 20px;
	}

	.author-box__top {
		flex-direction: column;
		align-items: center;
	}

	.sidebar-widget {
		padding: 20px;
	}

	.sidebar-widget h3 {
		font-size: 24px;
	}

}