/* Wrapper */

/* Grid Layout */
.jalabi-latest-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Each Post Card */
.jalabi-latest-posts__grid .jalabi-latest-posts__post {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease;
}

/* Thumbnail */
.jalabi-latest-posts__media a img {
	width: 100%;
	height: 250px;
	display: block;
	border-radius: 12px;
	margin-bottom: 9px;
	object-fit: cover;
}

/* Content */
.jalabi-latest-posts__content {
	gap: 20px;
	padding: 16px;
	border-radius: 12px;
	background-color: #2231740d;
}

/* Meta (Category + Date) */
.jalabi-latest-posts__meta {
	font-size: 16px;
	color: #717680 !important;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 30px;
}
.jalabi-latest-posts__meta {
}
.jalabi-latest-posts__meta div {
	display: flex;
	align-items: center;
	gap: 9px;
}
.jalabi-latest-posts__meta .author a {
	color: #717680 !important;
}
.jalabi-latest-posts__category {
	font-weight: bold;
	margin-right: 10px;
	color: #151515;
}

.jalabi-latest-posts__date {
	color: #999;
}

/* Title */
h3.jalabi-latest-posts__title {
	line-height: 1.5em;
	font-size: 20px !important;
	font-weight: 500;
}
.jalabi-latest-posts__title a {
	color: #191919;
	text-decoration: none;
}

.jalabi-latest-posts__title a:hover {
	color: #223174;
}

/* Excerpt */
.jalabi-latest-posts__excerpt {
	font-size: 14px;
	line-height: 1.3;
	color: #717680;
	flex-grow: 1;
	margin: 4px 0 12px 0;
}

/* Read More Button */
.jalabi-latest-posts__read-more {
	display: flex;
	align-items: center;
	color: #223174;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
}

.jalabi-latest-posts__read-more:hover {
	color: #223174d5;
}
.jalabi-latest-posts__read-more svg {
	transition: 0.2s ease;
}
.jalabi-latest-posts__read-more:hover svg {
	transform: rotate(45deg);
}

/* Responsive Brejalabipoints */

/* Tablet */
@media (max-width: 991px) {
	.jalabi-latest-posts-grid .jalabi-latest-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 575px) {
	.jalabi-latest-posts-grid .jalabi-latest-posts__grid {
		grid-template-columns: 1fr;
	}
	.jalabi-latest-posts__content {
		flex: 1;
		display: flex;
		gap: 10px;
		flex-direction: column;
	}
	.jalabi-latest-posts__media {
		margin-bottom: 10px !important;
	}
}
/* feature image's margin bottom */

.jalabi-latest-posts__media {
	margin-bottom: 8px;
}
