/* ===== Situs publik ===== */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.st-body { font-family: 'Poppins', system-ui, 'Segoe UI', Roboto, sans-serif; background: #fff; color: #2b3445; }
.st-header { background: #0d4585 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E"); box-shadow: 0 2px 10px rgba(10,30,70,.25); }
.st-logo { width: 46px; height: 46px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.st-logo img { width: 36px; height: 36px; object-fit: contain; }
.st-brand-kecil { font-size: .72rem; opacity: .85; font-weight: 400; }
.st-brand-besar { font-size: 1.02rem; font-weight: 600; }
.st-header .nav-link { font-weight: 500; padding: .5rem .9rem; border-radius: 6px; }
.st-header .nav-link:hover { background: rgba(255,255,255,.12); }
.st-hero { position: relative; background: #0b2f5c; }
.st-hero .carousel-item { height: 460px; }
.st-hero-gambar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-hero-lapis { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,25,55,.15) 0%, rgba(6,25,55,.82) 100%); }
.st-hero-isi { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 3.2rem; color: #fff; }
.st-hero-judul { font-size: 2rem; font-weight: 600; line-height: 1.25; max-width: 820px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.st-hero-ringkas { max-width: 760px; opacity: .92; margin-bottom: 0; }
.st-hero .carousel-indicators { margin-bottom: .8rem; }
.st-hero-kosong { background: linear-gradient(135deg, #0b3a73, #1b6fc2 60%, #2aa7d8); min-height: 340px; display: flex; align-items: center; }
.st-hero-logo { width: 84px; height: 84px; background: #fff; border-radius: 20px; padding: 10px; object-fit: contain; }
.st-kategori { background: #f5a623; color: #1d1d1d; font-weight: 600; border-radius: 20px; padding: .4em .85em; }
.st-seksi { padding: 4rem 0; }
.st-seksi-abu { background: #f3f6fb; }
.st-judul-seksi { text-align: center; max-width: 660px; margin: 0 auto 2rem; }
.st-judul-seksi h2 { font-size: 1.75rem; font-weight: 600; margin: .25rem 0 .5rem; position: relative; padding-bottom: .8rem; }
.st-judul-seksi h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 3px; background: #1b6fc2; border-radius: 3px; }
.st-judul-seksi p { color: #6b7686; margin: 0; }
.st-label { color: #1b6fc2; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.st-kartu-berita { display: block; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(20,40,90,.09); transition: transform .15s, box-shadow .15s; }
.st-kartu-berita:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(20,40,90,.16); }
.st-thumb { position: relative; aspect-ratio: 16 / 10; background: #dfe7f1; overflow: hidden; }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb .st-kategori { position: absolute; left: .75rem; top: .75rem; font-size: .72rem; }
.st-thumb .st-utama { position: absolute; right: .75rem; top: .75rem; }
.st-kosong { text-align: center; color: #8a94a6; padding: 2.5rem 1rem; background: #f8fafc; border: 1px dashed #cfd8e6; border-radius: 14px; }
.st-kosong i { font-size: 2.2rem; display: block; margin-bottom: .4rem; }
.st-foto { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #dfe7f1; cursor: zoom-in; }
.st-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.st-foto:hover img { transform: scale(1.06); }
.st-foto-judul { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .75rem .6rem; color: #fff; font-size: .85rem; font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(5,20,45,.85)); }
.st-lightbox-tutup { position: absolute; right: .8rem; top: .8rem; z-index: 5; background-color: rgba(0,0,0,.45); border-radius: 50%; padding: .6rem; }
#lightboxGambar { max-height: 70vh; object-fit: contain; background: #0b1b33; }
.st-kartu-kontak { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(20,40,90,.09); height: 100%; }
.st-jebakan { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-artikel { max-width: 820px; }
.st-artikel-gambar { width: 100%; border-radius: 14px; margin-bottom: 1rem; max-height: 480px; object-fit: cover; }
.st-ringkas { color: #4a5568; border-left: 4px solid #1b6fc2; padding-left: 1rem; }
.st-isi { font-size: 1.02rem; line-height: 1.8; }
.st-isi h2, .st-isi h3 { font-weight: 600; margin: 1.6rem 0 .6rem; }
.st-isi a { color: #1b6fc2; }
.st-isi blockquote { border-left: 4px solid #cfd8e6; padding-left: 1rem; color: #5b6676; }
.st-footer { background: #0b2f5c; color: #fff; }
.st-login { min-height: 70vh; display: flex; align-items: center; padding: 3rem 0; background: linear-gradient(180deg, #f3f6fb, #fff); }
@media (max-width: 767.98px) {
  .st-hero .carousel-item { height: 360px; }
  .st-hero-judul { font-size: 1.3rem; }
  .st-seksi { padding: 2.6rem 0; }
}
@media (max-width: 991.98px) {
  .st-header .navbar-collapse > .btn { margin: .4rem .9rem .9rem; }
}

/* ===== Berita & galeri terpusat; galeri berjalan otomatis bila banyak ===== */
.st-galeri-bungkus { position: relative; }
.st-galeri-gulir { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: .4rem 0 .6rem; }
.st-galeri-gulir::-webkit-scrollbar { display: none; }
.st-galeri-jalur { display: flex; gap: 1rem; width: max-content; margin-inline: auto; }   /* muat di layar: terpusat; melebihi: mulai dari kiri */
.st-foto-item { flex: 0 0 auto; width: 270px; }
.st-galeri-gulir.berjalan { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.st-galeri-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #1b6fc2; box-shadow: 0 4px 14px rgba(20,40,90,.28); transition: transform .15s, background .15s; }
.st-galeri-nav:hover { background: #1b6fc2; color: #fff; transform: translateY(-50%) scale(1.08); }
.st-galeri-nav:active { transform: translateY(-50%) scale(.94); }
.st-galeri-prev { left: -8px; }
.st-galeri-next { right: -8px; }
@media (max-width: 575.98px) { .st-foto-item { width: 210px; } .st-galeri-prev { left: 0; } .st-galeri-next { right: 0; } }

/* ===== Kartu kontak: satu kolom, label kecil + nilai besar + tombol aksi yang jelas ===== */
.st-kk-grid { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.st-kk { position: relative; display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid #e3e9f3; border-radius: 14px; background: #fff; color: #2b3445; text-decoration: none; overflow: hidden; -webkit-tap-highlight-color: transparent;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s; }
.st-kk::before { content: ""; position: absolute; inset: 0; background: var(--warna, #1b6fc2); opacity: 0; transition: opacity .25s; }
.st-kk > * { position: relative; }
.st-kk:hover, .st-kk:focus-visible { transform: translateY(-3px); border-color: var(--warna, #1b6fc2); box-shadow: 0 12px 24px rgba(20,40,90,.15); color: #2b3445; }
.st-kk:hover::before, .st-kk:focus-visible::before { opacity: .05; }
.st-kk:focus-visible { outline: 3px solid color-mix(in srgb, var(--warna, #1b6fc2) 40%, transparent); outline-offset: 2px; }
.st-kk:active { transform: translateY(-1px) scale(.975); box-shadow: 0 4px 10px rgba(20,40,90,.14); transition-duration: .08s; }
.st-kk-logo { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 1.65rem; color: var(--warna, #1b6fc2);
  background: #eef3fb; background: color-mix(in srgb, var(--warna, #1b6fc2) 14%, #fff); transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; }
.st-kk-logo.punya-gambar { background: #fff; border: 1px solid #e3e9f3; padding: 6px; }
.st-kk-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.st-kk:hover .st-kk-logo, .st-kk:focus-visible .st-kk-logo { transform: scale(1.1) rotate(-6deg); }
.st-kk:hover .st-kk-logo:not(.punya-gambar), .st-kk:focus-visible .st-kk-logo:not(.punya-gambar) { background: var(--warna, #1b6fc2); color: #fff; }
.st-kk-teks { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.st-kk-judul { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #6b7686; line-height: 1.2; }
.st-kk-nilai { font-size: 1rem; font-weight: 600; color: #1f2a3d; line-height: 1.3; overflow-wrap: break-word; word-break: normal; }
.st-kk-aksi { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--warna, #1b6fc2);
  background: #eef3fb; background: color-mix(in srgb, var(--warna, #1b6fc2) 10%, #fff); border: 1px solid color-mix(in srgb, var(--warna, #1b6fc2) 28%, #fff); transition: background .2s, color .2s, border-color .2s; }
.st-kk-aksi i { transition: transform .22s; }
.st-kk:hover .st-kk-aksi, .st-kk:focus-visible .st-kk-aksi { background: var(--warna, #1b6fc2); border-color: var(--warna, #1b6fc2); color: #fff; }
.st-kk:hover .st-kk-aksi i, .st-kk:focus-visible .st-kk-aksi i { transform: translate(2px, -2px); }
.st-alamat { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; background: #f6f8fc; color: #4a5568; font-size: .92rem; }
.st-alamat > i { color: #D9382E; font-size: 1.2rem; margin-top: .1rem; }
.st-alamat-label { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #6b7686; }
@media (max-width: 420px) { .st-kk { gap: .8rem; padding: .75rem .8rem; } .st-kk-logo { width: 46px; height: 46px; font-size: 1.45rem; } .st-kk-nilai { font-size: .95rem; } .st-kk-aksi-teks { display: none; } .st-kk-aksi { padding: .5rem .6rem; } }
.st-ripple { position: absolute; border-radius: 50%; background: var(--warna, #1b6fc2); opacity: .28; transform: scale(0); pointer-events: none; animation: st-ripple .6s ease-out forwards; }
@keyframes st-ripple { to { transform: scale(1); opacity: 0; } }
html.js .st-kk:not(.tampil) { opacity: 0; }
.st-kk.tampil { animation: st-kk-masuk .55s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes st-kk-masuk { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.st-kk-pratinjau .st-kk { max-width: 440px; }
@media (prefers-reduced-motion: reduce) {
  .st-kk, .st-kk-logo, .st-kk-aksi, .st-kk-aksi i, .st-galeri-nav, .st-header .nav-link { transition: none; }
  .st-kk.tampil { animation: none; }
  .st-kk:hover, .st-kk:active { transform: none; }
  .st-ripple { display: none; }
  html { scroll-behavior: auto; }
}

/* ===== Menu aktif (sorot sesuai bagian yang sedang dilihat) ===== */
.st-header .nav-link { position: relative; transition: background .2s, color .2s; }
.st-header .nav-link.active { color: #fff; background: rgba(255,255,255,.16); }
.st-header .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 2px; height: 3px; border-radius: 3px; background: #f5a623; }
@media (max-width: 991.98px) {
  .st-header .nav-link.active { background: rgba(255,255,255,.12); box-shadow: inset 4px 0 0 #f5a623; }
  .st-header .nav-link.active::after { display: none; }
}
