/* =========================================================================
   PENABUR Cirebon — Theme
   Konsep: Modern & Bersih, Konsisten, Mobile-First, User-Friendly
   Palet: BIRU #1F4E91 (utama) · MERAH #D32F2F (aksen) · KUNING #F5B800 (CTA)
   ========================================================================= */

:root {
    --pb-blue: #1F4E91;
    --pb-blue-dark: #163a6e;
    --pb-blue-light: #eaf0f9;
    --pb-red: #D32F2F;
    --pb-yellow: #F5B800;
    --pb-ink: #1b2330;
    --pb-muted: #5b6675;
    --pb-line: #e7ebf1;
    --pb-bg: #f6f8fb;
    --pb-white: #ffffff;
    --pb-radius: 16px;
    --pb-radius-sm: 10px;
    --pb-shadow: 0 10px 35px rgba(31, 78, 145, .08);
    --pb-shadow-hover: 0 18px 50px rgba(31, 78, 145, .16);
    --pb-font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --pb-container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--pb-font) !important;
    color: var(--pb-ink);
    background: var(--pb-white);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pb-font) !important;
    color: var(--pb-ink);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .5em;
}

a { color: var(--pb-blue); text-decoration: none; transition: .25s; }
a:hover { color: var(--pb-red); }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; color: var(--pb-muted); }
main { display: block; }

.pb-container {
    width: 100%;
    max-width: var(--pb-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section helpers ---------- */
.pb-section { padding: 90px 0; }
.pb-section--tight { padding: 60px 0; }
.pb-section--alt { background: var(--pb-bg); }
.pb-section--blue { background: var(--pb-blue); color: #fff; }

.pb-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.pb-head.is-left { text-align: left; margin-left: 0; }
.pb-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--pb-red); margin-bottom: 14px;
}
.pb-eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--pb-yellow); border-radius: 3px; }
.pb-title { font-size: clamp(26px, 3.4vw, 40px); color: var(--pb-blue); }
.pb-section--blue .pb-title, .pb-section--blue .pb-eyebrow { color: #fff; }
.pb-section--blue .pb-eyebrow { color: var(--pb-yellow); }
.pb-lead { font-size: 17px; color: var(--pb-muted); }

/* ---------- Buttons ---------- */
.pb-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 15px; line-height: 1;
    padding: 15px 26px; border-radius: 50px; border: 2px solid transparent;
    cursor: pointer; transition: .25s; white-space: nowrap;
}
.pb-btn i { font-size: 15px; }
.pb-btn--primary { background: var(--pb-yellow); color: #2a2300; }
.pb-btn--primary:hover { background: #ffc827; color: #2a2300; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,184,0,.4); }
.pb-btn--blue { background: var(--pb-blue); color: #fff; }
.pb-btn--blue:hover { background: var(--pb-blue-dark); color: #fff; transform: translateY(-2px); }
.pb-btn--red { background: var(--pb-red); color: #fff; }
.pb-btn--red:hover { background: #b71c1c; color: #fff; transform: translateY(-2px); }
.pb-btn--ghost { background: transparent; color: var(--pb-blue); border-color: var(--pb-line); }
.pb-btn--ghost:hover { border-color: var(--pb-blue); color: var(--pb-blue); }
.pb-btn--white { background: #fff; color: var(--pb-blue); }
.pb-btn--white:hover { background: var(--pb-yellow); color: #2a2300; }
.pb-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.pb-btn--outline-white:hover { background: #fff; color: var(--pb-blue); }
.pb-btn--sm { padding: 11px 20px; font-size: 14px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.pb-topbar {
    background: var(--pb-blue-dark);
    color: #dfe7f3; font-size: 13.5px;
}
.pb-topbar .pb-container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.pb-topbar a { color: #dfe7f3; }
.pb-topbar a:hover { color: var(--pb-yellow); }
.pb-topbar-left { display: flex; gap: 22px; align-items: center; }
.pb-topbar-left span i { color: var(--pb-yellow); margin-right: 7px; }
.pb-topbar-social { display: flex; gap: 14px; align-items: center; }

.pb-header {
    position: sticky; top: 0; z-index: 999;
    background: #fff; border-bottom: 1px solid var(--pb-line);
    transition: box-shadow .3s;
}
.pb-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.pb-header .pb-container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.pb-logo { display: flex; align-items: center; gap: 12px; }
.pb-logo img { height: 46px; width: auto; }
.pb-logo-text strong { display: block; color: var(--pb-blue); font-size: 17px; font-weight: 800; line-height: 1.1; }
.pb-logo-text span { font-size: 11.5px; color: var(--pb-muted); letter-spacing: .03em; }

.pb-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pb-nav > ul > li { position: relative; }
.pb-nav > ul > li > a {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 14px; font-weight: 600; font-size: 15px; color: var(--pb-ink);
    border-radius: 8px;
}
.pb-nav > ul > li > a:hover,
.pb-nav > ul > li.is-active > a { color: var(--pb-blue); }
.pb-nav > ul > li > a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
    height: 3px; border-radius: 3px; background: var(--pb-yellow);
    transform: scaleX(0); transform-origin: left; transition: .25s;
}
.pb-nav > ul > li:hover > a::after,
.pb-nav > ul > li.is-active > a::after { transform: scaleX(1); }
.pb-nav .has-children > a .caret { font-size: 11px; transition: .25s; }
.pb-nav .has-children:hover > a .caret { transform: rotate(180deg); }

.pb-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--pb-line); border-radius: 12px;
    box-shadow: var(--pb-shadow); padding: 10px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .22s;
    z-index: 50;
}
.pb-dropdown.is-wide { min-width: 320px; }
.pb-nav .has-children:hover > .pb-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.pb-dropdown li a {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 10px 14px; border-radius: 8px; color: var(--pb-ink); font-weight: 600; font-size: 14.5px;
}
.pb-dropdown li a small { display: block; font-weight: 500; color: var(--pb-muted); font-size: 12px; line-height: 1.35; }
/* Menu lebar (Unit Sekolah): tetap horizontal — nama di kiri, badge jenjang di kanan */
.pb-dropdown.is-wide li a { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
.pb-dropdown li a:hover { background: var(--pb-blue-light); color: var(--pb-blue); }
.pb-dropdown li a .badge { font-size: 11px; background: var(--pb-blue-light); color: var(--pb-blue); padding: 2px 8px; border-radius: 20px; font-weight: 700; }

.pb-header-actions { display: flex; align-items: center; gap: 12px; }
.pb-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--pb-line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--pb-blue); font-size: 20px; }

/* Mobile drawer */
.pb-mobile-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: #fff; z-index: 1100; box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transition: right .3s ease; overflow-y: auto; padding: 22px;
}
.pb-mobile-nav.is-open { right: 0; }
.pb-mobile-overlay { position: fixed; inset: 0; background: rgba(15,23,40,.5); z-index: 1099; opacity: 0; visibility: hidden; transition: .3s; }
.pb-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.pb-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--pb-line); }
.pb-mobile-head img { height: 40px; }
.pb-mobile-close { background: none; border: none; font-size: 26px; color: var(--pb-ink); cursor: pointer; line-height: 1; }
.pb-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.pb-mobile-nav > ul > li { border-bottom: 1px solid var(--pb-line); }
.pb-mobile-nav > ul > li > a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; color: var(--pb-ink); }
.pb-mobile-sub { display: none; padding-bottom: 8px !important; }
.pb-mobile-sub.is-open { display: block; }
.pb-mobile-sub li a { display: block; padding: 9px 14px; font-size: 14px; color: var(--pb-muted); }
.pb-mobile-toggle { background: none; border: none; color: var(--pb-blue); font-size: 16px; padding: 8px; cursor: pointer; }
.pb-mobile-cta { margin-top: 20px; }
.pb-mobile-cta .pb-btn { width: 100%; justify-content: center; }

/* =========================================================================
   HERO SLIDER
   ========================================================================= */
.pb-hero { position: relative; }
.pb-hero .swiper-slide { position: relative; }
.pb-hero-slide {
    position: relative; min-height: 620px; display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.pb-hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,32,64,.88) 0%, rgba(20,46,90,.62) 50%, rgba(20,46,90,.25) 100%);
}
.pb-hero-content { position: relative; z-index: 2; max-width: 660px; color: #fff; }
.pb-hero-content .pb-eyebrow { color: var(--pb-yellow); }
.pb-hero-content h1 { color: #fff; font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.pb-hero-content p { color: #e6ecf6; font-size: 18px; max-width: 540px; margin-bottom: 28px; }
.pb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.pb-hero .swiper-pagination { bottom: 96px !important; text-align: left; max-width: var(--pb-container); left: 50% !important; transform: translateX(-50%); padding: 0 20px; }
.pb-hero .swiper-pagination-bullet { width: 30px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.5); opacity: 1; transition: .3s; }
.pb-hero .swiper-pagination-bullet-active { background: var(--pb-yellow); width: 48px; }
.pb-hero-nav { position: absolute; bottom: 96px; right: 50%; transform: translateX(560px); z-index: 5; display: flex; gap: 10px; }
.pb-hero-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: .25s; }
.pb-hero-nav button:hover { background: var(--pb-yellow); color: #2a2300; border-color: var(--pb-yellow); }

/* =========================================================================
   QUICK LINKS (overlap cards under hero)
   ========================================================================= */
.pb-quicklinks { position: relative; z-index: 5; margin-top: -60px; }
.pb-quicklinks .pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-quick-card {
    background: #fff; border-radius: var(--pb-radius); padding: 28px;
    box-shadow: var(--pb-shadow); display: flex; align-items: center; gap: 18px;
    border-bottom: 4px solid transparent; transition: .3s;
}
.pb-quick-card:hover { transform: translateY(-6px); box-shadow: var(--pb-shadow-hover); border-bottom-color: var(--pb-yellow); }
.pb-quick-card .ic { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 14px; background: var(--pb-blue-light); color: var(--pb-blue); display: grid; place-items: center; font-size: 24px; transition: .3s; }
.pb-quick-card:hover .ic { background: var(--pb-blue); color: #fff; }
.pb-quick-card h4 { font-size: 17px; margin: 0 0 3px; color: var(--pb-ink); }
.pb-quick-card p { margin: 0; font-size: 13.5px; }
.pb-quick-card .arrow { margin-left: auto; color: var(--pb-muted); transition: .3s; }
.pb-quick-card:hover .arrow { color: var(--pb-red); transform: translateX(4px); }

/* =========================================================================
   PROFILE / ABOUT INTRO
   ========================================================================= */
.pb-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* Cegah salah satu kolom "meledak" lebarnya karena konten panjang/preformatted */
.pb-about-grid > * { min-width: 0; }
.pb-about-media { position: relative; }
.pb-about-media img { border-radius: var(--pb-radius); width: 100%; object-fit: cover; box-shadow: var(--pb-shadow); }
/* Untuk foto lanskap lebar (page-title.jpg 1920x950 ≈ 2:1): tanpa rasio tetap ia
   hanya setinggi separuh kolom teks di sebelahnya dan terlihat kependekan.
   4:3 memangkasnya di sisi kiri-kanan — bangunan utamanya ada di tengah, jadi
   tetap utuh — sekaligus menyamakan tinggi kedua kolom. */
.pb-about-media--crop img { aspect-ratio: 4 / 3; object-position: center; }
@media (max-width: 640px) {
    .pb-about-media--crop img { aspect-ratio: 3 / 2; }
}
.pb-about-badge {
    position: absolute; left: -24px; bottom: -24px; background: var(--pb-red); color: #fff;
    border-radius: var(--pb-radius); padding: 22px 26px; box-shadow: var(--pb-shadow-hover);
}
.pb-about-badge strong { font-size: 34px; display: block; line-height: 1; }
.pb-about-badge span { font-size: 13px; opacity: .9; }
.pb-feature-list { list-style: none; padding: 0; margin: 22px 0 28px; }
.pb-feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; color: var(--pb-ink); }
.pb-feature-list li i { color: var(--pb-blue); margin-top: 3px; font-size: 18px; }

/* =========================================================================
   CARDS / NEWS
   ========================================================================= */
.pb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pb-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.pb-card {
    background: #fff; border-radius: var(--pb-radius); overflow: hidden;
    box-shadow: var(--pb-shadow); transition: .3s; display: flex; flex-direction: column; height: 100%;
    border: 1px solid var(--pb-line);
}
.pb-card:hover { transform: translateY(-6px); box-shadow: var(--pb-shadow-hover); }
.pb-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.pb-card:hover .pb-card-media img { transform: scale(1.07); }
.pb-card-tag { position: absolute; top: 14px; left: 14px; background: var(--pb-yellow); color: #2a2300; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }
.pb-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pb-card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--pb-muted); margin-bottom: 10px; }
.pb-card-meta i { color: var(--pb-blue); margin-right: 5px; }
.pb-card-body h3 { font-size: 18px; margin: 0 0 10px; }
.pb-card-body h3 a { color: var(--pb-ink); }
.pb-card-body h3 a:hover { color: var(--pb-blue); }
.pb-card-body p { font-size: 14.5px; margin-bottom: 16px; }
.pb-card-link { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--pb-red); display: inline-flex; align-items: center; gap: 8px; }
.pb-card-link:hover { gap: 12px; color: var(--pb-red); }

/* embed berita sekolah badge */
.pb-card-source { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pb-blue); font-weight: 700; margin-bottom: 8px; }

/* =========================================================================
   COUNTER / STATS
   ========================================================================= */
.pb-stats { background: linear-gradient(120deg, var(--pb-blue) 0%, var(--pb-blue-dark) 100%); position: relative; overflow: hidden; }
.pb-stats::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(245,184,0,.25), transparent 70%); }
.pb-stats .pb-grid-4 { position: relative; z-index: 2; }
.pb-stat { text-align: center; color: #fff; padding: 14px; }
.pb-stat .ic { width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 26px; color: var(--pb-yellow); }
.pb-stat .num { font-size: 44px; font-weight: 800; line-height: 1; }
.pb-stat .lbl { font-size: 15px; opacity: .9; margin-top: 8px; }
.pb-stat + .pb-stat { position: relative; }

/* =========================================================================
   SCHOOL UNITS
   ========================================================================= */
.pb-school-card {
    background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius);
    padding: 26px; transition: .3s; height: 100%; position: relative; overflow: hidden;
}
.pb-school-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--pb-blue); transform: scaleX(0); transform-origin: left; transition: .3s; }
.pb-school-card:hover { box-shadow: var(--pb-shadow-hover); transform: translateY(-5px); }
.pb-school-card:hover::before { transform: scaleX(1); }
.pb-school-jenjang { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: #fff; background: var(--pb-red); padding: 5px 12px; border-radius: 8px; margin-bottom: 16px; }
.pb-school-card h3 { font-size: 19px; margin: 0 0 8px; color: var(--pb-blue); }
.pb-school-card .loc { font-size: 14px; color: var(--pb-muted); display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.pb-school-card .loc i { color: var(--pb-yellow); }

/* =========================================================================
   STRUKTUR / TEAM
   ========================================================================= */
.pb-period-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.pb-period-tab { padding: 12px 24px; border-radius: 50px; border: 2px solid var(--pb-line); background: #fff; font-weight: 700; color: var(--pb-muted); cursor: pointer; transition: .25s; }
.pb-period-tab.is-active, .pb-period-tab:hover { background: var(--pb-blue); border-color: var(--pb-blue); color: #fff; }
.pb-period-panel { display: none; }
.pb-period-panel.is-active { display: block; animation: pbFade .4s ease; }
@keyframes pbFade { from { opacity: 0; transform: translateY(12px);} to { opacity:1; transform: none;} }

.pb-person { background: #fff; border-radius: var(--pb-radius); overflow: hidden; box-shadow: var(--pb-shadow); text-align: center; transition: .3s; border: 1px solid var(--pb-line); }
.pb-person:hover { transform: translateY(-6px); box-shadow: var(--pb-shadow-hover); }
.pb-person-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--pb-blue-light); }
.pb-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.pb-person-body { padding: 20px 16px; }
.pb-person-body h4 { font-size: 17px; margin: 0 0 4px; color: var(--pb-ink); }
.pb-person-body span { font-size: 13.5px; color: var(--pb-red); font-weight: 700; }
.pb-person--lead { border-top: 4px solid var(--pb-yellow); }

/* Org leader highlight */
.pb-org-lead { max-width: 320px; margin: 0 auto 40px; }

/* =========================================================================
   GALLERY
   ========================================================================= */
.pb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pb-gallery-item { position: relative; border-radius: var(--pb-radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.pb-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.pb-gallery-item:hover img { transform: scale(1.08); }
.pb-gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,46,90,.85), transparent 60%); opacity: 0; transition: .3s; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.pb-gallery-item:hover .pb-gallery-overlay { opacity: 1; }
.pb-gallery-overlay h5 { color: #fff; font-size: 16px; margin: 0 0 4px; }
.pb-gallery-overlay p { color: #dfe7f3; font-size: 13px; margin: 0; }
.pb-gallery-overlay .zoom { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-yellow); color: #2a2300; display: grid; place-items: center; }
.pb-gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.pb-filter-btn { padding: 9px 20px; border-radius: 50px; border: 2px solid var(--pb-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--pb-muted); cursor: pointer; transition: .25s; }
.pb-filter-btn.is-active, .pb-filter-btn:hover { background: var(--pb-blue); color: #fff; border-color: var(--pb-blue); }

/* =========================================================================
   FILTER SUMBER BERITA
   Daftar sumber bisa belasan unit dengan nama panjang. Di layar lebar bentuk
   pil masih terbaca, di layar sempit ia menumpuk jadi satu layar penuh —
   karena itu di bawah 768px penyaringnya berganti jadi dropdown native.
   ========================================================================= */
.pb-newsfilter { margin-bottom: 36px; }
.pb-newsfilter-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pb-newsfilter-btn { padding: 9px 20px; border-radius: 50px; border: 2px solid var(--pb-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--pb-muted); transition: .25s; }
.pb-newsfilter-btn.is-active, .pb-newsfilter-btn:hover { background: var(--pb-blue); color: #fff; border-color: var(--pb-blue); }

/* Dropdown <details> khusus layar sempit. Bukan <select> karena daftar opsi
   <select> digambar sistem operasi: ukuran huruf dan jaraknya tidak bisa diatur. */
.pb-newsfilter-drop { display: none; position: relative; }

.pb-newsfilter-trigger {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 18px; min-height: 56px;
    border: 1.5px solid var(--pb-line); border-radius: var(--pb-radius-sm);
    background: #fff; cursor: pointer;
    list-style: none; /* buang segitiga bawaan <details> */
    transition: border-color .2s, box-shadow .2s;
}
.pb-newsfilter-trigger::-webkit-details-marker { display: none; }
.pb-newsfilter-trigger:focus-visible { outline: none; border-color: var(--pb-blue); box-shadow: 0 0 0 4px rgba(31, 78, 145, .12); }
.pb-newsfilter-trigger-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pb-newsfilter-trigger .cap { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-muted); line-height: 1.4; }
.pb-newsfilter-trigger .val { font-size: 15px; font-weight: 700; color: var(--pb-blue); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-newsfilter-trigger > i { flex: 0 0 auto; font-size: 12px; color: var(--pb-blue); transition: transform .25s ease; }
.pb-newsfilter-drop[open] .pb-newsfilter-trigger { border-color: var(--pb-blue); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pb-newsfilter-drop[open] .pb-newsfilter-trigger > i { transform: rotate(180deg); }

.pb-newsfilter-panel {
    position: absolute; z-index: 30; left: 0; right: 0; top: 100%;
    max-height: 52vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    border: 1.5px solid var(--pb-blue); border-top: 0;
    border-radius: 0 0 var(--pb-radius-sm) var(--pb-radius-sm);
    background: #fff; box-shadow: var(--pb-shadow-hover);
    animation: pb-newsfilter-open .18s ease-out;
}
@keyframes pb-newsfilter-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .pb-newsfilter-panel { animation: none; }
    .pb-newsfilter-trigger > i { transition: none; }
}

.pb-newsfilter-opt {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px; min-height: 46px;
    font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--pb-ink);
}
.pb-newsfilter-opt + .pb-newsfilter-opt { border-top: 1px solid var(--pb-line); }
.pb-newsfilter-opt:hover, .pb-newsfilter-opt:active { background: var(--pb-blue-light); color: var(--pb-ink); }
.pb-newsfilter-opt.is-active { background: var(--pb-blue-light); color: var(--pb-blue); font-weight: 700; }
.pb-newsfilter-opt.is-active > i { font-size: 12px; }

@media (max-width: 768px) {
    .pb-newsfilter { margin-bottom: 28px; }
    .pb-newsfilter-pills { display: none; }
    .pb-newsfilter-drop { display: block; }
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.pb-contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.pb-contact-info { display: flex; flex-direction: column; gap: 18px; }
.pb-contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 22px; transition: .3s; }
.pb-contact-item:hover { box-shadow: var(--pb-shadow); }
.pb-contact-item .ic { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 12px; background: var(--pb-blue-light); color: var(--pb-blue); display: grid; place-items: center; font-size: 20px; }
.pb-contact-item h5 { margin: 0 0 4px; font-size: 16px; }
.pb-contact-item p { margin: 0; font-size: 14.5px; }
.pb-form { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 30px; box-shadow: var(--pb-shadow); }
.pb-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pb-field { margin-bottom: 16px; }
.pb-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.pb-field input, .pb-field textarea, .pb-field select {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--pb-line); border-radius: 10px;
    font-family: inherit; font-size: 15px; transition: .2s; background: #fbfcfe;
}
.pb-field input:focus, .pb-field textarea:focus, .pb-field select:focus { outline: none; border-color: var(--pb-blue); background: #fff; }
.pb-map { border-radius: var(--pb-radius); overflow: hidden; border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow); }
.pb-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Floating WhatsApp */
/* Tombol mengambang: WhatsApp + Kembali ke atas (roket), berdampingan rapi */
.pb-fab { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: flex-end; gap: 14px; }
.pb-wa-float { position: relative; }
.pb-wa-btn { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 30px rgba(37,211,102,.45); animation: pbPulse 2.2s infinite; }
.pb-wa-btn:hover { color: #fff; transform: scale(1.07); }
@keyframes pbPulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }
.pb-wa-pop { position: absolute; bottom: 74px; right: 0; width: 300px; background: #fff; border-radius: 16px; box-shadow: var(--pb-shadow-hover); overflow: hidden; transform: scale(.9); transform-origin: bottom right; opacity: 0; visibility: hidden; transition: .25s; }
.pb-wa-pop.is-open { transform: scale(1); opacity: 1; visibility: visible; }
.pb-wa-pop-head { background: #075E54; color: #fff; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.pb-wa-pop-head .av { width: 42px; height: 42px; border-radius: 50%; background: #25D366; display: grid; place-items: center; font-size: 22px; }
.pb-wa-pop-head strong { display: block; font-size: 15px; }
.pb-wa-pop-head small { font-size: 12px; opacity: .8; }
.pb-wa-pop-body { padding: 18px; background: #ECE5DD; }
.pb-wa-msg { background: #fff; border-radius: 0 12px 12px 12px; padding: 12px 14px; font-size: 14px; color: #333; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.pb-wa-pop-body .pb-btn { width: 100%; justify-content: center; margin-top: 14px; background: #25D366; color: #fff; }
.pb-wa-pop-body .pb-btn:hover { background: #1da851; }

/* Tombol roket "Kembali ke atas" */
.pb-totop {
	width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
	background: linear-gradient(160deg, #2a63b8 0%, var(--pb-blue) 55%, #16386b 100%);
	color: #fff; font-size: 24px; display: grid; place-items: center;
	box-shadow: 0 10px 28px rgba(31, 78, 145, .45);
	opacity: 0; visibility: hidden; transform: translateY(18px) scale(.85);
	transition: opacity .3s ease, transform .3s ease, box-shadow .25s ease, background .25s ease;
}
.pb-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.pb-totop:hover { box-shadow: 0 14px 32px rgba(31, 78, 145, .6); }
/* Ikon roket FontAwesome menghadap diagonal — putar agar lurus ke atas */
.pb-totop i { display: inline-block; transform: translateY(0) rotate(-45deg); }
.pb-totop:hover i { animation: pbRocket .7s ease-in-out infinite; }
@keyframes pbRocket {
	0%, 100% { transform: translateY(0) rotate(-45deg); }
	50%      { transform: translateY(-5px) rotate(-45deg); }
}

/* =========================================================================
   BREADCRUMB / PAGE HERO
   ========================================================================= */
.pb-breadcrumb { position: relative; padding: 80px 0; background: var(--pb-blue); overflow: hidden; }
/* Selubung gelap sedikit lebih tipis dari sebelumnya supaya foto gedung masih
   terbaca, tapi tetap cukup pekat untuk kontras judul putih di atasnya. */
.pb-breadcrumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,32,64,.88), rgba(31,78,145,.70)), url('../img/bg/page-title.jpg') center/cover; }
.pb-breadcrumb-inner { position: relative; z-index: 2; text-align: center; color: #fff; }
.pb-breadcrumb h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.pb-breadcrumb-nav { display: inline-flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; color: #d7e0ef; }
.pb-breadcrumb-nav a { color: var(--pb-yellow); }
.pb-breadcrumb-nav i { font-size: 11px; opacity: .7; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.pb-footer { background: #0f2747; color: #c4d0e3; padding-top: 70px; }
.pb-footer .pb-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.pb-footer h4 { color: #fff; font-size: 17px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.pb-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--pb-yellow); border-radius: 3px; }
.pb-footer p { color: #aab9d1; font-size: 14.5px; }
.pb-footer ul { list-style: none; padding: 0; margin: 0; }
.pb-footer ul li { margin-bottom: 11px; }
.pb-footer ul li a { color: #c4d0e3; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.pb-footer ul li a::before { content: "\f105"; font-family: "Font Awesome 6 Pro", "FontAwesome"; font-weight: 900; color: var(--pb-yellow); font-size: 12px; }
.pb-footer ul li a:hover { color: #fff; padding-left: 4px; }
.pb-footer-logo img { height: 46px; margin-bottom: 18px; }
.pb-footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; color: #c4d0e3; font-size: 14.5px; }
.pb-footer-contact li i { color: var(--pb-yellow); margin-top: 4px; }
.pb-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.pb-footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: .25s; }
.pb-footer-social a:hover { background: var(--pb-yellow); color: #2a2300; transform: translateY(-3px); }
.pb-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.pb-footer-bottom .pb-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #9fb0cb; }
.pb-footer-bottom a { color: #c4d0e3; }
.pb-footer-bottom a:hover { color: var(--pb-yellow); }
.pb-credit { display: inline-flex; align-items: center; gap: 6px; }
.pb-credit a { font-weight: 700; color: #fff; }

/* =========================================================================
   PROSE (rich text pages)
   ========================================================================= */
.pb-prose { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
/* Konten dari editor kadang tersimpan sebagai blok kode — pastikan tetap membungkus rapi */
.pb-prose pre, .pb-prose code {
    white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word;
    font-family: inherit; font-size: inherit; background: none; padding: 0; color: inherit;
}
.pb-prose pre { margin: 0 0 16px; }
.pb-prose h2 { color: var(--pb-blue); font-size: 26px; margin: 32px 0 14px; }
.pb-prose h3 { color: var(--pb-ink); font-size: 21px; margin: 26px 0 12px; }
.pb-prose p { font-size: 16px; color: #44505f; line-height: 1.85; }
.pb-prose ul { padding-left: 20px; color: #44505f; }
.pb-prose ul li { margin-bottom: 8px; }
.pb-prose img { border-radius: var(--pb-radius); margin: 20px 0; }
.pb-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--pb-radius); overflow: hidden; box-shadow: var(--pb-shadow); }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pb-vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-vmv-card { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 30px; box-shadow: var(--pb-shadow); }
.pb-vmv-card .ic { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.pb-vmv-card:nth-child(1) .ic { background: var(--pb-blue-light); color: var(--pb-blue); }
.pb-vmv-card:nth-child(2) .ic { background: #fdeaea; color: var(--pb-red); }
.pb-vmv-card:nth-child(3) .ic { background: #fff5d6; color: #b8890a; }
.pb-vmv-card h3 { font-size: 20px; color: var(--pb-blue); }

/* timeline (sejarah) */
.pb-timeline { position: relative; padding-left: 0; max-width: 820px; margin: 0 auto; }
.pb-timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 3px; background: var(--pb-line); }
.pb-tl-item { position: relative; padding-left: 64px; padding-bottom: 36px; }
.pb-tl-item:last-child { padding-bottom: 0; }
.pb-tl-dot { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--pb-blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; box-shadow: 0 0 0 5px var(--pb-blue-light); }
.pb-tl-item h4 { color: var(--pb-blue); font-size: 19px; margin-bottom: 6px; }

/* =========================================================================
   DETAIL BERITA (artikel + sidebar widget)
   ========================================================================= */

/* Bilah kemajuan baca, menempel di bawah header sticky */
.pb-readbar { position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 1000; background: transparent; pointer-events: none; }
.pb-readbar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pb-yellow), var(--pb-red)); transition: width .1s linear; }

/* Hero artikel — rata kiri, memberi ruang untuk judul panjang */
.pb-article-hero { position: relative; padding: 64px 0 56px; background: var(--pb-blue); overflow: hidden; }
/* Foto latar sama dengan .pb-breadcrumb; selubungnya sedikit lebih pekat karena
   di sini judul artikel bisa panjang dan rata kiri. */
.pb-article-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,32,64,.90), rgba(31,78,145,.74)), url('../img/bg/page-title.jpg') center/cover; }
.pb-article-hero .pb-container { position: relative; z-index: 2; }
.pb-article-crumbs { display: flex; flex-wrap: wrap; margin-bottom: 20px; }
.pb-article-crumbs span { color: #d7e0ef; }
.pb-article-badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
    background: var(--pb-yellow); color: #2a2300; font-size: 12.5px; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; padding: 7px 14px; border-radius: 20px;
}
.pb-article-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 40px); max-width: 900px; margin-bottom: 18px; }
.pb-article-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; }
.pb-article-meta li { display: inline-flex; align-items: center; gap: 8px; color: #d7e0ef; font-size: 14.5px; font-weight: 600; }
.pb-article-meta li i { color: var(--pb-yellow); }

/* Tata letak dua kolom */
.pb-article-section { padding-top: 46px; }
.pb-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }

.pb-article { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); box-shadow: var(--pb-shadow); overflow: hidden; }
.pb-article-figure { margin: 0; }
.pb-article-figure img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.pb-article-body { padding: 30px 34px 34px; }

/* Bilah aksi: sumber di kiri, tombol bagikan di kanan */
.pb-article-actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--pb-line);
}
.pb-article-actions-info { display: flex; align-items: center; gap: 12px; }
.pb-article-actions-info > i { width: 44px; height: 44px; border-radius: 12px; background: var(--pb-blue-light); color: var(--pb-blue); display: grid; place-items: center; font-size: 18px; }
.pb-article-actions-info strong { display: block; font-size: 15px; color: var(--pb-ink); line-height: 1.3; }
.pb-article-actions-info small { font-size: 13px; color: var(--pb-muted); }
.pb-article-actions-share { display: flex; align-items: center; gap: 8px; }
.pb-article-actions-share > span { font-size: 13px; font-weight: 700; color: var(--pb-muted); margin-right: 2px; }

.pb-share-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--pb-line); background: #fff;
    color: var(--pb-muted); display: grid; place-items: center; font-size: 15px; cursor: pointer; transition: .25s;
}
.pb-share-btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.pb-share-btn.is-wa:hover { background: #25D366; color: #fff; }
.pb-share-btn.is-fb:hover { background: #1877F2; color: #fff; }
.pb-share-btn.is-x:hover { background: #111; color: #fff; }
.pb-share-btn.is-copy:hover { background: var(--pb-blue); color: #fff; }
.pb-share-btn.is-done { background: #1f9d55; color: #fff; border-color: transparent; }

/* Ringkasan */
.pb-article-lead {
    font-size: 17px; line-height: 1.8; color: #38424f; font-weight: 600;
    background: var(--pb-blue-light); border-left: 4px solid var(--pb-blue);
    border-radius: 0 var(--pb-radius-sm) var(--pb-radius-sm) 0; padding: 18px 22px; margin-bottom: 26px;
}

.pb-article-body .pb-prose > *:first-child { margin-top: 0; }
.pb-article-body .pb-prose h2 { scroll-margin-top: 110px; }
.pb-article-body .pb-prose h3 { scroll-margin-top: 110px; }
.pb-article-body .pb-prose blockquote {
    margin: 22px 0; padding: 6px 0 6px 20px; border-left: 4px solid var(--pb-yellow);
    color: var(--pb-ink); font-style: italic;
}
.pb-article-body .pb-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.pb-article-body .pb-prose th, .pb-article-body .pb-prose td { border: 1px solid var(--pb-line); padding: 10px 14px; text-align: left; }
.pb-article-body .pb-prose th { background: var(--pb-blue-light); color: var(--pb-blue); }

/* Atribusi sumber sekolah */
.pb-article-source {
    display: flex; gap: 12px; align-items: flex-start; margin-top: 30px;
    background: #fbfcfe; border: 1px dashed var(--pb-line); border-radius: var(--pb-radius-sm); padding: 16px 18px;
}
.pb-article-source > i { color: var(--pb-blue); margin-top: 3px; }
.pb-article-source p { margin: 0; font-size: 14.5px; }
.pb-article-source a { font-weight: 700; }

/* Bagikan (versi bawah artikel) */
.pb-article-share-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--pb-line); }
.pb-article-share-foot strong { display: block; font-size: 15px; margin-bottom: 12px; }
.pb-share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-share-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px;
    border: 1px solid var(--pb-line); background: #fff; color: var(--pb-muted);
    font-size: 13.5px; font-weight: 700; cursor: pointer; transition: .25s;
}
.pb-share-pill:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.pb-share-pill.is-wa:hover { background: #25D366; color: #fff; }
.pb-share-pill.is-fb:hover { background: #1877F2; color: #fff; }
.pb-share-pill.is-x:hover { background: #111; color: #fff; }
.pb-share-pill.is-tg:hover { background: #229ED9; color: #fff; }
.pb-share-pill.is-copy:hover { background: var(--pb-blue); color: #fff; }
.pb-share-pill.is-done { background: #1f9d55; color: #fff; border-color: transparent; }

/* Navigasi berita sebelumnya / berikutnya */
.pb-article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--pb-line); border-top: 1px solid var(--pb-line); }
.pb-article-nav-item { display: block; background: #fff; padding: 20px 24px; transition: .25s; }
.pb-article-nav-item:hover { background: var(--pb-blue-light); }
.pb-article-nav-item span { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--pb-red); margin-bottom: 6px; }
.pb-article-nav-item strong { font-size: 15px; color: var(--pb-ink); line-height: 1.45; }
.pb-article-nav-item:hover strong { color: var(--pb-blue); }
.pb-article-nav-item.is-next { text-align: right; }
.pb-article-back { padding: 24px 34px 28px; border-top: 1px solid var(--pb-line); }

/* ---------- Sidebar widget ---------- */
.pb-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.pb-widget { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); box-shadow: var(--pb-shadow); padding: 22px; }
.pb-widget-title {
    display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--pb-blue);
    margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pb-line);
}
.pb-widget-title i { color: var(--pb-yellow); }

.pb-widget-facts { list-style: none; margin: 0; padding: 0; }
.pb-widget-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--pb-line); font-size: 14px; }
.pb-widget-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-widget-facts span { color: var(--pb-muted); flex: 0 0 auto; }
.pb-widget-facts strong { color: var(--pb-ink); text-align: right; font-weight: 700; }

/* Daftar isi */
.pb-toc { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow-y: auto; }
.pb-toc a { padding: 8px 12px; border-left: 3px solid var(--pb-line); font-size: 14px; color: var(--pb-muted); font-weight: 600; line-height: 1.45; }
.pb-toc a.is-sub { padding-left: 26px; font-size: 13.5px; font-weight: 500; }
.pb-toc a:hover { color: var(--pb-blue); background: var(--pb-blue-light); }
.pb-toc a.is-active { border-left-color: var(--pb-blue); color: var(--pb-blue); background: var(--pb-blue-light); }

/* Kartu sumber */
.pb-source-card { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pb-source-card img { width: 54px; height: 54px; object-fit: contain; border-radius: 12px; border: 1px solid var(--pb-line); padding: 4px; background: #fff; }
.pb-source-ic { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 12px; background: var(--pb-blue-light); color: var(--pb-blue); display: grid; place-items: center; font-size: 22px; }
.pb-source-card strong { display: block; font-size: 15px; color: var(--pb-ink); line-height: 1.35; margin-bottom: 4px; }
.pb-source-card small { display: block; font-size: 12.5px; color: var(--pb-muted); }
.pb-source-card small i { color: var(--pb-yellow); margin-right: 5px; }
.pb-widget-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-widget-actions .pb-btn { flex: 1 1 auto; justify-content: center; }

/* Daftar berita di sidebar */
.pb-widget-news { list-style: none; margin: 0; padding: 0; }
.pb-widget-news li + li { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--pb-line); }
.pb-widget-news a { display: flex; gap: 12px; align-items: flex-start; }
.pb-widget-news .thumb { flex: 0 0 68px; width: 68px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--pb-blue-light); }
.pb-widget-news .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.pb-widget-news a:hover .thumb img { transform: scale(1.08); }
.pb-widget-news .txt strong { display: block; font-size: 14px; font-weight: 700; color: var(--pb-ink); line-height: 1.45; margin-bottom: 5px; }
.pb-widget-news a:hover .txt strong { color: var(--pb-blue); }
.pb-widget-news .txt small { font-size: 12.5px; color: var(--pb-muted); }
.pb-widget-news .txt small i { color: var(--pb-blue); margin-right: 4px; }
.pb-widget-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--pb-red); }
.pb-widget-more:hover { gap: 12px; color: var(--pb-red); }

/* Daftar tautan sumber + jumlah berita */
.pb-widget-links { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; }
.pb-widget-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--pb-ink);
}
.pb-widget-links a:hover, .pb-widget-links a.is-active { background: var(--pb-blue-light); color: var(--pb-blue); }
.pb-widget-links em { font-style: normal; font-size: 12px; font-weight: 800; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 20px; background: var(--pb-bg); color: var(--pb-muted); }
.pb-widget-links a:hover em, .pb-widget-links a.is-active em { background: var(--pb-blue); color: #fff; }

/* Widget CTA */
.pb-widget--cta { background: linear-gradient(140deg, var(--pb-blue) 0%, var(--pb-blue-dark) 100%); border-color: transparent; color: #fff; }
.pb-widget--cta h3 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; margin-bottom: 10px; }
.pb-widget--cta h3 i { color: var(--pb-yellow); }
.pb-widget--cta p { color: #d7e0ef; font-size: 14px; margin-bottom: 16px; }
.pb-widget--cta .pb-btn { width: 100%; justify-content: center; }
.pb-widget--cta .pb-btn + .pb-btn { margin-top: 10px; }

/* ---------- Responsive detail berita ---------- */
@media (max-width: 1100px) {
    .pb-article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
}
@media (max-width: 992px) {
    .pb-article-layout { grid-template-columns: 1fr; }
    .pb-sidebar { position: static; }
    .pb-widget--toc { display: none; }
}
@media (max-width: 640px) {
    .pb-article-hero { padding: 44px 0 40px; }
    .pb-article-body { padding: 22px 18px 26px; }
    .pb-article-back { padding: 20px 18px 24px; }
    .pb-article-actions { justify-content: flex-start; }
    .pb-article-nav { grid-template-columns: 1fr; }
    .pb-article-nav-item.is-next { text-align: left; }
    .pb-article-figure img { max-height: 260px; }
}

@media (max-width: 1100px) {
    .pb-footer .pb-footer-grid { grid-template-columns: 1fr 1fr; }
    .pb-hero-nav { transform: translateX(0); right: 24px; }
    .pb-hero .swiper-pagination { text-align: center; }
}
@media (max-width: 992px) {
    .pb-nav, .pb-header-actions .pb-btn { display: none; }
    .pb-burger { display: flex; }
    .pb-about-grid, .pb-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .pb-grid-3, .pb-grid-4, .pb-vmv, .pb-gallery { grid-template-columns: repeat(2, 1fr); }
    .pb-quicklinks .pb-grid { grid-template-columns: 1fr; }
    .pb-about-badge { left: 16px; bottom: 16px; }
    .pb-form .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pb-section { padding: 60px 0; }
    .pb-grid-3, .pb-grid-4, .pb-grid-2, .pb-vmv, .pb-gallery { grid-template-columns: 1fr; }
    .pb-hero-slide { min-height: 520px; }
    .pb-topbar-left { gap: 14px; }
    .pb-topbar .pb-container { font-size: 12px; }
    .pb-footer .pb-footer-grid { grid-template-columns: 1fr; }
    .pb-stat .num { font-size: 36px; }
}
