/* ============================================================================
   TOP TAXI – Fahrer-Team Section
   Styles for .tt-section-drivers and .tt-driver-card
   ============================================================================ */

/* Section wrapper */
.tt-section-drivers {
	background: var(--tt-bg-light, #F5F5F5);
	padding: 4rem 0;
}

/* Navigation row: arrows flanking the dots */
.tt-drivers-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	margin-top: 1.5rem;
}

/* ── Driver card ──────────────────────────────────────────────────────────── */
.tt-driver-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
	transition: box-shadow .2s, transform .2s;
	text-align: center;
	height: 100%;
}

.tt-driver-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
	transform: translateY(-3px);
}

/* ── Photo area ── */
.tt-driver-card__photo-wrap {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #eee;
}

.tt-driver-card__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Initials fallback ── */
.tt-driver-card__initials {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tt-accent, #FF8C42);
	color: #fff;
	font-size: clamp(2rem, 8vw, 4rem);
	font-weight: 700;
	letter-spacing: .05em;
	font-family: inherit;
	user-select: none;
}

/* ── Card body ── */
.tt-driver-card__body {
	padding: 1.25rem 1rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}

.tt-driver-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--tt-dark, #4A4A4A);
	margin: 0;
	line-height: 1.3;
}

/* ── Experience badge ── */
.tt-driver-card__badge {
	display: inline-block;
	background: var(--tt-accent, #FF8C42);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	padding: .2em .65em;
	border-radius: 20px;
	white-space: nowrap;
}

/* ── Language badges row ── */
.tt-driver-card__langs {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	justify-content: center;
}

.tt-driver-card__lang-badge {
	display: inline-block;
	background: rgba(255, 140, 66, .12);
	color: var(--tt-accent, #FF8C42);
	border: 1px solid rgba(255, 140, 66, .35);
	font-size: .72rem;
	font-weight: 600;
	padding: .15em .55em;
	border-radius: 4px;
	white-space: nowrap;
}

/* ── Short text ── */
.tt-driver-card__text {
	font-size: .875rem;
	color: var(--tt-dark, #4A4A4A);
	opacity: .85;
	line-height: 1.55;
	margin: 0;
}

/* ── Responsive overrides ── */
@media (max-width: 900px) {
	.tt-section-drivers {
		padding: 2.5rem 0;
	}
}

@media (max-width: 480px) {
	.tt-driver-card__body {
		padding: 1rem .875rem 1.25rem;
	}
}
