/* ==========================================================================
   SL88 — penyesuaian di atas stylesheet utama
   Berisi perbaikan kecil yang tidak ada pada CSS sumber: rasio gambar kartu,
   tautan footer, status navigasi aktif, dan penyesuaian tipografi.
   ========================================================================== */

/* ---------------------------------------------------------- dasar & akses */
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", sans-serif;
}
img { height: auto; }

.t33-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.t33-skip:focus { left: 0; }

:where(a, button, summary, input):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- header */
.t33-brand img { width: auto; height: 44px; }
.domain-site-logo-image { height: 42px !important; max-width: 176px !important; }
.t33-nav a[aria-current="page"] { color: var(--accent); background: var(--soft); }
.t33-nav a[aria-current="page"] span { transform: translateY(-1px); }

/* --------------------------------------------------------------- hero */
.t33-hero-copy li::before {
  content: "✓";
  left: 16px;
  color: var(--accent);
  font-weight: 900;
}

/* ------------------------------------------------------------- kartu */
.t33-features article img,
.t33-spotlights article img,
.t33-promo article img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px var(--shadow);
}
.t33-features h3, .t33-spotlights h3, .t33-promo h3 { margin: 0 0 6px; font-size: 19px; }
.t33-features article p, .t33-spotlights article p, .t33-promo article p { margin: 0; }

/* --------------------------------------------------------- halaman rute */
.route-search-item { display: block; }
.route-search-item img { margin-bottom: 14px; }
.route-search-item h2 { font-size: 19px; margin: 0 0 6px; }
.route-support-grid article h2 { font-size: 19px; margin: 10px 0 6px; }
.route-step h2 { font-size: 19px; }
.route-search-item[hidden] { display: none; }

/* --------------------------------------------------------------- footer */
.t33-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 16px;
}
.t33-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.t33-footer a:hover { color: var(--accent); text-decoration: underline; }
.t33-footer p { margin: 0 0 6px; }
.t33-footer small { display: block; max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* -------------------------------------------------------------- tombol */
.t33-bottom-actions { margin-top: 8px; }
.t33-back { transition: opacity .2s ease; }

/* ------------------------------------------------------------- cetak */
@media print {
  .t33-header, .t33-footer, .t33-back, .t33-slider { display: none !important; }
  body { background: #fff; }
}

/* --------------------------------------------------- logo pada kartu
   Logo situs adalah wordmark lebar (1128x320). Aturan bawaan memakai
   kotak 88x88 dengan object-fit:cover, sehingga huruf terpotong.
   Di sini tinggi yang dibatasi dan lebar mengikuti rasio asli. */
.route-app-id img,
.route-download-cta img {
  width: auto;
  height: 62px;
  max-width: 210px;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

@media (max-width: 480px) {
  .route-app-id img,
  .route-download-cta img { height: 52px; max-width: 175px; }
}

/* --------------------------------------------------- menu seluler
   Navigasi memakai dua kolom di layar kecil; bila jumlah butirnya
   ganjil, butir terakhir dibiarkan sendiri di kolom kiri. Aturan ini
   membuat butir tersebut mengisi satu baris penuh agar tidak menggantung. */
@media (max-width: 820px) {
  body.t33-open .t33-nav {
    gap: 2px;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    padding-bottom: 14px;
  }

  body.t33-open .t33-nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------- tombol hero
   Dua tombol utama ditumpuk pada layar kecil (bawaan), tetapi pada
   layar lebar keduanya lebih seimbang bila berdampingan. */
@media (min-width: 821px) {
  .t33-hero-copy .t33-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }
}
