/* Taxi144 Theme — global styles */

:root {
	--t144-yellow: #FFC400;
	--t144-yellow-soft: #FFF5CC;
	--t144-orange: #FF7A00;
	--t144-orange-soft: #FFE3CC;
	--t144-ink: #0F0F11;
	--t144-ink-80: #2A2A2E;
	--t144-ink-60: #5B5B62;
	--t144-ink-30: #A8A8AE;
	--t144-surface: #FFFFFF;
	--t144-surface-alt: #F7F7F5;
	--t144-border: #E6E6E2;
	--t144-shadow: 0 1px 2px rgba(15, 15, 17, 0.04), 0 8px 24px rgba(15, 15, 17, 0.06);
	--t144-shadow-hover: 0 4px 12px rgba(15, 15, 17, 0.08), 0 16px 32px rgba(15, 15, 17, 0.10);
	--t144-radius: 14px;
	--t144-radius-sm: 10px;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }
body { font-feature-settings: "ss01" on, "kern" on; -webkit-font-smoothing: antialiased; margin: 0; }

* { box-sizing: border-box; }
* { min-width: 0; }

.wp-block-group, .wp-site-blocks, main { max-width: 100%; }
.t144-hero, .t144-stations, .t144-city-index, .t144-results, .t144-single { max-width: 100%; }

/* Constrain WP inline-style children to viewport on mobile so the page
   never overflows horizontally, even if WP injects a wider max-width. */
@media (max-width: 720px) {
	[class*="wp-container-"] > * { max-width: 100% !important; }
	[class*="wp-container-"] { max-width: 100vw !important; }
}

a { transition: color 160ms ease; }

img { max-width: 100%; height: auto; display: block; }

/* WP block button override */
.wp-element-button,
.wp-block-button__link {
	background: var(--t144-ink);
	color: var(--t144-yellow);
	border-radius: var(--t144-radius-sm);
	font-weight: 700;
	padding: 12px 22px;
	border: 0;
}
.wp-element-button:hover,
.wp-block-button__link:hover { background: var(--t144-orange); color: #fff; }

/* Term title style on city page */
.t144-page-head .wp-block-term-title,
.t144-page-head h1 {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 900;
	line-height: 1.1;
	margin: 0;
	color: var(--t144-ink);
}
.t144-page-head .wp-block-term-description p {
	color: var(--t144-ink-60);
	margin-top: 8px;
}

/* Header */
.wp-block-site-title a,
.wp-block-site-title a:visited {
	color: var(--t144-ink) !important;
	text-decoration: none;
}
.wp-block-site-title a:hover { color: var(--t144-orange) !important; }

/* Header navigation */
.t144-nav {
	gap: 24px !important;
}
.t144-nav p { margin: 0 !important; }
.t144-nav a {
	color: var(--t144-ink);
	text-decoration: none;
	padding: 8px 4px;
	border-bottom: 2px solid transparent;
	transition: color 150ms ease, border-color 150ms ease;
}
.t144-nav a:hover {
	color: var(--t144-orange);
	border-bottom-color: var(--t144-yellow);
}

/* Footer */
.t144-footer-top {
	gap: 32px;
	margin-bottom: 32px;
}
.t144-footer-top .wp-block-site-title a,
.t144-footer-top .wp-block-site-title a:visited {
	color: var(--t144-yellow) !important;
}
.t144-footer-top .wp-block-site-title a:hover {
	color: #fff !important;
}
.t144-footer-links p,
.t144-footer-contact p { margin: 0 !important; }
.t144-footer-links a,
.t144-footer-contact a {
	color: var(--t144-ink-30);
	text-decoration: none;
	transition: color 150ms ease;
}
.t144-footer-links a:hover { color: var(--t144-yellow); }
footer .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--t144-ink-80);
	margin: 24px 0 16px;
}

/* Static pages — prose styling */
.t144-page-hero { text-align: center; }

main .wp-block-group h2 { letter-spacing: -0.01em; }
main .wp-block-group p { color: var(--t144-ink-80); line-height: 1.7; font-size: 16px; }
main .wp-block-group p strong { color: var(--t144-ink); }

.t144-feature p:first-of-type { line-height: 1; margin-bottom: 8px; }
.t144-feature p { font-size: 15px; color: var(--t144-ink-60); }
.t144-feature h3 { margin: 8px 0 6px; }

.t144-contact-card { transition: box-shadow 200ms ease, transform 200ms ease; }
.t144-contact-card:hover {
	box-shadow: var(--t144-shadow);
	transform: translateY(-2px);
}
.t144-contact-card--accent:hover {
	box-shadow: 0 12px 32px rgba(255, 122, 0, 0.25);
}

.t144-contact-list p {
	padding: 14px 0;
	border-bottom: 1px solid var(--t144-border);
	margin: 0 !important;
	font-size: 15px;
}
.t144-contact-list p:last-child { border-bottom: 0; }
.t144-contact-list strong { display: inline-block; min-width: 150px; color: var(--t144-ink); }

/* Yoast breadcrumbs */
.wp-block-shortcode .yoast-breadcrumbs,
.yoast-breadcrumbs,
#breadcrumbs {
	font-size: 13px;
	color: var(--t144-ink-60);
	padding: 0 16px 16px;
	max-width: 1180px;
	margin: 0 auto;
}
.yoast-breadcrumbs a,
#breadcrumbs a {
	color: var(--t144-ink-60);
	text-decoration: none;
	border-bottom: 1px dashed var(--t144-ink-30);
}
.yoast-breadcrumbs a:hover,
#breadcrumbs a:hover {
	color: var(--t144-orange);
	border-bottom-color: var(--t144-orange);
}

/* Button outline variant */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--t144-ink);
	border: 2px solid var(--t144-ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--t144-ink);
	color: var(--t144-yellow);
}

/* ============ Plugin shortcode styling ============ */

/* Buttons */
.t144-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: var(--t144-radius-sm);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, color 150ms ease;
	cursor: pointer;
	border: 0;
	line-height: 1;
	white-space: nowrap;
}
.t144-btn svg { width: 18px; height: 18px; fill: currentColor; }
.t144-btn--primary {
	background: var(--t144-ink);
	color: var(--t144-yellow);
}
.t144-btn--primary:hover {
	background: var(--t144-orange);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--t144-shadow-hover);
}
.t144-btn--ghost {
	background: transparent;
	color: var(--t144-ink);
	border: 1px solid var(--t144-border);
}
.t144-btn--ghost:hover { background: var(--t144-surface-alt); border-color: var(--t144-ink); }
.t144-btn--call { background: var(--t144-yellow); color: var(--t144-ink); }
.t144-btn--call:hover { background: var(--t144-orange); color: #fff; }
.t144-btn--lg { padding: 16px 28px; font-size: 17px; }

/* Hero */
.t144-hero {
	position: relative;
	padding: clamp(60px, 9vw, 110px) 16px clamp(50px, 8vw, 90px);
	overflow: hidden;
	background: linear-gradient(135deg, #FFC400 0%, #FF7A00 100%);
}
.t144-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 90% 10%, rgba(255,255,255,0.18) 0, transparent 35%),
		radial-gradient(circle at 5% 90%, rgba(15,15,17,0.10) 0, transparent 30%);
	pointer-events: none;
}
.t144-hero::before {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -180px;
	width: 520px; height: 520px;
	background: #0F0F11;
	border-radius: 50%;
	opacity: 0.08;
}
.t144-hero__content {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.t144-hero__title {
	font-size: clamp(32px, 5.5vw, 56px);
	font-weight: 900;
	line-height: 1.05;
	margin: 0 0 12px;
	color: var(--t144-ink);
	letter-spacing: -0.02em;
}
.t144-hero__subtitle {
	font-size: clamp(16px, 1.6vw, 19px);
	color: var(--t144-ink-80);
	margin: 0 0 28px;
	font-weight: 500;
}

/* Search form */
.t144-search {
	max-width: 640px;
	margin: 0 auto;
}
.t144-search__inner {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 14px;
	padding: 6px 6px 6px 18px;
	box-shadow: 0 8px 30px rgba(15,15,17,0.18), 0 2px 6px rgba(15,15,17,0.08);
	gap: 8px;
}
.t144-search__icon { width: 20px; height: 20px; fill: var(--t144-ink-30); flex-shrink: 0; }
.t144-search input[type="search"] {
	flex: 1;
	border: 0;
	background: transparent;
	font-size: 17px;
	padding: 14px 8px;
	outline: none;
	color: var(--t144-ink);
	font-family: inherit;
	min-width: 0;
}
.t144-search input[type="search"]::placeholder { color: var(--t144-ink-30); }
.t144-search .t144-btn { flex-shrink: 0; }

.t144-search--compact { max-width: 380px; width: 100%; }
.t144-search--compact .t144-search__inner {
	box-shadow: none;
	border: 1px solid var(--t144-border);
	padding: 4px 4px 4px 14px;
}
.t144-search--compact input[type="search"] { font-size: 15px; padding: 10px 6px; }
.t144-search--compact .t144-btn { padding: 9px 14px; font-size: 14px; }

/* City index */
.t144-city-index {
	padding: 0 16px;
	max-width: 980px;
	margin: 0 auto;
}
.t144-city-index__title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	margin: 0 0 28px;
	color: var(--t144-ink);
	text-align: center;
}
.t144-city-index__list {
	background: var(--t144-surface);
	border: 1px solid var(--t144-border);
	border-radius: var(--t144-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 15, 17, 0.03), 0 4px 16px rgba(15, 15, 17, 0.04);
}

.t144-city-row {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 16px;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid var(--t144-border);
	transition: background 150ms ease;
}
.t144-city-row:last-child { border-bottom: 0; }
.t144-city-row:hover { background: #FCFCFA; }

.t144-city-row__letter {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--t144-yellow) 0%, #FFD83A 100%);
	color: var(--t144-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 18px;
	letter-spacing: -0.01em;
	box-shadow: 0 2px 4px rgba(255, 196, 0, 0.25);
}

.t144-city-row__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.t144-city-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	background: var(--t144-surface-alt);
	border: 1px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	color: var(--t144-ink-80);
	transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.t144-city-pill:hover {
	background: #fff;
	color: var(--t144-ink);
	border-color: var(--t144-ink);
	transform: translateY(-1px);
}
.t144-city-pill__name { white-space: nowrap; }
.t144-city-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: #fff;
	border: 1px solid var(--t144-border);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	color: var(--t144-ink-60);
	line-height: 1;
}
.t144-city-pill:hover .t144-city-pill__count {
	background: var(--t144-yellow);
	border-color: var(--t144-yellow);
	color: var(--t144-ink);
}

@media (max-width: 720px) {
	.t144-city-index { padding: 0 12px; }
	.t144-city-row {
		grid-template-columns: 44px 1fr;
		gap: 12px;
		padding: 12px 14px;
	}
	.t144-city-row__letter {
		width: 32px;
		height: 32px;
		border-radius: 10px;
		font-size: 15px;
	}
	.t144-city-pill {
		padding: 6px 11px;
		font-size: 13px;
		gap: 6px;
	}
}

/* Stations grid */
.t144-stations {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 720px) {
	.t144-stations { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
	.t144-stations { grid-template-columns: 1fr 1fr 1fr; }
}

/* Station card */
.t144-card {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	background: var(--t144-surface);
	border: 1px solid var(--t144-border);
	border-radius: var(--t144-radius);
	padding: 20px;
	transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
	position: relative;
}
.t144-card:hover {
	box-shadow: var(--t144-shadow-hover);
	transform: translateY(-2px);
	border-color: var(--t144-yellow);
}
.t144-card__logo {
	width: 96px; height: 96px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--t144-surface-alt);
	display: flex; align-items: center; justify-content: center;
}
.t144-card__logo img,
.t144-card__logo-img { width: 100%; height: 100%; object-fit: cover; }
.t144-card__logo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--t144-yellow) 0%, var(--t144-orange) 100%);
	color: var(--t144-ink);
	font-size: 38px; font-weight: 900;
	text-decoration: none;
}
.t144-card__body { min-width: 0; grid-column: 2 / 3; }
.t144-card__title {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 6px;
	line-height: 1.25;
}
.t144-card__title a { color: var(--t144-ink); text-decoration: none; }
.t144-card__title a:hover { color: var(--t144-orange); }
.t144-card__desc {
	color: var(--t144-ink-60);
	font-size: 14px;
	margin: 0 0 10px;
	line-height: 1.5;
}
.t144-card__cities {
	font-size: 13px;
	color: var(--t144-ink-60);
	margin-bottom: 8px;
	line-height: 1.6;
}
.t144-card__cities-label { font-weight: 700; color: var(--t144-ink); margin-left: 4px; }
.t144-card__cities a { color: var(--t144-ink-80); text-decoration: none; border-bottom: 1px dashed var(--t144-ink-30); }
.t144-card__cities a:hover { color: var(--t144-orange); border-bottom-color: var(--t144-orange); }
.t144-card__cities-more { color: var(--t144-orange); font-weight: 700; }
.t144-card__hours {
	display: flex; align-items: center; gap: 6px;
	font-size: 13px;
	color: var(--t144-ink-60);
}
.t144-card__hours .t144-icon { width: 14px; height: 14px; fill: var(--t144-ink-30); }
.t144-card__actions {
	grid-column: 1 / -1;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid var(--t144-border);
	margin-top: 4px;
}
.t144-card__actions .t144-btn { flex: 1; justify-content: center; }
.t144-card__actions .t144-btn--call { flex: 2; }

/* Single station */
.t144-single { padding: 0 16px; }
.t144-single__header {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 28px;
	background: linear-gradient(135deg, var(--t144-yellow-soft) 0%, #fff 100%);
	padding: 32px;
	border-radius: var(--t144-radius);
	border: 1px solid var(--t144-border);
	margin-bottom: 24px;
}
@media (max-width: 640px) {
	.t144-single__header {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 24px;
	}
	.t144-single__logo { margin: 0 auto; }
}
.t144-single__logo {
	width: 140px; height: 140px;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--t144-border);
	display: flex; align-items: center; justify-content: center;
}
.t144-single__logo img,
.t144-single__logo-img { width: 100%; height: 100%; object-fit: cover; }
.t144-single__logo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--t144-yellow) 0%, var(--t144-orange) 100%);
	color: var(--t144-ink);
	font-size: 56px; font-weight: 900;
}
.t144-single__heading { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 640px) { .t144-single__heading { align-items: center; } }
.t144-single__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 900;
	line-height: 1.1;
	margin: 0;
	color: var(--t144-ink);
	letter-spacing: -0.01em;
}
.t144-single__address {
	display: flex; align-items: center; gap: 6px;
	color: var(--t144-ink-60);
	margin: 0;
	font-size: 15px;
}
.t144-single__address .t144-icon { width: 16px; height: 16px; fill: var(--t144-orange); }

.t144-single__gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}
.t144-single__gallery img,
.t144-single__gallery-img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: var(--t144-radius);
	transition: transform 300ms ease;
}
.t144-single__gallery img:hover { transform: scale(1.02); }

.t144-single__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 840px) {
	.t144-single__grid { grid-template-columns: 1fr 320px; }
}

.t144-single__main h2 {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--t144-ink);
}
.t144-single__main section { margin-bottom: 32px; }
.t144-single__main p { color: var(--t144-ink-80); line-height: 1.7; }

.t144-single__city-list { display: flex; flex-wrap: wrap; gap: 8px; }
.t144-pill {
	display: inline-block;
	padding: 8px 14px;
	background: var(--t144-surface-alt);
	color: var(--t144-ink);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid var(--t144-border);
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.t144-pill:hover { background: var(--t144-yellow); border-color: var(--t144-yellow); color: var(--t144-ink); }

.t144-single__side > section {
	background: var(--t144-surface);
	border: 1px solid var(--t144-border);
	border-radius: var(--t144-radius);
	padding: 20px;
	margin-bottom: 16px;
}
.t144-single__side h2 {
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--t144-ink);
	letter-spacing: -0.01em;
}
.t144-single__hours table { width: 100%; border-collapse: collapse; }
.t144-single__hours td {
	padding: 8px 0;
	border-bottom: 1px solid var(--t144-border);
	font-size: 14px;
}
.t144-single__hours tr:last-child td { border-bottom: 0; }
.t144-single__hours-day { font-weight: 700; color: var(--t144-ink); width: 70px; }
.t144-single__hours-val { color: var(--t144-ink-60); text-align: end; }

.t144-fact { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--t144-border); }
.t144-fact:last-child { border-bottom: 0; }
.t144-fact__label { font-size: 13px; color: var(--t144-ink-60); }
.t144-fact__value { font-size: 15px; font-weight: 700; color: var(--t144-ink); }

/* Results page */
.t144-results { padding: 0 16px; }
.t144-results__header { margin-bottom: 28px; }
.t144-results__header h1 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 900;
	margin: 0 0 6px;
}
.t144-results__header p { color: var(--t144-ink-60); margin: 0 0 16px; }
.t144-results__sub {
	font-size: 18px;
	font-weight: 800;
	color: var(--t144-ink);
	margin: 32px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--t144-yellow);
	display: inline-block;
}

.t144-empty {
	padding: 32px;
	background: var(--t144-surface-alt);
	border: 1px dashed var(--t144-border);
	border-radius: var(--t144-radius);
	text-align: center;
	color: var(--t144-ink-60);
	font-size: 15px;
}

/* RTL specifics */
[dir="rtl"] .t144-card__cities a:hover { padding-inline-start: 0; }

/* Mobile polish */
@media (max-width: 720px) {
	.t144-search { max-width: 100%; width: 100%; }
	.t144-search--compact { max-width: 100%; }
	.t144-search__inner { flex-wrap: wrap; padding: 8px; }
	.t144-search input[type="search"] { width: 100%; padding: 10px 8px; flex: 1 1 100%; }
	.t144-search .t144-btn { width: 100%; justify-content: center; flex: 1 1 100%; }

	.t144-hero { padding: 40px 14px 32px; }
	.t144-hero__content { padding: 0; }
	.t144-hero__title { font-size: 26px; letter-spacing: -0.01em; }
	.t144-hero__subtitle { font-size: 14px; }
	.t144-city-index { padding: 0 12px; }
	.t144-city-index__title { font-size: 20px; }
	.t144-search { max-width: calc(100% - 4px); }

	.t144-card { grid-template-columns: 72px 1fr; padding: 16px; }
	.t144-card__logo { width: 72px; height: 72px; }
	.t144-card__actions { flex-direction: column; }
	.t144-card__actions .t144-btn { width: 100%; flex: 1 1 100%; }

	.t144-stations { grid-template-columns: 1fr; }
	.t144-city-index__grid { grid-template-columns: 1fr; }
	.t144-results__sub { font-size: 16px; }

	/* Header collapses cleanly */
	.wp-block-template-part > .wp-block-group { padding-right: 12px; padding-left: 12px; }

	.t144-nav { gap: 12px !important; width: 100%; justify-content: center !important; }
	.t144-nav a { font-size: 14px; padding: 6px 4px; }

	.t144-footer-top { flex-direction: column; gap: 24px; }
}
