.lf-terkep {
	--lf-t-pont: var(--e-global-color-primary, #c8102e);
	--lf-t-pont-hover: var(--e-global-color-lf_red_hover, #a50d26);
	--lf-t-ink: var(--e-global-color-accent, #1f2a2e);
	--lf-t-line: var(--e-global-color-lf_line, #e3ded6);
	--lf-t-megye: #f6f2ec;
	--lf-t-megye-hover: #efe8de;
	--lf-t-viz: #cfe1e8;
	--lf-t-folyo: #b3cfda;
	--lf-t-hatter: var(--e-global-color-lf_white, #ffffff);
	margin: 0;
	position: relative;
	width: 100%;
}

.lf-terkep__vaszon {
	position: relative;
	width: 100%;
	aspect-ratio: 970 / 618;
	overflow: hidden;
	border-radius: 22px;
	border: 1px solid var(--lf-t-line);
	background: var(--lf-t-hatter);
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.lf-terkep__vaszon.is-zoomed { touch-action: none; cursor: grab; }
.lf-terkep__vaszon.is-dragging { cursor: grabbing; }

.lf-terkep__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.lf-terkep__zoom { transform-origin: 0 0; }

.lf-terkep__orszag-alap { fill: var(--lf-t-megye); }

.lf-terkep__megyek path {
	fill: var(--lf-t-megye);
	stroke: #ffffff;
	stroke-width: 1.4;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	transition: fill .2s ease;
}
.lf-terkep__megyek path:hover { fill: var(--lf-t-megye-hover); }

.lf-terkep__folyo {
	fill: none;
	stroke: var(--lf-t-folyo);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

.lf-terkep__to {
	fill: var(--lf-t-viz);
	stroke: var(--lf-t-folyo);
	stroke-width: .8;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

.lf-terkep__orszag {
	fill: none;
	stroke: var(--lf-t-ink);
	stroke-opacity: .55;
	stroke-width: 1.6;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

.lf-terkep__pont {
	fill: var(--lf-t-pont);
	fill-opacity: .88;
	stroke: #ffffff;
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
	cursor: pointer;
	transition: fill .15s ease, fill-opacity .15s ease;
}
.lf-terkep__pont:hover,
.lf-terkep__pont.is-active {
	fill: var(--lf-t-pont-hover);
	fill-opacity: 1;
	stroke-width: 2.5;
}

.lf-terkep__tooltip {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	transform: translate(-50%, calc(-100% - 12px));
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--lf-t-ink);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.lf-terkep__tooltip::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 10px;
	height: 10px;
	background: inherit;
	transform: translateX(-50%) rotate(45deg);
	border-radius: 2px;
	z-index: -1;
}

.lf-terkep__vezerlok {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lf-terkep .lf-terkep__gomb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--lf-t-line);
	border-radius: 12px;
	background: #ffffff;
	color: var(--lf-t-ink);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.lf-terkep .lf-terkep__gomb:hover,
.lf-terkep .lf-terkep__gomb:focus-visible {
	background: var(--lf-t-ink);
	border-color: var(--lf-t-ink);
	color: #ffffff;
}
.lf-terkep .lf-terkep__gomb:focus-visible { outline: 2px solid var(--lf-t-pont); outline-offset: 2px; }
.lf-terkep .lf-terkep__gomb[hidden] { display: none; }

.lf-terkep__lab {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin-top: 10px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--lf-t-ink);
}
.lf-terkep__sugo { opacity: .7; }
.lf-terkep__sugo-erinto { display: none; }
@media (hover: none) and (pointer: coarse) {
	.lf-terkep__sugo-eger { display: none; }
	.lf-terkep__sugo-erinto { display: inline; }
}

.lf-terkep__forras { opacity: .5; font-size: 11px; }

.lf-terkep__lista {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.lf-terkep__vaszon { border-radius: 16px; }
	.lf-terkep__vezerlok { right: 8px; top: 8px; }
	.lf-terkep .lf-terkep__gomb { width: 34px; height: 34px; font-size: 20px; }
	.lf-terkep__tooltip { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.lf-terkep__megyek path, .lf-terkep__pont { transition: none; }
}
