.rw-slider {
	position: relative;
	height: 510px;
	overflow: hidden;
	background: #222;
	font-family: "Work Sans", Arial, Helvetica, sans-serif;
}

.rw-slider-dia {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.7s ease;
}

.rw-slider-dia.aktiv {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.rw-slider-dia img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.rw-slider-arnyek::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 32%, rgba(0, 0, 0, 0) 58%);
	pointer-events: none;
}

.rw-slider-szoveg {
	position: absolute;
	z-index: 2;
	left: 108px;
	right: 90px;
	top: 50%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	transform: translateY(-50%);
	pointer-events: none;
}

.rw-slider-szoveg h2,
.rw-slider-szoveg p,
.rw-slider-gomb {
	position: static;
	left: auto;
	margin: 0;
	transform: none;
}

.rw-slider-szoveg h2 {
	color: #fff;
	font-size: 54px;
	font-weight: 500;
	line-height: 62px;
}

.rw-slider-szoveg p {
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
}

.rw-slider-gomb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 190px;
	height: 48px;
	margin-top: 16px;
	padding: 0 18px;
	background: #fedc19;
	border-radius: 5px;
	color: #222;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	pointer-events: auto;
}

.rw-slider-gomb:hover {
	background: #e3c101;
	color: #222;
}

.rw-slider-nyil {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fedc19;
	color: #222;
	line-height: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.rw-slider-nyil svg {
	display: block;
	width: 22px;
	height: 22px;
}

.rw-slider-elozo { left: 16px; }
.rw-slider-kovetkezo { right: 16px; }

.rw-slider-pontok {
	position: absolute;
	z-index: 3;
	left: 0;
	right: 0;
	bottom: 18px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.rw-slider-pontok button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.rw-slider-pontok button.aktiv {
	background: #fedc19;
	border-color: #fedc19;
}

@media screen and (max-width: 1230px) {
	.rw-slider { height: 420px; }
	.rw-slider-szoveg {
		left: 84px;
		right: 84px;
		align-items: center;
		text-align: center;
	}
	.rw-slider-szoveg h2 { font-size: 44px; line-height: 50px; }
	.rw-slider-szoveg p { font-size: 20px; line-height: 28px; }
	.rw-slider-gomb { min-width: 180px; height: 46px; font-size: 18px; }
	.rw-slider-arnyek::before {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.4) 100%);
	}
}

@media screen and (max-width: 778px) {
	.rw-slider { height: 340px; }
	.rw-slider-szoveg { left: 28px; right: 28px; }
	.rw-slider-szoveg h2 { font-size: 28px; line-height: 33px; }
	.rw-slider-szoveg p { font-size: 16px; line-height: 22px; }
	.rw-slider-gomb { min-width: 160px; height: 42px; font-size: 16px; }
	.rw-slider-nyil { display: none; }
}

@media screen and (max-width: 480px) {
	.rw-slider { height: 280px; }
	.rw-slider-szoveg {
		left: 20px;
		right: 20px;
		align-items: flex-start;
		text-align: left;
		gap: 6px;
	}
	.rw-slider-szoveg h2 { font-size: 24px; line-height: 29px; }
	.rw-slider-szoveg p { font-size: 15px; line-height: 20px; }
	.rw-slider-gomb { min-width: 130px; height: 40px; margin-top: 10px; font-size: 15px; }
}

@media screen and (max-width: 350px) {
	.rw-slider-gomb { display: none; }
}
