/* Pas CTA transportu - 05-redesign-pilne-transport.md, Blok B.
 * Wzorzec "panels" z design systemu Job Linker Navy: gradient 135deg
 * #003366 -> #001B36, tekst pomocniczy #D6E4F2. Zero animacji wejscia. */

.jl-transport {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 24px;
	background: linear-gradient(135deg, #003366, #001B36);
	border-radius: 8px;
	padding: 20px 24px;
	margin: 16px 0;
}

.jl-transport__nad {
	margin: 0 0 4px 0;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #D6E4F2;
}

.jl-transport__tytul {
	margin: 0 0 10px 0;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.25;
	color: #FFFFFF;
}

.jl-transport__punkty {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jl-transport__punkty li {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	color: #D6E4F2;
}

.jl-transport__punkty li span {
	white-space: nowrap;
}

.jl-transport__akcja {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 8px;
}

.jl-transport__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 24px;
	background: #007BFF;
	color: #FFFFFF;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: none;
	white-space: nowrap;
}

.jl-transport__btn:hover,
.jl-transport__btn:focus-visible {
	background: #3395FF;
}

.jl-transport__btn:focus-visible {
	outline: 3px solid rgba(0, 123, 255, .35);
	outline-offset: 2px;
}

.jl-transport__nota {
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	color: #D6E4F2;
}

/* Wariant "Kreator CV" - inny kolor niz transport, zeby sie wyroznial, ale dalej
 * w palecie Job Linker Navy (odwrocony gradient: akcja niebieska -> granat, zamiast
 * granat -> ciemny granat). Zero nowego hue. */
.jl-transport--cv {
	background: linear-gradient(135deg, #007BFF, #003366);
}

@media (max-width: 767px) {
	.jl-transport {
		grid-template-columns: 1fr;
	}

	.jl-transport__punkty {
		flex-direction: column;
		gap: 6px;
	}

	.jl-transport__akcja {
		width: 100%;
	}

	.jl-transport__btn {
		width: 100%;
	}
}

/* Rotator TRZECH slajdow (transport / Kreator CV / grafika), co 5 s - jl-transport-cta.js.
 * 2026-09-03, druga poprawka po odbiorze: wlasciciel chcial jeden rotator (nie dwa
 * rozne banery na roznych pozycjach) - ten sam trzysladowy rotator stoi pod mapa
 * ORAZ jest klonowany co 9. oferte na liscie. */

.jl-transport-rotator {
	position: relative;
	margin: 16px 0;
}

.jl-transport-rotator .jl-transport {
	margin: 0;
}

.jl-transport-rotator__slide[hidden] {
	display: none;
}

.jl-transport-rotator__slide {
	animation: jlTransportSlajdWejscie .5s ease;
}

.jl-transport-rotator__img {
	display: block;
	width: 100%;
	/* !important: motyw ma gdzies globalna regule "img { height:auto }" o wystarczajacej
	 * specyficznosci, zeby wygrac z pojedyncza klasa - to nie jest kontrolka Elementora
	 * wlasciciela (patrz PULAPKI.md), tylko generyczny reset motywu, wiec !important
	 * jest tu bezpieczne i celowe. */
	height: 160px !important;
	object-fit: cover;
	border-radius: 8px;
}

@keyframes jlTransportSlajdWejscie {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.jl-transport-rotator__slide {
		animation: none;
	}
}
