/* ===== BANNER BERITA (5 terbaru) ===== */
#berita{display:none;background:var(--white,#fff);padding:44px 0 28px;}
#berita.has-news{display:block;}
#berita .bt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px;}
#berita .bt-head h2{font-size:clamp(1.4rem,2.6vw,2rem);margin:0;}
#berita .bt-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-deep,#b97e00);margin-bottom:6px;}
.bt-slider{position:relative;border-radius:22px;overflow:hidden;background:var(--navy-deep,#080d33);box-shadow:var(--shadow-navy,0 30px 60px -20px rgba(8,13,51,.45));touch-action:pan-y;user-select:none;}
.bt-track{display:flex;transition:transform .6s var(--ease,ease);will-change:transform;}
.bt-slide{position:relative;flex:0 0 100%;aspect-ratio:16/9;cursor:pointer;outline:none;}
.bt-slide img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none;-webkit-user-drag:none;}
.bt-slide:focus-visible{outline:3px solid var(--gold-light,#ffd35c);outline-offset:-3px;}
.bt-cap{position:absolute;left:0;right:0;bottom:0;padding:70px 28px 26px;color:#fff;background:linear-gradient(to top,rgba(8,13,51,.92),rgba(8,13,51,.55) 55%,transparent);}
.bt-date{display:inline-block;font-size:.74rem;font-weight:600;letter-spacing:.04em;background:var(--gold,#f0ac00);color:var(--navy-deep,#080d33);padding:3px 11px;border-radius:100px;margin-bottom:10px;}
.bt-cap h3{margin:0 0 8px;font-size:clamp(1.1rem,2.4vw,1.75rem);line-height:1.25;color:#fff;max-width:900px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.bt-more{font-size:.85rem;font-weight:600;color:var(--gold-light,#ffd35c);}
.bt-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);transition:background .2s;z-index:2;}
.bt-arrow:hover{background:rgba(255,255,255,.38);}
.bt-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
.bt-prev{left:14px;}.bt-next{right:14px;}
.bt-dots{position:absolute;right:22px;bottom:18px;display:flex;gap:7px;z-index:2;}
.bt-dots button{width:9px;height:9px;padding:0;border:0;border-radius:100px;background:rgba(255,255,255,.5);cursor:pointer;transition:width .3s,background .3s;}
.bt-dots button.on{width:26px;background:var(--gold,#f0ac00);}
.bt-single .bt-arrow,.bt-single .bt-dots{display:none;}
@media(max-width:700px){
  #berita{padding:28px 0 16px;}
  .bt-cap{padding:36px 14px 30px;}
  .bt-cap h3{font-size:1rem;margin-bottom:0;}
  .bt-more{display:none;}
  .bt-date{margin-bottom:6px;font-size:.68rem;}
  .bt-arrow{width:36px;height:36px;}.bt-prev{left:8px;}.bt-next{right:8px;}
  .bt-dots{right:50%;transform:translateX(50%);bottom:12px;}
}
/* modal artikel */
#bt-modal{position:fixed;inset:0;z-index:10001;display:none;align-items:flex-start;justify-content:center;background:rgba(8,13,51,.7);overflow-y:auto;padding:24px 14px;}
#bt-modal.show{display:flex;}
#bt-modal .bt-box{position:relative;background:#fff;width:100%;max-width:820px;border-radius:20px;overflow:hidden;margin:auto 0;}
#bt-modal .bt-close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(8,13,51,.7);color:#fff;font-size:1.3rem;line-height:1;cursor:pointer;z-index:2;}
#bt-modal img{width:100%;display:block;max-height:460px;object-fit:cover;}
#bt-modal .bt-body{padding:24px 28px 32px;font-family:var(--ff-body,'Inter',sans-serif);}
#bt-modal .bt-meta{font-size:.8rem;color:var(--ink-soft,#4a4f6d);margin-bottom:8px;}
#bt-modal h3{margin:0 0 16px;font-size:clamp(1.3rem,3vw,1.8rem);line-height:1.25;color:var(--navy,#0f1a5c);}
#bt-modal .bt-text{white-space:pre-line;line-height:1.75;color:var(--ink,#0a0e2c);font-size:1rem;overflow-wrap:anywhere;}
@media(max-width:700px){#bt-modal .bt-body{padding:18px 18px 26px;}}
/* pencarian berita */
.bt-search{position:relative;flex:0 1 320px;min-width:200px;}
.bt-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:var(--ink-soft,#4a4f6d);stroke-width:2;stroke-linecap:round;pointer-events:none;}
.bt-search input{width:100%;box-sizing:border-box;padding:10px 14px 10px 38px;border:1.5px solid var(--line,#dfe3f0);border-radius:100px;font:inherit;font-size:.9rem;background:#fff;}
.bt-search input:focus{outline:none;border-color:var(--gold,#f0ac00);}
.bt-results{display:flex;flex-direction:column;gap:10px;}
.bt-results[hidden]{display:none;}
.bt-count,.bt-none{margin:0 0 4px;font-size:.85rem;color:var(--ink-soft,#4a4f6d);}
.bt-hit{display:flex;gap:14px;align-items:stretch;text-align:left;width:100%;padding:10px;border:1.5px solid var(--line,#dfe3f0);border-radius:16px;background:#fff;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s;}
.bt-hit:hover,.bt-hit:focus-visible{border-color:var(--gold,#f0ac00);box-shadow:0 8px 20px -12px rgba(8,13,51,.35);outline:none;}
.bt-hit img{width:128px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;flex:none;background:#eee;}
.bt-hit-t{display:flex;flex-direction:column;gap:3px;min-width:0;}
.bt-hit-t small{color:var(--ink-soft,#4a4f6d);font-size:.76rem;}
.bt-hit-t b{color:var(--navy,#0f1a5c);font-size:1rem;line-height:1.3;}
.bt-hit-t span{color:var(--ink,#0a0e2c);font-size:.85rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.bt-hit mark{background:#ffe9a8;color:inherit;border-radius:3px;padding:0 1px;}
@media(max-width:700px){#berita .bt-head{flex-direction:column;align-items:stretch;}.bt-search{flex:none;}.bt-hit img{width:96px;}}
/* jumlah pembaca & bagikan */
.bt-views{display:inline-block;margin-left:8px;font-size:.74rem;font-weight:600;color:#fff;background:rgba(255,255,255,.18);padding:3px 11px;border-radius:100px;backdrop-filter:blur(4px);}
.bt-share-s{position:absolute;top:14px;right:14px;z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.22);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(6px);transition:background .2s;}
.bt-share-s:hover{background:rgba(255,255,255,.4);}
.bt-share-s svg,.bt-share-b svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
#bt-modal .bt-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;}
#bt-modal .bt-m-views{font-size:.85rem;font-weight:600;color:var(--navy,#0f1a5c);}
#bt-modal .bt-share-b{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border:0;border-radius:100px;background:var(--navy,#0f1a5c);color:#fff;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;}
#bt-modal .bt-share-b:hover{background:var(--navy-deep,#080d33);}
#bt-modal .bt-share-menu{display:none;flex-wrap:wrap;gap:8px;margin:-4px 0 16px;}
#bt-modal .bt-share-menu.show{display:flex;}
#bt-modal .bt-share-menu button{padding:7px 14px;border:1.5px solid var(--line,#dfe3f0);border-radius:100px;background:#fff;color:var(--navy,#0f1a5c);font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;}
#bt-modal .bt-share-menu button:hover{background:var(--gold,#f0ac00);border-color:var(--gold,#f0ac00);}
#bt-modal .bt-share-msg{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(20px);background:rgba(8,13,51,.92);color:#fff;padding:9px 18px;border-radius:100px;font-size:.85rem;opacity:0;pointer-events:none;transition:.25s;}
#bt-modal .bt-share-msg.show{opacity:1;transform:translateX(-50%);}
@media(max-width:700px){.bt-views{margin-left:6px;font-size:.68rem;}.bt-share-s{top:10px;right:10px;width:34px;height:34px;}}
/* daftar di panel admin */
.bt-admin-item{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line,rgba(10,14,44,.1));}
.bt-admin-item img{width:84px;height:56px;object-fit:cover;border-radius:8px;flex:none;background:#eee;}
.bt-admin-item .bt-ai-t{flex:1;min-width:0;}
.bt-admin-item .bt-ai-t b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bt-admin-item .bt-ai-t small{color:#666;}
.bt-admin-item .bt-live{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:100px;background:#e9f9ef;color:#1a6b3a;font-size:.68rem;font-weight:700;}
.bt-admin-item .bt-acts{display:flex;gap:6px;flex:none;}
#bt-preview{max-width:100%;max-height:180px;border-radius:10px;margin-top:8px;display:none;}
#bt-form textarea{width:100%;min-height:160px;padding:11px 13px;border:1px solid var(--line,#ddd);border-radius:10px;font:inherit;resize:vertical;box-sizing:border-box;}

/* Border dokumentasi (admin) */
#bd-admin .bd-preview{width:min(240px,100%);aspect-ratio:4/5;border:1.5px solid #dfe3f0;border-radius:12px;overflow:hidden;
  background:repeating-conic-gradient(#e8eaf3 0% 25%,#fff 0% 50%) 50%/20px 20px;}
#bd-admin .bd-preview img{display:block;width:100%;height:100%;object-fit:fill;}
