/* MEGH Blog Widget CSS */
.megh-blog-wrapper {
	font-family: var(--e-global-typography-primary-font-family), "Inter", "Helvetica Neue", Arial, sans-serif;
	color: #333;
}

/* Featured Post */
.megh-blog-featured {
	display: flex;
	gap: 40px;
	margin-bottom: 50px;
	align-items: center;
}

.megh-blog-featured .megh-blog-img-wrapper {
	width: 45%;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
}

.megh-blog-featured .megh-blog-img-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4 / 5;
}

.megh-blog-featured .megh-blog-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.megh-blog-featured .megh-blog-title {
	font-size: 38px;
	font-weight: 300;
	line-height: 1.2;
	color: #222;
	margin-bottom: 25px;
	margin-top: 0;
}

.megh-blog-featured .megh-blog-excerpt {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 30px;
}

.megh-blog-featured .megh-blog-read-more {
	font-size: 14px;
	font-weight: 600;
	color: #1b2f70; /* Navy blue para link */
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.megh-blog-featured .megh-blog-read-more:hover {
	color: #0b153b;
}

/* Grid Posts */
.megh-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.megh-blog-card {
	display: flex;
	flex-direction: column;
}

.megh-blog-card .megh-blog-img-wrapper {
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 20px;
}

.megh-blog-card .megh-blog-img-wrapper img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.megh-blog-card .megh-blog-title {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.3;
	color: #333;
	margin-top: 0;
	margin-bottom: 15px;
}

.megh-blog-card .megh-blog-excerpt {
	font-size: 15px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1; /* Empurra o leia mais para o fim */
}

.megh-blog-card .megh-blog-read-more {
	font-size: 14px;
	font-weight: 600;
	color: #1b2f70; /* Navy blue */
	text-decoration: none;
}

.megh-blog-card .megh-blog-read-more:hover {
	color: #0b153b;
}

/* Responsive */
@media (max-width: 991px) {
	.megh-blog-featured {
		flex-direction: column;
		gap: 20px;
	}
	.megh-blog-featured .megh-blog-img-wrapper,
	.megh-blog-featured .megh-blog-content {
		width: 100%;
	}
	.megh-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.megh-blog-grid {
		grid-template-columns: 1fr;
	}
	.megh-blog-featured .megh-blog-title {
		font-size: 28px;
	}
}
