.post_categories {
	display: grid;
	grid-auto-flow: column; /* layout in columns */
	grid-auto-columns: minmax(200px, 1fr);
	gap: 24px;
	overflow-y: hidden;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0;
	margin: 0;
	border: none;
}
.post_categories::-webkit-scrollbar {
	height: 6px; /* optional: customize scrollbar */
}
.post_categories::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 3px;
}

.post_categories .category_item {
	min-height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: none;
	background-color: #f2f6ef;
	border-radius: 20px;
	padding: 15px;
	gap: 10px;
	color: #6a8466;
	font-family: "Lato", Sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
}
.post_categories .category_item.active {
	background-color: #4b6b47;
	color: #ffffff;
}
.post_categories .category_item img,
.post_categories .category_item svg {
	display: inline-flex;
	width: auto;
	min-height: 60px;
	max-height: 60px;
}
.category_post_content_wrap {
	margin-top: 40px;
	width: 100%;
}
.category_post {
	display: flex;
	gap: 24px;
	width: 100%;
	height: 400px;
	background-color: #4b6b47;
	border-radius: 25px;
	overflow: hidden;
}
.category_post .category_post_thumb,
.category_post .category_post_content {
	width: calc(50% - 12px);
}
.category_post .category_post_thumb img,
.category_post .category_post_thumb a {
	display: flex;
	width: 100%;
	height: 100%;
}
.category_post .category_post_thumb img {
	object-fit: cover;
}
.category_post .category_post_content {
	align-self: center;
	padding: 15px;
}
.category_post .category_post_content .title {
	font-family: "Montserrat", Sans-serif;
	font-weight: 700;
	font-size: 31px;
	line-height: 1.2;
	color: #ffffff;
	margin: 0;
}
.category_post .category_post_content .title a {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	transition: all 0.4s ease-in-out 0s;
}
.category_post .category_post_content .excerpt {
	font-family: "Lato", Sans-serif;
	font-weight: 400;
	font-size: 20px;
	line-height: 1.2;
	color: #ffffff;
	margin-top: 25px;
}
.category_post .category_post_content .ss_btn {
	margin-top: 20px;
}
.ss_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #93b17a;
	border-radius: 12px;
	font-family: "Lato", Sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	color: #ffffff;
	padding: 20px 30px;
	text-transform: capitalize;
	transition: all 0.4s ease-in-out 0s;
}
.ss_btn:hover {
	background-color: #93b17a;
	color: #ffffff;
}

@media only screen and (max-width: 1386px) {
	.post_categories {
		padding-bottom: 10px;
	}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.category_post .category_post_content .title {
		font-size: 28px;
	}
	.category_post .category_post_content .excerpt {
		font-size: 18px;
		margin-top: 20px;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.category_post {
		flex-wrap: wrap;
		height: auto;
	}
	.category_post .category_post_thumb,
	.category_post .category_post_content {
		width: 100%;
	}
	.category_post .category_post_content {
		padding: 0 20px 30px 20px;
	}
	.ss_btn {
		font-size: 18px;
		padding: 18px 30px;
	}
}
@media only screen and (max-width: 767px) {
	.post_categories {
		grid-auto-columns: minmax(183px, 1fr);
	}
	.post_categories .category_item {
		min-height: 145px;
		font-size: 18px;
	}
	.category_post_content_wrap {
		margin-top: 30px;
	}
	.category_post {
		flex-wrap: wrap;
		height: auto;
		gap: 30px;
	}
	.category_post .category_post_thumb,
	.category_post .category_post_content {
		width: 100%;
	}
	.category_post .category_post_content {
		padding: 0 20px 30px 20px;
	}
	.category_post .category_post_content .title {
		font-size: 22px;
	}
	.category_post .category_post_content .excerpt {
		font-size: 16px;
		margin-top: 15px;
	}
	.ss_btn {
		font-size: 16px;
		padding: 18px 30px;
		border-radius: 8px;
	}
}
