/* ============================================
   Featured Transfers Page (ft- prefix)
   ============================================ */

/* ---- Hero ---- */
.ft-hero {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	padding: 80px 20px 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ft-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 30% 70%, rgba(243, 165, 28, 0.08) 0%, transparent 50%),
				radial-gradient(circle at 70% 30%, rgba(72, 183, 182, 0.08) 0%, transparent 50%);
	pointer-events: none;
}

.ft-hero__inner {
	max-width: 700px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.ft-hero__label {
	display: inline-block;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--secondary-color, #48B7B6);
	margin-bottom: 12px;
}

.ft-hero__title {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	margin: 0 0 16px;
}

.ft-hero__highlight {
	background: linear-gradient(135deg, var(--primary-color, #F3A51C), #f7c563);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.ft-hero__subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin: 0 0 20px;
}

.ft-hero__count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 30px;
	padding: 8px 20px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.ft-hero__count .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--primary-color, #F3A51C);
}

/* ---- Grid Section ---- */
.ft-grid-section {
	background: var(--background, #F5F5F5);
	padding: 60px 20px;
}

.ft-grid-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.ft-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* ---- Card ---- */
.ft-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ft-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.ft-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

/* Card Image */
.ft-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ft-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ft-card:hover .ft-card__image img {
	transform: scale(1.05);
}

.ft-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.ft-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ft-card__placeholder .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	color: #c3c4c7;
}

.ft-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--secondary-color, #48B7B6);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 2;
}

/* Card Content */
.ft-card__content {
	padding: 20px 20px 12px;
	flex: 1;
}

/* Route Visual */
.ft-card__route {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 12px;
}

.ft-card__point {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ft-card__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.ft-card__dot--origin {
	background: var(--secondary-color, #48B7B6);
	box-shadow: 0 0 0 3px rgba(72, 183, 182, 0.2);
}

.ft-card__dot--dest {
	background: var(--primary-color, #F3A51C);
	box-shadow: 0 0 0 3px rgba(243, 165, 28, 0.2);
}

.ft-card__zone-name {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark, #333);
	line-height: 1.3;
}

.ft-card__connector {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2px 0 2px 4px;
}

.ft-card__line {
	width: 2px;
	height: 6px;
	background: #ddd;
}

.ft-card__arrow-icon {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #bbb;
}

.ft-card__desc {
	font-size: 13px;
	color: var(--text-light, #666);
	line-height: 1.5;
	margin: 0 0 10px;
}

.ft-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ft-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--text-light, #666);
}

.ft-card__meta-item .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: var(--secondary-color, #48B7B6);
}

/* Card Footer */
.ft-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-top: 1px solid #f0f0f0;
	margin-top: auto;
}

.ft-card__price {
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.ft-card__price-label {
	font-size: 12px;
	color: var(--text-light, #666);
}

.ft-card__price-amount {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--primary-color, #F3A51C);
	line-height: 1;
}

.ft-card__price-per {
	font-size: 12px;
	color: var(--text-light, #666);
}

.ft-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--secondary-color, #48B7B6);
	transition: gap 0.2s ease;
}

.ft-card:hover .ft-card__cta {
	gap: 8px;
}

.ft-card__cta .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

/* ---- CTA Section ---- */
.ft-cta-section {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	padding: 60px 20px;
	text-align: center;
}

.ft-cta-inner {
	max-width: 600px;
	margin: 0 auto;
}

.ft-cta-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(72, 183, 182, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.ft-cta-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--secondary-color, #48B7B6);
}

.ft-cta-title {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 28px;
	color: #fff;
	margin: 0 0 10px;
}

.ft-cta-text {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 24px;
	line-height: 1.6;
}

.ft-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary-color, #F3A51C);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.ft-cta-button:hover {
	background: #e09510;
	transform: translateY(-2px);
	color: #fff;
}

.ft-cta-button .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* ---- Empty State ---- */
.ft-empty-section {
	padding: 100px 20px;
	text-align: center;
	background: var(--background, #F5F5F5);
}

.ft-empty-inner {
	max-width: 500px;
	margin: 0 auto;
}

.ft-empty-inner > .dashicons {
	font-size: 60px;
	width: 60px;
	height: 60px;
	color: #c3c4c7;
	margin-bottom: 20px;
}

.ft-empty-inner h2 {
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 28px;
	color: var(--text-dark, #333);
	margin: 0 0 10px;
}

.ft-empty-inner p {
	font-size: 15px;
	color: var(--text-light, #666);
	line-height: 1.6;
	margin: 0 0 24px;
}

.ft-empty-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--secondary-color, #48B7B6);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.ft-empty-button:hover {
	background: #3da5a4;
	transform: translateY(-2px);
	color: #fff;
}

.ft-empty-button .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1200px) {
	.ft-grid {
		gap: 22px;
	}
}

@media (max-width: 992px) {
	.ft-hero {
		padding: 60px 20px 50px;
	}

	.ft-hero__title {
		font-size: 34px;
	}

	.ft-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.ft-hero {
		padding: 50px 16px 40px;
	}

	.ft-hero__title {
		font-size: 28px;
	}

	.ft-hero__subtitle {
		font-size: 15px;
	}

	.ft-grid-section {
		padding: 40px 16px;
	}

	.ft-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.ft-card__content {
		padding: 16px 16px 10px;
	}

	.ft-card__zone-name {
		font-size: 14px;
	}

	.ft-card__footer {
		padding: 12px 16px;
	}

	.ft-card__price-amount {
		font-size: 20px;
	}

	.ft-cta-section {
		padding: 50px 16px;
	}

	.ft-cta-title {
		font-size: 24px;
	}
}

@media (max-width: 576px) {
	.ft-hero__title {
		font-size: 24px;
	}

	.ft-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
	}

	.ft-card__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.ft-card__cta {
		align-self: flex-end;
	}
}
/* ---- Section Headers ---- */
.ft-section-header {
	text-align: center;
	margin-bottom: 40px;
}

.ft-section-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading, 'Palanquin Dark', sans-serif);
	font-size: 32px;
	font-weight: 700;
	color: var(--text, #2C3E50);
	margin: 0 0 8px;
}

.ft-section-title .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--primary-color, #F3A51C);
}

.ft-section-subtitle {
	font-size: 16px;
	color: var(--text-light, #7F8C8D);
	margin: 0;
}

.ft-grid-section--secondary {
	padding-top: 30px;
	background: #fff;
}

/* ---- Featured Badge ---- */
.ft-card__featured-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	background: linear-gradient(135deg, var(--primary-color, #F3A51C), #f7c563);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(243, 165, 28, 0.3);
	z-index: 2;
}

.ft-card__featured-badge .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #fff;
}

/* ---- Search Section (embedded) ---- */
.ft-search-section {
	background: var(--background, #F5F5F5);
	padding: 40px 20px 0;
}

.ft-search-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.ft-search-section .ocs-search-widget {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ft-search-section .ocs-search-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.ft-search-section .ocs-top-row {
	display: flex;
	align-items: flex-end;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.ft-search-section .ocs-top-row__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	flex: 1;
}

.ft-search-section .ocs-trip-type {
	display: flex;
	gap: 1.5rem;
	flex-shrink: 0;
	padding-bottom: 0.5rem;
}

.ft-search-section .ocs-radio-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-family: 'DM Sans', sans-serif;
	font-weight: 500;
	font-size: 0.9375rem;
}

.ft-search-section .ocs-radio-label input {
	margin-right: 0.5rem;
	accent-color: var(--primary-color, #F3A51C);
}

.ft-search-section .ocs-search-row {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
}

.ft-search-section .ocs-row-2col {
	grid-template-columns: repeat(2, 1fr);
}

.ft-search-section .ocs-row-4col {
	grid-template-columns: repeat(4, 1fr);
}

.ft-search-section .ocs-field label {
	display: block;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	color: #666;
	margin-bottom: 0.5rem;
	letter-spacing: 0.5px;
}

.ft-search-section .ocs-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.ft-search-section .ocs-input-wrapper .ocs-icon {
	position: absolute;
	left: 0.75rem;
	font-size: 1.2rem;
	pointer-events: none;
}

.ft-search-section .ocs-input-wrapper input,
.ft-search-section .ocs-input-wrapper select {
	width: 100%;
	padding: 0.75rem 0.75rem 0.75rem 2.5rem;
	border: 1px solid #E0E0E0;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	color: #333333;
	background-color: #FFFFFF;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	outline: none;
}

.ft-search-section .ocs-field input[type="date"],
.ft-search-section .ocs-field input[type="time"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #E0E0E0;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	color: #333333;
	background-color: #FFFFFF;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	outline: none;
}

.ft-search-section .ocs-field input:focus,
.ft-search-section .ocs-field select:focus {
	border-color: var(--primary-color, #F3A51C);
	box-shadow: 0 0 0 3px rgba(243, 165, 28, 0.1);
}

.ft-search-section .ocs-combobox {
	position: relative;
}

.ft-search-section .ocs-combobox-input {
	cursor: text !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.75rem center !important;
}

.ft-search-section .ocs-combobox-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #E0E0E0;
	border-top: none;
	border-radius: 0 0 8px 8px;
	max-height: 260px;
	overflow-y: auto;
	z-index: 1000;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ft-search-section .ocs-combobox.open .ocs-combobox-dropdown {
	display: block;
}

.ft-search-section .ocs-combobox.open .ocs-combobox-input {
	border-radius: 8px 8px 0 0;
	border-color: var(--primary-color, #F3A51C);
}

.ft-search-section .ocs-combobox-group-label {
	padding: 0.5rem 0.75rem 0.25rem;
	font-size: 0.7rem;
	font-weight: 700;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	pointer-events: none;
}

.ft-search-section .ocs-combobox-option {
	padding: 0.6rem 0.75rem 0.6rem 1.25rem;
	cursor: pointer;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.9rem;
	color: #333;
	transition: background 0.15s;
}

.ft-search-section .ocs-combobox-option:hover,
.ft-search-section .ocs-combobox-option.highlighted {
	background: #f0f7f7;
	color: var(--primary-color, #F3A51C);
}

.ft-search-section .ocs-combobox-no-results {
	padding: 0.75rem;
	text-align: center;
	color: #999;
	font-size: 0.85rem;
}

.ft-search-section .ocs-submit-wrapper {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 0.5rem;
}

.ft-search-section .ocs-submit-btn {
	display: inline-flex;
	padding: 0.875rem 3rem;
	border: none;
	border-radius: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ft-search-section .ocs-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(243, 165, 28, 0.3);
}

.ft-search-section .ocs-submit-btn:active {
	transform: translateY(0);
}

.ft-search-section .ocs-loading {
	text-align: center;
	padding: 2rem;
}

.ft-search-section .ocs-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--primary-color, #F3A51C);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: ocs-spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes ocs-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
	.ft-search-section .ocs-row-4col {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ft-search-section {
		padding: 30px 15px 0;
	}

	.ft-search-section .ocs-search-widget {
		padding: 1.25rem;
	}

	.ft-search-section .ocs-top-row {
		flex-direction: column;
		align-items: stretch;
	}

	.ft-search-section .ocs-top-row__fields {
		grid-template-columns: 1fr;
	}

	.ft-search-section .ocs-trip-type {
		justify-content: flex-start;
	}

	.ft-search-section .ocs-row-2col,
	.ft-search-section .ocs-row-4col {
		grid-template-columns: 1fr;
	}

	.ft-search-section .ocs-submit-wrapper {
		justify-content: stretch;
	}

	.ft-search-section .ocs-submit-btn {
		width: 100%;
	}
}