/* Főoldali slider (2K) – a korábbi Woodmart/Elementor slider kinézetének pontos mása.
   A színek a téma változóiból jönnek: --bl-lime (neon) és --bl-dark (grafit). */

.blfs {
	--blfs-lime: var(--bl-lime, #EEFA03);
	--blfs-dark: var(--bl-dark, #141414);
	--blfs-gap: 10px;
	--blfs-head-font: Inter, Poppins, Arial, Helvetica, sans-serif;
	position: relative;
	overflow: hidden;
}
.blfs.blfs-stretch { width: 100vw; left: 50%; margin-left: -50vw; }
.elementor-widget-bl_fooldali_slider .elementor-widget-container { overflow: visible; }

.blfs-track { position: relative; display: grid; }

.blfs .blfs-slide {
	grid-area: 1 / 1;
	position: relative;
	opacity: 0;
	visibility: hidden;
	transition: opacity .7s ease, visibility .7s;
	z-index: 1;
}
.blfs .blfs-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

/* Háttér */
.blfs-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: var(--blfs-dark);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.blfs--sotet .blfs-bg { background-image: linear-gradient(111deg, var(--blfs-dark) 61%, var(--blfs-lime) 61%); }
.blfs--neon .blfs-bg { background-image: linear-gradient(111deg, var(--blfs-lime) 65%, var(--blfs-dark) 65%); }
.blfs--brigad .blfs-bg { background-image: linear-gradient(180deg, var(--blfs-dark) 93%, var(--blfs-lime) 93%); }
.blfs--kep .blfs-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(20, 20, 20, .9) 0%, rgba(20, 20, 20, .8) 40%, rgba(20, 20, 20, .35) 65%, rgba(20, 20, 20, 0) 85%);
}
.blfs--kep.blfs-notext .blfs-bg::after { display: none; }
.blfs-cover-link { position: absolute; inset: 0; z-index: 3; }

/* Elrendezés */
.blfs-container {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	height: 100%;
	max-width: 1222px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}
.blfs-inner { width: 100%; max-width: 880px; }
.blfs-row {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	min-height: 600px;
	gap: 0 15px;
}
.blfs-txt {
	display: flex;
	flex-direction: column;
	gap: var(--blfs-gap);
	width: 41.6%;
	flex: 0 1 auto;
	min-width: 0;
	padding: 40px 0 100px 15px;
	box-sizing: border-box;
}
.blfs-img {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 58.4%;
	flex: 0 1 auto;
	min-width: 0;
	min-height: 500px;
	box-sizing: border-box;
}
.blfs-img-w { text-align: center; }
.blfs .blfs-img img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.blfs--neon .blfs-row { gap: 0; }
.blfs--neon .blfs-txt { width: 91%; }
.blfs--neon .blfs-img { justify-content: center; }

/* Címsor */
.blfs .blfs-h {
	margin: 0;
	padding: 0;
	font-family: var(--blfs-head-font);
	font-size: 51px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	line-height: 1.05;
	letter-spacing: -.01em;
	color: #fff;
	overflow-wrap: break-word;
}
/* A téma egyedi CSS-e minden címsorra 1.08-as sormagasságot ad (html body :is(h1…h6)); a slider címe 1.05 marad. */
.blfs .blfs-txt .blfs-h { line-height: 1.05; letter-spacing: -.01em; }
.blfs .blfs-h2 { color: var(--blfs-lime); }
.blfs--neon .blfs-h1 { color: var(--blfs-dark); }
.blfs--neon .blfs-h2w { background: var(--blfs-dark); padding: 10px 10px 0 0; text-align: center; }
.blfs--neon .blfs-h2 { font-size: 64px; }

/* Leírás */
.blfs .blfs-desc { font-size: 18px; line-height: 1.6; color: #fff; }
.blfs .blfs-desc p { margin: 0 0 1.2em; font-size: inherit; line-height: inherit; color: inherit; }
.blfs--neon .blfs-desc { color: var(--blfs-dark); }

/* Pipás lista */
.blfs .blfs-list {
	display: flex;
	flex-direction: column;
	gap: var(--blfs-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.blfs .blfs-list li {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.blfs .blfs-list li::before { content: none; }
.blfs-ic {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 10.5px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--blfs-lime);
	color: var(--blfs-dark);
	fill: var(--blfs-dark);
	line-height: 1;
}
.blfs-ic svg { display: block; width: 21px; height: 21px; fill: currentColor; }
.blfs-li {
	display: block;
	margin: 0 0 5px;
	font-family: var(--blfs-head-font);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.01em;
	color: #fff;
}
.blfs--neon .blfs-ic { background: var(--blfs-dark); color: var(--blfs-lime); fill: var(--blfs-lime); }
.blfs--neon .blfs-li { color: var(--blfs-dark); }

/* Gomb */
.blfs .blfs-btn,
.blfs .blfs-btn:hover,
.blfs .blfs-btn:focus,
.blfs .blfs-btn:visited {
	display: inline-block;
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background: var(--blfs-lime);
	color: var(--blfs-dark);
	fill: var(--blfs-dark);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: all .3s;
}
.blfs--neon .blfs-btn,
.blfs--neon .blfs-btn:hover,
.blfs--neon .blfs-btn:focus,
.blfs--neon .blfs-btn:visited { background: var(--blfs-dark); color: var(--blfs-lime); fill: var(--blfs-lime); }
.blfs-btn-in { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; gap: 5px; }
.blfs-btn-ic { display: flex; align-items: center; }
.blfs-btn-ic svg { display: block; width: 1em; height: 1em; fill: currentColor; }

/* Nyilak és pöttyök */
.blfs .blfs-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	min-height: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(20, 20, 20, .55);
	color: #fff;
	box-shadow: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity .25s, background-color .25s;
}
.blfs:hover .blfs-arrow,
.blfs .blfs-arrow:focus-visible { opacity: 1; }
.blfs .blfs-arrow:hover { background: var(--blfs-dark); color: var(--blfs-lime); }
.blfs .blfs-prev { left: 20px; }
.blfs .blfs-next { right: 20px; }
.blfs-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.blfs .blfs-dots button {
	width: 10px;
	height: 10px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
	line-height: 0;
	cursor: pointer;
}
.blfs .blfs-dots button.is-active { background: #fff; }

/* Tablet */
@media (max-width: 1024px) {
	.blfs { --blfs-gap: 0px; }
	.blfs-container { justify-content: flex-start; align-items: center; }
	.blfs-inner { max-width: 1200px; }
	.blfs-txt { padding: 40px 15px 90px 15px; }
}

/* Telefon */
@media (max-width: 768px) {
	.blfs { --blfs-gap: 6px; }
	.blfs-row { flex-direction: column; min-height: 0; }
	.blfs-txt,
	.blfs--neon .blfs-txt,
	.blfs-img { width: 100%; }
	.blfs-txt { padding: 28px 22px 14px; }
	.blfs .blfs-txt .blfs-h { font-size: 32px; }
	.blfs--neon .blfs-txt .blfs-h2 { font-size: 38px; }
	.blfs--neon .blfs-h2w { padding: 6px 8px 0 0; }
	.blfs .blfs-desc { font-size: 15px; line-height: 1.5; }
	.blfs .blfs-desc p { margin: 0 0 .6em; }
	.blfs-ic { flex-basis: 34px; width: 34px; height: 34px; padding: 8px; }
	.blfs-ic svg { width: 18px; height: 18px; }
	.blfs-li { font-size: 15px; }
	.blfs .blfs-btn,
	.blfs .blfs-btn:hover,
	.blfs .blfs-btn:focus,
	.blfs .blfs-btn:visited { padding: 11px 18px; font-size: 15px; }
	.blfs-img { min-height: 0; justify-content: center; padding: 4px 22px 44px; }
	.blfs .blfs-img img { width: auto; max-height: 220px; }
	.blfs .blfs-arrow { display: none; }
	.blfs-dots { bottom: 14px; }
	/* telefonon a színes átlós sáv a szöveg alá, a kép mögé kerül, így a szöveg egyszínű háttéren van */
	.blfs--sotet .blfs-bg { background-image: linear-gradient(192deg, var(--blfs-dark) 62%, var(--blfs-lime) 62%); }
	.blfs--neon .blfs-bg { background-image: linear-gradient(192deg, var(--blfs-lime) 62%, var(--blfs-dark) 62%); }
	.blfs--kep .blfs-row { min-height: 440px; justify-content: flex-end; }
	.blfs--kep .blfs-txt { padding-bottom: 48px; }
	.blfs--kep .blfs-bg::after { background: rgba(20, 20, 20, .6); }
}

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