/* ==========================================================================
   Template "travel" - mobile-first. Semua class berawalan .tv-
   Warna utama diatur dari application/config/travel.php (variabel --tv-*).
   ========================================================================== */

:root {
	--tv-primary: #16a34a;
	--tv-primary-dark: #15803d;
	--tv-dark: #0b2a4a;
	--tv-accent: #2563eb;
	--tv-text: #1f2937;
	--tv-muted: #5b6676;
	--tv-line: #e3e8ee;
	--tv-bg: #ffffff;
	--tv-bg-alt: #f4f7fa;
	--tv-radius: 12px;
	--tv-shadow: 0 2px 10px rgba(11, 42, 74, .07);
	--tv-header-h: 60px;
	--tv-gutter: 16px;
	--tv-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--tv-header-h) + 8px); -webkit-text-size-adjust: 100%; }

body.tv {
	margin: 0;
	font-family: var(--tv-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--tv-text);
	background: var(--tv-bg);
	overflow-x: hidden;
	padding-bottom: 76px; /* ruang untuk bottom nav mobile */
}

.tv img { max-width: 100%; height: auto; display: block; }
.tv a { color: inherit; }
.tv ul { list-style: none; margin: 0; padding: 0; }
.tv h1, .tv h2, .tv h3, .tv p { margin: 0; }
.tv button { font-family: inherit; }

.tv :focus-visible { outline: 3px solid var(--tv-accent); outline-offset: 2px; }

.ic { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

.tv-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--tv-gutter); }

.tv-skip {
	position: absolute; left: 8px; top: -60px; z-index: 200;
	background: var(--tv-dark); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.tv-skip:focus { top: 8px; }

/* ---------- Buttons ---------- */
.tv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	font: 600 15px/1.2 var(--tv-font); text-decoration: none; text-align: center;
	border: 1.5px solid transparent; border-radius: 10px; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.tv-btn--wa { background: var(--tv-primary); color: #fff !important; }
.tv-btn--wa:hover { background: var(--tv-primary-dark); }
.tv-btn--light { background: #fff; color: var(--tv-dark); border-color: var(--tv-line); }
.tv-btn--light:hover { border-color: var(--tv-dark); }
.tv-btn--outline { background: #fff; color: var(--tv-primary-dark); border-color: var(--tv-primary); }
.tv-btn--outline:hover { background: var(--tv-primary); color: #fff; }
.tv-btn--lg { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.tv-btn--block { width: 100%; }

/* ---------- Header ---------- */
.tv-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--tv-line);
}
.tv-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--tv-header-h); gap: 12px; }

.tv-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tv-dark); min-width: 0; }
.tv-brand__ic { width: 34px; height: 34px; color: var(--tv-dark); }
.tv-brand__img { width: 40px; height: 40px; object-fit: contain; }
.tv-brand__name { font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-brand--light, .tv-brand--light .tv-brand__ic { color: #fff; }

.tv-burger {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 10px;
	color: var(--tv-dark); cursor: pointer;
}
.tv-burger .ic { width: 28px; height: 28px; }
.tv-burger__close { display: none; }
.tv-burger[aria-expanded="true"] .tv-burger__open { display: none; }
.tv-burger[aria-expanded="true"] .tv-burger__close { display: inline-block; }

/* Navigasi: panel mobile */
.tv-nav {
	position: absolute; left: 0; right: 0; top: 100%;
	display: none; flex-direction: column; gap: 8px;
	padding: 8px var(--tv-gutter) 16px; background: #fff; border-bottom: 1px solid var(--tv-line);
	box-shadow: 0 12px 20px rgba(11, 42, 74, .08);
}
.tv-nav.is-open { display: flex; }
.tv-nav__link { display: block; padding: 12px 4px; font-weight: 600; text-decoration: none; color: var(--tv-dark); border-bottom: 1px solid var(--tv-line); }
.tv-nav__link.is-active { color: var(--tv-primary-dark); }
.tv-nav__list li:last-child .tv-nav__link { border-bottom: 0; }
.tv-nav__cta { width: 100%; }

/* ---------- Hero ---------- */
.tv-hero { position: relative; isolation: isolate; background: #dbeafe; overflow: hidden; }
.tv-hero__pic { position: absolute; inset: 0; z-index: -2; display: block; }
.tv-hero__pic .tv-hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.tv-hero::after { /* pemudaran putih agar teks terbaca */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 48%, rgba(255,255,255,0) 64%);
}
.tv-hero__inner { padding-top: 28px; padding-bottom: 270px; }
.tv-hero__text { max-width: 560px; }
.tv-hero__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--tv-dark); margin-bottom: 10px; }
.tv-hero__title { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--tv-dark); overflow-wrap: break-word; }
.tv-hero__desc { margin-top: 12px; font-size: 15px; color: #2b3a4d; max-width: 46ch; }
.tv-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; }

/* ---------- Layanan ---------- */
.tv-services { position: relative; z-index: 2; margin-top: -36px; }
.tv-services__grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	background: #fff; border: 1px solid var(--tv-line); border-radius: 16px; box-shadow: var(--tv-shadow); overflow: hidden;
}
.tv-service { padding: 18px 12px; text-align: center; border-right: 1px solid var(--tv-line); border-bottom: 1px solid var(--tv-line); min-width: 0; }
.tv-service:nth-child(2n) { border-right: 0; }
.tv-service:nth-last-child(-n+2) { border-bottom: 0; }
.tv-service__icon { display: inline-flex; color: var(--tv-dark); margin-bottom: 8px; }
.tv-service__icon .ic { width: 32px; height: 32px; }
.tv-service__title { font-size: 13px; line-height: 1.3; font-weight: 700; color: var(--tv-dark); overflow-wrap: break-word; }
.tv-service__desc { margin-top: 4px; font-size: 11.5px; line-height: 1.45; color: var(--tv-muted); }

/* ---------- Section umum ---------- */
.tv-section { padding: 40px 0; }
.tv-section--alt { background: var(--tv-bg-alt); }
.tv-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin-bottom: 18px; }
.tv-section__head > div:first-child { flex: 1 1 220px; min-width: 0; }
.tv-section__title { font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--tv-dark); letter-spacing: -.01em; }
.tv-section__sub { margin-top: 4px; font-size: 14px; color: var(--tv-muted); }
.tv-eyebrow { font-size: 12px; font-weight: 700; color: var(--tv-primary-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tv-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tv-dark); text-decoration: none; padding: 8px 0; }
.tv-link:hover { color: var(--tv-primary-dark); }
.tv-link .ic { width: 1em; height: 1em; }
.tv-badge { font-size: 11px; font-weight: 600; color: #92400e; background: #fef3c7; border: 1px solid #fde68a; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

/* ---------- Rute ---------- */
.tv-routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tv-route { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); box-shadow: var(--tv-shadow); }
.tv-route__title { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; color: var(--tv-dark); overflow-wrap: anywhere; }
.tv-route__pin { color: var(--tv-dark); margin-top: 1px; }
.tv-route__arrow { color: var(--tv-muted); }
.tv-route__meta { display: grid; gap: 6px; font-size: 13px; color: var(--tv-muted); flex: 1; }
.tv-route__meta li { display: flex; align-items: center; gap: 8px; }
.tv-route__meta strong { color: var(--tv-text); }

/* ---------- Armada ---------- */
.tv-carousel__nav { display: flex; gap: 8px; margin-left: auto; }
.tv-carousel__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--tv-line); border-radius: 50%; color: var(--tv-dark); cursor: pointer; }
.tv-carousel__btn:hover:not(:disabled) { border-color: var(--tv-dark); }
.tv-carousel__btn:disabled { opacity: .4; cursor: default; }

.tv-carousel__track {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
	margin-inline: calc(var(--tv-gutter) * -1); padding: 4px var(--tv-gutter) 8px;
	scroll-padding-inline: var(--tv-gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.tv-carousel__track::-webkit-scrollbar { display: none; }
.tv-fleet { flex: 0 0 82%; max-width: 340px; scroll-snap-align: start; background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); box-shadow: var(--tv-shadow); overflow: hidden; display: flex; flex-direction: column; }
/* Foto armada: ukuran tampil tetap (semua kartu sama, berapa pun ukuran foto yang diunggah).
   Foto diisi penuh (object-fit: cover) dan dipotong di tengah bila rasio berbeda. */
.tv-fleet__media { position: relative; height: 220px; overflow: hidden; background: var(--tv-bg-alt); }
.tv-fleet .tv-fleet__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.tv-fleet__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.tv-fleet__title { font-size: 16px; font-weight: 700; color: var(--tv-dark); }
.tv-fleet__cap { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tv-muted); }
.tv-fleet__features { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--tv-muted); margin-bottom: 4px; flex: 1; align-content: flex-start; }
.tv-fleet__features li { display: inline-flex; align-items: center; gap: 5px; }
.tv-fleet__features .ic { color: var(--tv-dark); width: 1.1em; height: 1.1em; }

.tv-carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.tv-carousel__dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c8d1db; cursor: pointer; }
.tv-carousel__dot::after { content: ""; position: absolute; inset: -10px; } /* area sentuh 28px */
.tv-carousel__track { -webkit-overflow-scrolling: touch; }
@media (hover: hover) and (pointer: fine) {
	.tv-carousel__track { cursor: grab; }
	.tv-carousel__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
}
.tv-carousel__dot.is-active { background: var(--tv-primary); }

/* ---------- Tentang + Keunggulan ---------- */
.tv-about__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.tv-about__card { display: flex; flex-direction: column-reverse; gap: 20px; }
.tv-about__p { margin-top: 10px; font-size: 14px; color: var(--tv-muted); }
.tv-about__area { margin-top: 8px; }
.tv-about__area strong { color: var(--tv-text); }
.tv-checklist { display: grid; gap: 8px; margin: 14px 0 18px; font-size: 14px; }
.tv-checklist li { display: flex; align-items: flex-start; gap: 8px; }
.tv-checklist .ic { color: var(--tv-primary); margin-top: 1px; }
.tv-about__media { border-radius: var(--tv-radius); overflow: hidden; border: 1px solid var(--tv-line); aspect-ratio: 4 / 3; background: var(--tv-bg-alt); }
.tv-about__media img { width: 100%; height: 100%; object-fit: cover; }

.tv-why__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.tv-why__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); box-shadow: var(--tv-shadow); }
.tv-why__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tv-primary); color: #fff; }
.tv-why__icon .ic { width: 22px; height: 22px; }
.tv-why__name { font-size: 14.5px; font-weight: 700; color: var(--tv-dark); }
.tv-why__desc { margin-top: 2px; font-size: 13px; color: var(--tv-muted); }

/* ---------- CTA ---------- */
.tv-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; background: var(--tv-dark); }
.tv-cta .tv-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.tv-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 42, 74, .35); }
.tv-cta__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tv-cta__title { font-size: 24px; line-height: 1.2; font-weight: 800; }
.tv-cta__desc { font-size: 15px; opacity: .95; max-width: 44ch; margin-bottom: 6px; }
.tv-cta__or { font-size: 13px; opacity: .85; margin-top: 6px; }

/* ---------- Sosial media ---------- */
.tv-social { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; }
.tv-social a:hover { background: rgba(255,255,255,.15); }
.tv-social .ic { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.tv-footer { background: var(--tv-dark); color: #cdd8e5; font-size: 14px; }
.tv-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.tv-footer__desc { margin-top: 10px; max-width: 34ch; }
.tv-footer__h { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.tv-footer__col ul { display: grid; gap: 8px; }
.tv-footer__col a { text-decoration: none; }
.tv-footer__col a:hover { color: #fff; text-decoration: underline; }
.tv-footer__contact li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.tv-footer__contact .ic { margin-top: 2px; color: #8fd5a6; }
.tv-footer .tv-social { display: flex; }
.tv-footer__copy { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; text-align: center; }

/* ---------- Bottom nav (mobile) ---------- */
.tv-bottomnav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
	display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: end;
	height: 64px; padding-bottom: env(safe-area-inset-bottom);
	background: #fff; border-top: 1px solid var(--tv-line); box-shadow: 0 -4px 14px rgba(11, 42, 74, .06);
}
.tv-bottomnav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; font-size: 11px; font-weight: 500; text-decoration: none; color: var(--tv-muted); min-width: 0; }
.tv-bottomnav__item .ic { width: 22px; height: 22px; }
.tv-bottomnav__item.is-active { color: var(--tv-primary-dark); }
.tv-bottomnav__wa {
	justify-self: center; align-self: start; margin-top: -22px;
	display: inline-flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; border-radius: 50%; background: var(--tv-primary); color: #fff;
	border: 4px solid #fff; box-shadow: 0 4px 12px rgba(21, 128, 61, .4); text-decoration: none;
}
.tv-bottomnav__wa .ic { width: 30px; height: 30px; }

/* ---------- Halaman CMS lama (fallback) ---------- */
.tv-legacy { display: grid; gap: 16px; max-width: 820px; }
.tv-legacy__body { overflow-wrap: anywhere; }
.tv-legacy__body img { max-width: 100%; height: auto; }

/* ---------- Layar sangat kecil (<= 360px) ---------- */
@media (max-width: 359px) {
	:root { --tv-gutter: 14px; }
	.tv-brand__name { font-size: 17px; }
	.tv-hero__title { font-size: 26px; }
	.tv-service__title { font-size: 12.5px; }
	.tv-service__desc { font-size: 11px; }
	.tv-hero__actions .tv-btn { width: 100%; }
}

/* ---------- >= 480px ---------- */
@media (min-width: 480px) {
	.tv-hero__actions { flex-direction: row; flex-wrap: wrap; }
	.tv-fleet { flex-basis: 320px; }
	.tv-fleet__media { height: 240px; }
}

/* ---------- >= 640px (tablet kecil) ---------- */
@media (min-width: 640px) {
	:root { --tv-gutter: 24px; }
	.tv-hero__title { font-size: 38px; }
	.tv-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tv-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- >= 768px (tablet) ---------- */
@media (min-width: 768px) {
	body.tv { padding-bottom: 0; }
	.tv-bottomnav { display: none; }
	.tv-hero__inner { padding-bottom: 460px; }
	.tv-hero::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 30%, rgba(255,255,255,0) 42%); }
	.tv-services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-service { border-bottom: 0 !important; border-right: 1px solid var(--tv-line); padding: 22px 16px; }
	.tv-service:nth-child(2n) { border-right: 1px solid var(--tv-line); }
	.tv-service:last-child { border-right: 0; }
	.tv-service__title { font-size: 14px; }
	.tv-service__desc { font-size: 12.5px; }
	.tv-carousel__nav { display: flex; }
	.tv-carousel__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
	.tv-carousel__dots { display: flex; }
	.tv-about__card { flex-direction: row; align-items: center; gap: 28px; }
	.tv-about__text { flex: 1 1 55%; }
	.tv-about__media { flex: 1 1 45%; }
}

/* ---------- >= 1024px (desktop) ---------- */
@media (min-width: 1024px) {
	:root { --tv-header-h: 72px; --tv-gutter: 32px; }

	.tv-burger { display: none; }
	.tv-nav {
		position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; flex: 1; justify-content: flex-end;
		padding: 0; background: none; border: 0; box-shadow: none;
	}
	.tv-nav__list { display: flex; gap: 26px; }
	.tv-nav__link { padding: 6px 0; border: 0 !important; font-size: 13.5px; font-weight: 600; border-bottom: 2px solid transparent !important; }
	.tv-nav__link.is-active { border-bottom-color: var(--tv-primary) !important; }
	.tv-nav__cta { width: auto; }
	.tv-brand__name { font-size: 22px; }

	.tv-hero__inner { padding-top: 72px; padding-bottom: 170px; min-height: 560px; }
	.tv-hero::after { background: linear-gradient(0deg, #fff 0, rgba(255,255,255,0) 160px), linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,0) 68%); }
	.tv-hero { min-height: clamp(560px, 38vw, 760px); }
	.tv-hero__text { max-width: 460px; }
	.tv-hero__title { font-size: 44px; }
	.tv-hero__pic .tv-hero__bg { object-position: 80% 100%; }
	.tv-hero__title { font-size: 52px; }
	.tv-hero__desc { font-size: 17px; }
	.tv-services { margin-top: -170px; }

	.tv-section { padding: 64px 0; }
	.tv-section__title { font-size: 28px; }
	.tv-routes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-fleet { flex-basis: calc((100% - 48px) / 3); max-width: none; }
	.tv-fleet__media { height: 260px; }

	.tv-about__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
	.tv-why { padding-top: 6px; }

	.tv-cta__inner { padding-top: 72px; padding-bottom: 72px; }
	.tv-cta__title { font-size: 34px; }
	.tv-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tv-btn { transition: none; }
}

/* ==========================================================================
   Halaman CMS: daftar & detail (berita, agenda, kategori)
   ========================================================================== */
.tv-page { padding-top: 24px; min-height: 55vh; }
.tv-page__head { margin-bottom: 20px; }
.tv-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 14px; font-size: 13px; color: var(--tv-muted); }
.tv-crumbs a { text-decoration: none; color: var(--tv-muted); }
.tv-crumbs a:hover { color: var(--tv-primary-dark); text-decoration: underline; }
.tv-crumbs span:last-child { color: var(--tv-text); overflow-wrap: anywhere; }
.tv-empty { padding: 28px 16px; text-align: center; color: var(--tv-muted); background: var(--tv-bg-alt); border-radius: var(--tv-radius); }

.tv-posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tv-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tv-line); border-radius: var(--tv-radius); box-shadow: var(--tv-shadow); overflow: hidden; min-width: 0; }
.tv-post__media { display: block; aspect-ratio: 8 / 5; background: var(--tv-bg-alt); overflow: hidden; }
.tv-post__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-post__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.tv-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--tv-muted); }
.tv-post__meta .ic { width: 1em; height: 1em; margin-right: 2px; }
.tv-post__cat { font-weight: 700; color: var(--tv-primary-dark); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.tv-post__title { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--tv-dark); overflow-wrap: anywhere; }
.tv-post__title a { text-decoration: none; }
.tv-post__title a:hover { color: var(--tv-primary-dark); }
.tv-post__place { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tv-muted); }
.tv-post__excerpt { font-size: 14px; color: var(--tv-muted); }

.tv-pagination { margin-top: 26px; display: flex; justify-content: center; }
.tv-pagination ul.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tv-pagination li a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid var(--tv-line); border-radius: 10px; background: #fff; color: var(--tv-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.tv-pagination li a:hover { border-color: var(--tv-primary); color: var(--tv-primary-dark); }
.tv-pagination li.active a { background: var(--tv-primary); border-color: var(--tv-primary); color: #fff; }

.tv-article { max-width: 820px; margin-inline: auto; }
.tv-article__title { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; color: var(--tv-dark); overflow-wrap: anywhere; }
.tv-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 13px; color: var(--tv-muted); }
.tv-article__figure { margin: 18px 0 0; border-radius: var(--tv-radius); overflow: hidden; border: 1px solid var(--tv-line); }
.tv-article__figure img { width: 100%; height: auto; }
.tv-article__back { margin-top: 28px; }
.tv-prose { margin-top: 20px; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.tv-prose p { margin: 0 0 1em; }
.tv-prose h2, .tv-prose h3 { margin: 1.4em 0 .5em; color: var(--tv-dark); line-height: 1.3; }
.tv-prose a { color: var(--tv-accent); }
.tv-prose img, .tv-prose video, .tv-prose iframe { max-width: 100%; height: auto; }
.tv-prose ul, .tv-prose ol { margin: 0 0 1em; padding-left: 1.4em; list-style: revert; }
.tv-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.tv-prose td, .tv-prose th { border: 1px solid var(--tv-line); padding: 6px 10px; }
.tv-facts { display: grid; gap: 8px; margin: 18px 0 0; padding: 14px; background: var(--tv-bg-alt); border-radius: var(--tv-radius); font-size: 14px; }
.tv-facts div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tv-facts dt { min-width: 70px; font-weight: 700; color: var(--tv-dark); }
.tv-facts dd { margin: 0; }
.tv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tv-tags li { padding: 4px 10px; font-size: 12px; background: var(--tv-bg-alt); border: 1px solid var(--tv-line); border-radius: 999px; color: var(--tv-muted); }

@media (min-width: 640px) {
	.tv-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-article__title { font-size: 32px; }
}
@media (min-width: 1024px) {
	.tv-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.tv-page { padding-top: 40px; }
	.tv-nav__list { gap: 18px; }
}
@media (min-width: 1200px) {
	.tv-nav__list { gap: 26px; }
}
.tv-notfound { max-width: 640px; text-align: center; display: grid; gap: 14px; justify-items: center; padding-block: 24px; }
.tv-notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
@media (min-width: 1280px) {
	.tv-hero__text { max-width: 560px; }
	.tv-hero__title { font-size: 52px; }
}

.tv-route__desc, .tv-fleet__desc { font-size: 13px; color: var(--tv-muted); }

