/* ============================================================
   MAIAK TRANSPORT — STYLES
   Використовує CSS-змінні теми
   ============================================================ */

.mt-page { padding-bottom: 60px; }

/* ─── HEADER МАРШРУТУ ─── */
.mt-route-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: linear-gradient(155deg, var(--bg-card) 0%, var(--bg-elev) 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: 24px;
}
.mt-route-header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.mt-route-icon-big { font-size: 56px; line-height: 1; }
.mt-route-num-big {
    font-family: var(--serif);
    font-size: 36px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}
.mt-route-header-right h1 {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mt-route-header-right .mt-route-type {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    font-family: var(--display);
    font-weight: 600;
}
.mt-route-header-right .mt-route-num {
    color: var(--gold);
    font-size: 28px;
}
.mt-route-header-right .mt-route-dir {
    color: var(--text);
    font-size: 24px;
}

/* ─── HEADER ЗУПИНКИ — КОМПАКТНИЙ! ─── */
.mt-stop-compact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 18px;
}
.mt-stop-icon { font-size: 32px; line-height: 1; flex-shrink: 0; }
.mt-stop-info { flex: 1; min-width: 0; }
.mt-stop-info h1 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}
.mt-stop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-mute);
}
.mt-stop-meta a { color: var(--gold); }
.mt-stop-verified { color: var(--turq); font-size: 11px; }

/* ─── HEADER ТАКСОНОМІЇ ─── */
.mt-tax-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 22px 26px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: 24px;
}
.mt-tax-icon { font-size: 56px; line-height: 1; flex-shrink: 0; }
.mt-tax-header h1 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 4px;
    letter-spacing: -0.5px;
}
.mt-tax-header h1 em { font-style: italic; color: var(--gold); }

/* ─── ПАНЕЛЬ ДЕТАЛЕЙ ─── */
.mt-route-info {
    margin-bottom: 30px;
}
.mt-info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.mt-info-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    text-align: center;
}
.mt-info-lbl {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.mt-info-val {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--gold);
    font-weight: 600;
}

/* ─── СЕКЦІЇ ─── */
.mt-route-stops, .mt-stop-section, .mt-archive-section, .mt-route-related, .mt-route-content, .mt-route-seo, .mt-stop-seo {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--line);
}
.mt-route-stops h2, .mt-stop-section h2, .mt-archive-section h2, .mt-route-related h2 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}
.mt-archive-section h2 em, .mt-route-stops h2 em { font-style: italic; color: var(--gold); }

/* ─── ЗУПИНКИ МАРШРУТУ (нумерований список) ─── */
.mt-stops-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}
.mt-stop-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}
.mt-stop-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-deeper);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mt-stop-name {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--text);
}
a.mt-stop-name { color: var(--gold); }
a.mt-stop-name:hover { text-decoration: underline; }

/* ─── ТИПИ ТРАНСПОРТУ — СІТКА ─── */
.mt-types-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.mt-type-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mt-type-card:hover {
    border-color: var(--gold);
    background: var(--bg-elev);
    transform: translateY(-2px);
}
.mt-type-icon { font-size: 32px; }
.mt-type-name {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}
.mt-type-count {
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── КАРТКИ МАРШРУТІВ ─── */
.mt-routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.mt-routes-grid-archive { grid-template-columns: repeat(5, 1fr); }
.mt-route-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 14px 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.mt-route-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.mt-route-card .mt-route-icon { font-size: 24px; }
.mt-route-card .mt-route-num {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
}
.mt-route-card .mt-route-dir {
    font-size: 12px;
    color: var(--text-mute);
    line-height: 1.3;
}

/* ─── ЗУПИНКИ — ПОСИЛАННЯ ─── */
.mt-stops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.mt-stop-link {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: all 0.2s;
}
.mt-stop-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ─── ПОШУК ─── */
.mt-search {
    position: relative;
    max-width: 600px;
    margin: 24px auto;
}
#mt-search-input {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--text);
    font-size: 15px;
    font-family: var(--sans);
}
#mt-search-input:focus {
    outline: none;
    border-color: var(--gold);
}
.mt-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-top: 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}
.mt-search-result {
    display: block;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
}
.mt-search-result:last-child { border-bottom: none; }
.mt-search-result:hover { background: var(--bg-elev); color: var(--gold); }

/* ─── РАЙОНИ — БЛОКИ ─── */
.mt-district-block {
    margin-bottom: 28px;
}
.mt-district-block h3 {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.mt-district-block h3 small {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 400;
    margin-left: 8px;
}

/* ─── КАРТА LEAFLET ─── */
.mt-map {
    height: 400px;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    overflow: hidden;
    margin-top: 14px;
}

/* ─── ОРГИ БІЛЯ ЗУПИНКИ ─── */
.mt-orgs-near-stop {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--line);
}
.mt-orgs-near-stop h3 {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 14px;
}
.mt-orgs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mt-org-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mt-org-card:hover { border-color: var(--gold); }
.mt-org-name {
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}
.mt-org-dist {
    font-size: 11px;
    color: var(--turq);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── SEO-ТЕКСТ ─── */
.mt-route-seo, .mt-stop-seo, .mt-archive-seo {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 24px 28px;
}
.mt-route-seo h2, .mt-stop-seo h2, .mt-archive-seo h2 {
    font-family: var(--serif);
    font-size: 22px;
    margin: 0 0 12px;
    border-top: 0;
    padding-top: 0;
}
.mt-route-seo h2 em, .mt-archive-seo h2 em { font-style: italic; color: var(--gold); }
.mt-route-seo p, .mt-stop-seo p, .mt-archive-seo p {
    font-size: 14px;
    color: var(--text-mute);
    line-height: 1.7;
    margin-bottom: 12px;
}
.mt-route-seo strong, .mt-stop-seo strong, .mt-archive-seo strong { color: var(--text); }
.mt-route-seo ul, .mt-archive-seo ul {
    color: var(--text-mute);
    line-height: 1.7;
    margin-left: 20px;
}

/* ─── ПАГІНАЦІЯ ─── */
.mt-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}
.mt-pagination .page-numbers {
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--serif);
}
.mt-pagination .page-numbers.current,
.mt-pagination .page-numbers:hover {
    background: var(--gold);
    color: var(--bg-deeper);
    border-color: var(--gold);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .mt-info-grid { grid-template-columns: repeat(3, 1fr); }
    .mt-types-grid { grid-template-columns: repeat(3, 1fr); }
    .mt-routes-grid, .mt-routes-grid-archive { grid-template-columns: repeat(3, 1fr); }
    .mt-stops-grid { grid-template-columns: repeat(2, 1fr); }
    .mt-orgs-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .mt-route-header { flex-direction: column; gap: 14px; padding: 20px; }
    .mt-info-grid { grid-template-columns: repeat(2, 1fr); }
    .mt-types-grid { grid-template-columns: repeat(2, 1fr); }
    .mt-routes-grid, .mt-routes-grid-archive { grid-template-columns: repeat(2, 1fr); }
    .mt-stops-grid, .mt-orgs-list { grid-template-columns: 1fr; }
    .mt-tax-header { flex-direction: column; text-align: center; }
}

/* ============================================================
   v1.1.0 — РОЗШИРЕНА СТОРІНКА МАРШРУТУ З САЙДБАРОМ
   ============================================================ */

/* HERO */
.mt-route-hero {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 28px;
	position: relative;
	overflow: hidden;
}
.mt-route-hero::before {
	content: '';
	position: absolute;
	right: -40px; top: -40px;
	width: 200px; height: 200px;
	background: radial-gradient(circle, var(--gold-rgba, rgba(212,175,96,0.08)) 0%, transparent 70%);
	pointer-events: none;
}
.mt-route-hero-left {
	display: flex; flex-direction: column;
	align-items: center; gap: 4px; flex-shrink: 0;
}
.mt-route-icon-big { font-size: 60px; line-height: 1; }
.mt-route-num-big {
	font-family: var(--serif);
	font-size: 38px; color: var(--gold);
	font-weight: 700; line-height: 1;
}
.mt-route-hero-right { flex: 1; min-width: 0; }
.mt-route-type-link {
	display: inline-block;
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 2px; color: var(--text-dim);
	text-decoration: none; margin-bottom: 10px;
}
.mt-route-type-link:hover { color: var(--gold); }
.mt-route-hero-right h1 {
	font-family: var(--serif);
	font-size: 30px; font-weight: 600;
	line-height: 1.25; margin: 0 0 14px;
	letter-spacing: -0.5px;
}
.mt-route-quick-facts {
	display: flex; flex-wrap: wrap; gap: 10px;
}
.mt-route-quick-facts .fact {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px;
	background: var(--bg-deeper); border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-size: 13px; color: var(--text);
	white-space: nowrap;
}

/* LAYOUT (контент + сайдбар) */
.mt-route-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	margin-bottom: 36px;
}
.mt-route-content { min-width: 0; }

/* Info panel */
.mt-info-panel {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 22px;
	margin-bottom: 24px;
}
.mt-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 24px;
}
.mt-info-item {
	display: flex; gap: 12px;
	align-items: flex-start;
}
.mt-info-icon { font-size: 22px; line-height: 1.2; flex-shrink: 0; }
.mt-info-lbl {
	font-size: 11px; text-transform: uppercase;
	letter-spacing: 1.2px; color: var(--text-dim);
	margin-bottom: 2px;
}
.mt-info-val {
	font-family: var(--serif); font-weight: 600;
	font-size: 17px; color: var(--text);
}
.mt-info-schedule {
	margin: 18px 0 0; padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--text-mute); font-size: 14px;
}

/* Description */
.mt-route-description {
	padding: 22px 24px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 24px;
	line-height: 1.7;
}
.mt-route-description h2 {
	font-family: var(--serif); font-size: 22px;
	margin: 24px 0 12px; color: var(--gold);
}
.mt-route-description ul { padding-left: 22px; }
.mt-route-description li { margin: 6px 0; }

/* Map */
.mt-route-map-section { margin-bottom: 24px; }
.mt-route-map-section h2 {
	font-family: var(--serif); font-size: 22px;
	margin: 0 0 8px; color: var(--gold);
}
.mt-map-info { color: var(--text-mute); font-size: 14px; margin: 0 0 14px; }
.mt-route-map {
	height: 420px;
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	background: var(--bg-card);
	overflow: hidden;
}

/* Stops route (вертикальна схема) */
.mt-route-stops-section { margin-bottom: 24px; }
.mt-route-stops-section h2 {
	font-family: var(--serif); font-size: 22px;
	margin: 0 0 8px; color: var(--gold);
}
.mt-stops-info { color: var(--text-mute); font-size: 14px; margin: 0 0 18px; }

.mt-stops-route {
	list-style: none;
	margin: 0; padding: 0;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	counter-reset: stop;
}
.mt-stop-node {
	display: flex; align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid var(--line);
	transition: background 0.15s ease;
	position: relative;
}
.mt-stop-node:last-child { border-bottom: 0; }
.mt-stop-node:hover { background: var(--bg-elev); }

.mt-stop-marker {
	position: relative;
	width: 28px; height: 100%;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	flex-shrink: 0;
	margin-right: 12px;
}
.mt-stop-dot {
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--bg-deeper);
	border: 3px solid var(--gold);
	z-index: 2;
}
.mt-stop-line {
	position: absolute;
	top: 50%; left: 50%;
	transform: translateX(-50%);
	width: 3px; height: calc(100% + 24px);
	background: var(--gold);
	opacity: 0.4;
	z-index: 1;
}
.mt-stop-node.is-first .mt-stop-dot { background: var(--gold); border-color: var(--gold); }
.mt-stop-node.is-last .mt-stop-dot { background: var(--turq, #4FB8A9); border-color: var(--turq, #4FB8A9); }

.mt-stop-index {
	display: inline-block;
	min-width: 28px;
	padding: 2px 6px;
	font-size: 12px; color: var(--text-dim);
	font-family: var(--serif); font-weight: 600;
	text-align: center;
	margin-right: 12px;
	flex-shrink: 0;
}
.mt-stop-name-link {
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	display: inline-flex; align-items: center; gap: 8px;
	flex: 1;
}
.mt-stop-name-link:hover { color: var(--gold); }
.mt-stop-name-plain {
	color: var(--text-mute);
	font-style: italic;
	flex: 1;
}
.mt-stop-verified-mark {
	font-size: 12px;
	opacity: 0.7;
}
.mt-stops-verified-note {
	margin: 14px 0 0;
	padding: 10px 14px;
	background: rgba(76,175,80,0.08);
	border-left: 3px solid #4caf50;
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-size: 13px; color: var(--text-mute);
}

/* SEO section */
.mt-route-seo-section {
	padding: 22px 24px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 24px;
	line-height: 1.7;
}
.mt-route-seo-section h2 {
	font-family: var(--serif); font-size: 22px;
	margin: 0 0 12px; color: var(--gold);
}

/* Share */
.mt-share {
	padding: 18px 22px;
	background: var(--bg-elev);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 24px;
}
.mt-share h3 {
	font-family: var(--serif); font-size: 16px;
	margin: 0 0 10px; color: var(--text);
}
.mt-share-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.mt-share-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	color: var(--text); text-decoration: none;
	font-size: 13px; cursor: pointer;
	transition: all 0.15s ease;
}
.mt-share-btn:hover {
	border-color: var(--gold);
	color: var(--gold);
	transform: translateY(-1px);
}

/* ─── SIDEBAR ─── */
.mt-route-sidebar {
	display: flex; flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 20px;
	align-self: start;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}
.mt-sidebar-block {
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 18px 20px;
}
.mt-sidebar-block h3 {
	font-family: var(--serif);
	font-size: 16px;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	color: var(--gold);
}
.mt-sidebar-routes, .mt-sidebar-types, .mt-sidebar-links, .mt-fare-options {
	list-style: none; padding: 0; margin: 0;
}
.mt-sidebar-routes li, .mt-sidebar-types li, .mt-sidebar-links li {
	border-bottom: 1px solid var(--line-soft, rgba(255,255,255,0.05));
}
.mt-sidebar-routes li:last-child,
.mt-sidebar-types li:last-child,
.mt-sidebar-links li:last-child { border-bottom: 0; }
.mt-sidebar-routes a,
.mt-sidebar-types a,
.mt-sidebar-links a {
	display: flex; align-items: center; gap: 10px;
	padding: 10px 0;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease;
}
.mt-sidebar-routes a:hover,
.mt-sidebar-types a:hover,
.mt-sidebar-links a:hover { color: var(--gold); }

.mt-sidebar-route-num {
	display: inline-block;
	min-width: 44px;
	padding: 3px 8px;
	background: var(--bg-deeper);
	border: 1px solid var(--gold);
	border-radius: var(--r-sm);
	color: var(--gold);
	text-align: center;
	font-family: var(--serif); font-weight: 700;
	font-size: 13px;
	flex-shrink: 0;
}
.mt-sidebar-route-dir { flex: 1; font-size: 13px; line-height: 1.3; }

.mt-sidebar-type-icon { font-size: 20px; }
.mt-sidebar-type-count { color: var(--text-mute); font-size: 12px; margin-left: auto; }

.mt-sidebar-more {
	display: block;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	color: var(--gold);
	text-decoration: none;
	font-size: 13px;
	text-align: center;
}
.mt-sidebar-more:hover { text-decoration: underline; }

.mt-fare-options li {
	padding: 8px 0;
	font-size: 13px;
	color: var(--text);
	border-bottom: 1px solid var(--line-soft, rgba(255,255,255,0.05));
}
.mt-fare-options li:last-child { border-bottom: 0; }
.mt-fare-options strong { color: var(--gold); font-weight: 600; }

/* RELATED FULL */
.mt-route-related-full {
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.mt-route-related-full h2 {
	font-family: var(--serif); font-size: 26px;
	margin: 0 0 20px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
	.mt-route-layout {
		grid-template-columns: 1fr;
	}
	.mt-route-sidebar {
		position: static;
		max-height: none;
		grid-row: 2;
	}
	.mt-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.mt-route-hero {
		flex-direction: column;
		gap: 14px;
		padding: 20px;
		text-align: center;
		align-items: center;
	}
	.mt-route-hero-right h1 { font-size: 22px; }
	.mt-route-quick-facts { justify-content: center; }
	.mt-info-grid { grid-template-columns: 1fr; }
	.mt-route-map { height: 320px; }
}

/* ============================================================
   TAXONOMY ROUTE_TYPE — v1.1
   ============================================================ */
.mt-tax-hero {
	display: flex; gap: 24px; align-items: center;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 28px;
}
.mt-tax-icon-big { font-size: 80px; line-height: 1; flex-shrink: 0; }
.mt-tax-hero-body { flex: 1; }
.mt-tax-back-link {
	display: inline-block;
	font-size: 12px; text-transform: uppercase;
	letter-spacing: 2px; color: var(--text-dim);
	text-decoration: none; margin-bottom: 8px;
}
.mt-tax-back-link:hover { color: var(--gold); }
.mt-tax-hero-body h1 {
	font-family: var(--serif);
	font-size: 36px; font-weight: 600;
	line-height: 1.2; margin: 0 0 12px;
	letter-spacing: -0.5px;
}
.mt-tax-lead {
	color: var(--text-mute);
	font-size: 15px; line-height: 1.6;
	margin: 0 0 12px;
}
.mt-tax-count {
	display: inline-block;
	padding: 6px 14px;
	background: var(--bg-deeper);
	border: 1px solid var(--gold);
	border-radius: var(--r-sm);
	color: var(--gold);
	font-family: var(--serif);
	font-size: 16px;
	margin: 0;
}

/* Card з розкладом */
.mt-route-card-detailed {
	display: flex; flex-direction: column;
	align-items: center; text-align: center;
	gap: 6px;
	padding: 18px 14px;
}
.mt-route-card-detailed .mt-route-schedule-mini {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--line-soft, rgba(255,255,255,0.06));
	width: 100%;
	font-size: 12px;
	color: var(--text-mute);
}

/* Empty state */
.mt-empty-state {
	text-align: center;
	padding: 50px 30px;
	background: var(--bg-card);
	border: 1px dashed var(--line);
	border-radius: var(--r-lg);
}
.mt-empty-icon { font-size: 72px; margin-bottom: 16px; opacity: 0.6; }
.mt-empty-state h3 {
	font-family: var(--serif);
	font-size: 24px;
	margin: 0 0 14px;
	color: var(--gold);
}
.mt-empty-state p {
	color: var(--text-mute);
	font-size: 15px;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto 14px;
}
.mt-empty-list {
	list-style: none;
	padding: 0;
	margin: 18px auto 24px;
	max-width: 480px;
	text-align: left;
}
.mt-empty-list li {
	padding: 8px 14px;
	margin: 6px 0;
	background: var(--bg-elev);
	border-radius: var(--r-sm);
	color: var(--text);
	font-size: 14px;
}
.mt-empty-back {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 22px;
	background: var(--gold);
	color: var(--bg-deeper);
	text-decoration: none;
	border-radius: var(--r-sm);
	font-weight: 600;
}
.mt-empty-back:hover {
	background: var(--bg-deeper);
	color: var(--gold);
	border: 1px solid var(--gold);
}

@media (max-width: 720px) {
	.mt-tax-hero { flex-direction: column; text-align: center; padding: 22px; }
	.mt-tax-icon-big { font-size: 60px; }
	.mt-tax-hero-body h1 { font-size: 26px; }
}

/* ============================================================
   TRANSPORT HUB — /transport/ (v1.1.1)
   ============================================================ */
.mt-hub-hero {
	padding: 40px 32px;
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	margin-bottom: 32px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.mt-hub-hero::before {
	content: '🚊🚌🚎';
	position: absolute;
	right: -10px; top: -20px;
	font-size: 80px;
	opacity: 0.05;
	letter-spacing: 8px;
}
.mt-hub-hero h1 {
	font-family: var(--serif);
	font-size: 42px;
	font-weight: 600;
	margin: 0 0 16px;
	letter-spacing: -1px;
}
.mt-hub-hero h1 em {
	font-style: italic;
	color: var(--gold);
}
.mt-hub-lead {
	font-size: 16px;
	color: var(--text-mute);
	line-height: 1.6;
	max-width: 700px;
	margin: 0 auto 24px;
}
.mt-hub-lead strong { color: var(--gold); }
.mt-hub-cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.mt-hub-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	background: var(--bg-deeper);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	color: var(--text);
	text-decoration: none;
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 600;
	transition: all 0.15s ease;
}
.mt-hub-cta-btn:hover {
	border-color: var(--gold);
	color: var(--gold);
	transform: translateY(-2px);
}
.mt-hub-cta-btn.primary {
	background: var(--gold);
	color: var(--bg-deeper);
	border-color: var(--gold);
}
.mt-hub-cta-btn.primary:hover {
	background: var(--bg-deeper);
	color: var(--gold);
}

/* Hub types grid */
.mt-hub-types { margin-bottom: 40px; }
.mt-hub-types h2 {
	font-family: var(--serif);
	font-size: 28px;
	margin: 0 0 20px;
}
.mt-hub-types-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.mt-hub-type-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 20px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	color: var(--text);
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
}
.mt-hub-type-card:hover {
	border-color: var(--gold);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.mt-hub-type-icon {
	font-size: 48px;
	line-height: 1;
}
.mt-hub-type-card h3 {
	font-family: var(--serif);
	font-size: 22px;
	margin: 4px 0 4px;
	color: var(--text);
}
.mt-hub-type-desc {
	font-size: 13px;
	color: var(--text-mute);
	margin: 0 0 8px;
	line-height: 1.5;
}
.mt-hub-type-count {
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--line);
	color: var(--gold);
	font-size: 14px;
}
.mt-hub-type-count strong {
	font-family: var(--serif);
	font-size: 18px;
}
.mt-hub-soon {
	color: var(--text-dim);
	font-style: italic;
	font-size: 13px;
}

/* Hub recent */
.mt-hub-recent { margin-bottom: 40px; }
.mt-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 20px;
}
.mt-section-head h2 {
	font-family: var(--serif);
	font-size: 28px;
	margin: 0;
}
.mt-section-link {
	color: var(--gold);
	text-decoration: none;
	font-size: 14px;
}
.mt-section-link:hover { text-decoration: underline; }

/* Hub info */
.mt-hub-info { margin-bottom: 40px; }
.mt-hub-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.mt-hub-info-card {
	padding: 22px 24px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
}
.mt-hub-info-icon {
	font-size: 32px;
	margin-bottom: 10px;
}
.mt-hub-info-card h3 {
	font-family: var(--serif);
	font-size: 18px;
	margin: 0 0 12px;
	color: var(--gold);
}
.mt-hub-info-card ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.mt-hub-info-card li {
	padding: 6px 0;
	font-size: 14px;
	color: var(--text);
	border-bottom: 1px solid var(--line-soft, rgba(255,255,255,0.05));
}
.mt-hub-info-card li:last-child { border-bottom: 0; }
.mt-hub-info-card strong { color: var(--gold); }
.mt-hub-info-card a {
	color: var(--gold);
	text-decoration: none;
}
.mt-hub-info-card a:hover { text-decoration: underline; }

/* Hub SEO */
.mt-hub-seo {
	padding: 24px 28px;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	line-height: 1.7;
}
.mt-hub-seo h2 {
	font-family: var(--serif);
	font-size: 22px;
	margin: 0 0 14px;
	color: var(--gold);
}
.mt-hub-seo p {
	margin: 0 0 14px;
	color: var(--text);
}
.mt-hub-seo p:last-child { margin-bottom: 0; }
.mt-hub-seo strong { color: var(--gold); }

@media (max-width: 1024px) {
	.mt-hub-types-grid { grid-template-columns: repeat(2, 1fr); }
	.mt-hub-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.mt-hub-hero { padding: 28px 22px; }
	.mt-hub-hero h1 { font-size: 28px; }
	.mt-hub-types-grid { grid-template-columns: 1fr; }
	.mt-hub-info-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.2.0 — ДРІБНІ ПОКРАЩЕННЯ
   ============================================================ */
.mt-stop-arrow {
	margin-left: auto;
	color: var(--text-dim);
	opacity: 0;
	transition: all 0.15s ease;
	font-size: 16px;
}
.mt-stop-name-link {
	display: flex !important;
	align-items: center;
	gap: 8px;
}
.mt-stop-node:hover .mt-stop-arrow {
	opacity: 1;
	color: var(--gold);
	transform: translateX(4px);
}
.mt-stop-node.has-page .mt-stop-name-link {
	font-weight: 600;
}
.mt-stop-node:not(.has-page) .mt-stop-name-link {
	color: var(--text-mute);
	font-style: italic;
}
.mt-stop-node:not(.has-page) .mt-stop-name-link:hover {
	color: var(--gold);
}
.mt-hub-hero {
	padding-bottom: 32px;
}
.mt-hub-type-card {
	cursor: pointer;
}
.mt-stops-route {
	padding: 0;
}
.mt-stop-node {
	padding: 14px 20px;
	min-height: 56px;
}
.mt-stop-marker {
	width: 24px;
	margin-right: 18px;
}
.mt-stop-index {
	font-size: 13px;
	min-width: 32px;
	color: var(--text-dim);
}

/* ============================================================
   HUB STOPS BANNER (v1.2.4)
   ============================================================ */
.mt-hub-stops-banner {
	margin: 32px 0 40px;
}
.mt-stops-banner-link {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	color: var(--text);
	text-decoration: none;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}
.mt-stops-banner-link::before {
	content: '';
	position: absolute;
	right: -40px; top: -40px;
	width: 200px; height: 200px;
	background: radial-gradient(circle, rgba(212,175,96,0.08) 0%, transparent 70%);
	pointer-events: none;
}
.mt-stops-banner-link:hover {
	border-color: var(--gold);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
.mt-stops-banner-icon {
	font-size: 72px;
	line-height: 1;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.mt-stops-banner-text {
	flex: 1;
}
.mt-stops-banner-text h2 {
	font-family: var(--serif);
	font-size: 26px;
	margin: 0 0 8px;
	color: var(--text);
}
.mt-stops-banner-text p {
	margin: 0 0 12px;
	color: var(--text-mute);
	font-size: 15px;
	line-height: 1.6;
}
.mt-stops-banner-text p strong {
	color: var(--gold);
	font-family: var(--serif);
	font-size: 17px;
}
.mt-stops-banner-cta {
	display: inline-block;
	color: var(--gold);
	font-family: var(--serif);
	font-weight: 600;
	font-size: 15px;
}
.mt-stops-banner-link:hover .mt-stops-banner-cta {
	letter-spacing: 0.5px;
}

@media (max-width: 720px) {
	.mt-stops-banner-link {
		flex-direction: column;
		text-align: center;
		padding: 24px 20px;
	}
	.mt-stops-banner-icon { font-size: 56px; }
	.mt-stops-banner-text h2 { font-size: 22px; }
}
