/* Static pages (/tanaman/, /wisata/, /pengetahuan/, /kisah/, /kamus/): generated by _alat/halaman.py for search engines.
   Shares the tokens of gaya.css; every class here is namespaced .hal-*. */
.hal { min-height: 100vh; display: flex; flex-direction: column; }
.hal-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); width: 100%; }
@media (min-width: 720px) { .hal-wrap { padding-left: 32px; padding-right: 32px; } }
.hal-lewati { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; border-radius: 8px; }
.hal-lewati:focus { left: 8px; }
.hal-redup { color: var(--ink-2); }

/* header */
.hal-kepala { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hal-kepala .hal-wrap { display: flex; align-items: center; gap: 8px 16px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.hal-merek { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.hal-merek svg { width: 30px; height: 30px; flex: none; }
.hal-merek b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.05; }
.hal-merek small { display: block; font-size: .72rem; color: var(--ink-2); line-height: 1.2; margin-top: 2px; }
.hal-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -6px; max-width: calc(100% + 12px); }
.hal-nav::-webkit-scrollbar { display: none; }
.hal-nav a { flex: none; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.hal-nav a:hover { color: var(--ink); background: var(--surface-2); }
.hal-nav a[aria-current="page"] { color: var(--btn-ink); background: var(--btn-bg); }
@media (max-width: 719px) { .hal-nav { order: 3; width: calc(100% + 12px); } .hal-merek small { display: none; } }
@media (max-width: 519px) { .hal-nav a:first-child { display: none; } .hal-nav a { font-size: .86rem; padding: 7px 9px; } }

main.hal-utama { flex: 1; padding-top: 18px; padding-bottom: 64px !important; }

/* breadcrumb */
.hal-remah ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--ink-2); }
.hal-remah li:not(:last-child)::after { content: "/"; margin-left: 4px; opacity: .55; }
.hal-remah a { color: var(--ink-2); text-decoration: none; }
.hal-remah a:hover { color: var(--ink); text-decoration: underline; }
.hal-remah [aria-current] { color: var(--ink); font-weight: 600; }

/* type */
.hal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 6vw, 3.1rem); line-height: 1.04; letter-spacing: -.02em; }
.hal h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 3.2vw, 1.55rem); line-height: 1.15; letter-spacing: -.01em; margin: 32px 0 12px; }
.hal-atas { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.hal-latin { font-family: var(--font-read); font-size: 1.15rem; color: var(--ink-2); margin-top: 6px; }
.hal-lead { font-family: var(--font-read); font-size: clamp(1.06rem, 2.4vw, 1.2rem); line-height: 1.6; margin-top: 16px; max-width: 64ch; }
.hal-prosa { font-family: var(--font-read); font-size: 1.04rem; line-height: 1.75; max-width: 68ch; }
.hal-prosa p, .hal-cara p { margin: 0 0 1em; }
.hal-prosa ul { margin: 0 0 1em; padding-left: 1.25em; }
.hal-prosa li { margin-bottom: .4em; }
.hal-prosa figure { margin: 24px 0; }
.hal-prosa figure img { border-radius: var(--radius-s); width: 100%; height: auto; }
.hal-prosa figcaption, .hal-foto figcaption { font-family: var(--font-ui); font-size: .8rem; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.hal-prosa h2 { margin-top: 1.6em; }
.hal-kolom { max-width: 720px; }
.hal-teks ul { font-family: var(--font-read); line-height: 1.65; padding-left: 1.2em; margin: 0; }
.hal-teks li { margin-bottom: .35em; }
.hal-sorot { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--daun) 45%, transparent); font-weight: 700; font-size: .88rem; }

/* page header on index pages */
.hal-kepala-hal { margin-bottom: 28px; }
.hal-kepala-hal .hal-prosa { margin-top: 18px; }

/* plant / experience layout */
.hal-tanaman { display: grid; gap: 24px; }
@media (min-width: 860px) { .hal-tanaman { grid-template-columns: minmax(280px, 400px) 1fr; gap: 44px; align-items: start; } .hal-tanaman .hal-foto { position: sticky; top: 84px; } }
.hal-foto { margin: 0; }
.hal-foto img, .hal-foto .hal-foto-kosong { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.hal-foto-lebar img, .hal-foto-lebar .hal-foto-kosong { aspect-ratio: 16 / 9; max-height: 560px; }
.hal-wisata .hal-foto, .hal-bab .hal-foto { margin-bottom: 26px; }
.hal-foto-kosong { display: grid; place-items: center; color: var(--accent-ink); }
.hal-foto-kosong svg { width: 34%; height: auto; opacity: .45; }

.hal-nama { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; }
.hal-nama div { min-width: 0; }
.hal-nama dt, .hal-fakta dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hal-nama dd { margin: 2px 0 0; font-weight: 600; }
.hal-fakta { display: grid; gap: 14px; margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 600px) { .hal-fakta { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.hal-fakta dd { margin: 4px 0 0; }
.baris-tag { display: flex; flex-wrap: wrap; gap: 6px; }
.hal a.tag { text-decoration: none; }
.hal a.tag:hover { color: var(--ink); }
.hal-angka { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; }
.hal-angka dt { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
.hal-angka dd { margin: 4px 0 0; font-size: .85rem; color: var(--ink-2); }

.hal-cara { margin-top: 8px; padding: 4px 20px 6px; border-left: 4px solid var(--daun); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-family: var(--font-read); line-height: 1.7; max-width: 68ch; }
.hal-cara h2 { margin-top: 16px; }
.hal-catatan { margin-top: 18px; font-size: .9rem; color: var(--ink-2); max-width: 68ch; }
.hal-peringatan { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--merah) 9%, transparent); color: var(--ink); font-size: .9rem; line-height: 1.5; max-width: 68ch; }
.hal-sumber { margin-top: 18px; font-size: .86rem; color: var(--ink-2); max-width: 68ch; }
.hal-aksi { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* cards */
.hal-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.hal-kartu { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.hal-kartu:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hal-kartu-foto { position: relative; display: block; }
.hal-kartu-foto img, .hal-kartu-foto .hal-foto-kosong { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.hal-kartu-foto .hal-foto-kosong svg { width: 26%; }
.hal-no { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hal-kartu-foto .hal-no { position: absolute; left: 10px; top: 10px; background: var(--surface); color: var(--ink); font-size: .78rem; padding: 2px 8px; border-radius: 999px; }
.hal-kartu-teks { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; }
.hal-kartu-teks b { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.hal-kartu-teks i { font-family: var(--font-read); color: var(--ink-2); font-size: .9rem; }
.hal-kartu-teks small { color: var(--ink-2); font-size: .78rem; font-weight: 600; }
.hal-kartu-teks > span { font-size: .88rem; line-height: 1.5; color: var(--ink-2); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.hal-loncat { margin-top: 22px; }
.hal-semua h2, .hal-terkait h2 { margin-top: 8px; }
.hal-terkait { margin-top: 48px; }
.hal-kelompok { margin-top: 40px; }
.hal-daftar { columns: 2 260px; column-gap: 32px; padding-left: 1.1em; margin: 0; line-height: 1.6; }
.hal-daftar li { break-inside: avoid; margin-bottom: 4px; }
.hal-daftar i { font-family: var(--font-read); color: var(--ink-2); }

/* chapter / story lists */
.hal-bab-daftar { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.hal-baris { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.hal-baris:hover { border-color: var(--accent-ink); }
.hal-baris .hal-no { font-size: 1.5rem; line-height: 1; color: var(--accent-ink); min-width: 2ch; }
.hal-baris b { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.hal-baris > span:last-child > span { display: block; margin-top: 4px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.hal-tgl { flex: none; width: 92px; font-size: .8rem; font-weight: 700; color: var(--accent-ink); padding-top: 3px; }
@media (max-width: 519px) { .hal-baris { flex-direction: column; gap: 6px; } .hal-tgl { width: auto; } }

/* glossary */
.hal-istilah { display: grid; gap: 0; margin: 0; }
.hal-istilah > div { padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.hal-istilah > div:target { background: color-mix(in srgb, var(--daun) 22%, transparent); }
.hal-istilah dt { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.hal-istilah dd { margin: 4px 0 0; font-family: var(--font-read); line-height: 1.6; }
.hal-istilah dd a { font-family: var(--font-ui); font-size: .85rem; font-weight: 600; margin-left: 4px; }
.hal-kartu-isi { margin-top: 32px; padding: 6px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hal-kartu-isi h2 { margin-top: 16px; }

/* prev / next */
.hal-sebelah { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.hal-sebelah a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); min-width: 0; }
.hal-sebelah a:hover { border-color: var(--accent-ink); }
.hal-sebelah a[rel="next"] { text-align: right; grid-column: 2; }
.hal-sebelah small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hal-sebelah b { display: block; font-family: var(--font-display); margin-top: 2px; overflow-wrap: anywhere; }

/* footer */
.hal-kaki { background: var(--band); color: var(--band-ink); padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.hal-kaki .hal-wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { .hal-kaki .hal-wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.hal-kaki a { color: var(--band-ink); }
.hal-kaki p { line-height: 1.6; }
.hal-kaki ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hal-kaki .tombol { margin-top: 16px; background: var(--daun); color: #14281A; }
.hal-kaki-merek { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 8px !important; }
.hal-kaki-judul { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--band-soft); margin-bottom: 10px !important; }
.hal-hak { grid-column: 1 / -1; font-size: .8rem; color: var(--band-soft); border-top: 1px solid color-mix(in srgb, var(--band-ink) 18%, transparent); padding-top: 18px; }
@media (max-width: 859px) { .hal-tanaman .hal-foto img, .hal-tanaman .hal-foto .hal-foto-kosong { aspect-ratio: 4 / 3; } }
