/* ══════════════════════════════════════
   Lazaegerszeg — Design System
   ══════════════════════════════════════ */

:root {
	--bg: #FAFAF8;
	--card: #FFFFFF;
	--text: #18181B;
	--text-soft: #71717A;
	--accent: #166534;
	--accent-mid: #22C55E;
	--accent-light: #F0FDF4;
	--amber: #B45309;
	--amber-light: #FFFBEB;
	--rule: #E4E4E7;
	--rule-light: #F4F4F5;
	--radius: 12px;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
	--shadow-md: 0 4px 16px rgba(0,0,0,0.06);
	--shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: 'Outfit', system-ui, -apple-system, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Icons ── */
.zeg-icon {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ── Animations ── */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
	0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.3); }
	50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── Layout ── */
.zeg-container {
	max-width: 680px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ── Topbar ── */
.zeg-topbar {
	background: var(--card);
	border-bottom: 1px solid var(--rule);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 0 32px;
	box-sizing: border-box;
}

.zeg-topbar-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: 72px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.zeg-topbar-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	margin-right: 32px;
}

.zeg-topbar-logo {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
}

@media (max-width: 960px) {
	.zeg-topbar-logo {
		width: 40px;
		height: 40px;
	}

	.zeg-topbar-name {
		font-size: 22px;
	}

	.zeg-topbar-inner {
		height: 64px;
	}
}

@media (max-width: 640px) {
	.zeg-topbar-logo {
		width: 32px;
		height: 32px;
	}

	.zeg-topbar-brand {
		gap: 10px;
		margin-right: 12px;
	}

	.zeg-topbar-name {
		font-size: 18px;
	}

	.zeg-topbar-district {
		font-size: 11px;
	}

	.zeg-topbar-inner {
		height: 56px;
	}
}

.zeg-topbar-brand-text {
	display: flex;
	flex-direction: column;
}

.zeg-topbar-name {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -1px;
	color: var(--text);
	line-height: 1.1;
}

.zeg-topbar-district {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-soft);
	letter-spacing: 0.5px;
}

.zeg-topbar-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.zeg-topbar-issue {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 300;
	color: var(--text-soft);
	letter-spacing: 0.5px;
}

.zeg-topbar-add {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #2f95f6;
	color: #fff;
	font-family: 'Outfit', sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(47, 149, 246, 0.35);
	transition: background 0.2s, transform 0.15s;
}

.zeg-topbar-add:hover {
	background: #1a85eb;
	transform: translateY(-1px);
	color: #fff;
}

/* Topbar a hero fölött (főoldal) */
.zeg-topbar--hero {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom: none;
	z-index: 20;
}

.zeg-topbar--hero .zeg-topbar-name,
.zeg-topbar--hero .zeg-topbar-district {
	color: #fff;
}

.zeg-topbar--hero .zeg-topbar-district {
	opacity: 0.85;
}

.zeg-topbar--hero .zeg-nav-link {
	color: rgba(255, 255, 255, 0.92);
}

.zeg-topbar--hero .zeg-nav-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.zeg-topbar--hero .zeg-hamburger {
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	margin-left: auto;
}

.zeg-topbar--hero .zeg-hamburger svg {
	stroke: #18181b;
}

/* Desktop nav */
.zeg-nav-desktop {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.zeg-nav-list {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.zeg-nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.zeg-nav-list .sub-menu .zeg-nav-link {
	display: block;
	width: 100%;
}

.zeg-nav-item {
	position: relative;
}

.zeg-nav-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-soft);
	padding: 8px 14px;
	border-radius: 8px;
	transition: all 0.2s;
	text-decoration: none;
	border: none;
	background: none;
	cursor: pointer;
	font-family: 'Outfit', sans-serif;
	display: flex;
	align-items: center;
	gap: 4px;
}

.zeg-nav-link:hover {
	color: var(--text);
	background: var(--rule-light);
}

.zeg-nav-chevron {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s;
}

/* Dropdown */
.zeg-nav-dropdown {
	position: relative;
}

.zeg-nav-dropdown > .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: 0 12px 40px rgba(0,0,0,0.1);
	min-width: 220px;
	max-height: 70vh;
	overflow-y: auto;
	z-index: 200;
}

.zeg-nav-dropdown:hover > .sub-menu,
.zeg-nav-dropdown:focus-within > .sub-menu {
	display: block;
}

.zeg-dropdown-panel {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	box-shadow: 0 12px 40px rgba(0,0,0,0.1);
	min-width: 260px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 8px;
	z-index: 200;
}

.zeg-nav-dropdown:hover .zeg-dropdown-panel,
.zeg-nav-dropdown:focus-within .zeg-dropdown-panel {
	display: block;
}

.zeg-nav-dropdown:hover .zeg-nav-chevron {
	transform: rotate(180deg);
}

.zeg-dropdown-group {
	padding: 4px 0;
}

.zeg-dropdown-group + .zeg-dropdown-group {
	border-top: 1px solid var(--rule-light);
	margin-top: 4px;
	padding-top: 8px;
}

.zeg-dropdown-group-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text-soft);
	padding: 4px 10px 6px;
}

.zeg-dropdown-item {
	display: block;
	padding: 8px 10px;
	font-size: 13px;
	font-weight: 400;
	color: var(--text);
	border-radius: 6px;
	transition: all 0.15s;
	text-decoration: none;
}

.zeg-dropdown-item:hover {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-dropdown-footer {
	display: block;
	padding: 10px;
	margin-top: 4px;
	border-top: 1px solid var(--rule-light);
	font-size: 12px;
	font-weight: 500;
	color: var(--accent);
	text-decoration: none;
	transition: color 0.2s;
}

.zeg-dropdown-footer:hover {
	color: var(--text);
}

/* Hamburger */
.zeg-hamburger {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	margin-left: auto;
}

.zeg-hamburger svg {
	width: 22px;
	height: 22px;
	stroke: var(--text);
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
}

/* Mobile menu */
.zeg-mobile-menu {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--card);
	z-index: 500;
	overflow-y: auto;
	padding: 20px 24px;
}

.zeg-mobile-menu[hidden] {
	display: none !important;
}

.zeg-mobile-menu-inner {
	max-width: 400px;
	margin: 0 auto;
}

.zeg-mobile-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zeg-mobile-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 12px;
}

.zeg-mobile-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--rule-light);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	margin-left: auto;
	margin-bottom: 20px;
}

.zeg-mobile-close svg {
	width: 20px;
	height: 20px;
	stroke: var(--text);
	stroke-width: 2;
	fill: none;
	stroke-linecap: round;
}

.zeg-mobile-group {
	margin-bottom: 16px;
}

.zeg-mobile-group-label {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--text-soft);
	padding: 8px 0 4px;
}

.zeg-mobile-item {
	display: block;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid var(--rule-light);
}

.zeg-mobile-item:hover { color: var(--accent); }
.zeg-mobile-item-muted { color: var(--text-soft); font-weight: 400; }

body.zeg-mobile-open .zeg-mobile-menu {
	display: block;
}

body.zeg-mobile-open .zeg-mobile-menu[hidden] {
	display: block !important;
}

body.zeg-mobile-open { overflow: hidden; }

/* ── Masthead (belső oldalak) ── */
.zeg-masthead {
	text-align: center;
	padding: 16px 20px;
	position: relative;
}

.zeg-masthead::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20px;
	right: 20px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--text), transparent);
	opacity: 0.1;
}

.zeg-masthead-inner {
	max-width: 1120px;
	margin: 0 auto;
}

.zeg-masthead-place {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 300;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--text-soft);
}

/* ── Hero shell (főoldal, teljes szélességű fotó) ── */
.zeg-hero-shell {
	position: relative;
	min-height: 0;
	height: clamp(380px, 52vh, 560px);
	overflow: hidden;
}

/* POI gyűjtő: kisebb, fixebb hero */
.tax-poi_tipus .zeg-hero-shell,
.tax-poi_kategoria .zeg-hero-shell,
.post-type-archive-poi .zeg-hero-shell {
	height: clamp(240px, 28vh, 320px);
}

.tax-poi_tipus .zeg-hero,
.tax-poi_kategoria .zeg-hero,
.post-type-archive-poi .zeg-hero {
	padding-top: 88px;
	padding-bottom: 36px;
}

.tax-poi_tipus .zeg-hero-title,
.tax-poi_kategoria .zeg-hero-title,
.post-type-archive-poi .zeg-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	margin-bottom: 12px;
}

.tax-poi_tipus .zeg-hero-sub,
.tax-poi_kategoria .zeg-hero-sub,
.post-type-archive-poi .zeg-hero-sub {
	font-size: clamp(15px, 1.8vw, 18px);
	margin-bottom: 0;
}

/* Hely adatlap: dinamikus hero, szöveg mindig alul */
.single-poi .zeg-hero-shell {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 280px;
	overflow: hidden;
}

.single-poi .zeg-hero {
	margin-top: auto;
	height: auto;
	min-height: 0;
	align-items: flex-end;
	padding: 120px 32px 24px;
}

.single-poi .zeg-hero-inner {
	/* profilavatar (128) + rés — a tördelt cím ne lógjon rá */
	padding-left: calc(128px + 28px);
	box-sizing: border-box;
}

.single-poi .zeg-hero-issue {
	margin-bottom: 18px;
}

.single-poi .zeg-hero-title {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	margin-bottom: 14px;
	line-height: 1.12;
}

.single-poi .zeg-hero-sub {
	font-size: clamp(15px, 1.8vw, 18px);
	margin-bottom: 0;
}

/* ── Rejtett hero reveal: fehér lecsúszik → több cover látszik ── */
body.single-poi {
	--hero-reveal-distance: 0px;
	--hero-reveal-base: 280px;
	--hero-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--hero-reveal-out: 520ms;
	--hero-reveal-in: 300ms;
}

.single-poi .zeg-hero-bg-img {
	object-position: center center;
}

.zeg-hero-shell--reveal {
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	touch-action: pan-y;
	transition:
		min-height var(--hero-reveal-out) var(--hero-reveal-ease),
		margin-bottom var(--hero-reveal-out) var(--hero-reveal-ease);
}

/* Nyomva tartás aktív: ne vegye át a böngésző a függőleges gesztust */
.zeg-hero-shell--reveal.is-hero-holding {
	touch-action: none;
}

.single-poi .zeg-hero-shell--reveal {
	min-height: var(--hero-reveal-base);
}

.zeg-hero-shell--reveal .zeg-hero-bg-img {
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.zeg-hero-shell--reveal .zeg-topbar--hero {
	transition:
		transform var(--hero-reveal-out) var(--hero-reveal-ease),
		opacity var(--hero-reveal-out) ease;
	will-change: transform, opacity;
}

/* Overlay: két réteg opacity-keresztfáde (a gradient maga nem animálható) */
.zeg-hero-shell--reveal .zeg-hero-overlay {
	background: none;
}

.zeg-hero-shell--reveal .zeg-hero-overlay::before,
.zeg-hero-shell--reveal .zeg-hero-overlay::after {
	content: '';
	position: absolute;
	inset: 0;
	transition: opacity var(--hero-reveal-out) ease;
	pointer-events: none;
}

.zeg-hero-shell--reveal .zeg-hero-overlay::before {
	background: linear-gradient(
		105deg,
		rgba(8, 18, 32, 0.78) 0%,
		rgba(8, 18, 32, 0.55) 42%,
		rgba(8, 18, 32, 0.18) 72%,
		rgba(8, 18, 32, 0.08) 100%
	);
	opacity: 1;
}

.zeg-hero-shell--reveal .zeg-hero-overlay::after {
	background: linear-gradient(
		to top,
		rgba(8, 18, 32, 0.82) 0%,
		rgba(8, 18, 32, 0.45) 22%,
		rgba(8, 18, 32, 0.12) 42%,
		rgba(8, 18, 32, 0) 62%
	);
	opacity: 0;
}

.zeg-hero-shell--reveal .zeg-hero-sub--bc {
	transition:
		opacity 240ms ease,
		max-height var(--hero-reveal-out) var(--hero-reveal-ease),
		margin var(--hero-reveal-out) var(--hero-reveal-ease),
		padding var(--hero-reveal-out) var(--hero-reveal-ease);
	max-height: 4em;
	overflow: hidden;
}

.zeg-hero-shell--reveal .zeg-hero-inner {
	transition: transform var(--hero-reveal-out) var(--hero-reveal-ease);
	will-change: transform;
}

.single-poi .zeg-poi-avatar-bar {
	transition:
		transform var(--hero-reveal-out) var(--hero-reveal-ease),
		opacity var(--hero-reveal-out) ease;
	will-change: transform, opacity;
}

.single-poi .zeg-frontpage-shell {
	transition: transform var(--hero-reveal-out) var(--hero-reveal-ease);
	will-change: transform;
}

/* Aktív — megnyitás gyorsabb, képhez nem nyúlunk */
body.is-hero-revealed {
	--hero-reveal-out: var(--hero-reveal-in);
}

body.is-hero-revealed .zeg-hero-shell--reveal {
	min-height: calc(var(--hero-reveal-base) + var(--hero-reveal-distance));
	margin-bottom: calc(-1 * var(--hero-reveal-distance));
}

body.is-hero-revealed .zeg-hero-shell--reveal .zeg-topbar--hero {
	transform: translateY(-110%);
	opacity: 0;
	pointer-events: none;
}

/* Overlay: sima átmenet a két gradient között */
body.is-hero-revealed .zeg-hero-shell--reveal .zeg-hero-overlay::before {
	opacity: 0;
}

body.is-hero-revealed .zeg-hero-shell--reveal .zeg-hero-overlay::after {
	opacity: 1;
}

body.is-hero-revealed .zeg-hero-shell--reveal .zeg-hero-sub--bc {
	transform: none;
	opacity: 0;
	max-height: 0;
	margin: 0;
	pointer-events: none;
}

/* Szöveg balra a logó / tartalom vonaláig (avatar-padding visszavonása) */
body.is-hero-revealed .zeg-hero-shell--reveal .zeg-hero-inner {
	transform: translateX(calc(-1 * (128px + 28px)));
}

@media (max-width: 640px) {
	body.is-hero-revealed .zeg-hero-shell--reveal .zeg-hero-inner {
		transform: translateX(calc(-1 * (96px + 16px)));
	}
}

/* Profilkép: fehérrel le, közben távolodik (kisebb lesz) */
body.is-hero-revealed .zeg-poi-avatar-bar {
	transform: translateY(var(--hero-reveal-distance)) scale(0.38);
	opacity: 0;
	pointer-events: none;
	transform-origin: left center;
}

body.is-hero-revealed .zeg-frontpage-shell {
	transform: translateY(var(--hero-reveal-distance));
}

body.is-hero-revealed .zeg-poi-photo-edit {
	opacity: 0;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.zeg-hero-shell--reveal,
	.zeg-hero-shell--reveal .zeg-topbar--hero,
	.zeg-hero-shell--reveal .zeg-hero-overlay::before,
	.zeg-hero-shell--reveal .zeg-hero-overlay::after,
	.zeg-hero-shell--reveal .zeg-hero-inner,
	.zeg-hero-shell--reveal .zeg-hero-sub--bc,
	.single-poi .zeg-poi-avatar-bar,
	.single-poi .zeg-frontpage-shell {
		transition-duration: 0.01ms !important;
	}
}

.zeg-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.zeg-hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
}

.zeg-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(8, 18, 32, 0.78) 0%,
		rgba(8, 18, 32, 0.55) 42%,
		rgba(8, 18, 32, 0.18) 72%,
		rgba(8, 18, 32, 0.08) 100%
	);
}

.zeg-hero {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: flex-end;
	height: 100%;
	min-height: 0;
	padding: 100px 32px 48px;
}

.zeg-hero-inner {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.zeg-hero-issue {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 14px;
}

.zeg-hero-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(3rem, 7vw, 5rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -2px;
	margin-bottom: 20px;
}

.zeg-hero-title-accent {
	display: block;
	color: #fff;
}

.zeg-hero-title-rest {
	display: block;
	color: #fff;
}

.zeg-hero-sub {
	font-size: clamp(17px, 2.2vw, 22px);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.55;
	max-width: 640px;
	margin-bottom: 28px;
}

.zeg-hero-sub--bc {
	max-width: 900px;
}

.zeg-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-family: 'Outfit', sans-serif;
	font-size: clamp(14px, 1.5vw, 16px);
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.75);
}

.zeg-breadcrumbs a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.zeg-breadcrumbs a:hover {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.55);
}

.zeg-bc-sep {
	color: rgba(255, 255, 255, 0.35);
	user-select: none;
}

.zeg-breadcrumbs [aria-current="page"] {
	color: rgba(255, 255, 255, 0.65);
}

/* Facebook-szerű profilavatar a hero alján */
.zeg-poi-avatar-bar {
	position: relative;
	z-index: 15;
	/* fele a 128px avatárnak — a fehér keret kettévágja a hero határán */
	margin-top: -64px;
	padding: 0 32px;
	pointer-events: none;
}

.zeg-poi-avatar-inner {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.zeg-poi-avatar-wrap {
	position: relative;
	display: inline-block;
	vertical-align: top;
	pointer-events: auto;
}

.zeg-poi-avatar {
	width: 128px;
	height: 128px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	border: 4px solid #fff;
	box-shadow: 0 8px 28px rgba(8, 18, 32, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
}

.zeg-poi-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zeg-poi-avatar-fallback {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 48px;
	font-weight: 700;
	color: #142033;
	line-height: 1;
}

/* Kameraikon: borító + profilkép csere (tulaj / admin) — visszafogott */
.zeg-poi-photo-edit {
	position: absolute;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #ffffff33;
	border: none;
	box-shadow: none;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.85);
	pointer-events: auto;
	transition: background 160ms ease, color 160ms ease;
}

.zeg-poi-photo-edit:hover,
.zeg-poi-photo-edit:focus-within {
	background: #ffffff55;
	color: #fff;
	transform: none;
}

.zeg-poi-photo-edit.is-uploading {
	opacity: 0.45;
	pointer-events: none;
}

.zeg-poi-photo-edit-icon {
	width: 14px;
	height: 14px;
	display: block;
}

.zeg-poi-photo-edit--cover {
	right: 16px;
	bottom: 16px;
}

.zeg-poi-photo-edit--logo {
	right: 4px;
	bottom: 4px;
	width: 28px;
	height: 28px;
	color: rgba(20, 32, 51, 0.55);
	background: #ffffffaa;
}

.zeg-poi-photo-edit--logo:hover,
.zeg-poi-photo-edit--logo:focus-within {
	background: #ffffff;
	color: rgba(20, 32, 51, 0.85);
}

.zeg-poi-photo-edit--logo .zeg-poi-photo-edit-icon {
	width: 12px;
	height: 12px;
}

/* Desktop: csak hoverre a borítón / profilképen */
@media (hover: hover) and (pointer: fine) {
	.zeg-poi-photo-edit {
		opacity: 0;
		transition: opacity 160ms ease, background 160ms ease, color 160ms ease;
	}

	.zeg-hero-shell:hover .zeg-poi-photo-edit--cover,
	.zeg-hero-shell:focus-within .zeg-poi-photo-edit--cover,
	.zeg-poi-avatar-wrap:hover .zeg-poi-photo-edit--logo,
	.zeg-poi-avatar-wrap:focus-within .zeg-poi-photo-edit--logo,
	.zeg-poi-photo-edit:focus-within {
		opacity: 1;
	}
}

.single-poi .zeg-frontpage-shell {
	padding-top: 72px;
}

.zeg-logo-preview {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	background: #142033;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zeg-logo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zeg-logo-preview--empty {
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
}

.zeg-poi-card-logo {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #fff;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.zeg-poi-card-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zeg-poi-results--list .zeg-poi-card-logo {
	left: auto;
	right: 8px;
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
}

@media (max-width: 640px) {
	.zeg-poi-avatar-bar {
		margin-top: -48px;
		padding: 0 16px;
	}

	.zeg-poi-avatar {
		width: 96px;
		height: 96px;
		border-width: 3px;
	}

	.zeg-poi-avatar-fallback {
		font-size: 36px;
	}

	.zeg-poi-photo-edit--cover {
		right: 12px;
		bottom: 12px;
		width: 28px;
		height: 28px;
	}

	.zeg-poi-photo-edit--logo {
		width: 26px;
		height: 26px;
	}

	.single-poi .zeg-frontpage-shell {
		padding-top: 56px;
	}
}

.zeg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.zeg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px 24px;
	border-radius: 999px;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
	cursor: pointer;
	border: 2px solid transparent;
}

.zeg-btn--hero-primary {
	background: #2f95f6;
	color: #fff;
	box-shadow: 0 6px 20px rgba(47, 149, 246, 0.4);
}

.zeg-btn--hero-primary:hover {
	background: #1a85eb;
	color: #fff;
	transform: translateY(-1px);
}

.zeg-btn--hero-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.85);
}

.zeg-btn--hero-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: #fff;
}

.zeg-hero-bottom {
	position: relative;
	z-index: 15;
	height: 40px;
	margin-top: -40px;
	background: var(--bg);
	border-radius: 28px 28px 0 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── Section headers ── */
.zeg-section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 32px 0 16px;
}

.zeg-section-header h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.5px;
	white-space: nowrap;
}

.zeg-section-header::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--rule);
}

/* ── Now open ── */
.zeg-now-open {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 18px;
	margin: 20px 0;
	box-shadow: var(--shadow-sm);
	animation: fadeUp 0.6s ease 0.2s both;
}

.zeg-now-open-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 500;
}

.zeg-now-open-dot {
	width: 8px;
	height: 8px;
	background: var(--accent-mid);
	border-radius: 50%;
	animation: breathe 2s infinite;
}

.zeg-now-open-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.zeg-now-open-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	padding: 10px 12px;
	background: var(--rule-light);
	border-radius: 8px;
	transition: all 0.25s ease;
	cursor: pointer;
}

.zeg-now-open-item:hover {
	background: var(--accent-light);
	transform: translateX(4px);
}

.zeg-now-open-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.zeg-now-open-hours {
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	font-weight: 300;
	color: var(--text-soft);
}

/* ── Institution grid ── */
.zeg-intezmeny-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 14px 0;
}

.zeg-intezmeny-card {
	display: block;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 18px;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	animation: fadeUp 0.5s ease both;
}

.zeg-intezmeny-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transition: transform 0.3s ease;
	transform-origin: left;
}

.zeg-intezmeny-card:hover {
	border-color: transparent;
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.zeg-intezmeny-card:hover::before { transform: scaleX(1); }

.zeg-intezmeny-icon-wrap {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	background: var(--accent-light);
	color: var(--accent);
	transition: all 0.3s ease;
}

.zeg-intezmeny-card:hover .zeg-intezmeny-icon-wrap {
	background: var(--accent);
	color: white;
}

.zeg-intezmeny-name {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 3px;
	line-height: 1.3;
	letter-spacing: -0.2px;
}

.zeg-intezmeny-type {
	font-size: 12px;
	font-weight: 300;
	color: var(--text-soft);
}

/* ── News list ── */
.zeg-news-list {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	margin: 14px 0;
}

.zeg-news-item {
	display: flex;
	gap: 14px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--rule-light);
	transition: background 0.2s ease;
	cursor: pointer;
}

.zeg-news-item:last-child { border-bottom: none; }
.zeg-news-item:hover { background: var(--rule-light); }

.zeg-news-time {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 300;
	color: var(--text-soft);
	min-width: 52px;
	flex-shrink: 0;
	padding-top: 2px;
}

.zeg-news-text {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
}

.zeg-news-text strong { font-weight: 600; }

/* ── CTA bar ── */
.zeg-cta-bar {
	margin: 28px 0;
	padding: 24px;
	background: linear-gradient(135deg, #166534, #15803D);
	color: white;
	border-radius: var(--radius);
	text-align: center;
	box-shadow: var(--shadow-lg);
}

.zeg-cta-bar h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
}

.zeg-cta-bar p {
	font-size: 14px;
	font-weight: 300;
	opacity: 0.85;
	margin-bottom: 18px;
}

.zeg-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background: white;
	color: var(--accent);
	font-family: 'Outfit', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 100px;
	transition: all 0.25s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zeg-cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ── POI single ── */
.zeg-poi-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-soft);
	margin: 24px 0 16px;
	transition: color 0.2s;
}

.zeg-poi-back:hover { color: var(--accent); }
.zeg-poi-back .zeg-icon { width: 16px; height: 16px; }

.zeg-poi-header { margin-bottom: 24px; }

.zeg-poi-tag {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
	display: block;
}

.zeg-poi-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.zeg-poi-address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 300;
	color: var(--text-soft);
}

.zeg-poi-address .zeg-icon { width: 16px; height: 16px; color: var(--accent); }

.zeg-poi-hero {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: var(--shadow-md);
}

.zeg-poi-content {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
	margin-bottom: 32px;
}

.zeg-poi-section {
	margin-bottom: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
}

.zeg-poi-section h2 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.zeg-poi-section h2 .zeg-icon { color: var(--accent); }

.zeg-poi-hours {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.8;
	padding: 14px;
	background: var(--rule-light);
	border-radius: 8px;
}

.zeg-poi-contacts {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.zeg-poi-contact {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	padding: 10px 14px;
	background: var(--rule-light);
	border-radius: 8px;
	transition: all 0.2s ease;
}

.zeg-poi-contact:hover {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-poi-contact--static:hover {
	background: var(--rule-light);
	color: inherit;
}

.zeg-poi-contact .zeg-icon { width: 18px; height: 18px; color: var(--accent); }

/* ── Footer ── */
.zeg-footer {
	margin-top: 48px;
	padding: 28px 20px;
	border-top: 1px solid var(--rule);
	text-align: center;
}

.zeg-footer-brand {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -1px;
}

.zeg-footer-sub {
	font-size: 12px;
	font-weight: 300;
	color: var(--text-soft);
	margin: 4px 0 18px;
}

.zeg-footer-cities {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.zeg-footer-city {
	font-size: 11px;
	font-weight: 400;
	padding: 5px 12px;
	border-radius: 100px;
	background: var(--card);
	border: 1px solid var(--rule);
	color: var(--text-soft);
	transition: all 0.25s ease;
}

.zeg-footer-city:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.zeg-footer-city.active {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
}

.zeg-footer-city.soon { opacity: 0.35; }

.zeg-footer-copy {
	margin-top: 20px;
	font-size: 11px;
	font-weight: 300;
	color: var(--text-soft);
}

/* ══════════════════════════════════════
   Three-column layout (Facebook-style)
   ══════════════════════════════════════ */

.zeg-layout {
	display: grid;
	grid-template-columns: 240px 1fr 280px;
	gap: 24px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px;
	align-items: start;
}

/* Kétoszlopos variant (bal sidebar a menübe került) */
.zeg-layout-two {
	grid-template-columns: 1fr 300px;
	padding-top: 8px;
	padding-bottom: 40px;
}

/* ── Sidebars (közös) ── */
.zeg-sidebar {
	position: sticky;
	top: 72px; /* topbar (56px) + padding */
}

/* ── Közösségi képek blokk ── */
.zeg-community-photos {
	margin-bottom: 16px;
}

.zeg-photo-card {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 12px;
	box-shadow: var(--shadow-sm);
	transition: all 0.25s;
	cursor: pointer;
}

.zeg-photo-card:hover {
	box-shadow: var(--shadow-md);
}

.zeg-photo-card-img {
	max-height: 300px;
	overflow: hidden;
}

.zeg-photo-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zeg-photo-card-body {
	padding: 16px;
}

.zeg-photo-card-text {
	font-size: 14px;
	font-weight: 300;
	color: var(--text-soft);
	line-height: 1.5;
	margin-bottom: 6px;
}

/* ── POI poszt lista (single-poi.php) ── */
.zeg-poi-post {
	padding: 16px 0;
	border-bottom: 1px solid var(--rule-light);
}

.zeg-poi-post:last-child { border-bottom: none; }

.zeg-poi-post-meta {
	font-size: 12px;
	font-weight: 300;
	color: var(--text-soft);
	margin-bottom: 6px;
}

.zeg-poi-post-content {
	font-size: 15px;
	font-weight: 300;
	line-height: 1.7;
}

.zeg-poi-post-images {
	margin-top: 12px;
	border-radius: 8px;
	overflow: hidden;
}

.zeg-poi-post-images img {
	width: 100%;
	height: auto;
}

/* ── Frontend form stílusok ── */
.zeg-frontend-form {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--rule);
}

.zeg-frontend-form h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.zeg-frontend-form p {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-soft);
	margin-bottom: 14px;
}

.zeg-featured-form {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--rule);
}

.zeg-featured-help {
	margin-bottom: 12px !important;
}

.zeg-featured-preview {
	margin-bottom: 12px;
	overflow: hidden;
	background: #142033;
	aspect-ratio: 16 / 9;
	max-width: 420px;
}

.zeg-featured-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zeg-featured-preview--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.65);
	font-size: 14px;
}

.zeg-featured-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.zeg-featured-upload {
	cursor: pointer;
}

.zeg-btn-ghost {
	background: transparent;
	color: var(--text-soft);
	border: 1px solid var(--rule);
	padding: 10px 16px;
	border-radius: 999px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.zeg-btn-ghost:hover {
	color: var(--text);
	border-color: var(--text-soft);
}

.zeg-auth-flash {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 14px;
}

.zeg-auth-flash--ok {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-auth-flash--err {
	background: #fef2f2;
	color: #b91c1c;
}

.zeg-auth-form .zeg-input {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.zeg-auth-step {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.zeg-input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--rule);
	border-radius: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
}

.zeg-input:focus { border-color: var(--accent); }

.zeg-textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--rule);
	border-radius: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	resize: vertical;
	outline: none;
	margin-bottom: 12px;
	transition: border-color 0.2s;
}

.zeg-textarea:focus { border-color: var(--accent); }

.zeg-btn {
	padding: 10px 20px;
	background: var(--rule-light);
	border: 1px solid var(--rule);
	border-radius: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.zeg-btn:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

.zeg-btn-primary {
	background: var(--accent);
	border-color: var(--accent);
	color: white;
}

.zeg-btn-primary:hover {
	background: #0F5132;
	color: white;
}

.zeg-form-options {
	margin-bottom: 14px;
}

.zeg-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: var(--text-soft);
	padding: 4px 0;
	cursor: pointer;
}

.zeg-auth-msg,
.zeg-post-msg {
	font-size: 13px;
	color: var(--accent);
	margin-top: 8px;
}

/* ── Bal oldali menü ── */
.zeg-side-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 20px;
}

.zeg-side-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text-soft);
	transition: all 0.2s ease;
}

.zeg-side-nav-item:hover {
	background: var(--card);
	color: var(--text);
}

.zeg-side-nav-item.active {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-side-nav-item .zeg-icon {
	width: 20px;
	height: 20px;
}

/* ── Sidebar widgetek ── */
.zeg-side-widget {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 16px;
	margin-bottom: 12px;
	box-shadow: var(--shadow-sm);
}

.zeg-side-widget-header {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.3px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ── Képviselő widget ── */
.zeg-side-kepviselo-text {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-soft);
}

/* ── Feed / magazinrács — hero-val egy vonalban ── */
.zeg-frontpage-shell {
	padding: 40px 32px 80px;
}

.zeg-frontpage-main {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0;
}

.zeg-frontpage-issue {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	font-weight: 400;
	color: var(--text-soft);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0 0 28px;
}

/* 6 oszlop: 1x1 / 2x1 / 1x2 / 2x2 / 3x2 / 3x1 arányok */
.daily-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 12px;
}

.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	isolation: isolate;
}

.tile--1x1 {
	grid-column: span 2;
	aspect-ratio: 1 / 1;
}

.tile--2x1 {
	grid-column: span 4;
	aspect-ratio: 2 / 1;
}

.tile--3x1 {
	grid-column: span 6;
	aspect-ratio: 3 / 1;
}

.tile--1x2 {
	grid-column: span 2;
	aspect-ratio: 1 / 2;
}

.tile--2x2 {
	grid-column: span 4;
	aspect-ratio: 1 / 1;
}

.tile--3x2 {
	grid-column: span 6;
	aspect-ratio: 3 / 2;
}

.tile--solid {
	background: #142033;
	color: #fff;
}

.tile--has-media {
	color: #fff;
	background: #0c1522;
}

.tile-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.tile-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.02);
	transition: transform 0.55s ease;
}

.tile:hover .tile-bg img {
	transform: scale(1.06);
}

.tile-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(8, 18, 32, 0.05) 0%,
		rgba(8, 18, 32, 0.35) 45%,
		rgba(8, 18, 32, 0.82) 100%
	);
}

.tile--solid .tile-body {
	background: transparent;
}

.tile-body {
	position: relative;
	z-index: 1;
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-width: 100%;
}

.tile-tag {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2f95f6;
}

.tile-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.25rem, 2.1vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.6px;
	line-height: 1.15;
	margin: 0;
}

.tile--2x2 .tile-title,
.tile--3x2 .tile-title {
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	letter-spacing: -1.2px;
	font-weight: 700;
}

.tile--1x1 .tile-title {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.tile-title a {
	color: inherit;
	text-decoration: none;
}

.tile-title a:hover {
	color: #2f95f6;
}

.tile-excerpt {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(15px, 1.4vw, 18px);
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
	margin: 4px 0 0;
	max-width: 42rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tile--1x1 .tile-excerpt {
	-webkit-line-clamp: 2;
	font-size: clamp(14px, 1.2vw, 16px);
}

.tile--3x2 .tile-excerpt,
.tile--2x2 .tile-excerpt {
	-webkit-line-clamp: 4;
}

.tile-more {
	align-self: flex-start;
	margin-top: 10px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.2px;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background 0.2s ease;
}

.tile-more:hover,
.tile-more:focus-visible {
	background: #2f95f6;
	outline: none;
}

/* Facebook-szerű reader popup */
html.zeg-reader-open,
html.zeg-reader-open body {
	overflow: hidden;
}

.zeg-reader[hidden] {
	display: none !important;
}

.zeg-reader {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 48px 16px 32px;
	box-sizing: border-box;
}

.zeg-reader-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 32, 0.72);
	backdrop-filter: blur(2px);
}

.zeg-reader-dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	max-height: calc(100vh - 80px);
	background: #fff;
	color: #111;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
	outline: none;
	display: flex;
	flex-direction: column;
}

.zeg-reader-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.zeg-reader-close:hover {
	background: #2f95f6;
	color: #fff;
}

.zeg-reader-scroll {
	overflow: auto;
	max-height: calc(100vh - 80px);
	-webkit-overflow-scrolling: touch;
}

.zeg-reader-hero {
	aspect-ratio: 16 / 9;
	background: #eef1f4;
}

.zeg-reader-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.zeg-reader-inner {
	padding: 28px 28px 40px;
}

.zeg-reader-tag {
	display: block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2f95f6;
	margin-bottom: 10px;
}

.zeg-reader-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.8px;
	line-height: 1.15;
	margin: 0 0 20px;
	color: #111;
}

.zeg-reader-content {
	font-family: 'Outfit', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	color: #1a1a1a;
}

.zeg-reader-content p {
	margin: 0 0 1em;
}

.zeg-reader-content a {
	color: #1a73e8;
}

.zeg-reader-content a:hover {
	color: #0b57d0;
}

.zeg-reader-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0;
	display: block;
	margin: 0.75em 0;
}

.zeg-feed-empty {
	text-align: left;
	padding: 12px 0 24px;
	color: var(--text-soft);
	font-size: 17px;
	font-weight: 300;
}

@media (max-width: 960px) {
	.daily-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 10px;
	}

	.tile--1x1 {
		grid-column: span 2;
	}

	.tile--2x1,
	.tile--2x2 {
		grid-column: span 4;
	}

	.tile--3x1,
	.tile--3x2 {
		grid-column: span 4;
		aspect-ratio: 2 / 1;
	}

	.tile--1x2 {
		grid-column: span 2;
		aspect-ratio: 1 / 1.4;
	}
}

@media (max-width: 640px) {
	.zeg-frontpage-shell {
		padding: 28px 16px 56px;
	}

	.zeg-hero {
		padding-left: 16px;
		padding-right: 16px;
	}

	.zeg-topbar {
		padding: 0 16px;
	}

	.daily-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tile--1x1,
	.tile--2x1,
	.tile--3x1,
	.tile--1x2,
	.tile--2x2,
	.tile--3x2 {
		grid-column: span 1;
		aspect-ratio: 4 / 3;
	}

	.tile--1x2 {
		aspect-ratio: 3 / 4;
	}

	.tile--3x2,
	.tile--2x2 {
		aspect-ratio: 16 / 10;
	}

	.tile-body {
		padding: 18px 18px 20px;
	}
}

.zeg-feed {
	min-width: 0;
}

/* ── POI gyűjtőoldal ── */
.zeg-poi-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.zeg-poi-toolbar-label {
	margin: 0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text-soft);
}

.zeg-poi-view-toggle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: rgba(20, 32, 51, 0.06);
	border-radius: 999px;
}

.zeg-poi-view-btn {
	border: 0;
	background: transparent;
	color: var(--text-soft);
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
}

.zeg-poi-view-btn[aria-pressed="true"] {
	background: #142033;
	color: #fff;
}

/* Kategória szűrő */
.zeg-poi-cat-filter {
	margin: 0 0 24px;
}

.zeg-poi-cat-search-wrap {
	display: block;
	margin-bottom: 12px;
	max-width: 360px;
}

.zeg-poi-cat-search {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--rule);
	border-radius: 0;
	background: #fff;
	font-family: 'Outfit', sans-serif;
	font-size: 15px;
	color: var(--text);
	outline: none;
}

.zeg-poi-cat-search:focus {
	border-color: #2f95f6;
}

.zeg-poi-cat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zeg-poi-cat-chip {
	border: 0;
	background: rgba(20, 32, 51, 0.06);
	color: var(--text);
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 14px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.zeg-poi-cat-chip:hover {
	background: rgba(47, 149, 246, 0.12);
	color: #2f95f6;
}

.zeg-poi-cat-chip.is-active {
	background: #142033;
	color: #fff;
}

.zeg-poi-cat-empty,
.zeg-poi-filter-empty {
	margin: 12px 0 0;
	font-size: 15px;
	color: var(--text-soft);
	font-weight: 300;
}

.zeg-poi-results--grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.zeg-poi-results--list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.zeg-poi-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #142033;
	color: #fff;
}

.zeg-poi-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.zeg-poi-results--grid .zeg-poi-card {
	aspect-ratio: 1 / 1;
}

.zeg-poi-results--grid .zeg-poi-card-link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100%;
}

.zeg-poi-card-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.zeg-poi-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.02);
	transition: transform 0.45s ease;
}

.zeg-poi-card:hover .zeg-poi-card-media img {
	transform: scale(1.06);
}

.zeg-poi-card-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(8, 18, 32, 0.05) 0%,
		rgba(8, 18, 32, 0.4) 50%,
		rgba(8, 18, 32, 0.88) 100%
	);
}

.zeg-poi-card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 18px 20px;
}

.zeg-poi-card-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	font-weight: 600;
	letter-spacing: -0.4px;
	line-height: 1.2;
}

.zeg-poi-card-meta {
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Lista mód */
.zeg-poi-results--list .zeg-poi-card {
	background: transparent;
	color: var(--text);
	border-bottom: 1px solid var(--rule);
}

.zeg-poi-results--list .zeg-poi-card-link {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 12px 0;
	min-height: 88px;
}

.zeg-poi-results--list .zeg-poi-card--solid .zeg-poi-card-link {
	grid-template-columns: 1fr;
}

.zeg-poi-results--list .zeg-poi-card-media {
	position: relative;
	inset: auto;
	width: 88px;
	height: 88px;
	overflow: hidden;
	flex-shrink: 0;
}

.zeg-poi-results--list .zeg-poi-card-shade {
	display: none;
}

.zeg-poi-results--list .zeg-poi-card-body {
	padding: 0;
}

.zeg-poi-results--list .zeg-poi-card-title {
	color: var(--text);
	font-size: 1.2rem;
}

.zeg-poi-results--list .zeg-poi-card-meta {
	color: var(--text-soft);
}

.zeg-poi-results--list .zeg-poi-card:hover .zeg-poi-card-title {
	color: #2f95f6;
}

@media (max-width: 960px) {
	.zeg-poi-results--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.zeg-poi-results--grid {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.zeg-poi-results--list .zeg-poi-card-link {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	.zeg-poi-results--list .zeg-poi-card-media {
		width: 72px;
		height: 72px;
	}
}

/* Hero post */
.zeg-feed-hero {
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 12px;
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
}

.zeg-feed-hero:hover {
	box-shadow: var(--shadow-md);
}

.zeg-feed-hero-image {
	max-height: 280px;
	overflow: hidden;
}

.zeg-feed-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zeg-feed-hero-body {
	padding: 20px;
}

.zeg-feed-hero-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.5px;
	line-height: 1.3;
	margin-bottom: 8px;
}

.zeg-feed-hero-title a { color: var(--text); }
.zeg-feed-hero-title a:hover { color: var(--accent); }

.zeg-feed-tag {
	font-family: 'JetBrains Mono', monospace;
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-bottom: 6px;
}

.zeg-feed-excerpt {
	font-size: 14px;
	font-weight: 300;
	color: var(--text-soft);
	line-height: 1.6;
	margin-bottom: 8px;
}

.zeg-feed-meta {
	font-size: 12px;
	font-weight: 300;
	color: var(--text-soft);
}

/* Feed items */
.zeg-feed-item {
	display: flex;
	gap: 16px;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 18px;
	margin-bottom: 8px;
	box-shadow: var(--shadow-sm);
	transition: all 0.2s ease;
}

.zeg-feed-item:hover {
	border-color: transparent;
	box-shadow: var(--shadow-md);
}

.zeg-feed-item-body {
	flex: 1;
	min-width: 0;
}

.zeg-feed-item-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.3px;
	line-height: 1.3;
	margin-bottom: 6px;
}

.zeg-feed-item-title a { color: var(--text); }
.zeg-feed-item-title a:hover { color: var(--accent); }

.zeg-feed-item-thumb {
	width: 88px;
	height: 88px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.zeg-feed-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zeg-feed-empty {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-soft);
	font-weight: 300;
}

/* ── POI név lista (bal sidebar) ── */
.zeg-poi-name-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.zeg-poi-name-item a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 400;
	transition: all 0.2s ease;
}

.zeg-poi-name-item a:hover {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-poi-name-item .zeg-icon {
	width: 14px;
	height: 14px;
	color: var(--accent);
	flex-shrink: 0;
}

/* Widget szöveges tartalom */
.zeg-side-widget-text {
	font-size: 13px;
	font-weight: 300;
	color: var(--text-soft);
	line-height: 1.5;
}

/* Vállalkozások link kártya */
.zeg-side-widget-link-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	margin-bottom: 12px;
	background: var(--card);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: 500;
	color: var(--text-soft);
	transition: all 0.2s ease;
	box-shadow: var(--shadow-sm);
}

.zeg-side-widget-link-card:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-light);
}

.zeg-side-widget-link-card .zeg-icon {
	width: 18px;
	height: 18px;
	color: var(--accent);
}

/* Widget link (inline) */
.zeg-side-widget-link {
	display: block;
	padding: 10px 10px 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--accent);
	transition: color 0.2s;
}

.zeg-side-widget-link:hover {
	color: var(--accent-mid, #22C55E);
}

/* ── Busz menetrend widget ── */
.zeg-bus-next {
	text-align: center;
	padding: 14px 0;
}

.zeg-bus-next-label {
	font-size: 12px;
	color: var(--text-soft);
	font-weight: 300;
	margin-bottom: 2px;
}

.zeg-bus-next-time {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -2px;
	line-height: 1;
}

.zeg-bus-next-unit {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
}

.zeg-bus-next-dest {
	font-size: 12px;
	color: var(--text-soft);
	font-weight: 300;
	margin-top: 4px;
}

.zeg-bus-footer {
	padding: 10px 16px;
	border-top: 1px solid var(--rule-light);
	font-size: 11px;
	color: var(--text-soft);
	font-weight: 300;
}

/* ── POI kategória lista (ha kell máshol) ── */
.zeg-poi-cat-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.zeg-poi-cat-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 10px;
	border-radius: 6px;
	font-size: 13px;
	transition: all 0.2s ease;
}

.zeg-poi-cat-item a:hover {
	background: var(--accent-light);
}

.zeg-poi-cat-name {
	font-weight: 400;
}

.zeg-poi-cat-count {
	font-family: 'JetBrains Mono', monospace;
	font-size: 11px;
	font-weight: 400;
	color: var(--text-soft);
	background: var(--rule-light);
	padding: 2px 8px;
	border-radius: 100px;
	min-width: 28px;
	text-align: center;
}

/* ── Városrész pillák (jobb sidebar) ── */
.zeg-side-varosreszek {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.zeg-side-vr-pill {
	font-size: 11px;
	font-weight: 400;
	padding: 4px 10px;
	border-radius: 100px;
	background: var(--rule-light);
	color: var(--text-soft);
	transition: all 0.2s ease;
}

.zeg-side-vr-pill:hover {
	background: var(--accent-light);
	color: var(--accent);
}

.zeg-side-vr-pill.active {
	background: var(--accent);
	color: white;
}

.zeg-side-vr-pill.soon {
	opacity: 0.35;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.zeg-layout {
		grid-template-columns: 1fr 280px;
	}
	.zeg-sidebar-left {
		display: none;
	}
	.zeg-topbar-add {
		font-size: 12px;
		padding: 7px 12px;
	}
}

@media (max-width: 768px) {
	.zeg-layout {
		grid-template-columns: 1fr;
	}
	.zeg-sidebar-left {
		display: none;
	}
	.zeg-sidebar-right {
		position: static;
	}
	.zeg-feed-hero-title { font-size: 20px; }

	/* Topbar mobile */
	.zeg-nav-desktop { display: none; }
	.zeg-topbar-issue { display: none; }
	.zeg-hamburger { display: flex; }
	.zeg-topbar-add { display: none; }

	/* Hero mobile */
	.zeg-hero-shell {
		height: clamp(320px, 48vh, 440px);
	}
	.zeg-hero {
		padding: 88px 16px 36px;
		align-items: flex-end;
	}
	.tax-poi_tipus .zeg-hero-shell,
	.tax-poi_kategoria .zeg-hero-shell,
	.post-type-archive-poi .zeg-hero-shell {
		height: clamp(200px, 26vh, 260px);
	}
	.tax-poi_tipus .zeg-hero,
	.tax-poi_kategoria .zeg-hero,
	.post-type-archive-poi .zeg-hero {
		padding: 72px 16px 28px;
	}
	.single-poi .zeg-hero-shell {
		height: auto;
		min-height: 240px;
	}
	.single-poi .zeg-hero {
		margin-top: auto;
		height: auto;
		min-height: 0;
		padding: 100px 16px 20px;
	}
	.single-poi .zeg-hero-inner {
		padding-left: calc(96px + 16px);
	}
	.zeg-hero-overlay {
		background: linear-gradient(
			180deg,
			rgba(8, 18, 32, 0.55) 0%,
			rgba(8, 18, 32, 0.72) 55%,
			rgba(8, 18, 32, 0.85) 100%
		);
	}
	.zeg-hero-shell--reveal .zeg-hero-overlay {
		background: none;
	}
	.zeg-hero-shell--reveal .zeg-hero-overlay::before {
		background: linear-gradient(
			180deg,
			rgba(8, 18, 32, 0.55) 0%,
			rgba(8, 18, 32, 0.72) 55%,
			rgba(8, 18, 32, 0.85) 100%
		);
	}
}
