/* ===== Card ===== */
.mk-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: min(100%, 384px);
	min-width: 320px;
	background: #ffffff;
	border: 1px solid #e4e7ec;
	border-radius: 16px;
	overflow: hidden;
}

/* Image */
.mk-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 384/240; /* 1.6 */
	overflow: hidden;
}
.mk-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Content */
.mk-card__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 24px;
}

/* Head group */
.mk-card__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Subheading */
.mk-card__sub {
	margin: 0;
	font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(13px, 1.2vw, 14px);
	line-height: clamp(18px, 1.6vw, 20px);
	color: #85888e;
}

/* Title */
.mk-card__title {
	margin: 0;
	font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(20px, 2.2vw, 24px);
	line-height: clamp(28px, 3vw, 32px);
	color: #101828;
}

/* Supporting text */
.mk-card__text {
	margin: 0;
	font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.8vw, 16px);
	line-height: clamp(22px, 2.6vw, 24px);
	color: #475467;
}

/* CTA (link-style button) */
.mk-card__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 20px; /* визуальная метка из фигмы */
	font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(13px, 1.6vw, 14px);
	line-height: clamp(18px, 2vw, 20px);
	color: #960048;
	text-decoration: none;
	cursor: pointer;
}
.mk-card__cta:hover {
	text-decoration: underline;
}

/* ----- Optional small tweaks for very narrow screens ----- */
@media (max-width: 360px) {
	.mk-card {
		min-width: 0;
	}
	.mk-card__content {
		padding: 20px;
	}
}
