/* ==========================================================================
   Beranda portal desa — tema Kuning / Biru Tua
   Palet: #ffd014 (kuning), #02167f (biru tua), #ffffff
   Semua aturan diberi awalan .ldt agar tidak mengubah halaman lain.
   ========================================================================== */

.ldt {
	--navy: #02167f;
	--navy-terang: #0b2bc4;
	--navy-dalam: #010d55;
	--malam: #01082f;
	--kuning: #ffd014;
	--kuning-tua: #e8ba00;
	--putih: #ffffff;
	--dasar: #f4f6fc;
	--muda: #e8ecfd;
	--tinta: #0a1034;
	--redup: #5b6283;
	--garis: #e1e5f3;
	--r-besar: 28px;
	--r: 20px;
	--takik: 22px;
	--bayang: 0 24px 60px -28px rgba(2, 22, 127, .38);
	--huruf: "Figtree", "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--huruf-judul: "Quicksand", "Figtree", "Outfit", system-ui, sans-serif;
	--huruf-aksen: "Playfair Display", Georgia, "Times New Roman", serif;
	--motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23ffd014' stroke-width='1.2'%3E%3Cpath d='M24 4 44 24 24 44 4 24Z'/%3E%3Cpath d='M24 14 34 24 24 34 14 24Z'/%3E%3Cpath d='M0 0l6 6M48 0l-6 6M0 48l6-6M48 48l-6-6'/%3E%3C/g%3E%3Crect x='22.5' y='22.5' width='3' height='3' fill='%23ffd014'/%3E%3C/svg%3E");
	background: var(--dasar);
}
.ldt main { color: var(--tinta); -webkit-font-smoothing: antialiased; }

/* ---------- Dasar: menetralkan gaya global template di dalam beranda ---------- */
.ldt main { font-family: var(--huruf); }
.ldt main h1, .ldt main h2, .ldt main h3 {
	font-family: var(--huruf); color: inherit; margin: 0; text-wrap: balance;
}
.ldt main p { font-family: var(--huruf); color: inherit; margin: 0; font-size: 16px; line-height: 1.65; }
.ldt main a { color: inherit; text-decoration: none; }
.ldt main ul { list-style: none; margin: 0; padding: 0; }
.ldt main li { list-style: none; }
.ldt main img { max-width: 100%; }
.ldt main b { font-weight: 800; }
.ldt main a:focus-visible, .ldt main button:focus-visible {
	outline: 3px solid var(--kuning); outline-offset: 3px; border-radius: 10px;
}
.ldt-lebar { width: min(1320px, 100% - 40px); margin-inline: auto; }
.ldt-lebar.ldt-lebar-penuh { width: calc(100% - 2 * clamp(12px, 1.6vw, 28px)); }
.ldt-bagian { padding: 44px 0; }
.ldt-lewati {
	position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 12px;
	background: var(--kuning); color: var(--tinta); font-weight: 700; transition: top .15s;
}
.ldt-lewati:focus { top: 12px; color: var(--tinta); }

/* ---------- Unsur bersama ---------- */
.ldt-cip {
	display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 12px; border-radius: 999px;
	background: var(--putih); border: 1px solid var(--garis); color: var(--tinta);
	font-size: 13px; font-weight: 600; line-height: 1.3; align-self: flex-start; width: fit-content; max-width: 100%;
}
.ldt-cip > i { width: 8px; height: 8px; border-radius: 50%; background: var(--kuning); box-shadow: 0 0 0 3px rgba(255, 208, 20, .28); flex: none; }
.ldt-cip-terang { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .2); color: var(--putih); }

.ldt main .ldt-judul { font-size: clamp(28px, 3.1vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-top: 16px; }
.ldt main .ldt-judul em { font-family: var(--huruf-aksen); font-style: italic; font-weight: 500; color: var(--navy); letter-spacing: -.01em; }

.ldt-tombol {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
	font-size: 15px; font-weight: 700; line-height: 1; border: 1.5px solid transparent; white-space: nowrap;
	transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.ldt-tombol svg { transition: transform .18s ease; flex: none; }
.ldt-tombol:hover svg { transform: translateX(3px); }
.ldt-tombol-kecil { padding: 12px 18px; font-size: 14px; }
.ldt main .ldt-tombol-kuning { background: var(--kuning); color: var(--tinta); }
.ldt main .ldt-tombol-kuning:hover { background: var(--putih); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(255, 208, 20, .9); }
.ldt main .ldt-tombol-navy { background: var(--navy); color: var(--putih); }
.ldt main .ldt-tombol-navy:hover { background: var(--kuning); color: var(--tinta); }
.ldt main .ldt-tombol-garis { border-color: var(--navy); color: var(--navy); background: transparent; }
.ldt main .ldt-tombol-garis:hover { background: var(--navy); color: var(--putih); }

.ldt-ikon-tombol {
	width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
	background: var(--putih); border: 1px solid var(--garis); color: var(--navy); font-size: 16px;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ldt main .ldt-ikon-tombol { color: var(--navy); }
.ldt main .ldt-ikon-tombol:hover { color: var(--putih); }
.ldt-ikon-tombol:hover { background: var(--navy); color: var(--putih); border-color: var(--navy); }

.ldt-bulat {
	width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
	background: var(--kuning); color: var(--navy); font-size: 19px;
}
.ldt main .ldt-kosong {
	padding: 26px 28px; border-radius: var(--r); border: 1.5px dashed #c5cdea; background: var(--putih);
	color: var(--redup); font-size: 15px;
}
.ldt-kepala-bagian { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.ldt main .ldt-kepala-bagian > p { max-width: 360px; color: var(--redup); font-size: 15px; }
.ldt main .ldt-tautan-semua { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--navy); padding-bottom: 6px; border-bottom: 2px solid var(--kuning); }
.ldt main .ldt-tautan-semua:hover { color: var(--tinta); }

/* ==========================================================================
   Kepala halaman
   ========================================================================== */
/* Beranda memakai header bawaan template (pin/first.navbar.php + pin/get.navbar.php). */

/* ==========================================================================
   Hero
   ========================================================================== */
.ldt-hero-area { padding-top: 18px; }
.ldt-hero { position: relative; overflow: hidden; border-radius: var(--r-besar); color: var(--putih); isolation: isolate; background: var(--malam); }
.ldt-hero-layar { overflow: hidden; }
.ldt-hero-layar .swiper-slide { height: auto; }
.ldt-slide { position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box; min-height: 660px; padding: 62px 56px 112px; }
.ldt-slide-info {
	background:
		radial-gradient(760px 420px at 88% 8%, rgba(34, 72, 235, .75), transparent 62%),
		radial-gradient(520px 380px at 4% 100%, rgba(255, 208, 20, .16), transparent 60%),
		linear-gradient(150deg, var(--malam) 0%, var(--navy) 58%, #0a27ad 100%);
}
.ldt-hero-foto { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .3; mix-blend-mode: luminosity; }
.ldt-hero-motif {
	position: absolute; inset: 0; z-index: -2; background-image: var(--motif); background-size: 48px 48px; opacity: .11;
	-webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%); mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
}
.ldt-hero-kata {
	position: absolute; left: 50%; bottom: -.2em; transform: translateX(-50%); z-index: -1; white-space: nowrap; pointer-events: none;
	font-size: clamp(96px, 17.5vw, 270px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .13);
}
.ldt-hero-isi { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 44px; align-items: center; max-width: 1320px; margin-inline: auto; }
.ldt-hero-teks, .ldt-hero-rupa { min-width: 0; }
.ldt-hero-teks .ldt-hero-judul { margin-top: 22px; }
.ldt main .ldt-hero-judul { font-size: clamp(36px, 4.5vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; color: var(--putih); }
.ldt main .ldt-hero-judul em { font-family: var(--huruf-aksen); font-style: italic; font-weight: 500; color: var(--kuning); letter-spacing: -.01em; }
.ldt main .ldt-hero-ket { margin-top: 20px; max-width: 54ch; font-size: 17px; color: rgba(255, 255, 255, .78); }
.ldt-hero-aksi { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.ldt main .ldt-tombol-putar {
	width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--putih); color: var(--navy);
	font-size: 15px; padding-left: 3px; transition: transform .18s ease, background-color .18s ease;
}
.ldt main .ldt-tombol-putar:hover { background: var(--kuning); transform: scale(1.06); }
.ldt-hero-aksi-ket { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.ldt-hero-fakta { display: flex; align-items: center; gap: 40px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 520px; flex-wrap: wrap; }
.ldt-hero-fakta > div:first-child { display: flex; align-items: center; gap: 14px; }
.ldt-hero-fakta b { font-size: 38px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.ldt-hero-fakta span { font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.ldt-hero-pintas > span { display: block; font-weight: 600; margin-bottom: 8px; }
.ldt main .ldt-hero-pintas p { display: flex; }
.ldt main .ldt-hero-pintas a {
	width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; margin-left: -8px;
	background: #1230b8; border: 3px solid var(--navy); color: var(--putih); font-size: 16px;
	transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.ldt main .ldt-hero-pintas a:first-child { margin-left: 0; }
.ldt main .ldt-hero-pintas a:last-child { background: var(--kuning); color: var(--navy); }
.ldt main .ldt-hero-pintas a:hover { background: var(--putih); color: var(--navy); transform: translateY(-4px); z-index: 1; }

/* Slide foto */
.ldt-slide-foto { display: flex; align-items: flex-end; background: var(--malam); }
.ldt-slide-latar { position: absolute; top: 0; bottom: 0; left: -14%; right: -14%; z-index: -2; background-size: cover; background-position: center; }
.ldt-slide-foto::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(1, 8, 47, .93) 0%, rgba(2, 22, 127, .62) 42%, rgba(1, 8, 47, .1) 80%), linear-gradient(0deg, rgba(1, 8, 47, .72), transparent 46%);
}
.ldt-slide-isi { width: 100%; max-width: 1320px; margin-inline: auto; }
.ldt-slide-isi > * { max-width: 780px; }
.ldt main .ldt-slide-foto .ldt-hero-judul {
	margin-top: 20px; font-size: clamp(27px, 3.4vw, 52px); line-height: 1.1;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ldt main .ldt-slide-foto .ldt-hero-ket { max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Kendali slide */
.ldt-hero-kendali {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 14px;
	padding: 7px 8px; border-radius: 999px; background: rgba(1, 8, 47, .5); border: 1px solid rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ldt-hero-panah {
	width: 38px; height: 38px; border-radius: 50%; border: 0; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .12);
	color: var(--putih); font-size: 13px; cursor: pointer; transition: background-color .18s ease, color .18s ease;
}
.ldt-hero-panah:hover { background: var(--kuning); color: var(--navy); }
.ldt-hero-titik { position: static !important; width: auto !important; display: flex; align-items: center; gap: 7px; }
.ldt-hero-titik .swiper-pagination-bullet {
	width: 8px; height: 8px; margin: 0 !important; border-radius: 999px; background: rgba(255, 255, 255, .42); opacity: 1; cursor: pointer;
	transition: width .25s ease, background-color .25s ease;
}
.ldt-hero-titik .swiper-pagination-bullet-active { width: 26px; background: var(--kuning); }
.ldt-hero-hitung { font-size: 12.5px; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
.ldt-hero-hitung b { color: var(--putih); }
.ldt-hero-layar.swiper { cursor: grab; }
.ldt-hero-layar.swiper:active { cursor: grabbing; }

/* Rupa kanan: kartu data miring */
.ldt-hero-rupa { position: relative; height: 500px; }
.ldt main .ldt-hero-tanda { position: absolute; left: 0; top: 0; z-index: 3; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); padding-left: 26px; }
.ldt-hero-tanda i { position: absolute; left: 0; top: 3px; color: var(--kuning); font-size: 16px; }
.ldt-kartu-belakang {
	position: absolute; right: 2%; top: 92px; width: 52%; height: 350px; border-radius: 30px; transform: rotate(9deg);
	background: linear-gradient(160deg, rgba(1, 8, 47, .5), rgba(1, 8, 47, .85)), var(--motif) center / 44px 44px, #06197a;
	background-size: cover; background-position: center; border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); display: flex; align-items: flex-start; justify-content: flex-end; padding: 18px;
}
.ldt-kartu-belakang[style] { background-size: cover; }
.ldt-kartu-belakang span { font-size: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(1, 8, 47, .72); color: rgba(255, 255, 255, .86); }
.ldt-kartu-belakang b { color: var(--kuning); font-weight: 700; font-variant-numeric: tabular-nums; }
.ldt-kartu-data {
	position: absolute; left: 4%; top: 64px; width: 60%; min-width: 270px; padding: 22px 22px 18px; border-radius: 30px; transform: rotate(-7deg);
	background: var(--putih); color: var(--tinta); box-shadow: 0 50px 80px -34px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .1);
}
.ldt-kartu-data-atas { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.ldt-kartu-data-atas span { display: inline-flex; align-items: center; gap: 8px; }
.ldt-kartu-data-atas span i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.ldt-kartu-data-atas em { font-style: normal; font-weight: 600; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--muda); color: var(--navy); }
.ldt main .ldt-kartu-data-angka { display: flex; align-items: flex-end; gap: 10px; margin-top: 16px; line-height: 1; }
.ldt main .ldt-kartu-data-angka b { font-size: 60px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--navy); }
.ldt-kartu-data-angka span { font-size: 13px; line-height: 1.25; color: var(--redup); padding-bottom: 7px; }
.ldt-kartu-data-jk { margin-top: 16px; }
.ldt-batang-jk { height: 12px; border-radius: 999px; background: var(--kuning); overflow: hidden; }
.ldt-batang-jk i { display: block; height: 100%; background: var(--navy); border-radius: 999px 0 0 999px; }
.ldt main .ldt-kartu-data-jk p { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; font-size: 12px; color: var(--redup); }
.ldt-kartu-data-jk p span { display: inline-flex; align-items: center; gap: 6px; }
.ldt-kartu-data-jk p i { width: 8px; height: 8px; border-radius: 50%; }
.ldt-kartu-data-jk p i.l { background: var(--navy); }
.ldt-kartu-data-jk p i.p { background: var(--kuning); }
.ldt-kartu-data-jk p b { color: var(--tinta); font-variant-numeric: tabular-nums; }
.ldt main .ldt-kartu-data-baris { margin-top: 14px; border-top: 1px solid var(--garis); }
.ldt-kartu-data-baris li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--garis); font-size: 13.5px; color: var(--redup); }
.ldt-kartu-data-baris b { color: var(--tinta); font-variant-numeric: tabular-nums; }
.ldt main .ldt-kartu-data-tautan { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--navy); }
.ldt-lencana {
	position: absolute; right: 0; bottom: 6px; z-index: 3; padding: 18px 24px; border-radius: 22px; background: var(--kuning); color: var(--tinta);
	box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .7); text-align: center;
}
.ldt-lencana b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--navy); }
.ldt-lencana span { font-size: 13px; font-weight: 600; }

/* Takik: sudut cekung berwarna latar halaman */
.ldt-takik { position: absolute; bottom: 0; z-index: 4; background: var(--dasar); color: var(--tinta); }
.ldt-takik::before, .ldt-takik::after { content: ""; position: absolute; width: var(--takik); height: var(--takik); }
.ldt main .ldt-takik-kiri { left: 0; padding: 16px 26px 8px 8px; border-top-right-radius: var(--takik); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); }
.ldt-takik-kiri i { transition: transform .2s ease; }
.ldt-takik-kiri:hover i { transform: translateY(3px); }
.ldt-takik-kiri::before, .ldt-takik-kiri::after { background: radial-gradient(circle at 100% 0, transparent calc(var(--takik) - .5px), var(--dasar) var(--takik)); }
.ldt-takik-kiri::before { left: 0; top: calc(var(--takik) * -1); }
.ldt-takik-kiri::after { right: calc(var(--takik) * -1); bottom: 0; }
.ldt-takik-kanan { right: 0; padding: 12px 6px 4px 16px; border-top-left-radius: var(--takik); display: flex; gap: 8px; }
.ldt-takik-kanan::before, .ldt-takik-kanan::after { background: radial-gradient(circle at 0 0, transparent calc(var(--takik) - .5px), var(--dasar) var(--takik)); }
.ldt-takik-kanan::before { right: 0; top: calc(var(--takik) * -1); }
.ldt-takik-kanan::after { left: calc(var(--takik) * -1); bottom: 0; }
.ldt main .ldt-takik-kanan a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: var(--putih); font-size: 14px; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.ldt main .ldt-takik-kanan a:hover { background: var(--kuning); color: var(--navy); transform: translateY(-3px); }

/* ==========================================================================
   Layanan cepat
   ========================================================================== */
.ldt-layanan-area { padding-top: 20px; scroll-margin-top: 90px; }
.ldt-layanan { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 20px; }
.ldt main .ldt-layanan-sorot {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 26px; border-radius: var(--r-besar);
	color: var(--putih); overflow: hidden; background: linear-gradient(160deg, #0a27ad, var(--malam)); background-size: cover; background-position: center;
}
.ldt-layanan-sorot:not([style])::before { content: ""; position: absolute; inset: 0; background: var(--motif) center / 44px 44px; opacity: .14; }
.ldt-layanan-sorot > * { position: relative; }
.ldt-layanan-sorot span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kuning); }
.ldt main .ldt-layanan-sorot h2 { font-size: 24px; font-weight: 800; line-height: 1.2; margin-top: 8px; }
.ldt main .ldt-layanan-sorot p { display: inline-flex; align-items: center; gap: 9px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--kuning); }
.ldt-layanan-sorot:hover p svg { transform: translateX(4px); }
.ldt-layanan-sorot p svg { transition: transform .18s ease; }
.ldt-layanan-daftar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 12px; border-radius: var(--r-besar); background: var(--navy); }
.ldt main .ldt-layanan-butir { display: block; padding: 22px 20px; border-radius: 20px; color: var(--putih); transition: background-color .18s ease, transform .18s ease; }
.ldt main .ldt-layanan-butir:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.ldt main .ldt-layanan-butir h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin-top: 18px; }
.ldt main .ldt-layanan-butir p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ==========================================================================
   Tentang desa
   ========================================================================== */
.ldt-tentang { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
.ldt-sambutan { margin-top: 18px; max-height: 16.5em; overflow: hidden; color: var(--redup); }
.ldt-sambutan.panjang { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.ldt main .ldt-sambutan p { color: var(--redup); margin-bottom: .8em; }
.ldt-visimisi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.ldt main .ldt-visimisi h3 { font-size: 19px; font-weight: 800; margin-top: 14px; }
.ldt main .ldt-visimisi p { margin-top: 6px; font-size: 14.5px; color: var(--redup); }
.ldt-ajak { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding: 10px 10px 10px 22px; border-radius: 999px; background: var(--navy); color: var(--putih); }
.ldt main .ldt-ajak p { font-size: 14.5px; line-height: 1.4; padding-left: 28px; position: relative; }
.ldt-ajak p i { position: absolute; left: 0; top: 2px; color: var(--kuning); font-size: 17px; }
.ldt-tentang-rupa { position: relative; min-height: 480px; border-radius: var(--r-besar); overflow: hidden; background: #0a27ad center / cover no-repeat; }
.ldt-tentang-rupa.tanpa-foto { background: linear-gradient(200deg, #0d2fc4 0%, var(--navy) 45%, var(--malam) 100%); display: grid; place-items: center; }
.ldt-tentang-rupa.tanpa-foto::before { content: ""; position: absolute; inset: 0; background: var(--motif) center / 56px 56px; opacity: .16; }
.ldt main .ldt-tentang-rupa.tanpa-foto > p { position: relative; font-family: var(--huruf-aksen); font-style: italic; font-size: clamp(44px, 6vw, 86px); line-height: 1; color: var(--kuning); padding: 0 24px; text-align: center; }
.ldt-tentang-usia { position: absolute; left: 22px; top: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--kuning); color: var(--tinta); font-size: 13px; line-height: 1.3; font-weight: 600; }
.ldt-tentang-usia b { font-size: 36px; color: var(--navy); line-height: 1; }
.ldt-takik-lokasi { right: 0; padding: 14px 10px 6px 20px; border-top-left-radius: var(--takik); font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ldt-takik-lokasi i { color: var(--navy); }
.ldt-takik-lokasi::before, .ldt-takik-lokasi::after { background: radial-gradient(circle at 0 0, transparent calc(var(--takik) - .5px), var(--dasar) var(--takik)); }
.ldt-takik-lokasi::before { right: 0; top: calc(var(--takik) * -1); }
.ldt-takik-lokasi::after { left: calc(var(--takik) * -1); bottom: 0; }

/* ==========================================================================
   Desa dalam angka (bento)
   ========================================================================== */
.ldt-angka { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ldt-angka-dusun {
	grid-row: span 2; position: relative; overflow: hidden; padding: 34px; border-radius: var(--r-besar); color: var(--putih);
	background: radial-gradient(520px 320px at 100% 0, rgba(34, 72, 235, .7), transparent 65%), linear-gradient(160deg, var(--navy), var(--malam));
	display: flex; flex-direction: column;
}
.ldt main .ldt-angka-dusun h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-top: 16px; }
.ldt main .ldt-batang { margin-top: 26px; display: grid; gap: 16px; }
.ldt-batang li { display: grid; grid-template-columns: minmax(70px, 130px) minmax(0, 1fr) auto; align-items: center; gap: 14px; font-size: 14px; }
.ldt-batang li > span { color: rgba(255, 255, 255, .82); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldt-batang li > div { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .13); overflow: hidden; }
.ldt-batang li > div i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--kuning-tua), var(--kuning)); }
.ldt-batang li > b { font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.ldt main .ldt-angka-catatan { margin-top: auto; padding-top: 26px; font-size: 12.5px; color: rgba(255, 255, 255, .58); }
.ldt main .ldt-kosong-gelap { margin-top: 24px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .78); }
.ldt-petak { position: relative; min-height: 196px; padding: 28px 26px 24px; border-radius: 24px; background: var(--putih); display: flex; flex-direction: column; }
.ldt-petak-garis { width: 46px; height: 4px; border-radius: 999px; background: var(--kuning); margin-bottom: 18px; }
.ldt main .ldt-petak > b { font-size: clamp(44px, 4.6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--navy); }
.ldt-petak > b small { font-size: .5em; font-weight: 700; }
.ldt main .ldt-petak > p { margin-top: 8px; font-size: 15px; color: var(--redup); }
.ldt main .ldt-petak-panah { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: var(--putih); font-size: 14px; transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.ldt main .ldt-petak-panah:hover { background: var(--kuning); color: var(--navy); transform: rotate(45deg); }
.ldt-petak-gelap { background: var(--malam); color: var(--putih); }
.ldt main .ldt-petak-gelap > b { color: var(--kuning); }
.ldt main .ldt-petak-gelap > p { color: rgba(255, 255, 255, .72); margin-bottom: 16px; }
.ldt-petak-gelap .ldt-tombol { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Perangkat desa (rel kartu)
   ========================================================================== */
.ldt-wadah { padding: 42px; border-radius: var(--r-besar); background: var(--muda); }
.ldt-rel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: none; }
.ldt-rel::-webkit-scrollbar { display: none; }
.ldt-orang { flex: 0 0 clamp(190px, 17.5vw, 226px); scroll-snap-align: start; padding: 12px 12px 18px; border-radius: 22px; background: var(--putih); }
.ldt-orang-foto { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.ldt-orang-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ldt-orang-foto span { font-family: var(--huruf-aksen); font-style: italic; font-size: 84px; line-height: 1; }
.ldt-orang-foto > i { font-size: 62px; opacity: .92; }
.ldt-warna-0 { background: linear-gradient(160deg, #0d2fc4, var(--malam)); color: var(--kuning); }
.ldt-warna-1 { background: var(--kuning); color: var(--navy); }
.ldt-warna-2 { background: #d5dcfb; color: var(--navy); }
.ldt main .ldt-orang h3 { font-size: 16px; font-weight: 800; line-height: 1.3; margin-top: 14px; padding: 0 4px; }
.ldt main .ldt-orang p { font-size: 13px; line-height: 1.4; color: var(--redup); margin-top: 3px; padding: 0 4px; }
.ldt-rel-kendali { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.ldt-rel-kendali > div { display: flex; gap: 8px; }

/* ==========================================================================
   Pengumuman + galeri
   ========================================================================== */
.ldt-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.ldt main .ldt-umum { margin: 22px 0 26px; border-top: 1px solid var(--garis); }
.ldt main .ldt-umum a { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--garis); color: var(--tinta); transition: color .15s ease, padding .18s ease; }
.ldt main .ldt-umum a:hover { color: var(--navy); padding-left: 10px; }
.ldt-umum time { font-size: 12px; color: var(--redup); line-height: 1.3; }
.ldt-umum time b { display: block; font-size: 28px; color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.ldt-umum a > span { font-size: 16px; font-weight: 600; line-height: 1.4; }
.ldt-umum a svg { color: var(--navy); }
.ldt-info-kiri > .ldt-kosong { margin: 22px 0 26px; }
.ldt main .ldt-galeri-utama { position: relative; display: block; min-height: 380px; border-radius: var(--r-besar); overflow: hidden; background: var(--muda) center / cover no-repeat; }
.ldt-galeri-label { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; background: var(--putih); color: var(--tinta); font-size: 13px; font-weight: 700; }
.ldt-galeri-label i { color: var(--navy); }
.ldt-galeri-kosong { background: linear-gradient(200deg, #0d2fc4, var(--navy) 50%, var(--malam)); display: grid; place-items: center; padding: 70px 30px 30px; }
.ldt-galeri-kosong::before { content: ""; position: absolute; inset: 0; background: var(--motif) center / 52px 52px; opacity: .14; }
.ldt main .ldt-galeri-kosong p { position: relative; max-width: 30ch; text-align: center; color: rgba(255, 255, 255, .82); font-size: 15px; }
.ldt-galeri-kecil { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ldt main .ldt-galeri-kecil a { aspect-ratio: 1; border-radius: 16px; background: var(--muda) center / cover no-repeat; transition: transform .18s ease; }
.ldt main .ldt-galeri-kecil a:hover { transform: translateY(-4px); }
.ldt-galeri-tautan { display: flex; gap: 24px; margin-top: 16px; flex-wrap: wrap; }
.ldt main .ldt-galeri-tautan a { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.ldt main .ldt-galeri-tautan a:hover { color: var(--tinta); }

/* ==========================================================================
   Berita
   ========================================================================== */
.ldt-berita { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ldt main .ldt-kabar {
	position: relative; display: block; aspect-ratio: 4 / 4.7; border-radius: 22px; overflow: hidden; isolation: isolate; color: var(--putih);
	background: linear-gradient(200deg, #0d2fc4, var(--navy) 50%, var(--malam)); transition: transform .25s ease, box-shadow .25s ease;
}
.ldt-kabar.tanpa-foto::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--motif) center / 50px 50px; opacity: .16; }
.ldt-kabar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.ldt-kabar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 8, 47, 0) 36%, rgba(1, 8, 47, .58) 62%, rgba(1, 8, 47, .95) 100%); }
.ldt main .ldt-kabar:hover { transform: translateY(-6px); box-shadow: var(--bayang); color: var(--putih); }
.ldt-kabar:hover img { transform: scale(1.06); }
.ldt-kabar-lencana { position: absolute; left: 14px; top: 14px; padding: 6px 13px; border-radius: 999px; background: var(--putih); color: var(--navy); font-size: 12px; font-weight: 700; }
.ldt-kabar-bawah { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.ldt-kabar-judul { min-width: 0; }
.ldt main .ldt-kabar h3 { font-size: 17px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ldt main .ldt-kabar-judul p { margin-top: 9px; font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .82); display: flex; align-items: center; gap: 7px; }
.ldt-kabar-judul p i { color: var(--kuning); }
.ldt-kabar-dibaca { flex: none; text-align: right; line-height: 1.1; }
.ldt-kabar-dibaca small { display: block; font-size: 11px; color: rgba(255, 255, 255, .72); margin-bottom: 3px; }
.ldt-kabar-dibaca b { font-size: 22px; font-weight: 800; color: var(--kuning); font-variant-numeric: tabular-nums; }
/* ==========================================================================
   Lapak desa
   ========================================================================== */
.ldt-kategori { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 14px; }
.ldt-kategori-teks { padding: 32px; border-radius: var(--r-besar); background: linear-gradient(160deg, var(--navy), var(--malam)); color: var(--putih); display: flex; flex-direction: column; align-items: flex-start; }
.ldt main .ldt-kategori-teks h2 { font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin-top: 16px; }
.ldt main .ldt-kategori-teks p { margin: 12px 0 24px; font-size: 14.5px; color: rgba(255, 255, 255, .74); }
.ldt-kategori-teks .ldt-tombol { margin-top: auto; }
.ldt main .ldt-kategori-petak { min-height: 320px; padding: 20px; border-radius: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--putih); background: linear-gradient(180deg, #2543c9, var(--malam)); background-size: cover; background-position: center; transition: transform .2s ease; }
.ldt main .ldt-kategori-petak:hover { transform: translateY(-5px); color: var(--putih); }
.ldt-kategori-petak span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kuning); }
.ldt main .ldt-kategori-petak h3 { font-size: 20px; font-weight: 800; line-height: 1.2; margin-top: 4px; }
.ldt-kepala-produk { margin-top: 56px; }
.ldt-produk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ldt main .ldt-barang-foto { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #d5dcfb, var(--muda)); }
.ldt-barang-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ldt-barang:hover .ldt-barang-foto img { transform: scale(1.05); }
.ldt-barang-foto span { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: var(--putih); font-size: 12px; font-weight: 700; }
.ldt-barang-foto span.diskon { background: var(--kuning); color: var(--tinta); }
.ldt-barang-isi { padding: 16px 6px 0; }
.ldt-barang-isi small { font-size: 12.5px; color: var(--redup); font-weight: 600; }
.ldt main .ldt-barang-isi h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 4px 0 6px; }
.ldt main .ldt-barang-isi h3 a:hover { color: var(--navy); }
.ldt main .ldt-barang-isi p { font-size: 16px; color: var(--navy); font-variant-numeric: tabular-nums; }
.ldt-barang-isi s { color: var(--redup); font-size: 13.5px; margin-left: 6px; }

/* ==========================================================================
   Ajakan pengaduan + peta
   ========================================================================== */
.ldt-lapor {
	position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 30px;
	padding: 42px 46px; border-radius: var(--r-besar); color: var(--putih);
	background: radial-gradient(520px 300px at 0 0, rgba(34, 72, 235, .7), transparent 65%), linear-gradient(120deg, var(--navy), var(--malam));
}
.ldt-lapor::before { content: ""; position: absolute; inset: 0; background: var(--motif) center / 48px 48px; opacity: .1; -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000); mask-image: linear-gradient(90deg, transparent 45%, #000); }
.ldt-lapor > * { position: relative; }
.ldt-lapor-ikon { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--kuning); color: var(--navy); font-size: 34px; }
.ldt-lapor-teks span { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kuning); }
.ldt main .ldt-lapor-teks h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; margin-top: 8px; max-width: 24ch; }
.ldt-lapor-aksi { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ldt main .ldt-lapor-tamu { font-size: 14px; color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 4px; }
.ldt main .ldt-lapor-tamu:hover { color: var(--kuning); }
.ldt-peta { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); border-radius: var(--r-besar); overflow: hidden; background: var(--putih); border: 1px solid var(--garis); }
.ldt-peta-info { padding: 38px 34px; }
.ldt main .ldt-peta-info ul { margin-top: 22px; display: grid; gap: 14px; }
.ldt-peta-info li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; color: var(--redup); overflow-wrap: anywhere; }
.ldt-peta-info li i { color: var(--navy); margin-top: 4px; }
.ldt main .ldt-peta-info li a:hover { color: var(--navy); }
.ldt-peta-bingkai { min-height: 380px; line-height: 0; }
.ldt-peta-bingkai iframe { width: 100% !important; height: 100% !important; min-height: 380px; border: 0; display: block; }
.ldt-peta-area { padding-bottom: 70px; }
.ldt-lapor-area { padding-bottom: 64px; }
.ldt main .tp-map-area { line-height: 0; }

.ldt-peta-aksi { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

/* Slide dari panel yang belum punya gambar: latar biru bermotif, sama dengan slide informasi */
.ldt-slide-foto.tanpa-gambar {
	align-items: center;
	background:
		radial-gradient(760px 420px at 88% 8%, rgba(34, 72, 235, .75), transparent 62%),
		radial-gradient(520px 380px at 4% 100%, rgba(255, 208, 20, .16), transparent 60%),
		linear-gradient(150deg, var(--malam) 0%, var(--navy) 58%, #0a27ad 100%);
}
.ldt-slide-foto.tanpa-gambar::before { display: none; }
.ldt main .ldt-slide-foto.tanpa-gambar .ldt-hero-judul { font-size: clamp(34px, 4.4vw, 64px); }

/* ==========================================================================
   Animasi: kartu muncul halus saat masuk layar (aktif hanya bila JavaScript berjalan)
   ========================================================================== */
.ldt-animasi [data-muncul] {
	opacity: 0; transform: translate3d(0, 46px, 0) scale(.955); filter: blur(7px);
	transition: opacity 1.5s cubic-bezier(.19, 1, .22, 1), transform 1.7s cubic-bezier(.19, 1, .22, 1), filter 1.4s cubic-bezier(.19, 1, .22, 1);
	transition-delay: var(--tunda, 0ms); will-change: opacity, transform, filter;
}
.ldt-animasi [data-muncul="kiri"] { transform: translate3d(-60px, 0, 0) scale(.97); }
.ldt-animasi [data-muncul="kanan"] { transform: translate3d(60px, 0, 0) scale(.97); }
.ldt-animasi [data-muncul="zoom"] { transform: translate3d(0, 24px, 0) scale(.86); }
.ldt-animasi [data-muncul="turun"] { transform: translate3d(0, -40px, 0) scale(.97); }
.ldt-animasi [data-muncul].terlihat { opacity: 1; transform: none; filter: none; }

@keyframes ldt-masuk { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
@keyframes ldt-apung { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.ldt-slide-info .ldt-kartu-belakang { animation: ldt-masuk 1.5s cubic-bezier(.19, 1, .22, 1) .2s both; }
.ldt-slide-info .ldt-kartu-data { animation: ldt-masuk 1.5s cubic-bezier(.19, 1, .22, 1) .4s both; }
.ldt-slide-info .ldt-lencana { animation: ldt-masuk 1.5s cubic-bezier(.19, 1, .22, 1) .65s both, ldt-apung 7s ease-in-out 2.4s infinite; }
.ldt-slide-info .ldt-hero-teks > * { animation: ldt-masuk 1.4s cubic-bezier(.19, 1, .22, 1) both; }
.ldt-slide-info .ldt-hero-teks > *:nth-child(2) { animation-delay: .14s; }
.ldt-slide-info .ldt-hero-teks > *:nth-child(3) { animation-delay: .28s; }
.ldt-slide-info .ldt-hero-teks > *:nth-child(4) { animation-delay: .42s; }
.ldt-slide-info .ldt-hero-teks > *:nth-child(5) { animation-delay: .56s; }

/* kartu: perpindahan lebih lembut saat disentuh kursor */
.ldt-petak, .ldt-orang, .ldt-barang, .ldt-layanan-sorot, .ldt-kategori-teks { transition: transform .7s cubic-bezier(.19, 1, .22, 1), box-shadow .7s cubic-bezier(.19, 1, .22, 1); }
.ldt-petak:hover, .ldt-orang:hover, .ldt-layanan-sorot:hover { transform: translateY(-5px); box-shadow: var(--bayang); }
.ldt main .ldt-kabar, .ldt main .ldt-kategori-petak { transition: transform .7s cubic-bezier(.19, 1, .22, 1), box-shadow .7s cubic-bezier(.19, 1, .22, 1); }
.ldt-kabar img, .ldt-barang-foto img { transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
.ldt main .ldt-layanan-butir { transition: background-color .5s ease, transform .7s cubic-bezier(.19, 1, .22, 1); }
.ldt-tombol, .ldt-tombol svg, .ldt-ikon-tombol, .ldt main .ldt-petak-panah, .ldt main .ldt-takik-kanan a, .ldt main .ldt-hero-pintas a { transition-duration: .45s; transition-timing-function: cubic-bezier(.19, 1, .22, 1); }
/* ==========================================================================
   Kartu perangkat desa: foto penuh tanpa kotak luar, nama & jabatan pada panel putih di bagian bawah foto
   ========================================================================== */
.ldt-orang { position: relative; flex: 0 0 clamp(230px, 21.5vw, 300px); padding: 0; background: transparent; border-radius: 22px; overflow: hidden; }
.ldt-orang-foto { aspect-ratio: 5 / 7; border-radius: 22px; }
.ldt-orang-foto img { transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
.ldt-orang:hover .ldt-orang-foto img { transform: scale(1.05); }
.ldt-orang-foto > span, .ldt-orang-foto > i { margin-bottom: 84px; }
.ldt-orang-nama {
	position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 16px 18px 15px; border-radius: 14px; background: var(--putih);
	transition: transform .7s cubic-bezier(.19, 1, .22, 1);
}
.ldt-orang:hover .ldt-orang-nama { transform: translateY(-4px); }
.ldt main .ldt-orang h3 { margin: 0; padding: 0; font-size: 19px; line-height: 1.25; color: var(--tinta); }
.ldt main .ldt-orang p { margin-top: 4px; padding: 0; font-size: 14px; line-height: 1.4; color: var(--redup); }
.ldt-orang:hover { box-shadow: none; }
/* bagian perangkat desa tanpa wadah berwarna: kartu langsung di atas latar halaman */
.ldt-wadah { background: transparent; padding: 0; border-radius: 0; }

/* ==========================================================================
   Kartu Lapak Desa: ringkas dan bersih (lima sebaris), gambar pada petak lembut, lencana diskon kecil
   ========================================================================== */
.ldt-produk { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 18px; }
.ldt main .ldt-barang-foto { aspect-ratio: 1 / 1; border-radius: 16px; background: #eceff8; display: grid; place-items: center; }
.ldt-barang-foto.tanpa-gambar > i { font-size: 34px; color: #b3bbd8; }
.ldt-barang-foto span, .ldt-barang-foto span.diskon {
	left: 10px; top: 10px; padding: 4px 9px; border-radius: 7px; background: var(--navy); color: var(--putih); font-size: 11.5px; font-weight: 700; letter-spacing: .01em;
}
.ldt-barang-isi { padding: 12px 2px 0; }
.ldt-barang-isi small { display: block; font-size: 12px; font-weight: 500; color: var(--redup); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldt main .ldt-barang-isi h3 {
	font-size: 15px; line-height: 1.35; margin: 3px 0 6px; font-weight: 700;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ldt main .ldt-barang-isi p { font-size: 14.5px; line-height: 1.3; color: var(--tinta); }
.ldt main .ldt-barang-isi p b { font-weight: 800; color: var(--navy); }
.ldt-barang-isi s { font-size: 12.5px; margin-left: 5px; }
.ldt-barang:hover { transform: translateY(-4px); }
.ldt-kepala-produk { margin-top: 48px; margin-bottom: 22px; }
@media (max-width: 1239px) { .ldt-produk { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .ldt-produk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ldt-produk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }

/* ==========================================================================
   Kartu Lapak Desa: semua isi di dalam satu kartu (gambar penuh, kategori, nama, harga), sama seperti kartu berita
   ========================================================================== */
.ldt-produk { gap: 16px; }
.ldt main .ldt-barang {
	position: relative; display: block; aspect-ratio: 4 / 4.9; border-radius: 20px; overflow: hidden; isolation: isolate; color: var(--putih);
	background: linear-gradient(200deg, #0d2fc4, var(--navy) 50%, var(--malam));
}
.ldt-barang.tanpa-gambar::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--motif) center / 46px 46px; opacity: .16; }
.ldt-barang > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.19, 1, .22, 1); }
.ldt-barang::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .5) 62%, rgba(0, 0, 0, .86) 100%); }
.ldt main .ldt-barang:hover { transform: translateY(-5px); box-shadow: var(--bayang); color: var(--putih); }
.ldt-barang:hover > img { transform: scale(1.06); }
.ldt-barang-ikon { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%); font-size: 40px; color: rgba(255, 255, 255, .5); }
.ldt-barang-diskon { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: var(--kuning); color: var(--tinta); font-size: 12px; font-weight: 800; }
.ldt-barang-bawah { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.ldt main .ldt-barang-bawah small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kuning); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldt main .ldt-barang-bawah h3 { margin: 4px 0 8px; font-size: 15.5px; line-height: 1.3; color: var(--putih); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldt main .ldt-barang-bawah p { font-size: 13px; line-height: 1.2; color: rgba(255, 255, 255, .7); }
.ldt main .ldt-barang-bawah p b { font-size: 17px; font-weight: 800; color: var(--putih); }
.ldt-barang-bawah s { margin-left: 5px; font-size: 12px; }
@media (max-width: 640px) { .ldt-produk { gap: 12px; } .ldt main .ldt-barang { aspect-ratio: 4 / 5.2; } .ldt-barang-bawah { padding: 13px; } .ldt main .ldt-barang-bawah h3 { font-size: 14px; } .ldt main .ldt-barang-bawah p b { font-size: 15px; } }

/* ==========================================================================
   Huruf: Quicksand untuk judul, Figtree untuk paragraf dan teks lain
   ========================================================================== */
.ldt main h1, .ldt main h2, .ldt main h3 { font-family: var(--huruf-judul); font-weight: 700; }
.ldt main .ldt-hero-judul, .ldt main .ldt-judul { font-weight: 700; letter-spacing: -.02em; }
.ldt main .ldt-hero-judul em, .ldt main .ldt-judul em { font-family: var(--huruf-aksen); }
.ldt main p, .ldt main li, .ldt main small, .ldt main time, .ldt main .ldt-cip, .ldt-tombol { font-family: var(--huruf); }

/* ==========================================================================
   Tombol: biru tua, menjadi kuning saat disentuh kursor
   ========================================================================== */
.ldt main .ldt-tombol-garis { background: var(--navy); border-color: var(--navy); color: var(--putih); }
.ldt main .ldt-tombol-garis:hover, .ldt main .ldt-tombol-navy:hover { background: var(--kuning); border-color: var(--kuning); color: var(--tinta); }
.ldt main .ldt-ikon-tombol:hover { background: var(--kuning); color: var(--tinta); }

/* ==========================================================================
   Rel kartu: hanya bergulir mendatar, tanpa scrollbar (perangkat desa; di ponsel juga kategori lapak & berita)
   ========================================================================== */
.ldt-rel { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; padding: 6px 0 8px; margin: -6px 0 0; }
.ldt-rel::-webkit-scrollbar, .ldt-kategori::-webkit-scrollbar, .ldt-berita::-webkit-scrollbar { display: none; width: 0; height: 0; }
.ldt-kategori-petak span { display: block; line-height: 1.3; }
.ldt main .ldt-kategori-petak h3 { line-height: 1.2; margin-top: 5px; }

@media (max-width: 767px) {
	/* kategori lapak: satu baris yang digeser ke samping, bukan petak bertumpuk */
	.ldt-kategori {
		display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
		margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
	}
	.ldt-kategori-teks { flex: 0 0 80%; scroll-snap-align: start; padding: 24px; }
	.ldt main .ldt-kategori-petak { flex: 0 0 62%; min-height: 260px; scroll-snap-align: start; }
	/* berita: kartu digeser ke samping supaya halaman tidak terlalu panjang */
	.ldt-berita {
		display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
		margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
	}
	.ldt main .ldt-kabar { flex: 0 0 74%; aspect-ratio: 4 / 4.8; scroll-snap-align: start; }
	.ldt-rel { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
	/* angka desa: dua kolom ringkas */
	.ldt-angka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ldt-petak { min-height: 150px; padding: 20px 18px 18px; }
	.ldt main .ldt-petak > b { font-size: 40px; }
	.ldt main .ldt-petak > p { font-size: 13.5px; }
	.ldt main .ldt-petak-panah { width: 34px; height: 34px; right: 14px; bottom: 14px; font-size: 12px; }
	.ldt-petak-gelap .ldt-tombol { padding: 10px 14px; font-size: 13px; }
	.ldt-kepala-bagian { margin-bottom: 20px; }
}

/* ==========================================================================
   Tooltip
   ========================================================================== */
.ldt-tip {
	position: fixed; left: 0; top: 0; z-index: 2000; pointer-events: none; max-width: 250px; padding: 8px 13px 8px 27px; border-radius: 12px;
	background: var(--malam); color: var(--putih); font: 600 12.5px/1.35 var(--huruf); letter-spacing: .01em;
	box-shadow: 0 16px 32px -14px rgba(1, 8, 47, .7), inset 0 0 0 1px rgba(255, 255, 255, .1);
	opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .16s ease, transform .16s ease;
}
.ldt-tip::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--kuning); }
.ldt-tip::after { content: ""; position: absolute; left: var(--panah, 50%); bottom: -4px; width: 10px; height: 10px; margin-left: -5px; background: var(--malam); transform: rotate(45deg); border-radius: 2px; }
.ldt-tip.bawah { transform: translateY(-6px) scale(.96); }
.ldt-tip.bawah::after { bottom: auto; top: -4px; }
.ldt-tip.tampil { opacity: 1; transform: none; }
/* ==========================================================================
   Tanpa garis tepi: sudut hero/kartu bersih dari garis tipis (artefak anti-alias) dan kartu tanpa border
   ========================================================================== */
/* Bingkai hero tidak lagi memotong isinya; yang membulat adalah area slide, dan tab sudut menutupi tepinya */
.ldt-hero { overflow: visible; border-radius: 0; background: transparent; }
.ldt-hero-layar { border-radius: var(--r-besar); overflow: hidden; transform: translateZ(0); }
.ldt main .ldt-takik-kiri { left: -1px; bottom: -1px; }
.ldt-takik-kanan { right: -1px; bottom: -1px; }
.ldt-slide-foto { background: transparent; }
/* saat diam, slide yang tidak aktif tidak digambar (mencegah garis tipis dari tepi slide tetangga) */
.ldt-hero-layar:not(.bergerak) .swiper-slide:not(.swiper-slide-active) { visibility: hidden; }
.ldt-tentang-rupa { overflow: visible; }
.ldt-tentang-rupa.tanpa-foto::before { border-radius: inherit; }
.ldt-takik-lokasi { right: -1px; bottom: -1px; }
/* Lekukan cekung di samping tab sudut: bentuk SVG (tepinya dihaluskan browser) yang menindih tab dan tepi kartu
   1px, sehingga lengkungnya halus dan tidak ada celah/garis tipis di potongannya */
.ldt-takik::before, .ldt-takik::after {
	width: calc(var(--takik) + 1px); height: calc(var(--takik) + 1px); border-radius: 0; box-shadow: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23 23'%3E%3Cpath fill='%23f4f6fc' d='M0 0h1a22 22 0 0 0 22 22v1H0z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100% !important;
}
.ldt-takik-kanan::before, .ldt-takik-kanan::after, .ldt-takik-lokasi::before, .ldt-takik-lokasi::after { transform: scaleX(-1); }

/* Slide foto: gambar tampil apa adanya (tanpa perbesaran), lapisan gelap hitam yang tipis supaya teks tetap terbaca */
.ldt-slide-latar { left: 0; right: 0; }
.ldt-slide-foto::before {
	background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .04) 76%, rgba(0, 0, 0, 0) 100%), linear-gradient(0deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 44%);
}
.ldt main .ldt-slide-foto .ldt-hero-judul, .ldt main .ldt-slide-foto .ldt-hero-ket { text-shadow: 0 2px 18px rgba(0, 0, 0, .32); }
/* Slide berita: foto kiriman warga sering sangat terang, jadi diberi lapisan hitam merata + gradasi dari kiri dan bawah */
.ldt-slide-foto.ldt-slide-berita::before {
	background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, .08) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 52%), rgba(0, 0, 0, .3);
}
/* Slide foto: huruf lebih besar; judul pendek paling besar, judul panjang tetap proporsional */
.ldt-slide-isi > * { max-width: 920px; }
.ldt main .ldt-slide-foto .ldt-hero-judul { font-size: clamp(29px, 3.7vw, 56px); }
.ldt main .ldt-slide-foto .ldt-hero-judul.sedang { font-size: clamp(33px, 4.4vw, 68px); line-height: 1.07; }
.ldt main .ldt-slide-foto .ldt-hero-judul.besar { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.03; letter-spacing: -.03em; }
.ldt main .ldt-slide-foto .ldt-hero-ket { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; margin-top: 24px; max-width: 58ch; }
.ldt-slide-foto .ldt-cip { font-size: 15px; padding: 10px 20px 10px 15px; }
.ldt-slide-foto .ldt-cip > i { width: 10px; height: 10px; }
.ldt-slide-foto .ldt-hero-aksi { margin-top: 34px; }
.ldt-slide-foto .ldt-hero-aksi .ldt-tombol { padding: 19px 32px; font-size: 17px; }
/* kartu dan unsur kecil tanpa border */
.ldt-cip { border: 0; box-shadow: 0 8px 18px -12px rgba(2, 22, 127, .35); }
.ldt-cip-terang { box-shadow: none; }
.ldt-ikon-tombol { border: 0; box-shadow: 0 8px 18px -12px rgba(2, 22, 127, .4); }
.ldt main .ldt-kosong { border: 0; }
.ldt-kartu-belakang { border: 0; }
.ldt-kartu-data { box-shadow: 0 50px 80px -34px rgba(0, 0, 0, .75); }
.ldt-hero-kendali { border: 0; }
.ldt main .ldt-kosong-gelap { border: 0; }
.ldt-kabar, .ldt-petak, .ldt-orang, .ldt-barang-foto, .ldt-kategori-petak, .ldt-kategori-teks, .ldt-layanan-sorot, .ldt-layanan-daftar, .ldt-angka-dusun, .ldt-lapor, .ldt-wadah, .ldt-galeri-utama { border: 0; outline: 0; }

/* ==========================================================================
   Navigasi bawah (ponsel) — dipakai pin/footer.php
   ========================================================================== */
.ldt .mobile-only { display: none; }
.ldt .bottom-nav {
	position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%); width: calc(100% - 28px); z-index: 890;
	background: var(--putih); justify-content: space-around; padding: 11px 0 8px; border-radius: 18px;
	box-shadow: 0 14px 40px -12px rgba(1, 8, 47, .45); border: 1px solid var(--garis);
}
.ldt .bottom-item { text-align: center; width: 25%; color: var(--redup); }
.ldt .bottom-item span { font-size: 12px; font-weight: 600; color: inherit; }
.ldt .bottom-item i { font-size: 21px; display: block; margin-bottom: 3px; }
.ldt .bottom-item.active { color: var(--navy); }

/* ==========================================================================
   Responsif
   ========================================================================== */
@media (max-width: 1239px) {
	.ldt-slide { padding: 48px 36px 104px; }
	.ldt-layanan { grid-template-columns: 1fr; }
	.ldt main .ldt-layanan-sorot { min-height: 180px; }
	.ldt-kategori { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ldt-kategori-teks { grid-column: 1 / -1; }
	.ldt main .ldt-kategori-petak { min-height: 240px; }
}
@media (max-width: 1024px) {
	.ldt .mobile-only { display: flex; }
	.ldt footer { padding-bottom: 86px; }
	.ldt-hero-isi { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ldt-hero-rupa { height: 470px; max-width: 560px; width: 100%; margin-inline: auto; }
	.ldt-tentang, .ldt-info { grid-template-columns: 1fr; gap: 36px; }
	.ldt-tentang-rupa { min-height: 340px; }
	.ldt-angka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ldt-angka-dusun { grid-column: 1 / -1; grid-row: auto; }
	.ldt-berita { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ldt main .ldt-kabar { aspect-ratio: 4 / 3.6; }
	.ldt-lapor { grid-template-columns: auto minmax(0, 1fr); }
	.ldt-lapor-aksi { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
	.ldt-peta { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.ldt-lebar { width: min(1320px, 100% - 32px); }
	.ldt-bagian { padding: 32px 0; }
	.ldt-hero-layar { border-radius: 24px; }
	.ldt-slide { padding: 36px 22px 96px; min-height: 0; }
	.ldt-slide-foto { min-height: 520px; }
	.ldt-takik-kanan { display: none; }
	.ldt-hero-kendali { left: auto; right: 12px; bottom: 12px; transform: none; gap: 10px; }
	.ldt-hero-hitung { display: none; }
	.ldt-hero-fakta { gap: 22px 30px; }
	.ldt-hero-rupa { height: 500px; }
	.ldt-kartu-data { left: 0; width: 74%; top: 58px; }
	.ldt-kartu-belakang { width: 56%; right: 0; height: 300px; }
	.ldt main .ldt-kartu-data-angka b { font-size: 50px; }
	.ldt-layanan-daftar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ldt main .ldt-layanan-butir { padding: 18px 14px; }
	.ldt-visimisi { grid-template-columns: 1fr; }
	.ldt-ajak { flex-direction: column; align-items: flex-start; border-radius: 22px; padding: 18px; }
	.ldt-orang { flex-basis: 216px; }
	.ldt main .ldt-orang h3 { font-size: 16.5px; }
	.ldt-orang-nama { padding: 13px 14px 12px; left: 8px; right: 8px; bottom: 8px; }
	.ldt-kategori { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ldt main .ldt-kategori-petak { min-height: 200px; }
	.ldt-lapor { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
	.ldt-lapor-ikon { width: 66px; height: 66px; font-size: 26px; }
	.ldt-lapor-aksi { flex-direction: column; align-items: flex-start; }
	.ldt main .ldt-umum a { grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; }
	.ldt main .ldt-galeri-utama { min-height: 260px; }
	.ldt-peta-info { padding: 28px 22px; }
}
@media (max-width: 520px) {
	.ldt-berita { grid-template-columns: 1fr; }
	.ldt main .ldt-kabar { aspect-ratio: 4 / 3.3; }
	.ldt-hero-rupa { height: 480px; }
	.ldt-hero-panah { width: 34px; height: 34px; }
	.ldt-lencana { padding: 14px 18px; }
	.ldt-lencana b { font-size: 30px; }
	.ldt-hero-aksi-ket { display: none; }
}
/* Catatan: atas permintaan pengelola situs, animasi gerak tetap aktif juga pada perangkat ber-pengaturan "kurangi gerakan". */

/* ==========================================================================
   Kartu foto penuh (berita & lapak): tanpa garis tepi + tombol Pesan
   ========================================================================== */
/* gambar dan lapisan gelap dilebihkan 1px, dan latar kartu disamakan dengan latar halaman,
   supaya di layar berskala 125%/150% tidak ada latar kartu yang mengintip sebagai garis tepi */
.ldt main .ldt-kabar:not(.tanpa-foto), .ldt main .ldt-barang:not(.tanpa-gambar) { background: var(--dasar); }
.ldt main .ldt-kabar, .ldt main .ldt-barang { border: 0; outline: 0; -webkit-tap-highlight-color: transparent; }
.ldt main .ldt-kabar:not(:hover), .ldt main .ldt-barang:not(:hover) { box-shadow: none; }
.ldt-kabar img, .ldt-barang > img { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; border: 0; }
.ldt-kabar::after, .ldt-barang::after { inset: -1px; }

/* lapak: lapisan gelap mulai lebih tinggi karena isi kartu bertambah satu tombol */
.ldt-barang::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, .52) 52%, rgba(0, 0, 0, .88) 100%); }
.ldt main .ldt-barang-pesan {
	display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 999px;
	background: var(--kuning); color: var(--navy); font-family: var(--huruf); font-size: 14px; font-weight: 800; line-height: 1.2;
	transition: background-color .3s ease, color .3s ease;
}
.ldt main .ldt-barang-pesan i { font-size: 14px; }
.ldt main .ldt-barang:hover .ldt-barang-pesan { background: var(--putih); color: var(--navy); }
.ldt main .ldt-barang-pesan:hover { background: var(--navy) !important; color: var(--kuning) !important; }
@media (max-width: 640px) {
	.ldt main .ldt-barang { aspect-ratio: 4 / 6; }
	.ldt main .ldt-barang-pesan { margin-top: 9px; padding: 8px 10px; font-size: 13px; }
}

/* ==========================================================================
   Ponsel: slide gambar & slide berita setinggi isinya saja
   (slide informasi desa tetap utuh; tinggi hero mengikuti slide yang tampil — autoHeight di beranda.js)
   ========================================================================== */
@media (max-width: 767px) {
	.ldt-hero-layar.swiper-autoheight .swiper-wrapper { align-items: flex-start; transition-property: transform, height; }
	.ldt-hero-layar.swiper-autoheight .swiper-slide { height: auto; }
	.ldt-slide-foto { min-height: 460px; padding: 30px 20px 88px; }
	.ldt main .ldt-slide-foto .ldt-hero-judul.besar { font-size: 36px; }
	.ldt main .ldt-slide-foto .ldt-hero-ket { margin-top: 14px; }
}
