.emlszc {
	--emlszc-cols: 3;
	--emlszc-gap: 24px;
	--emlszc-radius: 18px;
	--emlszc-title-size: 27px;
	--emlszc-caption-size: 23px;
	--emlszc-card-bg: #FFFDFC;
	--emlszc-caption-color: #1f2430;
	--emlszc-cta-bg: #d89a72;
	--emlszc-cta-hover: #C77D56;
	--emlszc-cta-color: #ffffff;
	--emlszc-focus: #1f2430;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 16px 4px;
	box-sizing: border-box;
}

.emlszc *,
.emlszc *::before,
.emlszc *::after {
	box-sizing: border-box;
}

.emlszc-title {
	text-align: center;
	margin: 0 0 22px;
	font-weight: 700;
	line-height: 1.2;
	font-size: var(--emlszc-title-size);
}

/* Track: telefonon vízszintes, snap-pel csúsztatható slider */
.emlszc-track {
	display: flex;
	gap: var(--emlszc-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding: 4px 4px 10px;
	margin: 0 -4px;
	scrollbar-width: none;
}

.emlszc-track::-webkit-scrollbar {
	display: none;
}

.emlszc-card {
	flex: 0 0 82%;
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.emlszc-media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: var(--emlszc-radius);
	overflow: hidden;
	background: #f1f1f3;
}

.emlszc-img,
.emlszc-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.emlszc-card:hover .emlszc-img,
.emlszc-card:hover .emlszc-media img {
	transform: scale(1.03);
}

.emlszc-caption {
	display: block;
	text-align: center;
	margin-top: 14px;
	font-weight: 600;
	font-size: var(--emlszc-caption-size);
	line-height: 1.3;
	color: var(--emlszc-caption-color);
	background: var(--emlszc-card-bg);
	border-radius: 14px;
	padding: 16px 14px;
	box-shadow: 0 6px 20px rgba(20, 24, 35, .06);
}

/* Pöttyök: csak telefonon */
.emlszc-dots {
	display: flex;
	justify-content: center;
	gap: 9px;
	margin-top: 18px;
}

.emlszc-dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #cfd3dc;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.emlszc-dot.is-active {
	background: #5b6472;
	transform: scale(1.25);
}

.emlszc-dot:focus-visible {
	outline: 2px solid #5b6472;
	outline-offset: 2px;
}

/* CTA gomb */
.emlszc-cta {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.emlszc-cta a {
	display: inline-block;
	background: var(--emlszc-cta-bg);
	color: var(--emlszc-cta-color);
	padding: 14px 28px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: .01em;
	transition: filter .2s ease;
}

.emlszc-cta a:hover {
	background: var(--emlszc-cta-hover);
	color: var(--emlszc-cta-color);
}

.emlszc-cta a:focus-visible {
	outline: 2px solid transparent;
	outline-offset: 3px;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--emlszc-focus);
}

/* Asztali nézet: rács, pöttyök elrejtve, egyszerű felirat */
@media (min-width: 782px) {
	.emlszc-track {
		display: grid;
		grid-template-columns: repeat(var(--emlszc-cols), 1fr);
		gap: 32px var(--emlszc-gap);
		overflow: visible;
		scroll-snap-type: none;
		padding: 4px;
		margin: 0;
	}

	.emlszc-card {
		flex: none;
	}

	.emlszc-dots {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.emlszc-track {
		scroll-behavior: auto;
	}
	.emlszc-img,
	.emlszc-media img {
		transition: none;
	}
}
