/* [mmm_valikuabi] — valikulehtede riba esilehel. */
.mva {
	--mva-brand: #3D3C6C;
	--mva-ink: #2B2A4C;
	--mva-muted: #6B6A85;
	--mva-tile: #F3F2FA;
	--mva-line: #ECECF2;
	margin: 10px 0 30px;
}
.mva-head { margin-bottom: 16px; }
.mva-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mva-brand);
	background: var(--mva-tile);
	border-radius: 20px;
	padding: 3px 10px;
	margin-bottom: 8px;
}
.mva-h {
	margin: 0 0 4px;
	font-size: 26px;
	line-height: 1.25;
	color: var(--mva-ink);
}
.mva-lead { margin: 0; color: var(--mva-muted); font-size: 15px; }
.mva-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 14px;
}
.mva-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mva-line);
	border-radius: 12px;
	padding: 10px 10px 12px;
	color: var(--mva-ink);
	text-decoration: none;
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.mva-card:hover {
	border-color: #DCDAF0;
	box-shadow: 0 6px 18px rgba(61, 60, 108, .12);
	transform: translateY(-2px);
	color: var(--mva-ink);
}
.mva-media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--mva-tile);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 10px;
}
.mva-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.mva-title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	margin-bottom: 8px;
	flex: 1;
}
.mva-cta { font-size: 13px; font-weight: 600; color: var(--mva-brand); }

@media (max-width: 1024px) {
	.mva-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.mva-h { font-size: 21px; }
	.mva-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 15px;
		gap: 10px;
		margin: 0 -15px;
		padding: 2px 15px 8px;
		scrollbar-width: none;
	}
	.mva-grid::-webkit-scrollbar { display: none; }
	.mva-card { flex: 0 0 42%; scroll-snap-align: start; }
}
