/* Wrapper */

/* Grid Layout */
.ak-latest-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Each Post Card */
.ak-latest-posts__grid .ak-latest-posts__post {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease;
}

/* Thumbnail */
.ak-latest-posts__media img {
	width: 100%;
	height: auto;
	display: block;
}

/* Content */
.ak-latest-posts__content {
	flex: 1;
	display: flex;
	gap: 20px;
	flex-direction: column;
}

/* Meta (Category + Date) */
.ak-latest-posts__meta {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ak-latest-posts__category {
	font-weight: bold;
	margin-right: 10px;
	color: #151515;
}

.ak-latest-posts__date {
	color: #999;
}

/* Title */
h3.ak-latest-posts__title {
	line-height: 1.5em;
	font-size: 20px !important;
	font-weight: 500;
	color: #242f35 !important;
}
.ak-latest-posts__title a {
	color: #242f35;
	text-decoration: none;
}

.ak-latest-posts__title a:hover {
	color: #7e6a4f;
}

/* Excerpt */
.ak-latest-posts__excerpt {
	font-size: 16px;
	line-height: 1.5;
	color: #242f35;
	flex-grow: 1;
}

/* Read More Button */
.ak-latest-posts__read-more {
	display: flex;
	align-items: center;
	color: #242F35;
	text-decoration: underline !important;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 400;
	transition: all 0.3s ease;
	align-self: flex-start;
}

.ak-latest-posts__read-more:hover {
	color: #7e6a4f;
}
.ak-latest-posts__read-more:hover svg {
	color: #7e6a4f;
	transform: translateX(5px);
}

/* Responsive Breakpoints */

/* Tablet */
@media (max-width: 991px) {
	.ak-latest-posts-grid .ak-latest-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 575px) {
	.ak-latest-posts-grid .ak-latest-posts__grid {
		grid-template-columns: 1fr;
	}
	.ak-latest-posts__content {
		flex: 1;
		display: flex;
		gap: 10px;
		flex-direction: column;
	}
	.ak-latest-posts__media {
		margin-bottom: 10px !important;
	}
}
/* feature image's margin bottom */

.ak-latest-posts__media {
	margin-bottom: 20px;
}
