/* ==========================================================
   BPHK — style halaman PUBLIK (di atas Tabler)
   Token warna, font, radius, bayangan: lihat theme.css
   ========================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { background: #f7f9fc; -webkit-font-smoothing: antialiased; }
.page { min-height: 100vh; }
a { text-decoration: none; }
::selection { background: rgba(var(--bphk-accent-rgb), .6); color: var(--bphk-900); }

.skip-link {
    position: fixed; left: 1rem; top: 1rem; z-index: 3000;
    background: #fff; padding: .5rem 1rem; border-radius: .5rem;
}

/* ==========================================================
   ANIMASI
   ========================================================== */
@keyframes naik { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes muncul { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes melayang { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes gumpal { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.08); } 66% { transform: translate(-30px, 20px) scale(.95); } }
@keyframes putar { to { transform: rotate(360deg); } }
@keyframes denyut { 0% { box-shadow: 0 0 0 0 rgba(var(--bphk-accent-rgb), .7); } 70% { box-shadow: 0 0 0 10px rgba(var(--bphk-accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--bphk-accent-rgb), 0); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes pantul { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (prefers-reduced-motion: no-preference) {
    .anim-naik { animation: naik .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--tunda, 0s); }
    .anim-muncul { animation: muncul 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--tunda, 0s); }
    .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--tunda, 0s); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ==========================================================
   KEPALA SITUS (topbar + navbar) — melayang di atas hero
   ========================================================== */
.kepala-situs { position: fixed; inset: 0 0 auto 0; z-index: 1030; transition: background var(--bphk-transisi), box-shadow var(--bphk-transisi); }
.topbar {
    font-size: .8125rem; color: rgba(255, 255, 255, .8);
    max-height: 3rem; overflow: hidden; padding: .45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: max-height var(--bphk-transisi), padding var(--bphk-transisi), opacity var(--bphk-transisi);
}
.topbar a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.topbar a:hover { color: var(--bphk-accent); }
.topbar i { margin-right: .25rem; }

.navbar-bphk { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: .9rem 0; transition: padding var(--bphk-transisi); }
.merek { display: flex; align-items: center; gap: .75rem; color: #fff !important; margin-right: 1.5rem; }
.merek img { transition: transform var(--bphk-transisi), width var(--bphk-transisi), height var(--bphk-transisi); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.merek:hover img { transform: rotate(-8deg) scale(1.05); }
.merek-nama { font-family: var(--bphk-font-judul); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.merek-sub { font-size: .72rem; color: rgba(255, 255, 255, .7); font-weight: 500; max-width: 18rem; }

.menu-utama { gap: .15rem; }
.menu-utama .nav-link {
    color: rgba(255, 255, 255, .88) !important; font-weight: 600; font-size: .9rem;
    padding: .5rem .9rem !important; border-radius: 999px; transition: background .25s, color .25s;
}
.menu-utama .nav-item.active::after { display: none; }
.menu-utama .nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.menu-utama .nav-item.active > .nav-link { background: rgba(255, 255, 255, .14); color: var(--bphk-accent) !important; }
.menu-turun { border: 0; border-radius: 1rem; padding: .5rem; box-shadow: var(--bphk-bayangan-hover); min-width: 15rem; }
.menu-turun .dropdown-item { border-radius: .6rem; padding: .6rem .8rem; font-weight: 500; }
.menu-turun .dropdown-item:hover { background: var(--bphk-50); color: var(--bphk-700); }
.tombol-kontak { font-weight: 700; box-shadow: 0 6px 20px rgba(var(--bphk-accent-rgb), .35); }
.tombol-menu { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); border-radius: .75rem; }
.tombol-menu:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* Setelah di-scroll: kaca biru, lebih ramping */
.kepala-situs.tergulir { background: rgba(0, 29, 71, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 10px 30px rgba(0, 20, 50, .25); }
.kepala-situs.tergulir .topbar { max-height: 0; padding: 0; opacity: 0; border-color: transparent; }
.kepala-situs.tergulir .navbar-bphk { padding: .45rem 0; }
.kepala-situs.tergulir .merek img { width: 38px; height: 38px; }

/* Menu HP */
.menu-hp { width: min(320px, 88vw) !important; border: 0; }
.menu-hp .list-group-item { border: 0; border-radius: .6rem; font-weight: 600; margin-bottom: .15rem; }
.menu-hp .list-group-item.active { background: var(--bphk-50); color: var(--bphk-700); }
.menu-hp .merek-nama { color: var(--bphk-700); }

/* ==========================================================
   LATAR DEKORATIF (gumpal bergerak + pola titik)
   ========================================================== */
.hero-latar { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gumpal { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.gumpal.g1 { width: 34rem; height: 34rem; background: #1f5fc4; top: -10rem; right: -6rem; }
.gumpal.g2 { width: 26rem; height: 26rem; background: rgba(var(--bphk-accent-rgb), .45); bottom: -12rem; left: -8rem; }
.gumpal.g3 { width: 18rem; height: 18rem; background: #3aa0ff; top: 40%; left: 45%; opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
    .gumpal.g1 { animation: gumpal 18s ease-in-out infinite; }
    .gumpal.g2 { animation: gumpal 22s ease-in-out infinite reverse; }
    .gumpal.g3 { animation: gumpal 26s ease-in-out infinite; }
}
.pola-titik {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
}

/* ==========================================================
   HERO BERANDA
   ========================================================== */
.hero { position: relative; color: #fff; isolation: isolate; padding: 0; text-align: left; }   /* timpa .hero milik tabler-marketing */
.hero-utama { background: var(--bphk-gradasi); min-height: min(100svh, 860px); display: flex; align-items: center; padding: 10rem 0 9rem; overflow: hidden; }
.hero-isi { position: relative; z-index: 2; }
.hero-lencana {
    display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.25rem;
    padding: .4rem 1rem; border-radius: 999px; font-size: .8125rem; font-weight: 600;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
}
.titik-hidup { width: .55rem; height: .55rem; border-radius: 50%; background: var(--bphk-accent); animation: denyut 2s infinite; }
.hero-judul {
    font-size: clamp(2rem, 5.2vw, 3.75rem); font-weight: 800; line-height: 1.08; color: #fff;
    margin-bottom: 1.25rem; overflow-wrap: break-word; text-wrap: balance;
}
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.2rem); color: rgba(255, 255, 255, .8); max-width: 38rem; margin-bottom: 2rem; }
.btn-pill { border-radius: 999px; padding-left: 1.4rem; padding-right: 1.4rem; }
.btn-lg.btn-pill { padding: .8rem 1.6rem; font-weight: 700; }
.btn-accent { transition: transform .25s, box-shadow .25s, background .25s; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(var(--bphk-accent-rgb), .45); }
.btn-kaca { color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.btn-kaca:hover { color: #fff; background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.hero-emblem { position: relative; width: 340px; height: 340px; margin-left: auto; display: grid; place-items: center; }
.hero-emblem img { position: relative; z-index: 2; filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .35)); }
.hero-emblem::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, .02) 70%); }
.cincin { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); }
.cincin.c1 { inset: 0; }
.cincin.c2 { inset: -12%; border-style: solid; border-color: rgba(var(--bphk-accent-rgb), .25); }
@media (prefers-reduced-motion: no-preference) {
    .hero-emblem img { animation: melayang 6s ease-in-out infinite; }
    .cincin.c1 { animation: putar 40s linear infinite; }
}
.hero-gulir {
    position: absolute; bottom: 6.5rem; left: 50%; transform: translateX(-50%); z-index: 3;
    width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
    color: #fff; border: 1px solid rgba(255, 255, 255, .3); font-size: 1.25rem;
}
@media (prefers-reduced-motion: no-preference) { .hero-gulir { animation: pantul 2s ease-in-out infinite; } }
.hero-gulir:hover { color: var(--bphk-accent); border-color: var(--bphk-accent); }

/* Hero dengan slider */
.hero-slider {
    /* Banner mengikuti rasio 16:7 (anjuran ukuran di admin) agar desain banner tidak terpotong;
       diletakkan di bawah header sehingga menu tidak menutupi isi banner. */
    padding-top: var(--tinggi-kepala, 104px); background: var(--bphk-gradasi); overflow: hidden;
}
.hero-slider .carousel { aspect-ratio: 16 / 7; height: auto !important; max-height: calc(100svh - var(--tinggi-kepala, 104px)); min-height: 300px; }
.hero-slider .carousel-item { position: relative; }
.hero-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .hero-slider .carousel-item.active .hero-slide-img { animation: kenburns 9s ease-out both; } }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0, 29, 71, .92) 0%, rgba(0, 29, 71, .55) 50%, rgba(0, 29, 71, .15) 100%); }
/* Slider tanpa teks (banner sudah berisi desain sendiri): hanya bayangan tipis atas-bawah agar menu & indikator terbaca */
.tanpa-teks .hero-slide-overlay { background: linear-gradient(to bottom, rgba(0, 20, 50, .55) 0%, transparent 22%, transparent 75%, rgba(0, 20, 50, .45) 100%); }
.hero-slider .hero-isi { height: 100%; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 6rem; }
.hero-teks { max-width: 40rem; }
.hero-slider .carousel-indicators { bottom: 1rem; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] { width: 2rem; height: .3rem; border-radius: 1rem; border: 0; }
.hero-slider .carousel-indicators .active { background: var(--bphk-accent); }

/* ==========================================================
   STATISTIK (kartu mengambang di bawah hero)
   ========================================================== */
.statistik { position: relative; z-index: 5; margin-top: -4.5rem; }
.hero-slider + .statistik { margin-top: 2rem; }   /* jangan menutupi banner */
.statistik-kartu {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--bphk-radius-xl); box-shadow: var(--bphk-bayangan-hover); overflow: hidden;
}
.statistik-item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.5rem; position: relative; }
.statistik-item + .statistik-item::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: #e6ecf5; }
.statistik-ikon {
    flex-shrink: 0; width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: grid; place-items: center;
    font-size: 1.5rem; color: var(--bphk-700); background: var(--bphk-50);
}
.statistik-angka { font-family: var(--bphk-font-judul); font-size: 2rem; font-weight: 800; line-height: 1; color: var(--bphk-900); font-variant-numeric: tabular-nums; }
.statistik-label { color: var(--tblr-secondary); font-size: .8125rem; font-weight: 500; margin-top: .3rem; }

/* ==========================================================
   SEKSI & JUDUL
   ========================================================== */
.seksi { padding: 5.5rem 0; }
.seksi-lembut { background: linear-gradient(180deg, var(--bphk-50), #f7f9fc); }
.judul-seksi { margin-bottom: 2.75rem; max-width: 100%; }
.judul-seksi.text-center { max-width: 42rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem;
    font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bphk-500);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 3px; border-radius: 3px; background: var(--bphk-gradasi-aksen); }
.text-center .eyebrow::after { content: ""; width: 1.5rem; height: 3px; border-radius: 3px; background: var(--bphk-gradasi-aksen); }
.judul-seksi-teks { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 800; color: var(--bphk-900); line-height: 1.15; margin-bottom: .5rem; }
.judul-seksi-desk { color: var(--tblr-secondary); font-size: 1.02rem; margin: 0; }
.tautan-panah { font-weight: 700; color: var(--bphk-700); display: inline-flex; align-items: center; gap: .35rem; }
.tautan-panah i { transition: transform .25s; }
.tautan-panah:hover i, a:hover > .tautan-panah i { transform: translateX(4px); }

/* Judul seksi lama (masih dipakai halaman dalam) */
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--bphk-900); position: relative; padding-bottom: .6rem; margin-bottom: 1.5rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--bphk-gradasi-aksen); }
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }

/* ==========================================================
   SAMBUTAN
   ========================================================== */
.foto-bingkai { position: relative; max-width: min(22rem, calc(100% - 1.5rem)); margin: 0; }   /* sisakan ruang utk blok kuning di kanan */
.foto-bingkai::before { content: ""; position: absolute; inset: 1.5rem -1.25rem -1.25rem 1.5rem; border-radius: var(--bphk-radius-xl); background: var(--bphk-gradasi-aksen); opacity: .9; z-index: 0; }
.foto-bingkai img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bphk-radius-xl); box-shadow: var(--bphk-bayangan-hover); background: #e9eef6; }
.foto-label {
    position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: 1rem; padding: .85rem 1rem;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 1rem; box-shadow: var(--bphk-bayangan);
}
.foto-label strong { display: block; color: var(--bphk-900); font-family: var(--bphk-font-judul); }
.foto-label span { font-size: .8125rem; color: var(--tblr-secondary); }
.sambutan-isi { position: relative; font-size: 1.02rem; line-height: 1.85; color: #3a4a5f; }
.sambutan-kutip { position: absolute; top: -1.25rem; left: -.5rem; font-size: 4rem; color: var(--bphk-100); z-index: -1; }
.sambutan-isi.terpotong { max-height: 15rem; overflow: hidden; mask-image: linear-gradient(to bottom, #000 65%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent); }

/* ==========================================================
   KARTU BIDANG
   ========================================================== */
.kartu-bidang {
    position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem;
    background: #fff; border-radius: var(--bphk-radius-xl); box-shadow: var(--bphk-bayangan); color: inherit; overflow: hidden;
    transition: transform var(--bphk-transisi), box-shadow var(--bphk-transisi);
}
.kartu-bidang::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--bphk-gradasi-aksen); transition: width var(--bphk-transisi); }
.kartu-bidang:hover { transform: translateY(-8px); box-shadow: var(--bphk-bayangan-hover); color: inherit; }
.kartu-bidang:hover::before { width: 100%; }
.kartu-bidang-nomor { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--bphk-font-judul); font-size: 3rem; font-weight: 800; color: var(--bphk-50); line-height: 1; }
.kartu-bidang-ikon {
    width: 3.75rem; height: 3.75rem; border-radius: 1.1rem; display: grid; place-items: center; font-size: 1.75rem; color: #fff;
    background: var(--bphk-gradasi); box-shadow: 0 10px 24px rgba(0, 60, 143, .3); margin-bottom: 1.4rem;
    transition: transform var(--bphk-transisi);
}
.kartu-bidang:hover .kartu-bidang-ikon { transform: rotate(-8deg) scale(1.06); }
.kartu-bidang h3 { font-size: 1.2rem; font-weight: 800; color: var(--bphk-900); margin-bottom: .5rem; }
.kartu-bidang p { color: var(--tblr-secondary); font-size: .9rem; flex-grow: 1; }

/* ==========================================================
   BERITA
   ========================================================== */
.chip { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--bphk-accent); color: var(--bphk-900); letter-spacing: .02em; }
.chip-lembut { background: var(--bphk-50); color: var(--bphk-700); }

.berita-utama-kartu { position: relative; display: block; height: 100%; min-height: 26rem; border-radius: var(--bphk-radius-xl); overflow: hidden; box-shadow: var(--bphk-bayangan-hover); background: var(--bphk-900); }
.berita-utama-kartu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.berita-utama-kartu:hover img { transform: scale(1.06); }
.berita-utama-kartu::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 20, 50, .95) 5%, rgba(0, 20, 50, .35) 55%, transparent); }
.berita-utama-isi { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 2rem; color: #fff; }
.berita-utama-isi h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.25; margin: .75rem 0 .5rem; }
.berita-utama-isi p { color: rgba(255, 255, 255, .8); margin-bottom: .75rem; }
.berita-utama-isi .meta { font-size: .8125rem; color: rgba(255, 255, 255, .75); }

.berita-baris { display: flex; gap: 1rem; align-items: center; padding: .75rem; background: #fff; border-radius: 1rem; box-shadow: var(--bphk-bayangan); color: inherit; flex: 1; transition: transform var(--bphk-transisi), box-shadow var(--bphk-transisi); }
.berita-baris:hover { transform: translateX(6px); box-shadow: var(--bphk-bayangan-hover); color: inherit; }
.berita-baris-gambar { flex-shrink: 0; width: 7.5rem; aspect-ratio: 4 / 3; border-radius: .75rem; overflow: hidden; background: #e9eef6; }
.berita-baris-gambar img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.berita-baris:hover .berita-baris-gambar img { transform: scale(1.08); }
.berita-baris-teks { display: flex; flex-direction: column; gap: .35rem; min-width: 0; align-items: flex-start; }
.berita-baris-teks strong { color: var(--bphk-900); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.berita-baris-teks small { color: var(--tblr-secondary); }

/* Kartu umum di halaman publik: tanpa garis, bayangan lembut */
.page-body .card, .seksi .card { border: 0; border-radius: var(--tblr-border-radius-lg); box-shadow: var(--bphk-bayangan); }
.card-link-pop { overflow: hidden; transition: transform var(--bphk-transisi), box-shadow var(--bphk-transisi) !important; }
.card-link-pop:hover { transform: translateY(-6px); box-shadow: var(--bphk-bayangan-hover) !important; }
.berita-img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.card-link-pop:hover .berita-img { transform: scale(1.05); }
.card-link-pop .card-title a { color: var(--bphk-900); }
.berita-utama { max-height: 520px; object-fit: cover; }

/* ==========================================================
   AGENDA
   ========================================================== */
.kartu-agenda { display: flex; gap: 1.1rem; height: 100%; padding: 1.25rem; background: #fff; border-radius: var(--bphk-radius-xl); box-shadow: var(--bphk-bayangan); color: inherit; transition: transform var(--bphk-transisi), box-shadow var(--bphk-transisi); }
.kartu-agenda:hover { transform: translateY(-6px); box-shadow: var(--bphk-bayangan-hover); color: inherit; }
.kartu-agenda-tgl { flex-shrink: 0; width: 4.5rem; padding: .7rem .4rem; border-radius: 1rem; text-align: center; color: #fff; background: var(--bphk-gradasi); line-height: 1.1; }
.kartu-agenda-tgl strong { display: block; font-family: var(--bphk-font-judul); font-size: 1.85rem; font-weight: 800; }
.kartu-agenda-tgl span { font-size: .72rem; text-transform: uppercase; color: var(--bphk-accent); font-weight: 700; }
.kartu-agenda-isi { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.kartu-agenda-isi strong { color: var(--bphk-900); line-height: 1.35; }
.kartu-agenda-isi small { color: var(--tblr-secondary); }

.tgl-agenda { min-width: 60px; padding: .45rem; border-radius: .9rem; background: var(--bphk-gradasi); color: #fff; line-height: 1.1; }
.tgl-agenda small { color: var(--bphk-accent); text-transform: uppercase; font-weight: 700; }
.tgl-lewat { background: #8a96a8; }
.tgl-lewat small { color: #fff; }

/* ==========================================================
   GALERI
   ========================================================== */
.galeri-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 13rem; gap: 1rem; }
.galeri-bento-item { position: relative; border-radius: var(--bphk-radius-xl); overflow: hidden; background: #e9eef6; box-shadow: var(--bphk-bayangan); }
.galeri-bento-item.besar { grid-column: span 2; grid-row: span 2; }
.galeri-bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.galeri-bento-item:hover img { transform: scale(1.08); }
.galeri-bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 20, 50, .85), transparent 55%); opacity: .85; transition: opacity .3s; }
.galeri-bento-teks { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 1rem; color: #fff; display: flex; flex-direction: column; transform: translateY(6px); transition: transform .35s; }
.galeri-bento-item:hover .galeri-bento-teks { transform: none; }
.galeri-bento-teks small { opacity: .75; }
.galeri-bento-item.besar .galeri-bento-teks strong { font-size: 1.2rem; font-family: var(--bphk-font-judul); }

.galeri-item { position: relative; overflow: hidden; border-radius: var(--tblr-border-radius-lg); display: block; }
.galeri-item img { display: block; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.galeri-item:hover img { transform: scale(1.08); }
.galeri-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .8rem; background: linear-gradient(transparent, rgba(0, 20, 50, .85)); color: #fff; font-size: .85rem; }

.video-thumb { position: relative; overflow: hidden; background: #000; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video-thumb:hover img { opacity: 1; transform: scale(1.05); }
.video-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 0, 0, .9); color: #fff; font-size: 1.75rem; box-shadow: 0 10px 30px rgba(255, 0, 0, .4); transition: transform .3s; }
.video-thumb:hover .video-play { transform: scale(1.12); }

/* ==========================================================
   PITA AJAKAN (CTA)
   ========================================================== */
.pita-cta { position: relative; overflow: hidden; padding: 3rem; border-radius: calc(var(--bphk-radius-xl) * 1.4); background: var(--bphk-gradasi); color: #fff; box-shadow: 0 30px 60px rgba(0, 45, 107, .25); }
.pita-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; }

/* ==========================================================
   JUDUL HALAMAN DALAM
   ========================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--bphk-gradasi); color: #fff; padding: 10rem 0 3.5rem; isolation: isolate; }
.page-hero .gumpal.g1 { width: 24rem; height: 24rem; top: -8rem; }
.page-hero .gumpal.g2 { width: 18rem; height: 18rem; bottom: -10rem; }
.remah { display: inline-flex; flex-wrap: wrap; padding: .35rem .9rem; margin-bottom: 1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); font-size: .8125rem; --tblr-breadcrumb-divider-color: rgba(255, 255, 255, .5); }
.remah a { color: rgba(255, 255, 255, .85); }
.remah a:hover { color: var(--bphk-accent); }
.remah .breadcrumb-item.active { color: rgba(255, 255, 255, .6); }
.page-hero-title { color: #fff; font-size: clamp(1.6rem, 4.4vw, 2.6rem); font-weight: 800; margin: 0; max-width: 52rem; overflow-wrap: break-word; text-wrap: balance; }
.page-hero-sub { color: rgba(255, 255, 255, .78); margin: .6rem 0 0; font-size: 1.05rem; }
.page-body { margin-top: 2.5rem; margin-bottom: 4rem; }
.sidebar-sticky { top: 6rem; z-index: 1; }

/* ==========================================================
   KONTEN DARI EDITOR
   ========================================================== */
.konten-html { font-size: .975rem; line-height: 1.85; color: #34445a; }
.konten-html h2, .konten-html h3, .konten-html h4 { color: var(--bphk-900); margin-top: 1.75rem; }
.konten-html img { max-width: 100%; height: auto; border-radius: .75rem; }
.konten-html table { width: 100%; margin-bottom: 1rem; }
.konten-html table td, .konten-html table th { border: 1px solid var(--tblr-border-color); padding: .5rem .7rem; }
.konten-html iframe { max-width: 100%; border-radius: .75rem; }
.konten-html blockquote { border-left: 4px solid var(--bphk-accent); background: var(--bphk-50); padding: 1rem 1.25rem; border-radius: 0 .75rem .75rem 0; color: var(--bphk-900); }
.konten-html a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--tblr-primary-rgb), .3); text-underline-offset: 3px; }

/* ==========================================================
   LAIN-LAIN
   ========================================================== */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-group-item.active { background-color: var(--tblr-primary); border-color: var(--tblr-primary); color: #fff; }
.card-kontak { background: var(--bphk-gradasi); color: rgba(255, 255, 255, .85); border: 0; }
.badge-resmi { background: var(--bphk-accent); color: #1d1d1d; font-weight: 600; }
.card .empty.border { border: 0 !important; background: transparent !important; }
.empty.border { border: 2px dashed #d6e0ee !important; background: rgba(255, 255, 255, .6) !important; border-radius: var(--bphk-radius-xl) !important; }

.fc {
    --fc-button-bg-color: var(--tblr-primary); --fc-button-border-color: var(--tblr-primary);
    --fc-button-hover-bg-color: var(--tblr-primary-darken); --fc-button-hover-border-color: var(--tblr-primary-darken);
    --fc-button-active-bg-color: var(--bphk-primary); --fc-button-active-border-color: var(--bphk-primary);
    --fc-today-bg-color: rgba(var(--bphk-accent-rgb), .15);
}
.fc .fc-daygrid-event { white-space: normal; align-items: flex-start; text-align: left; }

/* Progres baca (garis di atas layar) */
.progres-baca { position: fixed; top: 0; left: 0; z-index: 2000; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progres, 0)); background: var(--bphk-gradasi-aksen); pointer-events: none; }

/* Tombol kembali ke atas */
.tombol-atas {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020; width: 3rem; height: 3rem; border: 0; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.25rem; color: var(--bphk-900); background: var(--bphk-gradasi-aksen);
    box-shadow: 0 10px 25px rgba(0, 29, 71, .25); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.tombol-atas.tampil { opacity: 1; visibility: visible; transform: none; }
.tombol-atas:hover { transform: translateY(-3px); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer-bphk { position: relative; background: var(--bphk-900); color: rgba(255, 255, 255, .75); margin-top: 3rem; }
.footer-gelombang { position: absolute; top: -59px; left: 0; width: 100%; height: 60px; fill: var(--bphk-900); }
.footer-atas { padding-top: 4rem; padding-bottom: 3rem; }
.footer-judul { color: #fff; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer-tautan li { margin-bottom: .6rem; }
.footer-tautan a, .footer-kontak a { color: rgba(255, 255, 255, .75); transition: color .2s, padding .2s; }
.footer-tautan a:hover { color: var(--bphk-accent); padding-left: .3rem; }
.footer-kontak li { display: flex; gap: .75rem; margin-bottom: .9rem; }
.footer-kontak i { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: .6rem; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--bphk-accent); }
.tombol-sosmed { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: grid; place-items: center; font-size: 1.15rem; color: #fff; background: rgba(255, 255, 255, .08); transition: background .25s, transform .25s, color .25s; }
.tombol-sosmed:hover { background: var(--bphk-accent); color: var(--bphk-900); transform: translateY(-3px); }
.footer-bawah { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.25rem 0; font-size: .8125rem; }

/* ==========================================================
   RESPONSIF
   ========================================================== */
@media (max-width: 991.98px) {
    .hero-utama { padding: 7.5rem 0 8rem; min-height: auto; }
    .page-hero { padding-top: 7rem; }
    .hero-slider .carousel { min-height: 0; }
    .statistik-kartu { grid-template-columns: repeat(2, 1fr); }
    .statistik-item:nth-child(3)::before { display: none; }
    .statistik-item:nth-child(n+3) { border-top: 1px solid #e6ecf5; }
    .seksi { padding: 4rem 0; }
    .galeri-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
    .berita-utama-kartu { min-height: 22rem; }
    .hero-gulir { display: none; }
}
@media (max-width: 575.98px) {
    .navbar-bphk { padding: .6rem 0; }
    .merek img { width: 38px; height: 38px; }
    .statistik-item { padding: 1.1rem; gap: .75rem; }
    .statistik-ikon { width: 2.6rem; height: 2.6rem; font-size: 1.2rem; border-radius: .8rem; }
    .statistik-angka { font-size: 1.5rem; }
    .berita-utama-isi { padding: 1.25rem; }
    .berita-baris-gambar { width: 5.5rem; }
    .pita-cta { padding: 2rem 1.5rem; }
    .kartu-bidang { padding: 1.5rem; }
}

/* HP: padding tepi sedikit lebih lega (dan cukup untuk gutter g-4) */
@media (max-width: 991.98px) {
    .container-xl { --tblr-gutter-x: 1.5rem; }
}

/* ==========================================================
   MEDIA SOSIAL (beranda) — tab Facebook/Instagram/TikTok + video YouTube
   ========================================================== */
.medsos-kartu .card-header-tabs .nav-link { font-weight: 600; }
.medsos-kartu .card-header-tabs .nav-link.active { color: var(--tblr-primary); }
.medsos-isi { min-height: 520px; }
.medsos-fb { display: flex; justify-content: center; min-height: 500px; }
.medsos-fb iframe { border: 0; border-radius: .75rem; max-width: 100%; }
.medsos-gulir { max-height: 560px; overflow-y: auto; display: grid; gap: 1rem; justify-items: center; }
.medsos-gulir .instagram-media, .medsos-gulir .tiktok-embed { margin: 0 !important; width: 100% !important; min-width: 0 !important; border-left: 0; padding: 0; }
.medsos-video { display: flex; gap: 1rem; align-items: center; padding: .9rem 1.25rem; }
.medsos-video-thumb { position: relative; flex: 0 0 9.5rem; aspect-ratio: 16 / 9; border-radius: .6rem; overflow: hidden; background: #000; }
.medsos-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.medsos-video:hover .medsos-video-thumb img { transform: scale(1.06); }
.medsos-video-play { position: absolute; inset: 0; margin: auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 0, 0, .9); color: #fff; font-size: 1.1rem; box-shadow: 0 6px 18px rgba(255, 0, 0, .35); }
.medsos-video-teks { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.medsos-video-teks strong { color: var(--bphk-900); line-height: 1.35; font-weight: 600; }
@media (max-width: 575.98px) { .medsos-video-thumb { flex-basis: 7.5rem; } .medsos-isi { min-height: 0; } }
.medsos-gulir .twitter-tweet { margin: 0 auto !important; }
.medsos-profil-x { text-align: center; padding: 3rem 1rem 1rem; }
.medsos-profil-x-ikon { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: inline-grid; place-items: center; background: #000; color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.medsos-gulir .text-post-media { margin: 0 auto !important; width: 100% !important; max-width: 540px; border-left: 0; padding: 0; }

/* ==========================================================
   KABAR TERBARU (beranda) — grid 4 kolom, kartu ringkas
   ========================================================== */
.berita-kartu { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: var(--bphk-bayangan); color: inherit; transition: transform var(--bphk-transisi), box-shadow var(--bphk-transisi); }
.berita-kartu:hover { transform: translateY(-4px); box-shadow: var(--bphk-bayangan-hover); color: inherit; }
.berita-kartu-gambar { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9eef6; }
.berita-kartu-gambar img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.berita-kartu:hover .berita-kartu-gambar img { transform: scale(1.06); }
.berita-kartu-gambar .chip { position: absolute; left: .75rem; top: .75rem; }
.berita-kartu-isi { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.berita-kartu-tanggal { font-size: .75rem; color: var(--tblr-secondary); }
.berita-kartu-judul { font-family: var(--bphk-font-judul); font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--bphk-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.berita-kartu-desk { font-size: .8125rem; line-height: 1.55; color: var(--tblr-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.berita-kartu-lanjut { margin-top: auto; padding-top: .35rem; font-size: .8125rem; font-weight: 600; color: var(--tblr-primary); }
.berita-kartu:hover .berita-kartu-lanjut .ti { transform: translateX(3px); }
.berita-kartu-lanjut .ti { transition: transform .2s; }
