/* ── Transport profile image ─────────────────────────────────────────────── */

.transport-profile-image {
	margin: 0;
}

.transport-profile-image__img {
	width: 100%;
	height: auto;
}

.transport-profile-image a {
	display: block;
}

/* ── Slider (multiple images) ───────────────────────────────────────────── */

.transport-profile-image__slider {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #fff;
	border-radius: var(--wp--custom--radius--l, 1rem);
}

.transport-profile-image__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.transport-profile-image__slide.is-active {
	opacity: 1;
}

.transport-profile-image__slide:first-child {
	opacity: 1;
}

.transport-profile-image__slide a {
	display: block;
	width: 100%;
	height: 100%;
}

.transport-profile-image__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
	background-color: #fff;
}

/* Arrows — same as hero slider */
.transport-profile-image__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--wp--preset--color--black, #000);
	cursor: pointer;
	transition: background 0.2s ease;
}

.transport-profile-image__arrow:hover {
	background: rgba(255, 255, 255, 1);
}

.transport-profile-image__arrow--prev {
	left: var(--wp--preset--spacing--30, 0.75rem);
}

.transport-profile-image__arrow--next {
	right: var(--wp--preset--spacing--30, 0.75rem);
}

.transport-profile-image__arrow svg {
	display: block;
}

/* Progress indicators — same as hero slider */
.transport-profile-image__indicators {
	display: flex;
	gap: 4px;
	margin-top: var(--wp--preset--spacing--30, 0.75rem);
	max-width: 458px;
	margin-inline: auto;
}

.transport-profile-image__indicator {
	height: 3px;
	flex: 1;
	background: var(--wp--preset--color--grey-mid, #d1d5db);
	border-radius: 2px;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	border: none;
	padding: 0;
}

.transport-profile-image__indicator::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--purso-turkoosi, #008fa5);
	transform: scaleX(0);
	transform-origin: left;
}

.transport-profile-image__indicator.is-active::after {
	transform: scaleX(1);
}
