.custom-blog-grid-wrap {
	width: 100%;
	overflow: hidden;
}

.custom-blog-grid-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.custom-blog-card {
	width: 100%;
}

.custom-blog-thumb {
	width: 100%;
	max-width: 434px;
	height: 525px;
	display: block;
	overflow: hidden;
	position: relative;
	background: #f2f2f2;
}

.custom-blog-thumb img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
	transition: transform 0.6s ease;
	display: block;
}

.content_wrapper .custom-blog-grid-wrap .custom-blog-thumb img,
.custom-blog-grid-wrap .custom-blog-thumb > img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
}

.custom-blog-card:hover .custom-blog-thumb img {
	transform: scale(1.08);
}

.custom-blog-content {
	padding-top: 18px;
}

.custom-blog-title {
	text-decoration: none;
	color: inherit;
}

.custom-blog-title h4 {
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.custom-blog-excerpt {
	text-decoration: none;
	color: #777;
	font-size: 16px;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

@media (max-width: 991px) {
	.custom-blog-grid-wrap {
		overflow-x: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 10px;
	}

	.custom-blog-grid-wrap::-webkit-scrollbar {
		display: none;
	}

	.custom-blog-grid-track {
		display: flex;
		gap: 18px;
		width: max-content;
	}

	.custom-blog-card {
		width: 335px;
		min-width: 335px;
	}

	.custom-blog-thumb {
		width: 335px;
		height: 405px;
		max-width: none;
	}

	.custom-blog-title h4 {
		font-size: 22px;
	}
}
