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

#blog-container .col-md-4 {
	display: flex;
	margin-bottom: 24px;
}

#blog-container .animate-box {
	opacity: 1 !important;
}

/* Card container */
#blog-container .blog-card  {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

/* Hover effect */
#blog-container .blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    cursor: pointer;
}

/* Image */
#blog-container .blog-card  img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

/* Content */
#blog-container .blog-card  .desc {
	padding: 20px;

	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Title */
#blog-container .blog-card  h3 {
	font-size: 18px;
	margin-bottom: 10px;
	min-height: 50px;
	line-height: 1.3;
}

/* Title link */
#blog-container .blog-card  h3 a {
	color: #333;
	text-decoration: none;
    font-weight: 500;
}

#blog-container .blog-card  h3 a:hover {
	color: #ffc300;
}

/* Date */
#blog-container .blog-card  p:first-of-type {
	font-size: 13px;
	color: #999;
	margin-bottom: 10px;
}

#blog-container .blog-content {
    padding: 16px;
}

/* Excerpt */
#blog-container .blog-card  p {
	font-size: 14px;
	color: #666;
	line-height: 1.5;

	/* limit lines */
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Optional: push content nicely */
#blog-container .blog-card  .desc p:last-child {
	margin-top: auto;
}

/* ===== OPTIONAL BUTTON STYLE ===== */

#blog-container .read-more-btn {
	margin-top: 15px;
	display: inline-block;
	font-size: 14px;
	color: #ffc300;
	text-decoration: none;
}

#blog-container .read-more-btn:hover {
	text-decoration: underline;
}