/* Transport page hero + search overlay only (scoped — does not affect other pages) */

.transport-hero-section {
	position: relative;
	z-index: 2;
	background: #fff;
}

/* Passenger / Payment: banner only (no search overlay) */
.transport-hero-section--simple .transport-hero-banner {
	padding-bottom: 70px;
}

.transport-hero-section--simple .transport-hero-banner .text-holder {
	margin-bottom: 0;
}

.transport-hero-section::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 420px;
	background: rgba(0, 0, 0, 0.1);
	clip-path: ellipse(100% 100% at 50% 0%);
	transform: translateY(14px);
	z-index: 0;
	pointer-events: none;
}

.transport-hero-section .transport-hero-banner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 420px;
	padding: 65px 0 90px;
	overflow: hidden;
	clip-path: ellipse(100% 100% at 50% 0%);
}

.transport-hero-section .transport-hero-banner-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
	pointer-events: none;
}

.transport-hero-section .transport-hero-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.38) 0%,
		rgba(0, 0, 0, 0.22) 45%,
		rgba(0, 0, 0, 0.16) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.transport-hero-section .transport-hero-banner .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.transport-hero-section .transport-hero-banner .row {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.transport-hero-section .transport-hero-banner .text-holder {
	text-align: center;
	margin-bottom: 30px;
}

.transport-hero-section .transport-hero-banner .text-holder h1 {
	margin: 0 0 14px;
	color: #fff;
	letter-spacing: 0.3px;
	text-shadow: 0 2px 4px rgb(0 0 0 / 55%), 0 1px 2px rgb(0 0 0 / 45%);
}

.transport-hero-section .transport-hero-banner .text-holder p {
	margin: 0 auto;
	max-width: 680px;
	text-align: center;
	color: #fff;
	font-size: 16px;
	line-height: 25px;
	text-shadow: 0 2px 4px rgb(0 0 0 / 55%), 0 1px 2px rgb(0 0 0 / 45%);
}

/* Search sits over the curved banner bottom */
.transport-hero-section .transport-hero-search-wrap {
	position: relative;
	z-index: 3;
	margin-top: -110px;
	padding-top: 0;
	padding-bottom: 40px;
}

.transport-hero-section .transport-hero-search-wrap .row {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.transport-hero-section .transport-search-bar {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

/* Tabs → teal angled bar */
.transport-hero-section .transport-search-bar .search-top {
	display: block;
	margin: 0;
}

.transport-hero-section .transport-search-bar .filter-radio {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	background: var(--primary-color, #1ca69e);
	color: #fff;
	padding: 12px 42px 12px 20px;
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
	border-radius: 10px 0 0 0;
	margin: 0;
	position: relative;
	z-index: 2;
}

.transport-hero-section .transport-search-bar .filter-radio label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	min-width: 0;
	padding-left: 0;
}

.transport-hero-section .transport-search-bar .filter-radio input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-radius: 50%;
	margin: 0;
	position: relative;
	flex-shrink: 0;
	background: transparent;
	cursor: pointer;
}

.transport-hero-section .transport-search-bar .filter-radio input[type="radio"]:checked::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #fff;
}

/* Yellow search card */
.transport-hero-section .transport-search-bar .search-inputs {
	background: var(--secondary-color, #fbc165);
	border: none;
	border-radius: 0 12px 12px 12px;
	padding: 24px 16px 20px;
	margin: 0;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
}

.transport-hero-section .transport-search-bar .search-middle {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
	background: #fff;
	border-radius: 10px;
	padding: 0 12px;
	height: 60px;
	min-height: 60px;
	max-height: 60px;
	box-sizing: border-box;
	flex: 1 1 0;
	min-width: 0;
	justify-content: flex-start;
	margin: 0;
}

.transport-hero-section .transport-search-bar .search-middle.full-package .field-holder {
	flex: 1 1 auto;
	min-width: 0;
}

.transport-hero-section .transport-search-bar .field-holder {
	flex: 1 1 0;
	min-width: 160px;
	height: 100%;
	border-left: 1px solid #e5e5e5;
	padding: 0 8px;
	gap: 10px;
	align-items: center;
	align-self: center;
	position: relative;
	box-sizing: border-box;
}

.transport-hero-section .transport-search-bar .field-holder:first-child {
	border-left: none;
	padding-left: 4px;
}

.transport-hero-section .transport-search-bar .field-holder > img {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
}

.transport-hero-section .transport-search-bar .inner-drop {
	border: none;
	padding: 0;
	background: transparent;
	flex: 1 1 auto;
	width: 100%;
	position: relative;
	min-width: 0;
}

.transport-hero-section .transport-search-bar .my-dropdown.inner-drop {
	flex: 1 1 auto;
	width: 100%;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 18px;
	box-sizing: border-box;
}

.transport-hero-section .transport-search-bar .search-middle .field-holder label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #9c9c9c;
	margin-bottom: 2px;
	line-height: 1.2;
	position: static;
	transform: none;
	top: auto;
	left: auto;
}

.transport-hero-section .transport-search-bar .search-middle .inner-drop input {
	border: none;
	padding: 0;
	background: transparent;
	font-size: 16px;
	font-weight: 500;
	width: 100%;
	line-height: 1.4;
	color: #080808;
	cursor: pointer;
}

.transport-hero-section .transport-search-bar .search-middle .inner-drop input::placeholder {
	font-size: 16px;
	font-weight: 500;
	color: #080808;
	opacity: 1;
}

/* From/To dropdowns full field width */
.transport-hero-section .transport-search-bar .field-holder > .inner-drop,
.transport-hero-section .transport-search-bar .field-holder > .my-dropdown,
.transport-hero-section .transport-search-bar .my-dropdown.inner-drop {
	position: static;
}

.transport-hero-section .transport-search-bar .field-holder .my-options {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 4px);
	width: 100%;
	min-width: 100%;
	max-width: none;
	box-sizing: border-box;
	margin: 0;
	z-index: 60;
	border: 1px solid #1ca69e;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	max-height: 240px;
	overflow-y: auto;
}

/* Search button */
.transport-hero-section .transport-search-bar .search-btn {
	position: static;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 118px;
	width: auto;
	height: 46px;
	margin: 7px 0 7px 10px;
	padding: 0 18px;
	border: none;
	border-radius: 8px;
	background: var(--primary-color, #1ca69e);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	align-self: center;
}

.transport-hero-section .transport-search-bar .search-btn:hover {
	background: #117c73;
	color: #fff;
}

.transport-hero-section .transport-search-bar .search-btn img {
	width: 18px;
	height: 18px;
	margin: 0;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

.transport-hero-section .transport-search-bar .search-btn .search-btn-label {
	display: inline;
	color: #fff;
}

/* Keep icon-only search button on other transport pages that reuse the partial */
.transport-search-bar .search-btn-label {
	display: none;
}

@media (max-width: 1199px) {
	.transport-hero-section .transport-search-bar {
		max-width: 100%;
	}

	.transport-hero-section .transport-search-bar .field-holder {
		min-width: 140px;
	}
}

@media (max-width: 991px) {
	.transport-hero-section::before {
		height: 340px;
		clip-path: ellipse(105% 100% at 50% 0%);
		transform: translateY(12px);
	}

	.transport-hero-section .transport-hero-banner {
		min-height: 340px;
		padding: 48px 12px 70px;
		clip-path: ellipse(105% 100% at 50% 0%);
	}

	.transport-hero-section .transport-hero-banner .text-holder {
		margin-bottom: 0;
		padding: 0 8px;
	}

	.transport-hero-section .transport-hero-banner .text-holder h1 {
		font-size: 28px;
		line-height: 1.25;
		margin-bottom: 10px;
	}

	.transport-hero-section .transport-hero-banner .text-holder p {
		font-size: 15px;
		line-height: 22px;
		max-width: 560px;
	}

	.transport-hero-section .transport-hero-banner {
		padding-bottom: 48px;
	}

	.transport-hero-section .transport-hero-search-wrap {
		margin-top: -56px;
		padding: 0 10px 24px;
	}

	.transport-hero-section .transport-hero-search-wrap > .container,
	.transport-hero-section .transport-hero-search-wrap .row {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}

	.transport-hero-section .transport-search-bar {
		max-width: 100%;
		padding: 8px 10px 12px;
		background: var(--secondary-color, #fbc165);
		border-radius: 14px;
		box-sizing: border-box;
	}

	.transport-hero-section .transport-search-bar .filter-radio {
		display: flex !important;
		width: 100%;
		max-width: 100%;
		clip-path: none !important;
		background: transparent !important;
		border-radius: 0;
		justify-content: flex-start !important;
		align-items: flex-end;
		gap: 4px 8px;
		padding: 2px 2px 0;
		box-sizing: border-box;
		margin: 0 0 8px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	}

	.transport-hero-section .transport-search-bar .filter-radio label {
		flex: 0 0 auto !important;
		justify-content: flex-start;
		font-size: 13px;
		font-weight: 600;
		gap: 6px;
		white-space: nowrap;
		color: #222 !important;
		padding: 8px 10px 10px;
		margin-bottom: -1px;
		border-bottom: 2px solid transparent;
		border-radius: 0;
	}

	.transport-hero-section .transport-search-bar .filter-radio label:has(input:checked) {
		color: #111 !important;
		border-bottom-color: #1ca69e;
	}

	.transport-hero-section .transport-search-bar .filter-radio input[type="radio"] {
		border-color: #555;
		width: 15px;
		height: 15px;
	}

	.transport-hero-section .transport-search-bar .filter-radio input[type="radio"]:checked {
		border-color: #1ca69e;
	}

	.transport-hero-section .transport-search-bar .filter-radio input[type="radio"]:checked::after {
		background: #1ca69e;
	}

	.transport-hero-section .transport-search-bar .search-inputs {
		background: transparent !important;
		border-radius: 0 !important;
		padding: 0 !important;
		overflow: visible;
		flex-direction: column;
	}

	.transport-hero-section .transport-search-bar .search-middle {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 0;
		padding: 8px 12px;
		height: auto;
		min-height: 0;
		max-height: none;
		width: 100%;
		box-sizing: border-box;
	}

	.transport-hero-section .transport-search-bar .field-holder {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
		height: auto;
		border-left: none !important;
		border-top: 1px solid #eee;
		padding: 12px 8px !important;
		gap: 12px !important;
		position: relative !important;
		box-sizing: border-box;
		display: flex;
		align-items: center;
	}

	.transport-hero-section .transport-search-bar .field-holder:first-child {
		border-top: none !important;
		padding-left: 8px !important;
	}

	.transport-hero-section .transport-search-bar .search-btn {
		width: 100% !important;
		min-width: 0 !important;
		margin: 8px 0 0 !important;
		height: 46px;
	}
}

@media (max-width: 767px) {
	.transport-hero-section::before {
		height: 300px;
		clip-path: ellipse(115% 100% at 50% 0%);
		transform: translateY(10px);
	}

	.transport-hero-section .transport-hero-banner {
		min-height: 300px;
		padding: 40px 10px 64px;
		clip-path: ellipse(115% 100% at 50% 0%);
	}

	.transport-hero-section .transport-hero-banner .text-holder h1 {
		font-size: 24px;
	}
}

@media (max-width: 575px) {
	.transport-hero-section .transport-hero-banner {
		min-height: 240px;
		padding-bottom: 40px;
	}

	.transport-hero-section .transport-hero-search-wrap {
		margin-top: -48px;
		padding: 0 8px 20px;
	}

	.transport-hero-section .transport-search-bar {
		padding: 6px 8px 10px;
		border-radius: 12px;
	}

	.transport-hero-section .transport-search-bar .filter-radio label {
		font-size: 12px;
		padding: 8px 8px 9px;
	}
}
