/* Design tokens — diambil dari ticket.transportforjakarta.or.id */
:root {
  --tfj-blue: #18549c;
  --tfj-navy: #14293d;
  --tfj-ink: #00162b;
  --tfj-muted: #5a6a7a;
  --tfj-lime: #e8ec14;
  --tfj-cream: #fcf9ee;
  --tfj-tint: #ecf4fc;
  --tfj-red: #e4002b;
  --tfj-green: #006d3a;
  --tfj-gold: #f9d437;
  --radius-card: 25px;
  --radius-tile: 20px;
  --radius-chip: 10px;
  --radius-pill: 500px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-route: "PT Sans", "Arial", sans-serif;
  --font-route-narrow: "PT Sans Narrow", "Arial Narrow", "PT Sans", sans-serif;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--tfj-cream); color: var(--tfj-navy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tfj-lime); color: var(--tfj-blue); padding: 8px 14px; border-radius: var(--radius-chip); font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tfj-blue); outline-offset: 2px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-pill); padding: 10px 20px; font: inherit; font-size: .875rem; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: filter .15s, background .15s; }
.btn-lime { background: var(--tfj-lime); color: var(--tfj-blue); }
.btn-lime:hover { filter: brightness(.95); }
.btn-blue { background: var(--tfj-blue); color: #fff; }
.btn-blue:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--tfj-blue); color: var(--tfj-blue); background: transparent; }
.btn-ghost:hover { background: var(--tfj-tint); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.chip { display: inline-block; border-radius: var(--radius-pill); padding: 4px 12px; font-size: .75rem; font-weight: 700; background: var(--tfj-tint); color: var(--tfj-blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.hdr { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--tfj-navy); }
.nav a:hover { background: var(--tfj-tint); color: var(--tfj-blue); }
.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr select, .hdr .search input { font: inherit; font-size: .875rem; font-weight: 600; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); padding: 7px 14px; background: #fff; color: var(--tfj-navy); }
.search input { width: 200px; font-weight: 400; }
.lang { display: inline-flex; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); overflow: hidden; }
.lang button { font: inherit; font-size: .75rem; font-weight: 700; border: 0; background: none; padding: 7px 10px; color: var(--tfj-navy); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.menu-btn { display: none; }

/* Navbar berkelompok (dropdown) */
.nav { align-items: center; }
.dd { position: relative; }
.dd-btn { font: inherit; font-size: .875rem; font-weight: 600; color: var(--tfj-navy); background: none; border: 0; cursor: pointer; padding: 8px 12px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dd-btn::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.dd:hover .dd-btn, .dd.open .dd-btn, .dd:focus-within .dd-btn { background: var(--tfj-tint); color: var(--tfj-blue); }
.dd.open .dd-btn::after { transform: rotate(225deg); }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 14px 34px rgba(20,41,61,.16), 0 0 0 1px rgba(20,41,61,.06); z-index: 60; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) { .dd:hover .dd-menu { display: block; } }
.nav .dd-menu a { display: block; padding: 9px 12px; border-radius: 10px; white-space: normal; }
.nav .dd-menu a b { display: block; font-size: .875rem; font-weight: 700; }
.nav .dd-menu a small { display: block; font-size: .75rem; font-weight: 400; color: var(--tfj-muted); line-height: 1.35; }
.nav .dd-menu a:hover { background: var(--tfj-tint); }
.hdr-tools .btn { padding: 7px 16px; white-space: nowrap; }
.dd-mobile { display: none; }
.nav-search { display: none; }
/* Pencarian navbar */
.search { position: relative; }
.ss-box { position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 14px 34px rgba(20,41,61,.18), 0 0 0 1px rgba(20,41,61,.06); padding: 6px; z-index: 70; }
.ss-box[hidden] { display: none; }
.ss-h { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tfj-muted); padding: 8px 10px 4px; }
.ss-it { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--tfj-navy); }
.ss-it:hover, .ss-it.active { background: var(--tfj-tint); }
.ss-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tfj-tint); display: grid; place-items: center; font-size: .9rem; }
.ss-tx { min-width: 0; display: grid; }
.ss-tx b { font-size: .85rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-tx small { font-size: .72rem; color: var(--tfj-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-note { font-size: .72rem; color: var(--tfj-muted); padding: 6px 10px 8px; }
.ss-note a { color: var(--tfj-blue); }
/* Lapis atas: Komunitas + kota + bahasa (biru tipis) */
.topbar { background: var(--tfj-blue); color: #fff; font-size: .75rem; }
.tb { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.tb-links { display: flex; align-items: center; gap: 2px; }
.tb-label { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .65rem; opacity: .7; margin-right: 8px; }
.tb-links a { color: #fff; text-decoration: none; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-pill); }
.tb-links a:hover { background: rgba(255,255,255,.16); }
.tb-tools { display: flex; align-items: center; gap: 8px; }
.topbar select { font: inherit; font-size: .75rem; font-weight: 600; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-pill); padding: 2px 10px; }
.topbar select option { color: var(--tfj-navy); }
.topbar .lang { border: 1px solid rgba(255,255,255,.4); }
.topbar .lang button { color: #fff; padding: 2px 9px; }
.topbar .lang button[aria-pressed="true"] { background: #fff; color: var(--tfj-blue); }
@media (max-width: 1100px) { .search input { width: 140px; } .hdr-cta-map { display: none; } }

/* Hero */
.hero { background: var(--tfj-ink); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--tfj-blue); opacity: .45; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; }
.hero p.lead { margin-top: 14px; max-width: 56ch; color: rgba(255,255,255,.8); }
.plan { margin-top: 28px; background: #fff; color: var(--tfj-navy); border-radius: var(--radius-card); padding: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; max-width: 860px; }
.plan label { display: block; font-size: .75rem; font-weight: 700; color: var(--tfj-muted); margin-bottom: 4px; }
.plan input { width: 100%; font: inherit; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-chip); padding: 11px 14px; color: var(--tfj-navy); }
.plan input:focus { border-color: var(--tfj-blue); outline: none; }
.plan .btn { align-self: end; height: 48px; }
.quick { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: rgba(255,255,255,.7); }
.quick button { font: inherit; font-size: .8rem; font-weight: 600; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: var(--radius-pill); padding: 5px 12px; cursor: pointer; }
.quick button:hover { background: rgba(255,255,255,.14); }
.plan-note { margin-top: 10px; font-size: .75rem; color: rgba(255,255,255,.6); }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: #fff; }
section.tint { background: var(--tfj-tint); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sec-head p { color: var(--tfj-muted); margin-top: 6px; max-width: 60ch; }
.more { font-weight: 700; font-size: .875rem; color: var(--tfj-blue); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Status board */
.status { background: #fff; border-radius: var(--radius-card); overflow: hidden; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.status-row { display: grid; grid-template-columns: 52px minmax(120px, 230px) minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 20px; text-decoration: none; color: inherit; }
.status-row:hover { background: var(--tfj-tint); }
.status-row .prev { order: 0; padding-left: 9px; }
.status-row .st-name { grid-column: 3; }
.modeico.sm { width: 48px; height: 48px; border-radius: 14px; }
.modeico.sm img { width: 32px; height: 32px; }
.status-row + .status-row { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.status-row strong { display: block; }
.status-row small { color: var(--tfj-muted); }
.badge { border-radius: var(--radius-pill); padding: 4px 12px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--tfj-green) 15%, transparent); color: var(--tfj-green); }
.badge.warn { background: color-mix(in srgb, var(--tfj-gold) 35%, transparent); color: #6b5300; }
.badge.bad { background: color-mix(in srgb, var(--tfj-red) 10%, transparent); color: var(--tfj-red); }
.status-foot { padding: 12px 20px; background: var(--tfj-tint); font-size: .8rem; color: var(--tfj-muted); }
.roundel { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-route); font-weight: 700; font-size: .95rem; line-height: 1; letter-spacing: 0; flex: none; font-variant-numeric: tabular-nums; }
.roundel.sm, .mini, .num { font-family: var(--font-route-narrow); font-weight: 700; }

/* Map */
.map-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--radius-card); background: var(--tfj-ink); min-height: 340px; overflow: hidden; color: #fff; display: flex; align-items: end; padding: 28px; }
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.map-card .cap { position: relative; }
.map-card .cap h3 { font-size: 1.4rem; }
.map-card .cap p { color: rgba(255,255,255,.75); font-size: .9rem; margin: 4px 0 14px; }
.map-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.card { background: #fff; border-radius: var(--radius-card); padding: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card .ver { display: inline-block; margin-bottom: 12px; }
.card ul { margin: 0; padding-left: 18px; color: var(--tfj-muted); font-size: .9rem; }
.card ul li + li { margin-top: 6px; }

/* Modes */
/* Halaman moda */
.modeico { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; flex: none; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.modeico img { width: 64px; height: 64px; }
.modemap { width: 100%; height: auto; border-radius: var(--radius-chip); background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.linegrid.one { grid-template-columns: 1fr; }
.pdfmap { display: block; width: 100%; height: min(78vh, 680px); border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); border-radius: var(--radius-chip); background: #fff; }
.modes-more { width: 100%; text-align: center; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.8); }
.modes-more a { color: var(--tfj-lime); font-weight: 700; margin: 0 6px; }

/* Tim Kami */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs [role=tab] { font: inherit; font-size: .9rem; font-weight: 700; border: 2px solid var(--tfj-blue); background: transparent; color: var(--tfj-blue); border-radius: var(--radius-pill); padding: 9px 20px; cursor: pointer; }
.tabs [role=tab][aria-selected="true"] { background: var(--tfj-blue); color: #fff; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.member { background: var(--tfj-cream); border-radius: var(--radius-card); padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-tile); margin-bottom: 10px; background: var(--tfj-tint); }
.member b { font-size: 1rem; line-height: 1.25; }
.member small { color: var(--tfj-muted); font-size: .82rem; line-height: 1.3; }
.member .avatar { width: 100%; aspect-ratio: 1; border-radius: var(--radius-tile); font-size: 2rem; margin-bottom: 10px; }
.orgchart { margin: 44px 0 0; }
.orgchart h3 { font-size: 1.3rem; margin-bottom: 14px; }
.orgchart img { width: 100%; height: auto; border-radius: var(--radius-card); background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }

/* Jelajahi moda: bagian gelap, kartu putih tinggi berisi ikon + nama (gaya transportforjakarta.or.id) */
.modes-sec { background: var(--tfj-ink); color: #fff; }
.modes-head { text-align: center; margin-bottom: 36px; }
.modes-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.modes-head p { color: rgba(255,255,255,.75); margin: 10px auto 0; max-width: 60ch; }
/* Kartu ringkas, rata tengah; bila tidak muat dalam satu baris, turun ke baris berikutnya (tanpa scroll) */
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 6px 0 12px; }
.mode { flex: 0 0 108px; background: #fff; color: var(--tfj-ink); border-radius: 20px; padding: 16px 8px 14px; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; border: 2px solid rgba(255,255,255,.35); transition: transform .15s, box-shadow .15s; }
.mode:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.35); }
.mode img { width: 56px; height: 56px; margin: 0; border-radius: 14px; }
.mode b { font-size: .85rem; font-weight: 800; line-height: 1.2; min-height: 2.4em; display: grid; place-items: center; }
.modes-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn-white { background: #fff; color: var(--tfj-blue); }
.btn-white:hover { filter: brightness(.95); }

/* Fares */
.fares { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fare { background: #fff; border-radius: var(--radius-tile); padding: 22px; }
.fare .price { font-size: 1.7rem; font-weight: 800; color: var(--tfj-blue); margin: 6px 0; }
.fare small { color: var(--tfj-muted); }
.note { margin-top: 16px; font-size: .8rem; color: var(--tfj-muted); }

/* Upcoming */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius-tile); padding: 14px 20px; }
.date { text-align: center; background: var(--tfj-tint); color: var(--tfj-blue); border-radius: var(--radius-chip); padding: 8px 4px; font-weight: 800; line-height: 1.1; }
.date span { display: block; font-size: .7rem; font-weight: 700; }

/* Guides */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.guide { background: var(--tfj-blue); color: #fff; border-radius: var(--radius-card); padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 160px; }
.guide:nth-child(2) { background: var(--tfj-green); }
.guide:nth-child(3) { background: var(--tfj-navy); }
.guide:nth-child(4) { background: var(--tfj-ink); }
.guide h3 { font-size: 1.15rem; }
.guide p { font-size: .85rem; color: rgba(255,255,255,.8); }
.guide span { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--tfj-lime); }

/* Collab + insights */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile { background: #fff; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.tile .thumb { height: 120px; background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-navy)); display: grid; place-items: center; color: var(--tfj-lime); font-weight: 800; font-size: 1rem; padding: 12px; text-align: center; }
.tile .thumb.g { background: linear-gradient(135deg, var(--tfj-green), var(--tfj-navy)); }
.tile .thumb.k { background: linear-gradient(135deg, var(--tfj-navy), var(--tfj-ink)); }
.tile .body { padding: 18px 20px 22px; }
.tile h3 { font-size: 1rem; margin: 6px 0; }
.tile p { font-size: .85rem; color: var(--tfj-muted); }

/* Community strip */
.community { background: var(--tfj-ink); color: #fff; padding: 56px 0; }
.community .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.community h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.community p { margin-top: 10px; color: rgba(255,255,255,.8); max-width: 54ch; }
.community .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.event { background: rgba(255,255,255,.08); border-radius: var(--radius-tile); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.event + .event { margin-top: 10px; }
.event small { color: rgba(255,255,255,.65); display: block; }
.event .chip { background: var(--tfj-lime); color: var(--tfj-blue); }

footer { background: var(--tfj-ink); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.12); padding: 32px 0; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--tfj-lime); }
.report { color: var(--tfj-lime); font-weight: 700; }

@media (max-width: 900px) {
  .nav, .search { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 10px; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 104px); overflow-y: auto; background: #fff; padding: 12px 16px 18px; margin: 0; box-shadow: 0 12px 20px rgba(0,0,0,.1); }
  /* ponsel: grup selalu terbuka, judul grup sebagai label */
  .dd-btn { pointer-events: none; padding: 4px 0; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tfj-muted); }
  .dd-btn::after { display: none; }
  .dd-menu, .dd.open .dd-menu { display: block; position: static; box-shadow: none; padding: 0; min-width: 0; }
  .dd-menu::before { display: none; }
  .hdr-cta-map { display: none; }
  .dd-mobile { display: block; }
  .nav.open .nav-search { display: block; }
  .nav-search input { width: 100%; }
  .ss-box { position: static; width: auto; box-shadow: none; max-height: 50vh; margin-top: 6px; background: var(--tfj-cream); }
  .tb-links { display: none; }
  .tb { justify-content: flex-end; }
  .topbar.no-tools { display: none; }
  .map-grid, .community .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plan { grid-template-columns: 1fr; }
  /* ponsel: [ikon moda] [nama + sumber] [status] sebaris dan rata tengah; ikon lin di baris kedua; waktu pembaruan di baris ketiga */
  .status-row { grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 10px; align-items: center; }
  .status-row .modeico { grid-column: 1; grid-row: 1; }
  .status-row .st-name { grid-column: 2; grid-row: 1; }
  .status-row .badge { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; font-size: .68rem; padding: 3px 9px; }
  .status-row .prev { grid-column: 1 / -1; grid-row: 2; }
  .status-row .upd { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .modes { gap: 10px; }
  .mode { flex: 0 0 calc((100% - 20px) / 3); padding: 14px 6px 12px; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .timeline li .chip { grid-column: 2; justify-self: start; }
  section.block { padding: 44px 0; }
  .logo img { height: 34px; }
}
/* Template jalur & stasiun */
.crumbs { padding: 20px 0 8px; font-size: .8rem; color: var(--tfj-muted); }
.crumbs a { text-decoration: none; color: var(--tfj-blue); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0 24px; }
.page-head h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-top: 6px; }
.roundel.big { width: 64px; height: 64px; font-size: 1.35rem; }
.head-status { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.head-status small, .empty { color: var(--tfj-muted); font-weight: 400; }
.empty { font-style: italic; font-size: .9rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.fact { background: #fff; border-radius: var(--radius-tile); padding: 16px 20px; }
.fact small { display: block; color: var(--tfj-muted); font-size: .75rem; font-weight: 700; margin-bottom: 4px; }
.fact b { font-size: 1.1rem; }
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.two > aside, .two > div { display: grid; gap: 20px; }
.two .card h2 { font-size: 1.1rem; margin-bottom: 14px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } .head-status { margin-left: 0; align-items: flex-start; } }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 6px; background: var(--line); border-radius: 3px; }
.route li a { display: flex; align-items: center; gap: 16px; padding: 9px 0; text-decoration: none; position: relative; }
.route .dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--tfj-ink); margin-left: 5px; flex: none; z-index: 1; }
.route .nm { font-weight: 700; }
.route li a:hover .nm { color: var(--tfj-blue); text-decoration: underline; }
.mini { font-size: .8rem; font-weight: 700; color: #fff; border-radius: var(--radius-pill); padding: 2px 8px; }
.linkrow { display: flex; align-items: center; gap: 14px; padding: 10px 0; text-decoration: none; }
.linkrow + .linkrow { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.linkrow span:nth-child(2) { flex: 1; }
.linkrow small { display: block; color: var(--tfj-muted); }
a.linkrow:hover b { color: var(--tfj-blue); }
.acclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.acc span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.acc small { margin-left: auto; font-weight: 400; color: var(--tfj-muted); }
.acc.yes span { background: color-mix(in srgb, var(--tfj-green) 15%, transparent); color: var(--tfj-green); }
.acc.no span { background: color-mix(in srgb, var(--tfj-red) 10%, transparent); color: var(--tfj-red); }
.acc.unk span { background: var(--tfj-tint); color: var(--tfj-muted); }
.prevnext { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 700; font-size: .875rem; }
.prevnext a { color: var(--tfj-blue); text-decoration: none; }
.prevnext a:hover { text-decoration: underline; }
.report-link { color: var(--tfj-blue); font-weight: 700; }
main > .wrap { padding-bottom: 48px; }

/* Tentang Kami */
.about-hero { padding: 56px 0; }
.about-hero .chip { background: var(--tfj-lime); color: var(--tfj-blue); margin-bottom: 14px; }
.about-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.about-two h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.body-text { color: var(--tfj-navy); max-width: 60ch; }
.stats { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 12px; }
.stats li { display: flex; align-items: baseline; gap: 12px; }
.stats b { font-size: 1.8rem; color: var(--tfj-blue); min-width: 56px; }
.stats span { color: var(--tfj-muted); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.person { background: #fff; border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.person small { color: var(--tfj-muted); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--tfj-tint); color: var(--tfj-blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; }
.partners .chip { background: #fff; font-size: .9rem; padding: 8px 16px; }
@media (max-width: 800px) { .about-two { grid-template-columns: 1fr; } }

/* Data Commute: daftar jalur */
.op { margin-bottom: 36px; }
.linegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.lcard { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius-tile); padding: 12px 16px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); }
.lcard:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--tfj-navy) 14%, transparent); }
.lcard b { display: block; font-size: .9rem; line-height: 1.25; }
.lcard small { color: var(--tfj-muted); }
.roundel.sm { font-size: .8rem; }
.mode .roundel.sm { font-size: 1rem; }
.roundel.xs { font-size: .65rem; }
.roundel.big.xs { font-size: .85rem; }
.roundel.big.sm { font-size: 1.05rem; }
.segh { font-size: .85rem; color: var(--tfj-muted); margin: 18px 0 6px; }
.num { font-size: .9rem; font-weight: 700; color: var(--tfj-muted); min-width: 32px; }
.exits { display: flex; flex-wrap: wrap; gap: 8px; }
.exits a { text-decoration: none; }
.exits a:hover { background: var(--tfj-blue); color: #fff; }
code { background: var(--tfj-tint); padding: 2px 6px; border-radius: 6px; }

/* Blog & artikel */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.catbtn { font: inherit; font-size: .8rem; font-weight: 700; border: 0; border-radius: var(--radius-pill); padding: 7px 16px; background: #fff; color: var(--tfj-navy); cursor: pointer; }
.catbtn[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.filters input { font: inherit; font-size: .875rem; border: 2px solid color-mix(in srgb, var(--tfj-navy) 20%, transparent); border-radius: var(--radius-pill); padding: 8px 16px; width: min(280px, 100%); }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post { background: #fff; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); transition: transform .15s, box-shadow .15s; }
.post:hover { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in srgb, var(--tfj-navy) 14%, transparent); }
.post.feature { grid-column: 1 / -1; flex-direction: row; }
.post.feature .cover { flex: 1.2; height: auto; min-height: 260px; }
.post.feature .pbody { flex: 1; justify-content: center; }
.post.feature h3 { font-size: 1.7rem; }
.pbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pbody h3 { font-size: 1.1rem; line-height: 1.3; }
.pbody p { font-size: .9rem; color: var(--tfj-muted); }
.pbody small { color: var(--tfj-muted); margin-top: auto; }
.cover { height: 170px; display: flex; align-items: flex-end; padding: 16px; color: var(--tfj-lime); font-weight: 800; letter-spacing: .08em; font-size: .75rem; text-transform: uppercase; }
.tone-blue { background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-navy)); }
.tone-green { background: linear-gradient(135deg, var(--tfj-green), var(--tfj-navy)); }
.tone-navy { background: linear-gradient(135deg, var(--tfj-navy), var(--tfj-ink)); }
.tone-lime { background: linear-gradient(135deg, var(--tfj-blue), var(--tfj-green)); }
.pager { display: flex; justify-content: center; gap: 8px; margin: 32px 0; }
.pager button { font: inherit; font-weight: 700; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; }
.pager button[aria-current="true"] { background: var(--tfj-blue); color: #fff; }
.subscribe { margin-top: 24px; background: var(--tfj-blue); color: #fff; border-radius: var(--radius-card); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.subscribe h2 { font-size: 1.4rem; }
.subscribe p { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 4px; max-width: 44ch; }
.subscribe .row { display: flex; gap: 8px; }
.subscribe input { font: inherit; border: 0; border-radius: var(--radius-pill); padding: 10px 18px; min-width: 220px; }
.article { max-width: 760px; margin: 0 auto; }
.a-head { text-align: center; padding: 16px 0 24px; }
.a-head time { color: var(--tfj-muted); font-size: .9rem; }
.a-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 14px; }
.a-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--tfj-green); }
.a-cats a { text-decoration: none; color: var(--tfj-green); }
.a-cats span { color: var(--tfj-muted); }
.byline { margin-top: 12px; font-style: italic; color: var(--tfj-muted); }
.a-cover { border-radius: var(--radius-card); height: 280px; }
.a-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.a-share .chip { border: 0; cursor: pointer; text-decoration: none; font-family: inherit; }
.a-body { font-size: 1.05rem; line-height: 1.8; }
.a-body h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.a-body p { margin-bottom: 16px; }
.a-body ul, .a-body ol { margin: 0 0 16px; padding-left: 24px; }
.a-body li + li { margin-top: 6px; }
.a-body blockquote { margin: 24px 0; padding: 16px 22px; border-left: 6px solid var(--tfj-lime); background: var(--tfj-tint); border-radius: 0 var(--radius-tile) var(--radius-tile) 0; font-weight: 600; }
.related { margin-top: 56px; }
.related h2 { font-size: 1.5rem; margin-bottom: 16px; }
@media (max-width: 800px) { .post.feature { flex-direction: column; } .post.feature .cover { min-height: 170px; } }

/* Nomor rute dua baris: JAK kecil di atas, angka besar di bawah */
.roundel.stack { flex-direction: column; display: flex; align-items: center; justify-content: center; gap: 0; font-family: var(--font-route-narrow); }
.roundel.stack i { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .04em; line-height: 1; opacity: .9; }
.roundel.stack b { font-size: 1.05rem; font-weight: 700; line-height: 1; margin-top: 1px; }
.roundel.stack.big i { font-size: .65rem; }
.roundel.stack.big b { font-size: 1.4rem; }
.mode .roundel.stack i { font-size: .6rem; }

/* Accordion bagian jalur */
.acc-sec { background: #fff; border-radius: var(--radius-tile); border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); margin-bottom: 10px; overflow: hidden; }
.acc-sec summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.acc-sec summary::-webkit-details-marker { display: none; }
.acc-sec summary:hover { background: var(--tfj-tint); }
.acc-title { font-weight: 800; font-size: 1.05rem; flex: 1; min-width: 0; }
.acc-title .chip { margin-left: 6px; vertical-align: middle; }
.prev { display: flex; align-items: center; padding-left: 10px; }
.prev .roundel { width: 36px; height: 36px; font-size: .85rem; margin-left: -9px; box-shadow: 0 0 0 2px #fff; }
.prev .roundel.sm { font-size: .68rem; }
.prev .roundel.xs { font-size: .55rem; }
.prev .roundel.stack i { font-size: .45rem; }
.prev .roundel.stack b { font-size: .8rem; }
.prev .more-n { background: var(--tfj-navy); color: #fff; font-family: var(--font); font-size: .7rem; font-weight: 700; }
.chev { width: 10px; height: 10px; border-right: 2.5px solid var(--tfj-blue); border-bottom: 2.5px solid var(--tfj-blue); transform: rotate(45deg); transition: transform .2s; margin: 0 6px 4px 2px; flex: none; }
.acc-sec[open] > summary .chev { transform: rotate(-135deg); margin-bottom: 0; margin-top: 4px; }
.acc-sec[open] > summary .prev { visibility: hidden; }
.acc-body { padding: 4px 18px 18px; }
@media (max-width: 640px) { .acc-sec summary { flex-wrap: wrap; } .acc-title { flex-basis: 100%; } .prev { order: 3; } .chev { margin-left: auto; order: 4; } }
/* Moda kereta: lingkaran putih dengan garis (stroke) berwarna */
.roundel.outline { background: #fff; color: var(--tfj-ink); border: 6px solid var(--rc); }
.roundel.outline.big { border-width: 7px; }
.roundel.outline.stack i { opacity: 1; }
.prev .roundel.outline { border-width: 5px; }
.mini.outline { background: #fff; color: var(--tfj-ink); border: 3px solid var(--rc); padding: 0 7px; }
.kor.mod { margin-bottom: 10px; }

/* Toolbar: pencarian, tampilan, filter koridor */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seg { display: inline-flex; background: #fff; border-radius: var(--radius-pill); padding: 3px; border: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); }
.seg button { font: inherit; font-size: .8rem; font-weight: 700; border: 0; background: none; border-radius: var(--radius-pill); padding: 7px 14px; color: var(--tfj-navy); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--tfj-blue); color: #fff; }
.kor { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 22px; }
.kor > span { font-size: .8rem; font-weight: 700; color: var(--tfj-muted); margin-right: 4px; }
.kor .catbtn { min-width: 38px; padding: 6px 12px; text-align: center; }

/* Tampilan kotak: nomor rute di atas, nama di bawah, 5 kolom */
.view-grid .linegrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.view-grid .lcard { flex-direction: column; justify-content: center; text-align: center; gap: 10px; aspect-ratio: 1 / 1; padding: 14px 10px; }
.view-grid .lcard .roundel { width: 54px; height: 54px; font-size: 1.15rem; }
.view-grid .lcard .roundel.sm { font-size: 1rem; }
.view-grid .lcard .roundel.xs { font-size: .8rem; }
.view-grid .lcard .roundel.stack i { font-size: .65rem; }
.view-grid .lcard .roundel.stack b { font-size: 1.2rem; }
.view-grid .lcard b { font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1000px) { .view-grid .linegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) { .view-grid .linegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .view-grid .linegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.op:has(> .acc-sec) { margin-bottom: 0; }
.tjparent { margin-bottom: 28px; }
.tjp { font-size: 1.15rem; margin: 8px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--tfj-lime); display: flex; gap: 10px; align-items: center; }
.tjgroup { margin-bottom: 22px; }
.tjgroup h4 { font-size: 1.05rem; margin: 6px 0 2px; color: var(--tfj-blue); }
.tjgroup h4 small { color: var(--tfj-muted); font-weight: 600; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* saran halte/stasiun di widget 'Mau ke mana hari ini?' */
.hsug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40; background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 15%, transparent); border-radius: var(--radius-chip); box-shadow: 0 12px 32px rgba(20,41,61,.22); max-height: 300px; overflow: auto; text-align: left; }
.hsug button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; background: none; border: 0; padding: 8px 12px; cursor: pointer; color: var(--tfj-navy); }
.hsug button:hover { background: var(--tfj-tint); }
.hsug b { display: block; font-size: .9rem; } .hsug small { color: var(--tfj-muted); font-size: .72rem; }
.hsug p { margin: 0; padding: 10px 12px; font-size: .85rem; color: var(--tfj-muted); }

/* Status layanan: akordeon per operator & per jalur */
.sx-op { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); } .sx-op:first-child { border-top: 0; }
.sx-op > summary { list-style: none; cursor: pointer; } .sx-op > summary::-webkit-details-marker { display: none; }
.sx-op > summary.status-row { grid-template-columns: 52px minmax(0, 1fr) minmax(160px, 1.2fr) auto auto 18px; }
.sx-op > summary .st-name { grid-column: auto; } .sx-op > summary .prev { order: 0; }
.status-row .st-name small { display: block; } .sx-src { font-size: .7rem; opacity: .8; }
.sx-op .chev { width: 9px; height: 9px; border-right: 2.5px solid var(--tfj-blue); border-bottom: 2.5px solid var(--tfj-blue); transform: rotate(45deg); transition: transform .2s; margin-bottom: 4px; }
.sx-op[open] .chev { transform: rotate(-135deg); margin-top: 6px; margin-bottom: 0; } .sx-op[open] > summary { background: var(--tfj-tint); }
.badge.end { background: #e5eaf0; color: #46566a; }
.sx-body { padding: 4px 22px 18px 22px; background: color-mix(in srgb, var(--tfj-tint) 45%, #fff); }
.sx-sec { padding: 10px 0; } .sx-sec + .sx-sec { border-top: 1px dashed color-mix(in srgb, var(--tfj-navy) 15%, transparent); }
.sx-sec h4 { margin: 0 0 8px; font-size: .9rem; } .sx-sec h4 small { font-weight: 400; color: var(--tfj-muted); }
.sx-none { margin: 0; font-size: .86rem; } .sx-none small { color: var(--tfj-muted); display: block; margin-top: 2px; }
.sx-sum { margin: 0 0 8px; font-size: .86rem; }
.sx-inc { background: #fff; border-left: 5px solid var(--tfj-gold); border-radius: var(--radius-chip); padding: 10px 14px; margin: 0 0 8px; } .sx-inc.bad { border-color: var(--tfj-red); } .sx-inc.ok { border-color: var(--tfj-green); }
.sx-inc-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .sx-inc p { margin: 6px 0 0; font-size: .88rem; } .sx-meta { font-size: .76rem; color: var(--tfj-muted); margin-top: 6px; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; } .sx-chip { display: inline-flex; } .sx-chip .roundel { width: 34px; height: 34px; font-size: .78rem; } .sx-chip.hit { filter: drop-shadow(0 0 0 transparent); } .sx-chip.hit .roundel { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--tfj-red); }
.sx-chip .roundel.sm { font-size: .66rem; } .sx-chip .roundel.xs { font-size: .52rem; } .sx-chip .roundel.stack i { font-size: .42rem; } .sx-chip .roundel.stack b { font-size: .74rem; }
.sx-more { margin: 6px 0; } .sx-more > summary { cursor: pointer; font-weight: 700; font-size: .84rem; padding: 4px 0; color: var(--tfj-blue); }
.sx-g { margin: 8px 0; } .sx-g > b { font-size: .76rem; color: var(--tfj-muted); text-transform: uppercase; letter-spacing: .04em; }
.sx-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; margin-top: 6px; } .sx-r { display: flex; align-items: center; gap: 8px; font-size: .8rem; } .sx-r .roundel { width: 30px; height: 30px; font-size: .68rem; }
.sx-lines { display: grid; gap: 6px; }
.sx-line { background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); border-radius: var(--radius-chip); }
.sx-line > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 8px 12px; } .sx-line > summary::-webkit-details-marker { display: none; }
.sx-ln { flex: 1; min-width: 0; } .sx-ln small { display: block; color: var(--tfj-muted); font-size: .76rem; }
.sx-line .sx-chip .roundel { width: 38px; height: 38px; }
.sx-lb { padding: 4px 14px 12px; }
.sx-link { font-weight: 700; font-size: .86rem; text-decoration: none; color: var(--tfj-blue); }
@media (max-width: 760px) { .sx-op > summary.status-row { grid-template-columns: 52px minmax(0, 1fr) auto 18px; } .sx-op > summary .prev { grid-column: 1 / -1; grid-row: 2; } .sx-op > summary .upd { grid-column: 1 / -1; grid-row: 3; } .sx-op > summary .chev { grid-column: 4; grid-row: 1; } .sx-body { padding: 4px 14px 16px; } }

/* Status layanan — baris ringkas & ikon moda terbalik (lingkaran navy, ikon putih) */
.sx-op > summary.status-row { grid-template-columns: 44px minmax(0, 1fr) auto 18px; gap: 12px 14px; padding: 12px 18px; }
.sx-op .modeico.sm { width: 44px; height: 44px; border-radius: 50%; background: var(--tfj-navy); border: 0; }
.sx-op .modeico.sm img { width: 28px; height: 28px; filter: grayscale(1) contrast(300) invert(1); mix-blend-mode: screen; } /* ikon gelap berlatar putih -> ikon putih di atas lingkaran navy */
.st-main { min-width: 0; } .st-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; } .st-top strong { font-size: 1rem; } .st-h { color: var(--tfj-muted); font-size: .8rem; }
.sx-chips2 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .sx-chips2 .sx-chip .roundel { width: 28px; height: 28px; font-size: .66rem; } .sx-chips2 .sx-chip .roundel.sm { font-size: .56rem; } .sx-chips2 .sx-chip .roundel.xs { font-size: .46rem; } .sx-chips2 .roundel.stack i { font-size: .36rem; } .sx-chips2 .roundel.stack b { font-size: .62rem; }
.sx-chips2 .more-n { background: var(--tfj-navy); color: #fff; font-weight: 800; margin-left: 0; box-shadow: none; }
.sx-chips2 .sx-chip.hit .roundel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tfj-red); }
.sx-dirs { border-collapse: collapse; font-size: .84rem; margin: 6px 0; } .sx-dirs th, .sx-dirs td { text-align: left; padding: 4px 18px 4px 0; } .sx-dirs th { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--tfj-muted); }
.sx-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; } .sx-foot small { color: var(--tfj-muted); font-size: .74rem; }
@media (max-width: 760px) { .sx-op > summary.status-row { grid-template-columns: 40px minmax(0, 1fr) auto 14px; padding: 10px 12px; } .sx-op > summary .prev, .sx-op > summary .upd { display: none; } .sx-op > summary .chev { grid-column: 4; grid-row: 1; } .sx-op > summary .badge { grid-column: 3; grid-row: 1; } .sx-op > summary .st-main { grid-column: 2; grid-row: 1; } }

/* ───── 2026-11-11: tarif lengkap, peta tematik, signage, ikon sosial, status koridor ───── */
.sx-chip.off { opacity: .38; filter: grayscale(.4); }
.fares .fare { text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, transform .15s; }
.fares a.fare:hover { box-shadow: 0 6px 20px rgba(20,41,61,.12); transform: translateY(-2px); }
.fare-h { display: flex; align-items: center; gap: 10px; } .fare-h img { width: 28px; height: 28px; }
.fare .price { font-size: 1.45rem; }
.fare-l { list-style: none; margin: 8px 0 0; padding: 0; font-size: .82rem; color: var(--tfj-muted); } .fare-l li + li { margin-top: 4px; }
.tf-home-note { max-width: 78ch; } .tf-home-note a { color: var(--tfj-blue); font-weight: 700; }
.tf-lead { max-width: 70ch; color: var(--tfj-muted); margin-bottom: 18px; }
.tf-alert { background: #fff6d6; border: 1px solid #ecd57a; border-radius: var(--radius-tile); padding: 14px 18px; margin: 0 0 8px; font-size: .92rem; } .tf-alert a { color: var(--tfj-blue); font-weight: 700; }
.tf-h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 34px 0 14px; }
.tf-grid, .tf-pay { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tf-card { background: #fff; border-radius: var(--radius-tile); padding: 22px; border: 1px solid color-mix(in srgb, var(--tfj-navy) 8%, transparent); }
.tf-card.wide { max-width: 100%; } .tf-card h3 { font-size: 1.02rem; margin: 0 0 6px; } .tf-card p { color: var(--tfj-muted); font-size: .9rem; }
.tf-card ul { margin: 10px 0 0; padding-left: 18px; font-size: .88rem; color: var(--tfj-muted); } .tf-card ul li + li { margin-top: 6px; }
.tf-h { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .tf-h img { width: 36px; height: 36px; } .tf-h h3 { margin-bottom: 4px; }
.tf-price { font-size: 1.8rem; font-weight: 800; color: var(--tfj-blue); line-height: 1.1; } .tf-unit { font-size: .84rem; color: var(--tfj-muted); margin-top: 2px; }
.tf-src { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #d9e1ea; } .tf-src small { color: var(--tfj-muted); line-height: 1.7; } .tf-src a, .tf-tl a { color: var(--tfj-blue); }
.tf-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .tf-tl li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; background: #fff; border-radius: var(--radius-tile); padding: 16px 20px; } .tf-tl b { color: var(--tfj-blue); } .tf-note { margin-top: 6px; font-size: .86rem; color: var(--tfj-muted); }
.pt-grid .tile { height: 100%; } .tile .thumb.c { background: linear-gradient(135deg, #a86a00, #5b3a00); } .tile .thumb.img { padding: 0; background: #e7eef6; } .tile .thumb.img img { width: 100%; height: 100%; object-fit: cover; }
.pt-partners { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .pt-partners span { font-size: .72rem; background: var(--tfj-tint); border-radius: 999px; padding: 3px 10px; color: var(--tfj-navy); font-weight: 600; }
.pt-meta { display: block; margin-top: 10px; color: var(--tfj-muted); } .pt-pdf { display: block; margin-top: 10px; font-size: .84rem; font-weight: 700; } .pt-pdf a { color: var(--tfj-blue); }
.sig-card { display: flex; align-items: center; gap: 16px; margin-top: 18px; background: #fff; border-radius: var(--radius-tile); padding: 16px 22px; text-decoration: none; border: 1px solid color-mix(in srgb, var(--tfj-navy) 8%, transparent); transition: box-shadow .15s; }
.sig-card:hover { box-shadow: 0 6px 20px rgba(20,41,61,.12); }
.sig-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--tfj-blue); color: var(--tfj-lime); display: grid; place-items: center; flex: none; } .sig-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sig-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .sig-t small { color: var(--tfj-muted); } .sig-go { font-weight: 800; color: var(--tfj-blue); font-size: .9rem; white-space: nowrap; }
.event-soc { flex-direction: column; align-items: stretch; gap: 14px; }
.soc { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.soc a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: .68rem; font-weight: 700; transition: background .15s, color .15s; }
.soc a:hover { background: var(--tfj-lime); color: var(--tfj-blue); }
.soc svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { .soc a span { display: none; } .soc a { padding: 14px 4px; } .tf-tl li { grid-template-columns: 1fr; gap: 4px; } .sig-card { flex-wrap: wrap; } }
/* tab BRT / Non-BRT pada status Transjakarta */
.sx-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 12px; }
.sx-tg { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tfj-muted); margin: 0 4px 0 8px; } .sx-tg:first-child { margin-left: 0; }
.sx-tab { appearance: none; border: 1.5px solid color-mix(in srgb, var(--tfj-navy) 16%, transparent); background: #fff; color: var(--tfj-navy); font: inherit; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.sx-tab i { font-style: normal; font-size: .68rem; background: var(--tfj-tint); color: var(--tfj-blue); border-radius: 999px; padding: 1px 7px; }
.sx-tab:hover { border-color: var(--tfj-blue); } .sx-tab.on { background: var(--tfj-blue); border-color: var(--tfj-blue); color: #fff; } .sx-tab.on i { background: var(--tfj-lime); color: var(--tfj-blue); }
.sx-find { width: 100%; max-width: 340px; margin: 4px 0 10px; padding: 8px 14px; border: 1.5px solid #d3dce6; border-radius: 999px; font: inherit; font-size: .85rem; background: #fff; }
.sx-lines.tall { max-height: 560px; overflow: auto; padding-right: 4px; }
.sx-line[hidden] { display: none; }
/* ───── 2026-11-11b: Peta Interaktif unggulan, tarif (MRT/LRT, KUE, gratis, perubahan mendatang) ───── */
.imap-sec { background: linear-gradient(180deg, #fff 0%, var(--tfj-tint) 100%); padding-top: 28px; }
.imap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: linear-gradient(135deg, var(--tfj-blue) 0%, #0f3a70 55%, var(--tfj-navy) 100%); color: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 18px 50px rgba(24,84,156,.28); }
.imap-l { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.imap-l h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.05; } .imap-l p { color: rgba(255,255,255,.88); max-width: 52ch; font-size: 1.02rem; }
.imap-chip { background: var(--tfj-lime); color: var(--tfj-blue); }
.imap-f { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; font-weight: 600; font-size: .95rem; } .imap-f li { padding-left: 28px; position: relative; } .imap-f li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tfj-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318549c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5 10 17l8.5-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.btn-xl { padding: 16px 32px; font-size: 1.05rem; box-shadow: 0 8px 24px rgba(232,236,20,.35); }
.imap-r { background: rgba(255,255,255,.07); min-height: 260px; position: relative; } .imap-r svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.map-sub { margin-top: 18px; grid-template-columns: 1.4fr 1fr; }
.ofc { display: flex; flex-direction: column; gap: 10px; } .ofc p { color: var(--tfj-muted); font-size: .92rem; } .ofc .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 860px) { .imap { grid-template-columns: 1fr; } .imap-r { min-height: 180px; order: -1; } .map-sub { grid-template-columns: 1fr; } }
.tf-var { display: grid; gap: 10px; margin: 12px 0 4px; } .tf-var > div { background: var(--tfj-tint); border-radius: 14px; padding: 10px 14px; display: grid; gap: 2px; } .tf-var b { font-size: .88rem; } .tf-var span { color: var(--tfj-blue); font-weight: 800; font-size: 1.15rem; } .tf-var small { color: var(--tfj-muted); line-height: 1.5; }
.tf-pcard { display: flex; gap: 14px; align-items: flex-start; } .tf-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--tfj-blue); color: var(--tfj-lime); display: grid; place-items: center; } .tf-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tf-diag { margin: 0 0 18px; background: #fff; border-radius: var(--radius-card); padding: 18px; border: 1px solid color-mix(in srgb, var(--tfj-navy) 8%, transparent); } .tf-diag img { width: 100%; height: auto; border-radius: 12px; background: #fff; } .tf-diag a { display: block; cursor: zoom-in; }
.tf-diag figcaption { display: grid; gap: 6px; margin-top: 12px; font-size: .88rem; color: var(--tfj-muted); } .tf-diag figcaption b { color: var(--tfj-navy); font-size: .98rem; }
.tf-kue { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; } .tf-kue span { background: var(--tfj-tint); border-radius: 12px; padding: 6px 12px; display: grid; line-height: 1.2; } .tf-kue i { font-style: normal; font-weight: 800; color: var(--tfj-navy); font-size: .85rem; } .tf-kue small { color: var(--tfj-muted); font-size: .7rem; }
.tf-free-h { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; } .tf-free-h p + p { margin-top: 8px; }
.tf-logo { flex: none; min-width: 120px; height: 72px; padding: 8px 14px; background: #fff; border: 1px solid #d9e1ea; border-radius: 16px; display: grid; place-items: center; } .tf-logo img { max-height: 54px; width: auto; } .tf-logo.nologo { background: linear-gradient(135deg, #e4002b, #b3001f); border: 0; } .tf-logo .tf-logo-t { display: none; } .tf-logo.nologo .tf-logo-t { display: block; color: #fff; font-size: 1.5rem; letter-spacing: -.02em; }
.tf-free { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; } .tf-fg h4 { margin: 14px 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--tfj-muted); } .tf-fg ol { margin: 0; padding-left: 22px; font-size: .9rem; color: var(--tfj-navy); } .tf-fg ol li + li { margin-top: 5px; } .tf-fh { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; } .tf-when { margin: 8px 0 8px; font-size: .9rem; }
.tf-fg.ok { border-top: 5px solid var(--tfj-green); } .tf-fg.soon { border-top: 5px solid #e08a00; background: #fffaf0; }
.hot-h { display: flex; align-items: center; gap: 10px; } .hot-dot { width: 12px; height: 12px; border-radius: 50%; background: #e4002b; box-shadow: 0 0 0 0 rgba(228,0,43,.55); animation: tfpulse 1.8s infinite; }
@keyframes tfpulse { 70% { box-shadow: 0 0 0 12px rgba(228,0,43,0); } 100% { box-shadow: 0 0 0 0 rgba(228,0,43,0); } }
.tf-tl.hot li { background: linear-gradient(135deg, #fff4c2 0%, #ffd86b 100%); border: 1.5px solid #e0a400; border-left: 8px solid #e4002b; box-shadow: 0 8px 22px rgba(224,164,0,.28); } .tf-tl.hot b { color: #b3001f; font-size: 1.05rem; } .tf-tl.hot li > div { color: #3a2a00; } .tf-tl.hot .tf-note { color: #5a4300; } .tf-tl.hot a { color: #8a1020; font-weight: 700; }
.tf-alert { background: linear-gradient(135deg, #fff4c2, #ffd86b); border-color: #e0a400; border-left: 8px solid #e4002b; box-shadow: 0 6px 18px rgba(224,164,0,.25); color: #3a2a00; }
@media (prefers-reduced-motion: reduce) { .hot-dot { animation: none; } }
/* â”€â”€â”€â”€â”€ 2026-11-11c: hero dua kolom + status geser, animasi ringan, pencarian, bus sekolah, roundel â”€â”€â”€â”€â”€ */
/* kolom cari header lebih lebar supaya placeholder tidak terpotong */
.hdr .search input, .search input { width: clamp(230px, 25vw, 330px); text-overflow: ellipsis; }
.nav-search input { width: 100%; }
@media (max-width: 1360px) { .hdr-cta-map { display: none; } }
@media (max-width: 1100px) { .search input { width: clamp(180px, 22vw, 240px); } }

/* ikon Bus Sekolah: glyph navy seperti moda lain, kotaknya kuning bus sekolah */
.mode.mode-bs { background: #ffc928; border-color: #ffe38a; }
.mode.mode-bs:hover { box-shadow: 0 10px 22px rgba(255,201,40,.45); }
.mode.mode-bs b { color: #00162b; }

/* hero: kiri pertanyaan + rencana, kanan status lin / info layanan */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 36px; align-items: start; }
.hero .plan { max-width: 100%; }
.hero-side { min-width: 0; }
.hs { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 28px; padding: 16px; color: #fff; }
.hs-tabs { display: flex; gap: 4px; background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.hs-tabs button { flex: 1; border: 0; background: none; color: rgba(255,255,255,.8); font: inherit; font-weight: 700; font-size: .82rem; padding: 9px 10px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.hs-tabs button.on { background: var(--tfj-lime); color: var(--tfj-blue); }
.hs-tabs i { font-style: normal; background: var(--tfj-red); color: #fff; border-radius: 999px; font-size: .66rem; padding: 1px 7px; margin-left: 4px; }
.hs-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.hs-track::-webkit-scrollbar { display: none; }
.hs-card { flex: 0 0 100%; scroll-snap-align: start; background: #fff; color: var(--tfj-navy); border-radius: 22px; padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 10px; min-height: 200px; transition: box-shadow .2s; }
.hs-card:hover, .hs-card:focus-visible { box-shadow: 0 0 0 3px var(--tfj-lime); outline: none; }
.hs-h { display: flex; align-items: center; gap: 12px; } .hs-h > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.2; } .hs-h strong { font-size: 1.05rem; }
.hs-card .sx-chips2 { margin-top: 0; max-height: 92px; overflow: hidden; } .hs-t { font-size: .84rem; color: var(--tfj-muted); line-height: 1.45; } .hs-go { margin-top: auto; font-size: .8rem; font-weight: 800; color: var(--tfj-blue); }
.hs-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.hs-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s; } .hs-nav button:hover { background: var(--tfj-lime); color: var(--tfj-blue); }
.hs-dots { display: flex; gap: 6px; } .hs-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: width .25s, background .25s; } .hs-dots i.on { width: 20px; border-radius: 99px; background: var(--tfj-lime); }
.hs-info { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 10px; max-height: 300px; overflow: auto; scrollbar-width: thin; }
.hs-info li { background: #fff; color: var(--tfj-navy); border-radius: 16px; padding: 12px 14px; border-left: 6px solid #9fb0c2; display: grid; gap: 4px; justify-items: start; }
.hs-info li.warn { border-left-color: #e0a400; } .hs-info li.bad { border-left-color: var(--tfj-red); } .hs-info li.ok { border-left-color: var(--tfj-green); }
.hs-info b { font-size: .92rem; line-height: 1.3; } .hs-info p { font-size: .8rem; color: var(--tfj-muted); line-height: 1.45; } .hs-info a { font-size: .78rem; font-weight: 800; color: var(--tfj-blue); text-decoration: none; } .hs-info a:hover { text-decoration: underline; }
.hs-all { display: block; margin-top: 12px; text-align: center; color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 700; text-decoration: none; } .hs-all:hover { color: var(--tfj-lime); }
.skel { height: 84px; border-radius: 18px; background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.2), rgba(255,255,255,.07)); background-size: 220% 100%; animation: tfshim 1.3s linear infinite; } .skel.s2 { height: 120px; margin-top: 12px; }
@keyframes tfshim { to { background-position: -220% 0; } }
.sx-notice { background: #fff6d6; border: 1px solid #ecd57a; border-radius: 14px; padding: 12px 16px; } .sx-notice h4 { margin: 0 0 4px; } .sx-notice p { font-size: .88rem; color: #3a2a00; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } .hs-card { min-height: 180px; } }

/* peta interaktif: tangkapan layar asli */
.imap-r { display: block; overflow: hidden; text-decoration: none; } .imap-r img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); } .imap:hover .imap-r img { transform: scale(1.04); }
.imap-badge { position: absolute; left: 14px; bottom: 14px; background: rgba(0,22,43,.84); color: #fff; font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.imap-l h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }

/* roundel berwarna lin pada kartu tarif */
.tf-rnd { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 4px; } .tf-rnd .roundel { width: 26px; height: 26px; font-size: .62rem; } .tf-rnd .roundel.sm { font-size: .54rem; } .tf-rnd .roundel.xs { font-size: .46rem; } .tf-rnd .roundel.stack i { font-size: .34rem; } .tf-rnd .roundel.stack b { font-size: .6rem; }
.fare .tf-rnd { margin: 10px 0 0; }

/* animasi ringan: hanya opacity/transform, berhenti bila pengguna memilih mengurangi gerakan */
@keyframes tffade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-main > * { animation: tffade .7s cubic-bezier(.2,.7,.2,1) both; } .hero-main > *:nth-child(2) { animation-delay: .06s; } .hero-main > *:nth-child(3) { animation-delay: .12s; } .hero-main > *:nth-child(4) { animation-delay: .18s; } .hero-main > *:nth-child(5) { animation-delay: .24s; } .hero-main > *:nth-child(6) { animation-delay: .3s; }
.hero-side { animation: tffade .8s .22s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { animation: tfblob 16s ease-in-out infinite alternate; }
@keyframes tfblob { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 24px) scale(1.08); } }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 520' preserveAspectRatio='xMidYMid slice'%3E%3Cstyle%3Epath%7Bfill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1600;stroke-dashoffset:1600;animation:d 7s ease-in-out infinite alternate%7D.b%7Bstroke:%2318549c%7D.g%7Bstroke:%2300a651;animation-delay:.8s%7D.r%7Bstroke:%23e4002b;animation-delay:1.6s%7D.y%7Bstroke:%23f9d437;animation-delay:2.4s%7D@keyframes d%7Bto%7Bstroke-dashoffset:0%7D%7D%3C/style%3E%3Cpath class='b' d='M-20 430 L260 330 L520 330 L760 190 L1220 120'/%3E%3Cpath class='g' d='M40 120 L330 210 L520 330 L700 450 L1220 480'/%3E%3Cpath class='r' d='M200 540 L420 400 L520 330 L610 90 L700 -20'/%3E%3Cpath class='y' d='M-20 260 L260 270 L520 330 L880 300 L1220 330'/%3E%3C/svg%3E") center / cover no-repeat; }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }
.fare, .tile, .tf-card, .map-side, .ofc, .sig-card, .hs-info li { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.fare:hover, .tile:hover, .tf-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20,41,61,.14); }
.btn { transition: transform .15s, filter .15s, background .15s; } .btn:active { transform: scale(.97); }
.btn-xl { animation: tfpulse2 3.2s ease-in-out infinite; } @keyframes tfpulse2 { 0%, 100% { box-shadow: 0 8px 24px rgba(232,236,20,.35); } 50% { box-shadow: 0 8px 34px rgba(232,236,20,.65); } }
.sx-chip .roundel { transition: transform .2s; } .sx-chip:hover .roundel { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } }
/* status lin: ganti otomatis tiap 3 detik dengan bilah kemajuan */
.hs-bar { display: block; height: 3px; border-radius: 99px; background: rgba(255,255,255,.16); margin: 12px 18px 0; overflow: hidden; } .hs-bar i { display: block; height: 100%; width: 100%; background: var(--tfj-lime); transform-origin: left; animation: tfbar 3s linear forwards; }
@keyframes tfbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs:hover .hs-bar i, .hs:focus-within .hs-bar i { animation-play-state: paused; }

/* ───── 2026-11-11e: ikon judul, thumbnail peta integrasi, peta tematik + artikel berdampingan ───── */
.h-ic { display: flex; align-items: center; gap: 12px; }
.h-jl { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: 0 2px 8px rgba(20,41,61,.14); }
.h-lights { display: inline-flex; flex-direction: column; justify-content: space-between; gap: 3px; width: 26px; padding: 5px; border-radius: 99px; background: var(--tfj-navy); flex: none; }
.h-lights i { display: block; width: 16px; height: 16px; border-radius: 50%; margin: 0 auto; opacity: .95; } .h-lights .g { background: #2fa866; } .h-lights .y { background: #e8b923; } .h-lights .r { background: #d64545; }
.h-lights i { animation: tflight 4.5s ease-in-out infinite; } .h-lights .y { animation-delay: 1.5s; } .h-lights .r { animation-delay: 3s; }
@keyframes tflight { 0%, 100% { opacity: .45; } 15%, 30% { opacity: 1; } }
.ofc { display: flex; flex-direction: column; align-items: flex-start; }
.ofc-thumb { position: relative; display: block; width: 100%; aspect-ratio: 520 / 250; overflow: hidden; border-radius: 14px; margin-bottom: 14px; background: #eef3f8; }
.ofc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); } .ofc:hover .ofc-thumb img { transform: scale(1.05); }
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.duo-col { min-width: 0; } .duo .sec-head { margin-bottom: 18px; } .duo .sec-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); } .duo .sec-head p { font-size: .88rem; }
.duo .tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.art-list { display: grid; gap: 12px; }
.art { display: grid; gap: 4px; justify-items: start; background: #fff; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); border-radius: var(--radius-card); padding: 16px 20px; text-decoration: none; color: inherit; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.art:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,41,61,.12); } .art h3 { font-size: 1rem; margin: 2px 0 0; } .art p { font-size: .85rem; color: var(--tfj-muted); }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; gap: 36px; } }
@media (prefers-reduced-motion: reduce) { .h-lights i { animation: none; opacity: 1; } }
.modes-head .h-ic { justify-content: center; }

/* ───── 2026-11-11f: perapian ───── */
.hs-bar { display: none; }
.hs-dots i { position: relative; overflow: hidden; } .hs-dots i b { position: absolute; inset: 0; background: var(--tfj-lime); transform: scaleX(0); transform-origin: left; }
.hs-dots i.on { width: 30px; background: rgba(255,255,255,.28); } .hs-dots i.on b { animation: tfbar 3s linear forwards; }
.hs:hover .hs-dots i.on b, .hs:focus-within .hs-dots i.on b { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hs-dots i.on b { animation: none !important; transform: scaleX(1); } }
/* info layanan: hanya label + judul */
.hs-info li { gap: 6px; padding: 12px 14px; } .hs-info b, .hs-info .hs-t1 { font-size: .92rem; line-height: 1.35; font-weight: 700; color: var(--tfj-navy); text-decoration: none; } .hs-info .hs-t1:hover { text-decoration: underline; }
/* ikon judul bagian */
.h-svg { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tfj-blue); color: #fff; } .h-svg svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.modes-sec .h-svg { background: var(--tfj-lime); color: var(--tfj-blue); }
.h-jl { display: none; }
/* tarif: kelompok bus / kereta */
.fare-g, .tf-sub { grid-column: 1 / -1; margin: 10px 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tfj-muted); } .fare-g:first-child { margin-top: 0; } .tf-sub { margin: 22px 0 12px; }
/* perubahan mendatang: kartu tenang, tanpa gradasi */
.tf-tl.hot li { background: #fff; border: 1px solid #e1e7ee; border-left: 4px solid #c9962a; box-shadow: none; padding: 14px 18px; grid-template-columns: 96px 1fr; }
.tf-tl.hot b { color: var(--tfj-navy); font-size: .95rem; font-weight: 800; }
.tf-tl.hot li > div { color: var(--tfj-navy); font-size: .95rem; } .tf-tl.hot .tf-note { color: var(--tfj-muted); } .tf-tl.hot a { color: var(--tfj-blue); font-weight: 600; }
.tf-tl.hot li:hover { transform: none; box-shadow: none; }
.hot-dot { width: 10px; height: 10px; background: #c9962a; animation: none; box-shadow: none; }

.tf-alert { background: #fff; border: 1px solid #e1e7ee; border-left: 4px solid #c9962a; box-shadow: none; color: var(--tfj-navy); }

/* ───── 2026-11-12: sudut kartu lebih kotak, peta interaktif ringkas, status lin 2 kolom, perubahan gaya berita ───── */
:root { --radius-card: 12px; --radius-tile: 10px; }
.mode, .fare, .tile, .art, .guide, .tf-card, .ofc, .map-side, .sig-card, .event, .status, .post, .plan, .subscribe, .member, .person { border-radius: 10px; }
.card { border-radius: 12px; }

/* peta interaktif: datar dan ringkas */
.imap { grid-template-columns: 1.15fr 1fr; border-radius: 12px; background: var(--tfj-blue); box-shadow: none; }
.imap-l { padding: 26px 32px; gap: 10px; }
.imap-l h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.12; } .imap-l h2 br { display: none; }
.imap-l p { font-size: .95rem; max-width: 60ch; }
.imap-f { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: .85rem; margin: 2px 0 6px; }
.imap-r { min-height: 0; }
.imap .btn-xl { padding: 10px 22px; font-size: .9rem; animation: none; }
.imap-badge { border-radius: 6px; }
@media (max-width: 860px) { .imap-f { grid-template-columns: 1fr; } .imap-r { min-height: 160px; } }

/* status lin: dua operator per halaman, hover lebih hidup */
.hs { border-radius: 14px; padding: 14px; }
.hs-card { flex: 0 0 calc(50% - 6px); border-radius: 10px; min-height: 150px; padding: 14px; gap: 8px; border-top: 3px solid #cbd5e1; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s, background .2s; }
.hs-card:has(.badge.ok) { border-top-color: var(--tfj-green); } .hs-card:has(.badge.warn) { border-top-color: #d19a00; } .hs-card:has(.badge.bad) { border-top-color: var(--tfj-red); }
.hs-card:hover, .hs-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.34); background: #f6faff; outline: none; }
.hs-card .hs-go { display: inline-flex; gap: 4px; transition: gap .2s; } .hs-card:hover .hs-go { gap: 10px; text-decoration: underline; }
.hs-h { gap: 10px; align-items: flex-start; } .hs-h strong { font-size: .98rem; } .hs-h > div { gap: 5px; }
.hs-card .sx-chips2 { max-height: 64px; } .hs-t { font-size: .8rem; }
.hs-info li { border-radius: 8px; }
.skel { border-radius: 10px; }
@media (max-width: 560px) { .hs-card { flex-basis: 100%; } }

/* perubahan yang akan datang: gaya berita */
.news { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.nw-main { background: #fff; border: 1px solid #e1e7ee; border-top: 3px solid var(--tfj-blue); border-radius: 10px; padding: 24px 26px; }
.nw-main h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.25; margin: 8px 0 10px; } .nw-main p { color: var(--tfj-muted); font-size: .98rem; line-height: 1.6; }
.nw-meta { display: flex; align-items: baseline; gap: 10px; font-size: .75rem; } .nw-tag { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tfj-blue); } .nw-meta time { color: var(--tfj-muted); font-weight: 600; }
.nw-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: .84rem; } .nw-links a { color: var(--tfj-blue); font-weight: 600; text-decoration: none; } .nw-links a:hover { text-decoration: underline; } .nw-links .nw-more { font-weight: 800; }
.nw-list { display: grid; } .nw-item { padding: 14px 0; border-bottom: 1px solid #dde4ec; } .nw-item:first-child { padding-top: 0; } .nw-item:last-child { border-bottom: 0; }
.nw-item h3 { font-size: 1rem; line-height: 1.35; margin: 4px 0 4px; } .nw-item p { font-size: .86rem; color: var(--tfj-muted); line-height: 1.5; }
.nw-item.done .nw-tag { color: var(--tfj-green); }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; gap: 20px; } }

.nw-main { position: sticky; top: 96px; }
@media (max-width: 860px) { .nw-main { position: static; } }

/* sampul artikel bergambar */
.cover.has-img { background-size: cover; background-position: center; position: relative; isolation: isolate; }
.cover.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,22,43,.72), rgba(0,22,43,.05) 65%); z-index: -1; }
.a-fig { margin: 22px 0; } .a-fig img { width: 100%; border-radius: 16px; } .a-fig figcaption { font-size: .85rem; color: var(--tfj-muted); margin-top: 6px; }
.a-cover.has-img { height: clamp(220px, 40vw, 420px); border-radius: 22px; }

/* Lihat juga + artikel terkait (akhir halaman): daftar teks bergaris tipis, tanpa kotak */
.lihat { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 14%, transparent); background: var(--tfj-cream); padding: 40px 0 48px; }
.lj { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); } .lj h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-route-narrow, var(--font)); color: var(--tfj-muted); margin-bottom: 10px; }
.lj ul { list-style: none; margin: 0; padding: 0; } .lj li { border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 14%, transparent); } .lj li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 14%, transparent); }
.lj li a { display: grid; gap: 2px; padding: 12px 28px 12px 0; text-decoration: none; position: relative; color: var(--tfj-navy); } .lj li a::after { content: "→"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--tfj-blue); transition: transform .15s; } .lj li a:hover b { color: var(--tfj-blue); } .lj li a:hover::after { transform: translate(4px, -50%); }
.lj li b { font-size: 1rem; } .lj li span, .lj li small { color: var(--tfj-muted); font-size: .86rem; } .lj-b p { margin-top: 12px; }
@media (max-width: 800px) { .lj { grid-template-columns: 1fr; } }

/* Spanduk pengumuman dari dashboard */
.site-banner { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; padding: 9px 16px; background: var(--tfj-navy); color: #fff; font-size: .92rem; } .site-banner a { color: var(--tfj-lime); font-weight: 700; }

/* navbar tersembunyi saat gulir ke bawah, muncul lagi saat gulir ke atas */
.site-header { transition: transform .22s ease; } .site-header.sembunyi { transform: translateY(-100%); }
html.nav-sembunyi .kk-side { top: 16px; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Peta Gagasan di beranda */
.gagasan-home { background: var(--tfj-cream); border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); padding: 36px 0; }
.gh { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; } .gh-t h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0; } .gh-t p { max-width: 58ch; color: var(--tfj-muted); margin-bottom: 16px; }
.gh-k { display: grid; margin: 0; border-left: 3px solid var(--tfj-blue); } .gh-k div { padding: 10px 0 10px 20px; position: relative; } .gh-k div::before { content: ""; position: absolute; left: -9px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--tfj-cream); border: 2px solid var(--tfj-blue); }
.gh-k dt { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--tfj-navy); } .gh-k dd { margin: 2px 0 0; color: var(--tfj-muted); font-size: .9rem; }
@media (max-width: 800px) { .gh { grid-template-columns: 1fr; } }

/* ===== Navbar modern: kaca buram, garis bawah aktif, menu lebar ===== */
#hdr { display: contents; }
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 color-mix(in srgb, var(--tfj-navy) 9%, transparent); }
.topbar { background: var(--tfj-navy); } .topbar .tb-links a { opacity: .85; } .topbar .tb-links a:hover { opacity: 1; text-decoration: underline; }
.hdr { min-height: 64px; gap: 20px; }
.nav { gap: 2px; margin-left: 8px; }
.dd-btn, .nav > a { border-radius: 0; background: none !important; padding: 22px 12px 20px; position: relative; font-weight: 700; letter-spacing: .005em; }
.dd-btn::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px; background: var(--tfj-blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.dd:hover .dd-btn::before, .dd.open .dd-btn::before, .dd:focus-within .dd-btn::before { transform: scaleX(1); }
.dd:hover .dd-btn, .dd.open .dd-btn, .dd:focus-within .dd-btn { color: var(--tfj-blue); }
.dd-menu { top: calc(100% - 6px); min-width: 330px; padding: 10px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--tfj-navy) 10%, transparent); box-shadow: 0 18px 40px -12px rgba(20,41,61,.28); background: #fff; }
.nav .dd-menu a { border-radius: 8px; padding: 10px 14px; border-left: 3px solid transparent; }
.nav .dd-menu a:hover { background: var(--tfj-tint); border-left-color: var(--tfj-blue); }
.nav .dd-menu a b { font-size: .9rem; }
.hdr .search input, .search input { border-width: 1px; background: color-mix(in srgb, var(--tfj-tint) 70%, #fff); padding: 8px 16px; }
.hdr-tools .btn-blue { box-shadow: none; }
@media (max-width: 900px) { .dd-btn, .nav > a { padding: 4px 0; } .dd-btn::before { display: none; } }

/* Blog: baris per kategori, geser horizontal */
.hrows { display: grid; gap: 40px; } .hrow-h { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 14%, transparent); padding-bottom: 8px; margin-bottom: 14px; }
.hrow-h h2 { font-size: 1.25rem; } .hrow-h em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--tfj-muted); margin-left: 6px; }
.hrow-n { display: flex; gap: 6px; } .hrow-b { width: 34px; height: 34px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tfj-navy) 22%, transparent); background: #fff; cursor: pointer; font: inherit; color: var(--tfj-blue); } .hrow-b:hover { background: var(--tfj-blue); color: #fff; }
.hrow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 14px; scrollbar-width: thin; }
.hrow .post { flex: 0 0 min(300px, 80%); scroll-snap-align: start; margin: 0; }
.hrow .more-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px; border: 2px dashed color-mix(in srgb, var(--tfj-blue) 40%, transparent); background: transparent; font: inherit; cursor: pointer; text-align: left; color: var(--tfj-blue); font-weight: 700; border-radius: 8px; } .hrow .more-card b { font-size: 1.6rem; }

/* ===== Lihat juga: ubin foto + kartu artikel ===== */
.lihat { background: var(--tfj-cream); border-top: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); padding: 52px 0 60px; }
.lj-head span { font-family: var(--font-route-narrow, var(--font)); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--tfj-blue); } .lj-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2px 0 20px; text-transform: none; letter-spacing: 0; color: var(--tfj-navy); font-family: inherit; }
.lj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lj-tile { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: 10px; overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; background: var(--tfj-navy); }
.lj-tile > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.lj-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,28,43,.92) 8%, rgba(14,28,43,.35) 60%, rgba(14,28,43,.1)); }
.lj-tile:hover > img:first-child { transform: scale(1.05); }
.lj-t { display: grid; gap: 3px; padding: 16px 44px 16px 18px; } .lj-t b { font-size: 1.05rem; line-height: 1.25; } .lj-t small { font-size: .8rem; color: rgba(255,255,255,.82); line-height: 1.4; }
.lj-tile i { position: absolute; right: 14px; bottom: 16px; font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tfj-lime); color: var(--tfj-navy); font-weight: 800; transition: transform .2s; } .lj-tile:hover i { transform: translateX(4px); }
.lj-logo { position: absolute; top: 12px; left: 12px; height: 38px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; z-index: 1; }
.lj-art { margin-top: 44px; } .lj-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.lj-cards a { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--tfj-navy); } .lj-cv { aspect-ratio: 16/9; border-radius: 8px; background-size: cover; background-position: center; background-color: var(--tfj-blue); } .lj-cv.tone-green { background-color: var(--tfj-green); } .lj-cv.tone-gold { background-color: var(--tfj-gold); } .lj-cv.tone-red { background-color: var(--tfj-red); }
.lj-cards small { color: var(--tfj-muted); font-size: .8rem; } .lj-cards b { font-size: 1.02rem; line-height: 1.3; } .lj-cards a:hover b { color: var(--tfj-blue); text-decoration: underline; }
@media (max-width: 900px) { .lj-tiles, .lj-cards { grid-template-columns: 1fr; } .lj-tile { min-height: 150px; } }

/* ===== Navbar mengambang (pil): sticky di atas konten, kaca buram, CTA gelap ===== */
.site-header { display: contents; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
.hdr { position: sticky; top: 12px; z-index: 70; width: min(1180px, 100% - 24px); margin: 12px auto 0; min-height: 56px; padding: 6px 8px 6px 18px; gap: 14px; border-radius: 28px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 30px rgba(30,41,59,.14), 0 0 0 1px rgba(20,41,61,.06); transition: transform .25s ease, box-shadow .2s; }
.site-header.sembunyi .hdr { transform: translateY(-160%); }
.hdr-tools .btn-blue { background: var(--tfj-navy); border-color: var(--tfj-navy); border-radius: 999px; padding: 10px 20px; }
.hdr-tools .btn-blue:hover { background: var(--tfj-blue); border-color: var(--tfj-blue); }
.hdr-tools .btn-ghost { border-radius: 999px; }
.dd-btn, .nav > a { padding: 16px 12px 14px; } .dd-btn::before { bottom: 8px; }
.dd-menu { top: calc(100% + 14px); left: -8px; }
.dd-menu::before { top: -16px; height: 16px; }
.topbar { position: relative; z-index: 71; }
html { scroll-padding-top: 90px; }
@media (max-width: 900px) { .hdr { top: 8px; margin-top: 8px; border-radius: 22px; padding: 6px 8px 6px 14px; } .nav.open { top: calc(100% + 8px); border-radius: 18px; } .dd-btn, .nav > a { padding: 4px 0; } }

/* hero naik ke belakang pil navbar; halaman tanpa hero diberi ruang di atas */
main > .hero:first-child, #kk-root > .hero:first-child, #kk-root > .kk-hero:first-child, #gagasan-root .pg-page > .hero:first-child { margin-top: calc(-1 * var(--hdr-h, 76px)); }
main > .hero:first-child > .wrap, #kk-root > .hero:first-child > .wrap, #kk-root > .kk-hero:first-child > .wrap, #gagasan-root .pg-page > .hero:first-child > .wrap { padding-top: calc(var(--hdr-h, 76px) + 16px) !important; }
body:not(:has(.hero)) main { padding-top: 14px; }

/* Tarif beranda: per kategori, geser horizontal */
.fares.fares-grup { display: block; } .fg + .fg { margin-top: 26px; }
.fg-h { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 14%, transparent); padding-bottom: 8px; margin-bottom: 14px; } .fg-h h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tfj-muted); margin: 0; }
.fg-n { display: flex; gap: 6px; } .fg-b { width: 34px; height: 34px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--tfj-navy) 22%, transparent); background: #fff; cursor: pointer; font: inherit; color: var(--tfj-blue); } .fg-b:hover { background: var(--tfj-blue); color: #fff; }
.fg-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 14px; scrollbar-width: thin; } .fg-row .fare { flex: 0 0 min(270px, 82%); scroll-snap-align: start; }

/* Peta tematik: kartu seragam (gambar 4:3 di atas, teks di bawah) */
.tiles, .home-tiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: stretch; }
.home-tiles { grid-template-columns: repeat(3, 1fr); }
.tile { height: 100%; border-radius: 10px; }
.tile .thumb { height: auto; aspect-ratio: 4 / 3; padding: 0; } .tile .thumb.img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tile .thumb:not(.img) { padding: 14px; }
.tile .body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; } .tile .body h3 { margin: 2px 0 0; font-size: 1.02rem; line-height: 1.3; } .tile .body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile .pt-pdf { margin-top: auto; padding-top: 6px; }
.tiles-row .tile { flex: 0 0 min(270px, 80%); scroll-snap-align: start; }
.hrow .tile.more-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px; border: 2px dashed color-mix(in srgb, var(--tfj-blue) 40%, transparent); background: transparent; font: inherit; cursor: pointer; text-align: left; color: var(--tfj-blue); font-weight: 700; min-height: 200px; } .tile.more-card b { font-size: 1.6rem; }
.fare:hover, .tile:hover, .tf-card:hover { transform: none; box-shadow: 0 8px 22px rgba(20,41,61,.12); }
@media (max-width: 900px) { .home-tiles { grid-template-columns: 1fr; } }
.lj-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; } .lj-head-row h2 { margin-bottom: 0; }
#wawasan .lj-cards { margin-bottom: 0; }

/* dropdown: hover hanya mengubah latar, tanpa garis biru di kiri */
.nav .dd-menu a, .nav .dd-menu a:hover { border-left: 0 !important; }
.nav .dd-menu a { padding-left: 14px; }
/* kartu peta: tautan judul meregang menutupi kartu; tombol PDF di atasnya */
.tile { position: relative; } .tile .tl { color: inherit; text-decoration: none; } .tile .tl::after { content: ""; position: absolute; inset: 0; z-index: 1; } .tile.klik:hover h3 .tl { color: var(--tfj-blue); text-decoration: underline; }
.tile .pt-pdf { position: relative; z-index: 2; } .tile .pt-pdf a { font-weight: 700; color: var(--tfj-blue); font-size: .85rem; }

/* kartu peta: gambar dipotong seragam (setengah gambar) untuk peta lokalitas/kolaborasi; banner lebar utuh untuk kota */
.tile .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; } .tile .thumb.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tile .thumb.wide { aspect-ratio: 1000 / 345; background: #fff; } .tile .thumb.wide img { object-fit: contain; object-position: center; }

/* Pengalih bahasa di navbar */
.lang-dd { position: relative; } .lang-btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-weight: 700; font-size: .85rem; color: var(--tfj-navy); background: none; border: 0; cursor: pointer; padding: 8px 6px; border-radius: 999px; } .lang-btn:hover { background: var(--tfj-tint); }
.lang-chev { width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; } .lang-dd.open .lang-chev { transform: rotate(225deg); }
.lang-menu { display: none; position: absolute; right: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: 6px; min-width: 150px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(20,41,61,.28), 0 0 0 1px rgba(20,41,61,.08); z-index: 80; } .lang-dd.open .lang-menu { display: block; }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; cursor: pointer; font-size: .9rem; font-weight: 600; } .lang-menu li:hover { background: var(--tfj-tint); } .lang-menu li[aria-selected="true"] { color: var(--tfj-blue); background: var(--tfj-tint); }
.lang-f { display: grid; } .lang-note { background: #fff7d1; color: #5b4a00; padding: 10px 16px; text-align: center; font-size: .88rem; border-bottom: 1px solid #f0e29a; }
@media (max-width: 900px) { .lang-btn b { display: none; } }

/* Beranda: ritme bagian yang lebih rapi + bagian Pedoman */
body[data-home] .block { padding: 60px 0; }
body[data-home] .sec-head { padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); }
body[data-home] .sec-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.01em; }
.pedoman { background: var(--tfj-navy); color: #fff; }
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.pd-t .chip { background: var(--tfj-lime); color: var(--tfj-navy); } .pd-t h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 12px 0; color: #fff; line-height: 1.15; } .pd-t p { color: rgba(255,255,255,.82); max-width: 60ch; margin-bottom: 20px; }
.pd-bab { list-style: none; margin: 0; padding: 0 0 0 0; counter-reset: bab; position: relative; border-left: 3px solid var(--tfj-lime); display: grid; gap: 18px; }
.pd-bab li { counter-increment: bab; position: relative; padding-left: 26px; display: grid; gap: 2px; } .pd-bab li::before { content: counter(bab); position: absolute; left: -17px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tfj-navy); border: 2px solid var(--tfj-lime); color: var(--tfj-lime); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.pd-bab b { font-size: 1.05rem; } .pd-bab span { color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } body[data-home] .block { padding: 44px 0; } }

/* ===== Carousel: panah gelap persegi membulat, tanpa scrollbar, garis progres ===== */
.hrow, .fg-row { scrollbar-width: none; -ms-overflow-style: none; cursor: grab; } .hrow::-webkit-scrollbar, .fg-row::-webkit-scrollbar { display: none; } .hrow.menyeret, .fg-row.menyeret { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.hrow-h, .fg-h { position: relative; border-bottom: 1px solid color-mix(in srgb, var(--tfj-navy) 12%, transparent); }
.hrow-h::after, .fg-h::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: calc(var(--p, .2) * 100%); background: var(--tfj-gold); border-radius: 2px; transition: width .2s ease; }
.tanpa-geser .hrow-n, .tanpa-geser .fg-n, .tanpa-geser .hrow-h::after, .tanpa-geser .fg-h::after { display: none; }
.hrow-b, .fg-b { font-size: 0; width: 40px; height: 40px; border-radius: 10px; border: 0; background-color: #0c1d2e; background-repeat: no-repeat; background-position: center; background-size: 18px; cursor: pointer; transition: background-color .15s, opacity .15s, transform .15s; }
.hrow-b[data-dir="-1"], .fg-b[data-dir="-1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E"); }
.hrow-b[data-dir="1"], .fg-b[data-dir="1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.hrow-b:hover:not(:disabled), .fg-b:hover:not(:disabled) { background-color: var(--tfj-blue); transform: translateY(-1px); } .hrow-b:disabled, .fg-b:disabled { opacity: .3; cursor: default; }
.hrow-n, .fg-n { gap: 8px; }
/* kartu peta seragam */
.tiles-row .tile { flex: 0 0 min(290px, 82%); } .tile .thumb { aspect-ratio: auto; height: 200px; } .tile .thumb.img img { object-fit: cover; object-position: top center; }
.tile .thumb.kontain { background: #eef3f8; } .tile .thumb.kontain img { object-fit: contain; object-position: center; padding: 8px; box-sizing: border-box; }
.tile .body h3 { min-height: 2.6em; } .pt-grid.tiles { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
/* About: jarak lebih rapat */
body:has(.ab-hero) .block { padding: 44px 0; } body:has(.ab-hero) .sec-head { margin-bottom: 20px; } body:has(.ab-hero) #kampanye .sec-head[style] { margin-top: 30px !important; } body:has(.ab-hero) .ab-hero { padding-bottom: 44px; }
.tiles-row .tile, .pt-grid .tile { height: 430px; } .tile .body { overflow: hidden; } .tile .pt-partners { display: flex; flex-wrap: wrap; gap: 4px; max-height: 3.4em; overflow: hidden; } .tile .pt-meta { margin-top: auto; } .tile .pt-meta + .pt-pdf { margin-top: 0; }
.hrows { grid-template-columns: minmax(0, 1fr); } .hrow-sec, .fg { min-width: 0; } .hrow, .fg-row { min-width: 0; max-width: 100%; }

/* logo navbar: tidak boleh menyusut/gepeng saat header sempit */
.logo { flex: none; }
.logo img { width: auto; max-width: none; flex: none; }
