/* MMI Feature — single section, tight spacing (ReHub / Elementor) */

.elementor-widget-shortcode:has(.mmi-feature-news) {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

.elementor-widget-shortcode .mmi-feature-news {
	margin: 0;
	padding: 0;
	width: 100%;
}

.mmi-feature-news {
	box-sizing: border-box;
	font-family: inherit;
}

.mmi-feature-news__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 10px;
	padding: 0;
}

.mmi-feature-news__title {
	margin: 0;
	padding: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.mmi-feature-news__view-all {
	font-size: 1.1rem;
	font-weight: 700;
	color: #d32f2f;
	text-decoration: none;
	white-space: nowrap;
}

.mmi-feature-news__view-all:hover {
	text-decoration: underline;
}

.mmi-feature-news__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
}

.mmi-feature-news__card {
	display: flex;
	flex-direction: column;
	margin: 0;
	border: 1px solid #e8e8e8;
	border-radius: 2px;
	background: #fff;
	overflow: hidden;
	min-width: 0;
}

.mmi-feature-news__image-link {
	display: block;
	margin: 0;
	padding: 0;
	aspect-ratio: 4 / 0;
	overflow: hidden;
	background: #f4f4f4;
	line-height: 0;
}

.mmi-feature-news__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mmi-feature-news__body {
	padding: 8px 10px 10px;
	margin: 0;
}

.mmi-feature-news__meta {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	margin: 0 0 4px;
	font-size: 0.72rem;
	color: #777;
}

.mmi-feature-news__card-title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.3;
}

.mmi-feature-news__card-title a {
	color: #111;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mmi-feature-news__card-title a:hover {
	color: #d32f2f;
}

@media (max-width: 767px) {
	.mmi-feature-news__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
