/*!
            * KEDD KFT - KEDD Rajzfilmünnep Site v1.0.0 (http://www.rajzfilmunnep.hu/)
            * Copyright 2024-2026 Peter Nagy
            * Licensed under MIT (https://github.com/StartBootstrap/rajzfilmunnep-site-generator/blob/master/LICENSE)
            */
/*
 * Közös oldalstílus: helyszínek (locations.pug), helyszín (location.pug), filmek (movies.pug),
 * film (movie.pug). A kapcsolat oldal (contact.css) vizuális nyelvét követi: színátmenetes fejléc,
 * lekerekített, enyhén áttetsző kártyák, arculati színek (style.css :root). Minden osztály `rfu-`
 * előtagú; az oldalak csak ezt a fájlt töltik be (block append css).
 */

.rfu-page {
	padding-top: 150px; /* a fix menü kb. 131 px magas (logó 105 px) */
	padding-bottom: 6rem;
}

.rfu-back {
	display: inline-flex;
	align-items: center;
	margin: 1.5rem 0 1rem;
	color: var(--rajzfilmunnep-lila);
	font-weight: 700;
	text-decoration: none;
}

.rfu-back:hover,
.rfu-back:focus-visible {
	color: var(--rajzfilmunnep-pink);
	text-decoration: underline;
}

/* ---- Betöltés / hiba / üres állapot ---- */

.rfu-state {
	max-width: 32rem;
	margin: 3rem auto;
	padding: 2rem;
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.92);
	color: #212529;
	text-align: center;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.rfu-state__spinner {
	width: 3rem;
	height: 3rem;
	color: var(--rajzfilmunnep-lila);
}

.rfu-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: rgba(89, 50, 142, 0.1);
	color: var(--rajzfilmunnep-lila);
	font-size: 1.5rem;
}

.rfu-state--error .rfu-state__icon {
	background: rgba(255, 45, 85, 0.12);
	color: var(--rajzfilmunnep-pink);
}

.rfu-empty {
	text-align: center;
	color: #495057;
}

/* ---- Fejléc ---- */

.rfu-hero {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 2rem;
	border-radius: 1.25rem;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila) 0%, #8a3c9e 45%, var(--rajzfilmunnep-pink) 100%);
	color: #ffffff;
	box-shadow: 0 1rem 2.5rem rgba(89, 50, 142, 0.3);
}

.rfu-hero__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 2rem;
}

.rfu-hero__body {
	flex: 1 1 auto;
	min-width: 0;
}

.rfu-hero__title {
	margin: 0 0 0.35rem;
	color: #ffffff;
	font-size: clamp(1.6rem, 4.5vw, 2.75rem);
	line-height: 1.15;
	word-break: break-word;
}

.rfu-hero__info {
	font-size: 1.1rem;
	opacity: 0.92;
}

.rfu-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.9rem;
}

.rfu-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-weight: 700;
	font-size: 0.95rem;
}

.rfu-hero__button {
	flex: 0 0 auto;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	background: #ffffff;
	color: var(--rajzfilmunnep-lila);
	font-weight: 800;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rfu-hero__button:hover,
.rfu-hero__button:focus-visible {
	background: #ffffff;
	color: var(--rajzfilmunnep-pink);
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
}

.rfu-btn {
	border-radius: 999px;
	font-weight: 700;
	padding: 0.6rem 1.25rem;
}

.rfu-btn--primary {
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
}

.rfu-btn--primary:hover,
.rfu-btn--primary:focus-visible {
	background: var(--rajzfilmunnep-pink);
	color: #ffffff;
}

/* ---- Kártyák ---- */

.rfu-card {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.92);
	color: #212529;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.rfu-card__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}

.rfu-card__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	color: #212529;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.25rem;
}

.rfu-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	color: #ffffff;
	font-size: 1rem;
}

.rfu-card__icon--pink { background: var(--rajzfilmunnep-pink); }
.rfu-card__icon--lila { background: var(--rajzfilmunnep-lila); }
.rfu-card__icon--narancs { background: var(--rajzfilmunnep-narancs); }

.rfu-address {
	font-size: 1.05rem;
	line-height: 1.5;
}

.rfu-link {
	display: inline-flex;
	align-items: center;
	color: var(--rajzfilmunnep-lila);
	font-weight: 700;
	text-decoration: none;
}

.rfu-link:hover,
.rfu-link:focus-visible {
	color: var(--rajzfilmunnep-pink);
	text-decoration: underline;
}

.rfu-map {
	height: 320px;
	border-radius: 0.75rem;
	overflow: hidden;
	background: #eef0f3;
}

.rfu-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Asztali nézetben az oldalsáv görgetéskor a helyén marad */
@media (min-width: 992px) {
	.rfu-sidebar {
		position: sticky;
		top: 150px; /* a fix menü kb. 131 px magas */
	}
}

/* ---- Vetítések ---- */

.rfu-tz {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: rgba(89, 50, 142, 0.08);
	color: var(--rajzfilmunnep-lila);
	font-size: 0.9rem;
	font-weight: 700;
}

.rfu-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1.25rem;
}

.rfu-filter .form-label {
	margin: 0;
	color: #495057;
	font-weight: 700;
}

.rfu-filter .form-select {
	width: auto;
	min-width: 14rem;
	border-radius: 999px;
	border-color: rgba(89, 50, 142, 0.35);
}

.rfu-filter .form-select:focus {
	border-color: var(--rajzfilmunnep-lila);
	box-shadow: 0 0 0 0.2rem rgba(89, 50, 142, 0.2);
}

.rfu-day + .rfu-day {
	margin-top: 1.5rem;
}

.rfu-day__title {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
}

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

.rfu-screening {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.rfu-screening:last-child {
	border-bottom: 0;
}

.rfu-screening__time {
	flex: 0 0 5.25rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.45rem 0.25rem;
	border-radius: 0.75rem;
	background: rgba(255, 45, 85, 0.1);
	color: var(--rajzfilmunnep-pink);
	text-align: center;
}

.rfu-screening__time span {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.2;
}

.rfu-screening__time small {
	color: #6c757d;
	font-size: 0.7rem;
	line-height: 1.2;
}

.rfu-screening__body {
	flex: 1 1 auto;
	min-width: 0;
}

.rfu-screening__title {
	display: inline-flex;
	align-items: center;
	margin-bottom: 0.25rem;
	color: #212529;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	word-break: break-word;
}

a.rfu-screening__title:hover,
a.rfu-screening__title:focus-visible {
	color: var(--rajzfilmunnep-lila);
	text-decoration: underline;
}

a.rfu-screening__title i,
a.rfu-screening__title svg {
	font-size: 0.75rem;
	color: var(--rajzfilmunnep-pink);
}

.rfu-screening__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	color: #6c757d;
	font-size: 0.9rem;
}

/* ---- Kísérő programok ---- */

.rfu-program {
	padding: 1.1rem 1.25rem;
	border-radius: 0.85rem;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-left: 5px solid var(--rajzfilmunnep-pink);
}

.rfu-program + .rfu-program {
	margin-top: 1rem;
}

.rfu-program__title {
	margin: 0 0 0.4rem;
	color: #212529;
	font-weight: 800;
	font-size: 1.1rem;
	word-break: break-word;
}

.rfu-program__when {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin-bottom: 0.75rem;
	color: #6c757d;
	font-size: 0.92rem;
}

.rfu-program__description {
	color: #343a40;
}

/* ---- Reszponzív ---- */

@media (max-width: 767.98px) {
	.rfu-page {
		padding-top: 145px;
	}

	.rfu-hero {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
	}

	.rfu-hero__icon {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.5rem;
	}

	.rfu-hero__button {
		width: 100%;
		text-align: center;
	}

	.rfu-card {
		padding: 1.15rem;
	}

	.rfu-map {
		height: 240px;
	}

	.rfu-filter .form-select {
		width: 100%;
		min-width: 0;
	}

	.rfu-screening__time {
		flex-basis: 4.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfu-hero__button {
		transition: none;
	}
}

/* =====================================================================
 * Listaoldalak (helyszínek, filmek): oldalfejléc, szűrősáv, kártyarács
 * ===================================================================== */

.rfu-page-title {
	margin: 1.5rem 0 0.5rem;
	color: #000000;
	font-size: clamp(2.2rem, 7vw, 4.5rem);
	line-height: 1.05;
}

.rfu-page-intro {
	max-width: 46rem;
	margin-bottom: 1.75rem;
	font-size: 1.1rem;
	color: #212529;
}

.rfu-toolbar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0.75rem 1rem;
	align-items: end;
	margin-bottom: 1rem;
	padding: 1.25rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.rfu-toolbar .form-label {
	margin-bottom: 0.35rem;
	color: #495057;
	font-weight: 700;
	font-size: 0.9rem;
}

.rfu-toolbar .form-control,
.rfu-toolbar .form-select {
	border-radius: 999px;
	border-color: rgba(89, 50, 142, 0.3);
	padding-left: 1rem;
}

.rfu-toolbar .form-control:focus,
.rfu-toolbar .form-select:focus {
	border-color: var(--rajzfilmunnep-lila);
	box-shadow: 0 0 0 0.2rem rgba(89, 50, 142, 0.2);
}

.rfu-search {
	position: relative;
}

.rfu-search i,
.rfu-search svg {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--rajzfilmunnep-lila);
	pointer-events: none;
}

.rfu-toolbar .rfu-search .form-control {
	padding-left: 2.5rem;
}

.rfu-summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
	color: #495057;
	font-weight: 700;
}

.rfu-btn--ghost {
	background: rgba(89, 50, 142, 0.08);
	color: var(--rajzfilmunnep-lila);
}

.rfu-btn--ghost:hover,
.rfu-btn--ghost:focus-visible {
	background: rgba(89, 50, 142, 0.16);
	color: var(--rajzfilmunnep-lila);
}

.rfu-btn--sm {
	padding: 0.35rem 0.9rem;
	font-size: 0.9rem;
}

.rfu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
	gap: 1.25rem;
}

/* ---- Helyszínkártya (locations.pug) ---- */

.rfu-venue {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	height: 100%;
	padding: 1.25rem 1.35rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.94);
	color: #212529;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-top: 5px solid var(--rajzfilmunnep-lila);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rfu-venue:hover,
.rfu-venue:focus-visible {
	color: #212529;
	transform: translateY(-4px);
	border-top-color: var(--rajzfilmunnep-pink);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.rfu-venue__name {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--rajzfilmunnep-lila);
	word-break: break-word;
}

.rfu-venue__place {
	color: #495057;
	font-weight: 600;
}

.rfu-venue__address {
	color: #6c757d;
	font-size: 0.9rem;
}

.rfu-venue__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.4rem;
}

.rfu-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;
}

.rfu-badge--lila { background: rgba(89, 50, 142, 0.1); color: var(--rajzfilmunnep-lila); }
.rfu-badge--pink { background: rgba(255, 45, 85, 0.1); color: #c8102e; }
.rfu-badge--narancs { background: rgba(222, 153, 52, 0.16); color: #8a5a10; }
.rfu-badge--solid { background: #ffc107; color: #212529; }

.rfu-venue__more {
	margin-left: auto;
	color: var(--rajzfilmunnep-pink);
	font-weight: 700;
	font-size: 0.9rem;
}

/* ---- Filmkártya (movies.pug) ---- */

.rfu-section + .rfu-section {
	margin-top: 2.5rem;
}

.rfu-section__title {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.25rem;
	padding: 0.4rem 1.1rem;
	border-radius: 999px;
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
}

.rfu-section__count {
	padding: 0.05rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.85rem;
}

.rfu-movie-grid {
	grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
}

.rfu-movie-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.96);
	color: #212529;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rfu-movie-card:hover,
.rfu-movie-card:focus-visible {
	color: #212529;
	transform: translateY(-4px);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.14);
}

.rfu-movie-card__poster {
	position: relative;
	aspect-ratio: 2 / 3;
	background: #eef0f3;
	overflow: hidden;
}

.rfu-movie-card__poster img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.rfu-movie-card:hover .rfu-movie-card__poster img {
	transform: scale(1.04);
}

.rfu-movie-card__rating {
	position: absolute;
	top: 0.6rem;
	right: 0.6rem;
}

.rfu-movie-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1 1 auto;
	padding: 1rem 1.1rem 1.15rem;
}

.rfu-movie-card__title {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.05rem;
	line-height: 1.3;
	word-break: break-word;
}

.rfu-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.9rem;
	color: #6c757d;
	font-size: 0.85rem;
}

.rfu-meta i,
.rfu-meta svg {
	color: var(--rajzfilmunnep-lila);
	margin-right: 0.3rem;
}

.rfu-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.rfu-movie-card__text {
	margin: 0;
	color: #495057;
	font-size: 0.92rem;
	line-height: 1.45;
}

/* =====================================================================
 * Film adatlap (movie.pug)
 * ===================================================================== */

.rfu-movie-hero {
	display: grid;
	grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
	padding: 2rem;
	border-radius: 1.25rem;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila) 0%, #8a3c9e 45%, var(--rajzfilmunnep-pink) 100%);
	color: #ffffff;
	box-shadow: 0 1rem 2.5rem rgba(89, 50, 142, 0.3);
}

.rfu-movie-hero__poster {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0.85rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.3);
	cursor: zoom-in;
}

.rfu-movie-hero__poster img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.rfu-movie-hero__poster:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.rfu-movie-hero__info {
	font-size: 1.1rem;
	opacity: 0.92;
}

.rfu-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.rfu-fact {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.85rem 1rem;
	border-radius: 0.85rem;
	background: rgba(255, 255, 255, 0.16);
	border: 0;
	color: #ffffff;
	text-align: left;
}

button.rfu-fact {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

button.rfu-fact:hover,
button.rfu-fact:focus-visible {
	background: rgba(255, 255, 255, 0.26);
}

.rfu-fact__label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.rfu-fact__value {
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.1rem;
	line-height: 1.2;
	word-break: break-word;
}

.rfu-trailer {
	overflow: hidden;
	border-radius: 0.75rem;
	background: #000000;
}

.rfu-trailer iframe {
	border: 0;
}

.rfu-details {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
	gap: 0.75rem 1.25rem;
	margin: 0;
}

.rfu-details div {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.rfu-details dt {
	color: #6c757d;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.rfu-details dd {
	margin: 0.15rem 0 0;
	font-weight: 600;
	word-break: break-word;
}

.rfu-subtitle {
	margin: 0 0 0.5rem;
	color: var(--rajzfilmunnep-lila);
	font-size: 0.95rem;
	font-weight: 800;
}

.rfu-people {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.rfu-people li {
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: rgba(89, 50, 142, 0.07);
	font-size: 0.92rem;
}

.rfu-images {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
	gap: 0.75rem;
}

.rfu-images img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0.65rem;
	cursor: zoom-in;
	transition: transform 0.2s ease;
}

.rfu-images img:hover {
	transform: scale(1.03);
}

@media (max-width: 767.98px) {
	.rfu-toolbar {
		padding: 1rem;
	}

	.rfu-movie-hero {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.5rem;
	}

	.rfu-movie-hero__poster {
		max-width: 11rem;
	}

	.rfu-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rfu-movie-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem;
	}

	.rfu-movie-card__body {
		padding: 0.8rem 0.85rem 0.95rem;
	}

	.rfu-movie-card__text {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfu-venue,
	.rfu-movie-card,
	.rfu-movie-card__poster img,
	.rfu-images img {
		transition: none;
	}
}

/* =====================================================================
 * Visszafogott animációk (src/js/rfu-ui.js): szűrt találatok beúszása,
 * keresőikon lüktetése gépelés közben. Csak opacity + transform.
 * ===================================================================== */

@keyframes rfu-appear {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.rfu-animate > * {
	animation: rfu-appear 0.32s ease-out both;
}

/* Rövid lépcsőzés az első néhány elemre; a többi egyszerre jelenik meg */
.rfu-animate > :nth-child(2) { animation-delay: 0.03s; }
.rfu-animate > :nth-child(3) { animation-delay: 0.06s; }
.rfu-animate > :nth-child(4) { animation-delay: 0.09s; }
.rfu-animate > :nth-child(5) { animation-delay: 0.12s; }
.rfu-animate > :nth-child(6) { animation-delay: 0.15s; }
.rfu-animate > :nth-child(7) { animation-delay: 0.18s; }
.rfu-animate > :nth-child(n+8) { animation-delay: 0.21s; }

@keyframes rfu-search-pulse {
	0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
	50% { opacity: 0.45; transform: translateY(-50%) scale(0.9); }
}

.rfu-search.is-searching i,
.rfu-search.is-searching svg {
	animation: rfu-search-pulse 0.9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.rfu-animate > *,
	.rfu-search.is-searching i,
	.rfu-search.is-searching svg {
		animation: none;
	}
}

/* =====================================================================
 * Főoldal (index.pug, about-rfu.pug, news.pug) és Helyszíneknek oldal
 * (for-locations.pug, event-schedule.pug)
 * ===================================================================== */

/* ---- Főoldal: nyitókép ---- */

.rfu-home {
	padding-top: 150px;
	padding-bottom: 5rem;
}

.rfu-home-hero {
	max-width: 46rem;
	padding: 2.25rem 2.5rem;
	border-radius: 1.5rem;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: 0 1.25rem 3rem rgba(89, 50, 142, 0.18);
	color: #000000;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.rfu-home-countdown {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila), var(--rajzfilmunnep-pink));
	color: #ffffff;
	font-size: clamp(1.05rem, 2.6vw, 1.35rem);
	font-weight: 700;
	box-shadow: 0 0.5rem 1.25rem rgba(255, 45, 85, 0.25);
}

.rfu-home-title {
	margin: 1.5rem 0 0.25rem;
	color: #000000;
	font-size: clamp(2.2rem, 7vw, 4.5rem);
	line-height: 1.05;
}

.rfu-home-year {
	display: inline-flex;
	font-size: clamp(3rem, 11vw, 6rem);
	line-height: 1;
}

.rfu-home-year span + span {
	margin-left: -0.08em;
}

.rfu-home-date {
	margin: 0.75rem 0 0;
	font-weight: 700;
	font-size: clamp(1.15rem, 3vw, 1.6rem);
}

.rfu-home-tagline {
	margin: 1rem 0 0;
	font-size: clamp(1.15rem, 3vw, 1.6rem);
	color: #212529;
}

/* ---- Főoldal: szakaszok ---- */

.rfu-home-section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.rfu-prose {
	line-height: 1.6;
}

.rfu-prose .lead {
	font-size: 1.15rem;
}

.rfu-prose ul,
.rfu-prose ol {
	padding-left: 1.25rem;
}

.rfu-prose li + li {
	margin-top: 0.2rem;
}

.rfu-card .rfu-card__title {
	line-height: 1.3;
}

/* Témakártya (Nézőknek / Helyszíneknek / Támogatóknak) – a kapcsolat oldal mintájára */
.rfu-topic {
	padding: 1.75rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.92);
	color: #212529;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-top: 5px solid var(--topic-color);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rfu-topic:hover {
	transform: translateY(-4px);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.rfu-topic--pink { --topic-color: var(--rajzfilmunnep-pink); }
.rfu-topic--lila { --topic-color: var(--rajzfilmunnep-lila); }
.rfu-topic--narancs { --topic-color: var(--rajzfilmunnep-narancs); }

.rfu-topic__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: var(--topic-color);
	color: #ffffff;
	font-size: 1.25rem;
}

.rfu-topic h3 {
	color: var(--topic-color);
}

.rfu-topic a {
	color: var(--rajzfilmunnep-lila);
	font-weight: 700;
}

.rfu-topic ul {
	padding-left: 1.2rem;
}

/* Kiemelő sáv (színátmenetes) */
.rfu-banner {
	padding: 1.5rem 2rem;
	border-radius: 1.25rem;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila) 0%, #8a3c9e 45%, var(--rajzfilmunnep-pink) 100%);
	color: #ffffff;
	text-align: center;
	box-shadow: 0 1rem 2.5rem rgba(89, 50, 142, 0.25);
}

.rfu-banner--text {
	text-align: left;
	line-height: 1.6;
}

.rfu-banner h2 {
	color: #ffffff;
}

/* A csapat névsora két / három hasábban */
.rfu-card .about-rfu-team {
	columns: 2 18rem;
	column-gap: 2rem;
	padding-left: 1.2rem;
}

.rfu-card .about-rfu-team li {
	break-inside: avoid;
	margin-bottom: 0.25rem;
}

.rfu-news {
	display: flex;
	justify-content: center;
	padding: 1.5rem;
}

/* A Facebook-beágyazás a doboz szélességéhez igazodik: a doboz ne zsugorodjon a tartalomra */
.rfu-news > div {
	width: 100%;
	max-width: 500px;
}

.rfu-news .fb-page,
.rfu-news .fb-page span,
.rfu-news .fb-page iframe {
	max-width: 100% !important;
}

/* ---- Helyszíneknek ---- */

.rfu-hero--intro {
	align-items: flex-start;
}

.rfu-hero__eyebrow,
.rfu-hero h1.rfu-hero__eyebrow {
	margin: 0 0 0.35rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	letter-spacing: 0.04em;
}

.rfu-hero__lead {
	margin-top: 0.75rem;
	font-size: 1.1rem;
	line-height: 1.55;
	opacity: 0.95;
}

.rfu-card--accent {
	border-top: 5px solid var(--rajzfilmunnep-narancs);
}

.rfu-note {
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	background: rgba(89, 50, 142, 0.07);
	border-left: 4px solid var(--rajzfilmunnep-lila);
	font-weight: 700;
}

.rfu-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: rfu-step;
}

.rfu-step {
	position: relative;
	padding: 1.25rem 1.25rem 1.25rem 1.25rem;
	border-radius: 0.9rem;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-top: 4px solid var(--rajzfilmunnep-pink);
}

.rfu-step + .rfu-step {
	margin-top: 0;
}

.rfu-step__title {
	margin: 0 0 0.5rem;
	color: var(--rajzfilmunnep-lila);
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1.1rem;
}

.rfu-table {
	border-radius: 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.rfu-table table {
	margin: 0;
}

.rfu-table thead th {
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
	border-color: transparent;
	font-weight: 700;
}

.rfu-table tbody tr:nth-child(even) td {
	background: rgba(89, 50, 142, 0.04);
}

.rfu-table td,
.rfu-table th {
	padding: 0.6rem 0.9rem;
}

/* Az aktuális időszak sora (event-schedule.pug) */
.rfu-table tr.highlight td {
	background: rgba(255, 45, 85, 0.12);
	font-weight: 700;
}

.rfu-table tr.highlight td:first-child {
	box-shadow: inset 4px 0 0 var(--rajzfilmunnep-pink);
}

@media (max-width: 991.98px) {
	.rfu-steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767.98px) {
	.rfu-home {
		padding-top: 150px; /* a fix menü kb. 131 px magas */
	}

	.rfu-home-hero {
		padding: 1.5rem;
	}

	.rfu-home-section {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}

	.rfu-topic,
	.rfu-banner {
		padding: 1.25rem;
	}

	.rfu-hero--intro .rfu-hero__icon {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfu-topic {
		transition: none;
	}
}

/* =====================================================================
 * Adatlap-betöltés effekt (movie.pug, location.pug → window.rfuReveal, src/js/rfu-ui.js).
 * Egyszer fut le, amikor a tartalom megjelenik: a színátmenetes fejléc finoman beúszik és
 * egy halvány fénycsík fut át rajta, a plakát / ikon enyhén ránagyít, a cím, az adatok és a
 * számlálók lépcsőzve jönnek, alattuk a kártyák egymás után úsznak be.
 * Csak opacity + transform (GPU), csökkentett mozgásnál nincs.
 * ===================================================================== */

@keyframes rfu-reveal-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rfu-reveal-zoom {
	from {
		opacity: 0;
		transform: scale(0.94);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rfu-reveal-sheen {
	from {
		transform: translateX(-120%) skewX(-18deg);
	}
	to {
		transform: translateX(220%) skewX(-18deg);
	}
}

.rfu-reveal > header {
	animation: rfu-reveal-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfu-reveal .rfu-hero,
.rfu-reveal .rfu-movie-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.rfu-reveal .rfu-hero::after,
.rfu-reveal .rfu-movie-hero::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 45%;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
	transform: translateX(-120%) skewX(-18deg);
	animation: rfu-reveal-sheen 1.3s ease-in-out 0.35s both;
}

.rfu-reveal .rfu-movie-hero__poster,
.rfu-reveal .rfu-hero__icon {
	animation: rfu-reveal-zoom 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.rfu-reveal .rfu-hero__title,
.rfu-reveal .rfu-hero__info,
.rfu-reveal .rfu-movie-hero__info,
.rfu-reveal .rfu-facts > *,
.rfu-reveal .rfu-hero__stats > *,
.rfu-reveal .rfu-hero__button {
	animation: rfu-reveal-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfu-reveal .rfu-hero__title { animation-delay: 0.15s; }
.rfu-reveal .rfu-hero__info,
.rfu-reveal .rfu-movie-hero__info { animation-delay: 0.22s; }
.rfu-reveal .rfu-facts > :nth-child(1),
.rfu-reveal .rfu-hero__stats > :nth-child(1) { animation-delay: 0.28s; }
.rfu-reveal .rfu-facts > :nth-child(2),
.rfu-reveal .rfu-hero__stats > :nth-child(2) { animation-delay: 0.32s; }
.rfu-reveal .rfu-facts > :nth-child(3) { animation-delay: 0.36s; }
.rfu-reveal .rfu-facts > :nth-child(n+4) { animation-delay: 0.4s; }
.rfu-reveal .rfu-hero__button { animation-delay: 0.34s; }

.rfu-reveal > .row > * {
	animation: rfu-reveal-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfu-reveal > .row > :nth-child(1) { animation-delay: 0.3s; }
.rfu-reveal > .row > :nth-child(2) { animation-delay: 0.38s; }
.rfu-reveal > .row > :nth-child(3) { animation-delay: 0.46s; }
.rfu-reveal > .row > :nth-child(n+4) { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
	.rfu-reveal > header,
	.rfu-reveal .rfu-movie-hero__poster,
	.rfu-reveal .rfu-hero__icon,
	.rfu-reveal .rfu-hero__title,
	.rfu-reveal .rfu-hero__info,
	.rfu-reveal .rfu-movie-hero__info,
	.rfu-reveal .rfu-facts > *,
	.rfu-reveal .rfu-hero__stats > *,
	.rfu-reveal .rfu-hero__button,
	.rfu-reveal > .row > * {
		animation: none;
	}

	.rfu-reveal .rfu-hero::after,
	.rfu-reveal .rfu-movie-hero::after {
		display: none;
	}
}

/* =====================================================================
 * Térképes kereső (maps-all.pug, src/js/maps-search.js)
 * Asztalon: bal oldalt kereső + szűrők + görgethető lista, jobbra a térkép (mindkettő a menü alá tapad).
 * Mobilon (992 px alatt): a kereső sáv a menü alá tapad, alatta Lista / Térkép nézet (#maps-root.is-map-view),
 * a szűrők lenyithatók (.filters-open). A fix menü kb. 131 px magas.
 * Animációk: lista beúszás (rfuAnimate), jelölők „leesése”, csoportok felpattanása, szűrőpanel
 * lenyílása, a váltó csúszó jelzője, találatszám „ugrása”, saját helyzet pulzálása – csak
 * opacity + transform; csökkentett mozgásnál nincs.
 * ===================================================================== */

.rfu-maps {
	max-width: 1600px;
	padding-top: 150px;
	padding-bottom: 2rem;
}

.rfu-maps__title {
	margin: 0 0 1rem;
	color: #000000;
	font-size: clamp(1.75rem, 5vw, 2.75rem);
	line-height: 1.1;
}

.rfu-maps__layout {
	display: grid;
	grid-template-columns: minmax(20rem, 25rem) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.rfu-maps__side {
	position: sticky;
	top: 150px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-height: calc(100vh - 170px);
}

.rfu-maps__tools,
.rfu-maps__results {
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.95);
	color: #212529;
	border: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 0.5rem 1.5rem rgba(26, 12, 34, 0.08);
}

.rfu-maps__tools {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
}

.rfu-maps__results {
	flex: 1 1 auto;
	min-height: 12rem;
	padding: 1rem;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Kereső mező */
.rfu-maps__search .form-control {
	height: 3rem;
	padding: 0 2.9rem 0 2.6rem;
	border-radius: 999px;
	border: 1.5px solid rgba(89, 50, 142, 0.25);
	font-size: 1rem; /* 16 px: iOS-en nem nagyít rá a mezőre */
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rfu-maps__search .form-control:focus {
	border-color: var(--rajzfilmunnep-lila);
	box-shadow: 0 0 0 0.25rem rgba(89, 50, 142, 0.15);
}

.rfu-maps__search .form-control::-webkit-search-cancel-button {
	display: none;
}

.rfu-maps__clear {
	position: absolute;
	top: 50%;
	right: 0.45rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-top: -1.125rem;
	border: 0;
	border-radius: 50%;
	background: rgba(89, 50, 142, 0.08);
	color: var(--rajzfilmunnep-lila);
	transition: background-color 0.2s ease;
	animation: rfu-maps-pop 0.2s ease-out both;
}

.rfu-maps__clear[hidden] {
	display: none;
}

.rfu-maps__clear:hover,
.rfu-maps__clear:focus-visible {
	background: rgba(255, 45, 85, 0.12);
	color: var(--rajzfilmunnep-pink);
}

/* A .rfu-search ikonja az input bal szélén; a törlőgomb ikonja ne kerüljön oda */
.rfu-maps__clear i,
.rfu-maps__clear svg {
	position: static;
	transform: none;
	color: inherit;
}

.rfu-maps__actions {
	display: flex;
	gap: 0.5rem;
}

.rfu-maps__actions .btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
}

.rfu-maps__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	margin-left: 0.4rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--rajzfilmunnep-pink);
	color: #ffffff;
	font-size: 0.75rem;
	animation: rfu-maps-pop 0.25s ease-out both;
}

.rfu-maps__badge[hidden] {
	display: none;
}

/* Szűrők: asztalon mindig nyitva, mobilon lenyíló (grid-template-rows animáció) */
.rfu-maps__filters {
	display: grid;
	grid-template-rows: 1fr;
}

.rfu-maps__filters-inner {
	display: grid;
	gap: 0.6rem;
	min-height: 0;
	overflow: hidden;
}

.rfu-maps__filters .form-label {
	margin-bottom: 0.25rem;
	color: #495057;
	font-weight: 700;
	font-size: 0.85rem;
}

.rfu-maps__filters .form-select {
	height: 2.75rem;
	border-radius: 999px;
	border: 1.5px solid rgba(89, 50, 142, 0.2);
	font-size: 1rem;
}

.rfu-maps__filters .form-select:focus {
	border-color: var(--rajzfilmunnep-lila);
	box-shadow: 0 0 0 0.25rem rgba(89, 50, 142, 0.15);
}

.rfu-maps__reset {
	justify-self: start;
	padding: 0;
	color: var(--rajzfilmunnep-pink);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
}

.rfu-maps__reset:hover,
.rfu-maps__reset:focus-visible {
	color: var(--rajzfilmunnep-lila);
}

.rfu-maps__reset[hidden] {
	display: none;
}

.rfu-maps__status {
	margin: 0;
	font-size: 0.85rem;
	text-align: center;
}

.rfu-maps__status:empty {
	display: none;
}

/* Lista / Térkép váltó csúszó jelzővel (csak mobilon látszik) */
.rfu-maps__switch {
	position: relative;
	display: none;
	grid-template-columns: 1fr 1fr;
	padding: 4px;
	border-radius: 999px;
	background: rgba(89, 50, 142, 0.08);
}

.rfu-maps__switch-indicator {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc(50% - 4px);
	border-radius: 999px;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila), #8a3c9e);
	box-shadow: 0 0.35rem 0.9rem rgba(89, 50, 142, 0.3);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-map-view .rfu-maps__switch-indicator {
	transform: translateX(100%);
}

.rfu-maps__switch-btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.6rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--rajzfilmunnep-lila);
	font-weight: 800;
	transition: color 0.25s ease;
}

.rfu-maps__switch-btn.is-active {
	color: #ffffff;
}

.rfu-maps__switch-count {
	display: inline-block;
	margin-left: 0.4rem;
	padding: 0.05rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	font-size: 0.8rem;
}

.rfu-maps__switch-btn:not(.is-active) .rfu-maps__switch-count {
	background: rgba(89, 50, 142, 0.12);
}

/* Találatok */
.rfu-maps__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
	color: #495057;
	font-weight: 700;
}

.rfu-maps__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.15rem 0.65rem;
	border-radius: 999px;
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
	font-size: 0.9rem;
}

.rfu-maps .is-bumped {
	animation: rfu-maps-bump 0.35s ease-out;
}

.rfu-maps__state {
	padding: 2rem 1rem;
	color: #495057;
	text-align: center;
}

.rfu-maps__state--error .rfu-state__icon {
	background: rgba(255, 45, 85, 0.12);
	color: var(--rajzfilmunnep-pink);
}

.rfu-maps__list {
	display: grid;
	gap: 0.6rem;
}

.rfu-maps__item {
	position: relative;
	padding: 0.85rem 1rem;
	border-radius: 1rem;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-left: 4px solid var(--rajzfilmunnep-lila);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.rfu-maps__item:hover {
	transform: translateY(-2px);
	border-left-color: var(--rajzfilmunnep-pink);
	box-shadow: 0 0.6rem 1.4rem rgba(26, 12, 34, 0.1);
}

.rfu-maps__item:focus-visible {
	outline: 3px solid rgba(255, 45, 85, 0.4);
	outline-offset: 2px;
}

.rfu-maps__item.active {
	background: rgba(89, 50, 142, 0.06);
	border-left-color: var(--rajzfilmunnep-pink);
	box-shadow: 0 0 0 2px rgba(89, 50, 142, 0.25);
}

.rfu-maps__item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
}

.rfu-maps__item-name {
	margin: 0;
	color: var(--rajzfilmunnep-lila);
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.3;
	word-break: break-word;
}

.rfu-maps__distance {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.3rem;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: rgba(222, 153, 52, 0.16);
	color: #8a5a10;
	font-size: 0.8rem;
	font-weight: 700;
}

.rfu-maps__item-place {
	margin: 0.2rem 0 0;
	color: #495057;
	font-size: 0.9rem;
	font-weight: 600;
}

.rfu-maps__item-address {
	margin: 0.1rem 0 0;
	color: #6c757d;
	font-size: 0.85rem;
}

.rfu-maps__item-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.rfu-maps__item-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.rfu-maps__item-actions {
	display: flex;
	gap: 0.4rem;
	margin-left: auto;
}

.rfu-maps__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(89, 50, 142, 0.08);
	color: var(--rajzfilmunnep-lila);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rfu-maps__icon-btn:hover,
.rfu-maps__icon-btn:focus-visible {
	background: var(--rajzfilmunnep-lila);
	color: #ffffff;
	transform: translateY(-1px);
}

.rfu-maps__icon-btn--nav {
	background: rgba(25, 135, 84, 0.1);
	color: #146c43;
}

.rfu-maps__icon-btn--nav:hover,
.rfu-maps__icon-btn--nav:focus-visible {
	background: #198754;
	color: #ffffff;
}

/* Térkép */
.rfu-maps__map {
	position: sticky;
	top: 150px;
	border-radius: 1.25rem;
	overflow: hidden;
	background: #f1ece6;
	border: 1px solid rgba(0, 0, 0, 0.07);
	box-shadow: 0 0.75rem 2rem rgba(26, 12, 34, 0.12);
}

#map-container {
	width: 100%;
	height: calc(100vh - 170px);
	min-height: 420px;
}

.rfu-maps .leaflet-control-zoom {
	border: 0;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 0.35rem 1rem rgba(26, 12, 34, 0.18);
}

.rfu-maps .leaflet-control-zoom a {
	width: 2.25rem;
	height: 2.25rem;
	line-height: 2.25rem;
	color: var(--rajzfilmunnep-lila);
}

/* Jelölő: lila tű, kiemelve rózsaszín; megjelenéskor finoman „leesik” */
.rfu-pin-icon {
	background: none;
	border: 0;
}

.rfu-pin {
	display: block;
	width: 32px;
	height: 42px;
	transform-origin: 50% 100%;
	filter: drop-shadow(0 3px 4px rgba(26, 12, 34, 0.3));
	animation: rfu-pin-drop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
	transition: transform 0.2s ease;
}

.rfu-pin svg {
	display: block;
}

.rfu-pin__body {
	fill: var(--rajzfilmunnep-lila);
	transition: fill 0.2s ease;
}

.rfu-pin-icon.is-highlighted .rfu-pin,
.rfu-pin-icon.is-active .rfu-pin {
	transform: scale(1.18) translateY(-2px);
}

.rfu-pin-icon.is-highlighted .rfu-pin__body,
.rfu-pin-icon.is-active .rfu-pin__body {
	fill: var(--rajzfilmunnep-pink);
}

/* Csoport (cluster) */
.rfu-cluster-icon {
	background: none;
	border: 0;
}

.rfu-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(89, 50, 142, 0.22);
	animation: rfu-maps-pop 0.3s ease-out both;
}

.rfu-cluster span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rajzfilmunnep-lila), #8a3c9e);
	color: #ffffff;
	font-weight: 800;
	font-size: 0.9rem;
	box-shadow: 0 0.25rem 0.6rem rgba(26, 12, 34, 0.25);
}

.rfu-cluster--md {
	background: rgba(255, 45, 85, 0.2);
}

.rfu-cluster--md span {
	background: linear-gradient(135deg, #8a3c9e, var(--rajzfilmunnep-pink));
}

.rfu-cluster--lg {
	background: rgba(222, 153, 52, 0.25);
}

.rfu-cluster--lg span {
	background: linear-gradient(135deg, var(--rajzfilmunnep-pink), var(--rajzfilmunnep-narancs));
}

/* Saját helyzet: kék pont lassan pulzáló gyűrűvel */
.rfu-user-icon {
	background: none;
	border: 0;
}

.rfu-user-dot {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: #2563eb;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.rfu-user-dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.35);
	animation: rfu-user-pulse 2s ease-out infinite;
}

/* Felugró ablak */
.rfu-maps .leaflet-popup-content-wrapper {
	border-radius: 1rem;
	box-shadow: 0 0.75rem 2rem rgba(26, 12, 34, 0.2);
}

.rfu-maps .leaflet-popup-content {
	margin: 14px 16px;
}

.rfu-maps-popup {
	animation: rfu-appear 0.25s ease-out both;
}

.rfu-maps-popup p {
	margin: 0;
}

.rfu-maps-popup__name {
	color: var(--rajzfilmunnep-lila);
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.3;
}

.rfu-maps-popup__place {
	margin-top: 0.2rem !important;
	color: #495057;
	font-weight: 600;
}

.rfu-maps-popup__address {
	color: #6c757d;
	font-size: 0.85rem;
}

.rfu-maps-popup__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.6rem 0;
}

.rfu-maps-popup__actions {
	display: flex;
	gap: 0.4rem;
}

.rfu-maps-popup__btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.6rem;
	border-radius: 999px;
	border: 2px solid #198754;
	color: #146c43 !important;
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.rfu-maps-popup__btn:hover,
.rfu-maps-popup__btn:focus-visible {
	background: #198754;
	color: #ffffff !important;
}

.rfu-maps-popup__btn--primary {
	border-color: var(--rajzfilmunnep-lila);
	background: var(--rajzfilmunnep-lila);
	color: #ffffff !important;
}

.rfu-maps-popup__btn--primary:hover,
.rfu-maps-popup__btn--primary:focus-visible {
	border-color: var(--rajzfilmunnep-pink);
	background: var(--rajzfilmunnep-pink);
}

/* Lebegő „Vissza a listához” gomb (mobilon, térkép nézetben) */
.rfu-maps__fab {
	position: fixed;
	left: 50%;
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 1000;
	display: none;
	align-items: center;
	padding: 0.75rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(120deg, var(--rajzfilmunnep-lila), var(--rajzfilmunnep-pink));
	color: #ffffff;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 0.75rem 1.75rem rgba(89, 50, 142, 0.35);
	transform: translateX(-50%);
}

.rfu-maps__fab:hover,
.rfu-maps__fab:focus-visible {
	color: #ffffff;
}

/* Betöltéskor az oldalsáv és a térkép finoman beúszik */
.rfu-maps.is-ready .rfu-maps__side,
.rfu-maps.is-ready .rfu-maps__map {
	animation: rfu-appear 0.45s ease-out both;
}

.rfu-maps.is-ready .rfu-maps__map {
	animation-delay: 0.08s;
}

@keyframes rfu-pin-drop {
	from {
		opacity: 0;
		transform: translateY(-14px) scale(0.85);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rfu-maps-pop {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rfu-maps-bump {
	0% { transform: scale(1); }
	40% { transform: scale(1.18); }
	100% { transform: scale(1); }
}

@keyframes rfu-maps-fab-in {
	from {
		opacity: 0;
		transform: translate(-50%, 1rem);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

@keyframes rfu-user-pulse {
	from {
		opacity: 0.9;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(2.6);
	}
}

/* ---- Mobil és tablet ---- */
@media (max-width: 991.98px) {
	.rfu-maps {
		padding-top: 145px;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.rfu-maps__title {
		margin-bottom: 0.75rem;
	}

	.rfu-maps__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}

	/* Az oldalsáv elemei (kereső sáv, találatok) közvetlenül a rácsba kerülnek */
	.rfu-maps__side {
		display: contents;
	}

	.rfu-maps__tools {
		position: sticky;
		top: 131px; /* a fix menü alatt */
		z-index: 20;
		background: #ffffff;
		gap: 0.6rem;
		padding: 0.75rem;
		box-shadow: 0 0.75rem 1.75rem rgba(26, 12, 34, 0.14);
	}

	.rfu-maps__results {
		min-height: 0;
		padding: 0.75rem;
		overflow: visible;
	}

	.rfu-maps__switch {
		display: grid;
	}

	.rfu-maps__filters {
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	}

	.filters-open .rfu-maps__filters {
		grid-template-rows: 1fr;
	}

	.rfu-maps__filters-inner {
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease, visibility 0s linear 0.3s;
	}

	.filters-open .rfu-maps__filters-inner {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.2s ease 0.05s, visibility 0s;
	}

	.rfu-maps__map {
		position: relative;
		top: auto;
		display: none;
	}

	#map-container {
		height: calc(100vh - 340px);
		min-height: 320px;
	}

	.is-map-view .rfu-maps__map {
		display: block;
		animation: rfu-appear 0.3s ease-out both;
	}

	.is-map-view .rfu-maps__results {
		display: none;
	}

	.is-map-view .rfu-maps__fab {
		display: inline-flex;
		animation: rfu-maps-fab-in 0.3s ease-out both;
	}

	.rfu-maps__icon-btn {
		width: 2.75rem;
		height: 2.75rem;
	}
}

@media (min-width: 576px) and (max-width: 991.98px) {
	.rfu-maps__filters-inner {
		grid-template-columns: 1fr 1fr;
	}

	.rfu-maps__reset {
		grid-column: 1 / -1;
	}
}

@media (min-width: 992px) {
	.rfu-maps__filters-toggle,
	.rfu-maps__fab {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rfu-maps__clear,
	.rfu-maps__badge,
	.rfu-maps__item,
	.rfu-maps__icon-btn,
	.rfu-pin,
	.rfu-cluster,
	.rfu-user-dot::after,
	.rfu-maps-popup,
	.rfu-maps__switch-indicator,
	.rfu-maps__filters,
	.rfu-maps__filters-inner,
	.rfu-maps .is-bumped,
	.rfu-maps.is-ready .rfu-maps__side,
	.rfu-maps.is-ready .rfu-maps__map,
	.is-map-view .rfu-maps__map,
	.is-map-view .rfu-maps__fab {
		animation: none !important;
		transition: none !important;
	}
}
