/* Homepage — Góc sức khỏe */
.sanomart-health-corner {
	position: relative;
	z-index: 1;
	margin: 20px 0 28px;
	background: #fff;
	padding: 16px 0 24px;
	overflow: visible;
	clear: both;
}

.sanomart-health-corner__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.sanomart-health-corner__title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.sanomart-health-corner__icon {
	flex: 0 0 auto;
	line-height: 0;
}

.sanomart-health-corner__icon img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.sanomart-health-corner__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var( --sanomart-primary-dark, #1d2b6a );
	line-height: 1.25;
}

.sanomart-health-corner__view-all {
	color: var( --sanomart-primary-light, #4a5fc1 );
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	font-size: 14px;
}

.sanomart-health-corner__view-all span {
	font-size: 18px;
	line-height: 1;
	margin-left: 2px;
}

.sanomart-health-corner__panel {
	border: 1px solid #fbaf43;
	border-radius: 12px;
	padding: 16px;
	background: #fff;
	overflow: visible;
}

.sanomart-health-corner__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.sanomart-health-corner__featured,
.sanomart-health-corner__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.sanomart-health-corner__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sanomart-health-corner__card-link--row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sanomart-health-corner__media,
.sanomart-health-corner__thumb {
	flex: 0 0 auto;
	overflow: hidden;
	border-radius: 4px;
	background: #e8e8e8;
}

.sanomart-health-corner__media {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.sanomart-health-corner__thumb {
	width: 112px;
	height: 84px;
}

.sanomart-health-corner__image {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.sanomart-health-corner__body {
	flex: 1 1 auto;
	min-width: 0;
}

.sanomart-health-corner__card-title {
	margin: 10px 0 6px;
	font-size: 1rem;
	font-weight: 700;
	color: var( --sanomart-primary-dark, #1d2b6a );
	line-height: 1.35;
}

.sanomart-health-corner__card--compact .sanomart-health-corner__card-title {
	margin: 0 0 4px;
	font-size: 0.9375rem;
}

.sanomart-health-corner__excerpt {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #333;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sanomart-health-corner__card--featured .sanomart-health-corner__excerpt {
	-webkit-line-clamp: 4;
}

.sanomart-health-corner__card--compact .sanomart-health-corner__excerpt {
	-webkit-line-clamp: 3;
	font-size: 0.8125rem;
}

/* ≥768px: 2 cột bằng chiều cao, card chia đều trong từng cột */
@media (min-width: 768px) {
	.sanomart-health-corner {
		padding: 20px 0 28px;
		margin: 24px 0 32px;
	}

	.sanomart-health-corner__title {
		font-size: 1.5rem;
	}

	.sanomart-health-corner__panel {
		padding: 20px 24px;
	}

	.sanomart-health-corner__grid {
		grid-template-columns: minmax( 0, 1fr ) minmax( 0, 1.6fr );
		gap: 24px;
		align-items: stretch;
	}

	.sanomart-health-corner__featured {
		display: grid;
		grid-template-rows: repeat( 2, minmax( 0, 1fr ) );
		gap: 16px;
		height: 100%;
	}

	.sanomart-health-corner__list {
		display: grid;
		grid-template-rows: repeat( 6, minmax( 0, 1fr ) );
		gap: 12px;
		height: 100%;
	}

	.sanomart-health-corner__card--featured,
	.sanomart-health-corner__card--compact {
		display: flex;
		flex-direction: column;
		height: 100%;
		min-height: 0;
	}

	.sanomart-health-corner__card-link {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.sanomart-health-corner__card-link--row {
		flex-direction: row;
		align-items: stretch;
		height: 100%;
	}

	.sanomart-health-corner__card--featured .sanomart-health-corner__excerpt,
	.sanomart-health-corner__card--compact .sanomart-health-corner__excerpt {
		flex: 1 1 auto;
	}

	.sanomart-health-corner__thumb {
		width: 120px;
		min-height: 90px;
		align-self: stretch;
	}

	.sanomart-health-corner__body {
		display: flex;
		flex-direction: column;
		height: 100%;
	}
}
