/* RaviElson Text Banner — wg Figmy, node 1392:2891 (ramka 1450×601)
   Tekst: Poppins Bold 36 (token H2). Podpis: LIMONKA #c0eb00. */

.rtb {
	--rtb-height: 601px;
	--rtb-overlay: 0.55;
	--rtb-limonka: #c0eb00;

	position: relative;
	width: 100%;
	min-height: var(--rtb-height);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-image: var(--rtb-image, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #1c2b1c;
}

.rtb *,
.rtb *::before,
.rtb *::after {
	box-sizing: border-box;
}

.rtb__overlay {
	position: absolute;
	inset: 0;
	background: rgba(9, 9, 9, var(--rtb-overlay));
	z-index: 1;
	pointer-events: none;
}

.rtb__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 64px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 32px;
}

.rtb .rtb__text {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: clamp(22px, 2.8vw, 36px);
	line-height: 1.3;
	color: #ffffff;
	text-align: center;
}

.rtb .rtb__caption {
	display: inline-block;
	margin: 0;
	font-family: "Alexandria", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rtb-limonka);
	text-decoration: none;
}

a.rtb__caption:hover {
	color: var(--rtb-limonka);
	text-decoration: underline;
}

/* Limonkowy przycisk — używany na podstronie Inwestor zamiast podpisu. */
.rtb a.rtb__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 250px;
	height: 50px;
	padding: 10px 32px;
	background: var(--rtb-limonka);
	color: #090909;
	/* Bez zaokrąglenia — w projekcie przycisk jest prostokątny. */
	border-radius: 0;
	font-family: "Alexandria", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: filter 0.25s ease;
}

.rtb a.rtb__btn:hover {
	background: var(--rtb-limonka);
	color: #090909;
	filter: brightness(0.94);
}

@media (max-width: 768px) {
	.rtb {
		min-height: 420px;
	}

	.rtb__inner {
		padding: 48px 20px;
		gap: 24px;
	}
}

@media (max-width: 480px) {
	.rtb {
		min-height: 360px;
	}

	.rtb .rtb__caption {
		font-size: 14px;
	}
}
