/* ============================================================
   SIKEU BUMDes - Landing Page Publik
   ============================================================ */

:root {
  --ld-green-950: #04241a;
  --ld-green-900: #064e3b;
  --ld-green-700: #047857;
  --ld-emerald: #10b981;
  --ld-emerald-soft: #34d399;
  --ld-ink: #0f172a;
  --ld-muted: #64748b;
  --ld-bg: #f6faf8;
  --ld-card: #ffffff;
  --ld-radius: 20px;
  --ld-shadow: 0 20px 50px rgba(2, 44, 34, .10);
}

/* ---------- Dasar ---------- */
html { scroll-behavior: smooth; }
body.ld {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ld-ink);
  background: var(--ld-bg);
  overflow-x: hidden;
}
.ld a { text-decoration: none; }
.ld section { position: relative; }

/* ---------- Navbar ---------- */
.ld-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 14px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.ld-nav.scrolled {
  background: rgba(4, 36, 26, .86);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(2, 20, 14, .25);
  padding: 8px 0;
}
.ld-nav .navbar-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.ld-nav .brand-thumb {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ld-emerald), #059669);
  color: #fff; font-size: 20px;
  box-shadow: 0 6px 16px rgba(16,185,129,.4);
  overflow: hidden; padding: 2px;
}
.ld-nav .brand-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.ld-nav .brand-name { font-weight: 800; line-height: 1.1; }
.ld-nav .brand-sub { font-size: .72rem; opacity: .75; }
.ld-nav .nav-link {
  color: rgba(255,255,255,.82) !important; font-weight: 600; font-size: .92rem;
  margin: 0 6px; position: relative;
}
.ld-nav .nav-link::after {
  content: ''; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px;
  background: var(--ld-emerald-soft); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.ld-nav .nav-link:hover::after { transform: scaleX(1); }
.ld-nav .navbar-toggler { border-color: rgba(255,255,255,.35); }
.ld-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Tombol ---------- */
.ld-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ld-btn-primary {
  background: linear-gradient(135deg, var(--ld-emerald), #059669);
  color: #fff; box-shadow: 0 10px 26px rgba(16,185,129,.45);
}
.ld-btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 32px rgba(16,185,129,.55); }
.ld-btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px);
}
.ld-btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.ld-btn-dark { background: var(--ld-green-900); color: #fff; }
.ld-btn-dark:hover { background: var(--ld-green-700); color: #fff; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.ld-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(16,185,129,.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(52,211,153,.22), transparent 55%),
    linear-gradient(160deg, #03271c 0%, var(--ld-green-900) 55%, #0a5c43 100%);
  color: #fff;
  padding: 120px 0 140px;
  overflow: hidden;
}
.ld-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.ld-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  animation: blobFloat 14s ease-in-out infinite;
  pointer-events: none;
}
.ld-blob-1 { width: 380px; height: 380px; background: rgba(16,185,129,.55); top: -80px; right: -60px; }
.ld-blob-2 { width: 300px; height: 300px; background: rgba(52,211,153,.4); bottom: -60px; left: 8%; animation-delay: -5s; }
.ld-blob-3 { width: 220px; height: 220px; background: rgba(250,204,21,.18); top: 30%; left: 55%; animation-delay: -9s; }
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -26px) scale(1.08); }
  66% { transform: translate(-24px, 22px) scale(.94); }
}
.ld-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #d1fae5; padding: 7px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.ld-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.14; letter-spacing: -.02em;
  margin: 22px 0 16px;
}
.ld-hero-title .grad {
  background: linear-gradient(90deg, #6ee7b7, #34d399, #a7f3d0);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
.ld-hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.78); max-width: 560px;
  line-height: 1.75;
}
.ld-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ld-hero-logo {
  width: 120px; height: 120px; border-radius: 28px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: #6ee7b7;
  box-shadow: 0 24px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  overflow: hidden; padding: 10px;
  animation: logoFloat 6s ease-in-out infinite;
}
.ld-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
.ld-hero-art {
  position: relative; display: flex; justify-content: center;
}
.ld-hero-ring {
  position: absolute; inset: -34px; border-radius: 50%;
  border: 1.5px dashed rgba(110,231,183,.4);
  animation: spin 26s linear infinite;
}
.ld-hero-ring.r2 { inset: -70px; border-color: rgba(110,231,183,.18); animation-duration: 40s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.ld-scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.65); font-size: 1.5rem;
  animation: bounceY 2s infinite;
}
@keyframes bounceY { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* Animasi masuk hero */
.ld-hero [data-heroin] {
  opacity: 0; transform: translateY(28px);
  animation: heroIn .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.ld-hero [data-heroin="2"] { animation-delay: .15s; }
.ld-hero [data-heroin="3"] { animation-delay: .3s; }
.ld-hero [data-heroin="4"] { animation-delay: .45s; }
.ld-hero [data-heroin="5"] { animation-delay: .6s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Statistik ---------- */
.ld-stats {
  margin-top: -70px; position: relative; z-index: 5;
}
.ld-stat-card {
  background: var(--ld-card); border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow); border: 1px solid rgba(15,23,42,.05);
  padding: 26px 22px; height: 100%;
  display: flex; align-items: center; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ld-stat-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(2,44,34,.16); }
.ld-stat-ico {
  width: 54px; height: 54px; border-radius: 16px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.ld-stat-label { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ld-muted); }
.ld-stat-value { font-size: 1.45rem; font-weight: 800; color: var(--ld-ink); line-height: 1.2; }
.ld-stat-sub { font-size: .78rem; color: var(--ld-muted); }

/* ---------- Judul section ---------- */
.ld-sec { padding: 90px 0; }
.ld-sec-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.ld-sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ld-green-700); font-weight: 800; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.ld-sec-kicker::before, .ld-sec-kicker::after {
  content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--ld-emerald);
}
.ld-sec-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; margin-top: 12px; }
.ld-sec-desc { color: var(--ld-muted); margin-top: 12px; line-height: 1.7; }

/* ---------- Kartu Unit ---------- */
.ld-unit-card {
  background: var(--ld-card); border-radius: var(--ld-radius);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 30px rgba(2,44,34,.07);
  padding: 30px 26px; height: 100%;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ld-unit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--uc, var(--ld-emerald));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.ld-unit-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(2,44,34,.16); }
.ld-unit-card:hover::before { transform: scaleX(1); }
.ld-unit-ico {
  width: 60px; height: 60px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff; margin-bottom: 18px;
  transition: transform .3s ease;
}
.ld-unit-card:hover .ld-unit-ico { transform: scale(1.1) rotate(-4deg); }
.ld-unit-kode {
  position: absolute; top: 20px; right: 22px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 999px;
}
.ld-unit-name { font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.ld-unit-desc { color: var(--ld-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 0; }

/* ---------- Ringkasan keuangan ---------- */
.ld-fin {
  background:
    radial-gradient(800px 400px at 110% 0%, rgba(16,185,129,.14), transparent 60%),
    linear-gradient(180deg, #eef7f2, #f6faf8);
}
.ld-fin-card {
  background: var(--ld-card); border-radius: var(--ld-radius);
  border: 1px solid rgba(15,23,42,.06); box-shadow: var(--ld-shadow);
  padding: 30px; height: 100%;
}
.ld-fin-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px dashed #e2e8f0;
}
.ld-fin-row:last-child { border-bottom: 0; }
.ld-fin-row .lbl { color: var(--ld-muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ld-fin-row .ico {
  width: 38px; height: 38px; border-radius: 12px; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.ld-fin-row .val { font-weight: 800; font-size: 1.05rem; }
.ld-chart-box { position: relative; height: 340px; }

/* ---------- Tentang / kontak ---------- */
.ld-info-card {
  background: var(--ld-card); border-radius: var(--ld-radius);
  border: 1px solid rgba(15,23,42,.06);
  padding: 24px; height: 100%;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ld-info-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(2,44,34,.12); }
.ld-info-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: var(--ld-green-700); font-size: 21px;
}
.ld-info-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 4px; }
.ld-info-card p { color: var(--ld-muted); font-size: .88rem; margin: 0; line-height: 1.6; }
.ld-about-text { color: var(--ld-muted); line-height: 1.9; font-size: .98rem; }

/* ---------- CTA ---------- */
.ld-cta {
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(52,211,153,.4), transparent 60%),
    linear-gradient(135deg, var(--ld-green-950), var(--ld-green-700));
  color: #fff; padding: 56px 40px;
  box-shadow: 0 30px 70px rgba(4,36,26,.35);
  overflow: hidden; position: relative;
}
.ld-cta::after {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -90px; right: -60px;
}
.ld-cta h3 { font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); }
.ld-cta p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Footer ---------- */
.ld-footer { background: var(--ld-green-950); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.ld-footer h5 { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 16px; }
.ld-footer a { color: rgba(255,255,255,.72); }
.ld-footer a:hover { color: #6ee7b7; }
.ld-footer .foot-list li { margin-bottom: 10px; }
.ld-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 44px; padding: 18px 0; font-size: .85rem;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="left"].in-view, [data-reveal="right"].in-view { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .ld-hero [data-heroin] { transition: none; animation: none; opacity: 1 !important; transform: none !important; }
  .ld-blob, .ld-hero-logo, .ld-hero-ring, .ld-scroll-hint, .ld-hero-title .grad { animation: none !important; }
}

/* ---------- Responsif ---------- */
@media (max-width: 991.98px) {
  .ld-hero { padding: 130px 0 110px; text-align: center; }
  .ld-hero-lead { margin-left: auto; margin-right: auto; }
  .ld-hero-cta { justify-content: center; }
  .ld-hero-art { margin-top: 60px; }
  .ld-nav .navbar-collapse {
    background: rgba(4,36,26,.96); border-radius: 16px; margin-top: 12px; padding: 16px 20px;
    backdrop-filter: blur(10px);
  }
  .ld-sec { padding: 64px 0; }
  .ld-stats { margin-top: -46px; }
  .ld-chart-box { height: 280px; }
}
@media (max-width: 575.98px) {
  .ld-stat-value { font-size: 1.15rem; }
  .ld-stat-card { padding: 18px 16px; }
  .ld-cta { padding: 40px 24px; }
}

/* ============================================================
   v1.2 - Berita & Pengumuman, Galeri Kegiatan, Lightbox,
          halaman detail berita
   ============================================================ */

/* ---------- Beranda: section berita (latar lembut) ---------- */
.ld-news {
  background:
    radial-gradient(900px 420px at -10% 0%, rgba(16,185,129,.10), transparent 55%),
    linear-gradient(180deg, #f6faf8, #eef7f2);
}

/* ---------- Kartu berita ---------- */
.ld-news-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--ld-card); border-radius: var(--ld-radius);
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 10px 30px rgba(2,44,34,.07);
  overflow: hidden; color: var(--ld-ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ld-news-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(2,44,34,.16); color: var(--ld-ink); }
.ld-news-img { display: block; height: 190px; overflow: hidden; position: relative; }
.ld-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ld-news-card:hover .ld-news-img img { transform: scale(1.07); }
.ld-news-img-empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0 55%, #6ee7b7);
  color: var(--ld-green-700); font-size: 3rem;
}
.ld-news-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.ld-news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ld-news-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.12); color: var(--ld-green-700);
  font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.ld-news-badge.pengumuman { background: rgba(245,158,11,.15); color: #b45309; }
.ld-news-date { color: var(--ld-muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 5px; }
.ld-news-title { font-weight: 800; font-size: 1.06rem; line-height: 1.4; }
.ld-news-excerpt { color: var(--ld-muted); font-size: .89rem; line-height: 1.65; flex: 1; }
.ld-news-more {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ld-green-700); font-weight: 700; font-size: .88rem;
}
.ld-news-more i { transition: transform .25s ease; }
.ld-news-card:hover .ld-news-more i { transform: translateX(5px); }

/* ---------- Galeri ---------- */
.ld-gallery-sec { padding-bottom: 110px; }
.ld-gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.ld-gal-item {
  position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in;
  border-radius: 16px; overflow: hidden; background: #d1fae5;
  aspect-ratio: 4 / 3; box-shadow: 0 10px 26px rgba(2,44,34,.10);
}
.ld-gal-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.ld-gal-item:hover img { transform: scale(1.09); }
.ld-gal-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(4,36,26,.88));
  color: #fff; text-align: left; opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  display: flex; flex-direction: column; gap: 2px; pointer-events: none;
}
.ld-gal-item:hover .ld-gal-cap { opacity: 1; transform: translateY(0); }
.ld-gal-judul { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.ld-gal-unit { font-size: .7rem; opacity: .8; }
.ld-gal-zoom {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border-radius: 10px; background: rgba(4,36,26,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  opacity: 0; transform: scale(.7); transition: all .3s ease; pointer-events: none;
  backdrop-filter: blur(4px);
}
.ld-gal-item:hover .ld-gal-zoom { opacity: 1; transform: scale(1); }

/* ---------- Lightbox ---------- */
.ld-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(3, 24, 17, .92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.ld-lightbox.open { opacity: 1; visibility: visible; }
.ld-lb-stage {
  margin: 0; max-width: min(1000px, 88vw); text-align: center;
  transform: scale(.92); transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.ld-lightbox.open .ld-lb-stage { transform: scale(1); }
.ld-lb-stage img {
  max-width: 100%; max-height: 76vh; border-radius: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
  animation: lbZoomIn .35s cubic-bezier(.2,.7,.3,1);
}
@keyframes lbZoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.ld-lb-cap { margin-top: 14px; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.ld-lb-cap .t { font-weight: 700; font-size: 1rem; }
.ld-lb-cap .d { font-size: .85rem; color: rgba(255,255,255,.65); }
.ld-lb-close {
  position: absolute; top: 18px; right: 20px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.ld-lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.ld-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.ld-lb-nav:hover { background: rgba(255,255,255,.22); }
.ld-lb-prev { left: 18px; }
.ld-lb-next { right: 18px; }

/* ---------- State kosong ---------- */
.ld-empty {
  background: var(--ld-card); border: 1px dashed #b6ddd0; border-radius: var(--ld-radius);
  padding: 52px 28px; text-align: center; color: var(--ld-muted);
}
.ld-empty i { font-size: 2.6rem; color: #94d3bd; display: block; margin-bottom: 12px; }
.ld-empty p { margin: 0; }

/* ---------- Halaman detail berita ---------- */
.bd-page { padding: 120px 0 70px; min-height: 100vh; background: linear-gradient(180deg, #eef7f2, #f6faf8 320px); }
.bd-article {
  background: var(--ld-card); border-radius: 24px;
  border: 1px solid rgba(15,23,42,.06); box-shadow: var(--ld-shadow);
  padding: clamp(24px, 5vw, 52px); max-width: 860px; margin: 0 auto;
}
.bd-title { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 8px; }
.bd-date { color: var(--ld-muted); font-size: .86rem; display: inline-flex; align-items: center; }
.bd-figure { margin: 22px 0 6px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px rgba(2,44,34,.14); }
.bd-figure img { width: 100%; display: block; max-height: 460px; object-fit: cover; }
.bd-content { margin-top: 20px; }
.bd-content p { color: #334155; line-height: 1.95; font-size: 1rem; margin-bottom: 14px; }
.bd-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 28px; padding-top: 22px; border-top: 1px dashed #dbe7e1;
}
.bd-share-label { color: var(--ld-muted); font-size: .88rem; font-weight: 600; }
.bd-share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  border: 1px solid #dbe7e1; color: #334155; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bd-share-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(2,44,34,.10); }
.bd-share-btn.wa:hover { background: #dcfce7; color: #15803d; border-color: #86efac; }
.bd-share-btn.fb:hover { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.bd-share-btn.cp:hover { background: #f1f5f9; color: #0f172a; }
.bd-related { max-width: 860px; margin: 44px auto 0; }
.bd-related-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; }
.bd-related-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: var(--ld-card); border-radius: 16px; padding: 20px;
  border: 1px solid rgba(15,23,42,.06); box-shadow: 0 8px 22px rgba(2,44,34,.06);
  color: var(--ld-ink); height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bd-related-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(2,44,34,.13); color: var(--ld-ink); }
.bd-related-judul { font-weight: 700; line-height: 1.4; }
.bd-related-tgl { color: var(--ld-muted); font-size: .8rem; }
.bd-empty {
  background: var(--ld-card); border-radius: 24px; box-shadow: var(--ld-shadow);
  max-width: 560px; margin: 60px auto; padding: 60px 36px; text-align: center;
}
.bd-empty i { font-size: 3rem; color: #94d3bd; }
.bd-empty h2 { font-weight: 800; font-size: 1.3rem; margin: 14px 0 8px; }
.bd-empty p { color: var(--ld-muted); margin-bottom: 22px; }

/* ---------- Responsif v1.2 ---------- */
@media (max-width: 991.98px) {
  .ld-gallery { grid-template-columns: repeat(3, 1fr); }
  .ld-lb-nav { width: 42px; height: 42px; font-size: 1rem; }
}
@media (max-width: 767.98px) {
  .ld-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ld-lb-prev { left: 8px; }
  .ld-lb-next { right: 8px; }
  .ld-lb-nav { top: auto; bottom: 14px; transform: none; }
  .bd-page { padding: 104px 0 50px; }
}
