/* [DIUBAH 2026-11-14] File baru: portal News & Berita. Hanya palet resmi STARFINDO ONE. */
.nw-head{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:16px;padding:30px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap}
.nw-eyebrow{font-family:var(--serif);font-style:italic;font-size:18px;color:#16a34a;margin-bottom:6px}
.nw-head h1{font-size:30px;font-weight:700;color:#0f172a;line-height:1.15;letter-spacing:-.01em}
.nw-head p{font-size:13.5px;color:#64748b;margin-top:8px;max-width:560px;line-height:1.6}
.nw-search{display:flex;gap:8px;width:100%;max-width:380px}
.nw-search .in{position:relative;flex:1}
.nw-search .in .icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#64748b;pointer-events:none}
.nw-search input{padding-left:36px;border-radius:10px;background:#fff}

/* Tab kategori */
.nw-cats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.nw-cats a{flex:none;display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:20px;background:#fff;color:#334155;font-size:12.5px;font-weight:600;white-space:nowrap}
.nw-cats a:hover{border-color:#0b63ce;color:#0b63ce;text-decoration:none}
.nw-cats a.on{background:#0b63ce;border-color:#0b63ce;color:#fff}
.nw-cats a span{font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:10px;background:#f1f5f9;color:#64748b}
.nw-cats a.on span{background:rgba(255,255,255,.2);color:#fff}

/* Gambar & placeholder */
.nw-img{position:relative;display:block;overflow:hidden;background:#f1f5f9;border-radius:12px}
.nw-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.nw-img .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#cbd5e1}
a:hover .nw-img img{transform:scale(1.03)}
.nw-cat{display:inline-block;font-size:11px;font-weight:700;color:#16a34a;text-transform:uppercase;letter-spacing:.04em}
.nw-meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:#64748b}
.nw-meta span{display:inline-flex;align-items:center;gap:5px}

/* Headline */
.nw-hl{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:30px}
.nw-hl-main{display:block;color:inherit}
.nw-hl.single{grid-template-columns:1fr}
.nw-hl.single .nw-hl-main{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:center}
.nw-hl.single .nw-hl-main h2{font-size:28px}
.nw-hl-main .nw-img{aspect-ratio:16/9;border-radius:14px}
.nw-hl-main h2{font-size:24px;font-weight:700;color:#0f172a;line-height:1.3;margin:10px 0 8px}
.nw-hl-main p{font-size:13.5px;color:#334155;line-height:1.65;margin-bottom:10px}
.nw-hl-side{display:flex;flex-direction:column;gap:16px}
.nw-hl-item{display:grid;grid-template-columns:140px 1fr;gap:14px;color:inherit;padding-bottom:16px;border-bottom:1px solid #cbd5e1}
.nw-hl-item:last-child{border-bottom:none;padding-bottom:0}
.nw-hl-item .nw-img{aspect-ratio:4/3}
.nw-hl-item h3{font-size:14.5px;font-weight:700;color:#0f172a;line-height:1.35;margin:4px 0 6px}
a.nw-hl-main:hover,a.nw-hl-item:hover,a.nw-card:hover{text-decoration:none}
a.nw-hl-main:hover h2,a.nw-hl-item:hover h3,a.nw-card:hover h3{color:#0b63ce}
.nw-label{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #16a34a}

/* Daftar */
.nw-layout{display:grid;grid-template-columns:1fr 320px;gap:30px;align-items:start}
.nw-layout>*,.nw-hl>*,.nw-grid>*{min-width:0}
.nw-article h1,.nw-hl-main h2,.nw-card h3{overflow-wrap:anywhere}
.nw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.nw-card{display:flex;flex-direction:column;color:inherit}
.nw-card .nw-img{aspect-ratio:16/10;margin-bottom:12px}
.nw-card h3{font-size:15px;font-weight:700;color:#0f172a;line-height:1.4;margin:6px 0 8px}
.nw-card p{font-size:12.5px;color:#64748b;line-height:1.6;margin-bottom:10px;flex:1}
.nw-empty{text-align:center;padding:56px 24px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff}
.nw-empty .ic{width:56px;height:56px;border-radius:16px;background:#f1f5f9;color:#64748b;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.nw-empty h3{font-size:16px;color:#334155;margin-bottom:6px}
.nw-empty p{font-size:13px;color:#64748b}
.nw-filterinfo{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#334155;margin-bottom:16px}
.nw-filterinfo a{font-size:12.5px;font-weight:600;color:#0b63ce}

/* Paginasi */
.nw-pager{display:flex;justify-content:center;gap:6px;margin-top:30px;flex-wrap:wrap}
.nw-pager a,.nw-pager span{min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:8px;font-size:13px;font-weight:600;color:#334155;background:#fff}
.nw-pager a:hover{border-color:#0b63ce;color:#0b63ce;text-decoration:none}
.nw-pager .on{background:#0b63ce;border-color:#0b63ce;color:#fff}

/* Sidebar */
.nw-side .box{border-radius:14px}
.nw-pop{counter-reset:pop;display:flex;flex-direction:column}
.nw-pop a{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:11px 0;border-bottom:1px dashed #cbd5e1;color:inherit;counter-increment:pop}
.nw-pop a:last-child{border-bottom:none}
.nw-pop a::before{content:counter(pop);font-size:20px;font-weight:700;color:#cbd5e1;line-height:1}
.nw-pop b{display:block;font-size:13px;color:#0f172a;line-height:1.4}
.nw-pop a:hover{text-decoration:none}
.nw-pop a:hover b{color:#0b63ce}
.nw-pop small{font-size:11px;color:#64748b}
.nw-list a{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:13px;color:#334155;border-bottom:1px solid #f1f5f9}
.nw-list a:last-child{border-bottom:none}
.nw-list a:hover,.nw-list a.on{color:#0b63ce;text-decoration:none}
.nw-list a.on{font-weight:700}
.nw-list a span{font-size:11px;color:#64748b}

/* Detail */
.nw-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;color:#64748b;margin-bottom:18px}
.nw-crumb a{color:#64748b}
.nw-crumb a:hover{color:#0b63ce}
.nw-article h1{font-size:32px;font-weight:700;color:#0f172a;line-height:1.25;letter-spacing:-.01em;margin:10px 0 14px}
.nw-article .nw-lead{font-size:16px;color:#334155;line-height:1.7;margin-bottom:16px}
.nw-article .nw-meta{font-size:12.5px;padding:12px 0;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;margin-bottom:24px;justify-content:space-between;align-items:center}
.nw-cover{margin:0 0 26px}
.nw-cover .nw-img{aspect-ratio:16/9;border-radius:14px}
.nw-cover figcaption{font-size:12px;color:#64748b;margin-top:8px;line-height:1.5}
.nw-body{font-size:17px;line-height:1.8;color:#0f172a}
.nw-body p{margin:0 0 1.15em}
.nw-body h2{font-family:inherit;font-size:22px;font-weight:700;margin:1.6em 0 .6em;color:#0f172a}
.nw-body ul,.nw-body ol{margin:0 0 1.15em 1.3em}
.nw-body li{margin-bottom:.4em}
.nw-body blockquote{margin:1.4em 0;padding:4px 0 4px 18px;border-left:3px solid #16a34a;color:#334155;font-style:italic}
.nw-body a{color:#0b63ce;text-decoration:underline;text-underline-offset:3px;word-break:break-word}
.nw-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;align-items:start}
.nw-gallery button{padding:0;border:0;background:none;cursor:zoom-in;text-align:left}
.nw-gallery .nw-img{aspect-ratio:4/3;border-radius:10px}
.nw-gallery small{display:block;font-size:11.5px;color:#64748b;margin-top:5px;line-height:1.4}
.nw-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.nw-share b{font-size:12px;color:#334155;margin-right:4px}
.nw-share a,.nw-share button{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer}
.nw-share a:hover,.nw-share button:hover{border-color:#0b63ce;color:#0b63ce}
.nw-section{margin-top:36px}

/* Lightbox galeri */
.nw-lb{position:fixed;inset:0;z-index:300;background:rgba(15,23,42,.92);display:none;align-items:center;justify-content:center;padding:24px}
.nw-lb.on{display:flex}
.nw-lb figure{max-width:min(1100px,100%);max-height:100%;margin:0;text-align:center}
.nw-lb img{max-width:100%;max-height:80vh;border-radius:8px;display:block;margin:0 auto}
.nw-lb figcaption{color:#cbd5e1;font-size:13px;margin-top:10px}
.nw-lb button{position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;width:44px;height:44px;border-radius:50%;font-size:22px;cursor:pointer}
.nw-lb .x{top:18px;right:18px}
.nw-lb .pv{left:18px;top:50%;transform:translateY(-50%)}
.nw-lb .nx{right:18px;top:50%;transform:translateY(-50%)}

@media(max-width:1100px){.nw-layout{grid-template-columns:1fr}.nw-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.nw-hl{grid-template-columns:1fr}.nw-hl.single .nw-hl-main{grid-template-columns:1fr;gap:0}}
@media(max-width:600px){
  .nw-head{padding:22px 18px}.nw-head h1{font-size:24px}.nw-search{max-width:none}
  .nw-grid{grid-template-columns:1fr}.nw-hl-item{grid-template-columns:110px 1fr}
  .nw-article h1{font-size:24px}.nw-body{font-size:16.5px}
}

/* [DIUBAH 2026-11-14] Perapian halaman detail: lebar baca nyaman, bagikan di atas, sidebar menempel */
.nw-read{grid-template-columns:minmax(0,800px) 330px;justify-content:center;gap:56px}
.nw-article h1{font-size:34px}
.nw-article .nw-lead{font-size:17.5px;color:#334155;border-left:3px solid #16a34a;padding-left:16px}
.nw-meta-l{display:flex;flex-wrap:wrap;gap:4px 16px}
.nw-share-sm{gap:6px}
.nw-share-sm a,.nw-share-sm button{width:30px;height:30px}
.nw-body{font-size:17.5px;line-height:1.85}
.nw-body h2{font-size:23px;padding-top:4px}
.nw-body ul,.nw-body ol{padding-left:4px}
.nw-body li::marker{color:#16a34a;font-weight:700}
.nw-body blockquote{font-size:19px;line-height:1.6;color:#0f172a;background:#f8fafc;border-left:4px solid #16a34a;border-radius:0 10px 10px 0;padding:16px 20px}
.nw-endbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:36px;padding:18px 0;border-top:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1}
.nw-cat-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:16px;background:rgba(22,163,74,0.08);color:#16a34a;font-size:12px;font-weight:700}
.nw-cat-chip:hover{text-decoration:none;background:rgba(22,163,74,0.14)}
.nw-back{display:inline-flex;align-items:center;gap:6px;margin-top:18px;font-size:13px;font-weight:600;color:#0b63ce}
.nw-sticky{position:sticky;top:90px}
.nw-mini{display:flex;flex-direction:column;padding-top:8px;padding-bottom:8px}
.nw-mini a{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed #cbd5e1;color:inherit}
.nw-mini a:last-child{border-bottom:none}
.nw-mini a:hover{text-decoration:none}
.nw-mini a:hover b{color:#0b63ce}
.nw-mini .nw-img{aspect-ratio:4/3;border-radius:8px}
.nw-mini b{display:block;font-size:12.5px;color:#0f172a;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nw-mini small{font-size:11px;color:#64748b}
@media(max-width:1100px){.nw-read{grid-template-columns:1fr;gap:30px}.nw-sticky{position:static}}
@media(max-width:600px){.nw-article h1{font-size:25px}.nw-body{font-size:16.5px}.nw-body blockquote{font-size:17px}.nw-article .nw-meta{flex-direction:column;align-items:flex-start;gap:10px}}

/* [DIUBAH 2026-11-14] Halaman daftar berita: kepala ringkas, tab kategori satu baris, dua kolom sejak atas */
.nwx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;padding:6px 0 14px}
.nwx-head h1{font-size:30px;font-weight:700;color:#0f172a;line-height:1.15;letter-spacing:-.01em}
.nwx-head p{font-size:13.5px;color:#64748b;margin-top:6px;max-width:560px;line-height:1.6}
.nwx-tabs{display:flex;gap:2px;overflow-x:auto;margin-bottom:26px;border-bottom:1px solid #cbd5e1;scrollbar-width:none}
.nwx-tabs::-webkit-scrollbar{display:none}
.nwx-tabs a{flex:none;display:inline-flex;align-items:center;gap:7px;padding:13px 14px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#334155;font-size:13px;font-weight:600;white-space:nowrap}
.nwx-tabs a:hover{color:#0b63ce;text-decoration:none}
.nwx-tabs a.on{color:#0b63ce;border-bottom-color:#0b63ce}
.nwx-tabs a span{font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:10px;background:#f1f5f9;color:#64748b}
.nwx-tabs a.on span{background:rgba(11,99,206,0.1);color:#0b63ce}
.nwx-hero{display:block;background:#fff;border:1px solid #cbd5e1;border-radius:16px;overflow:hidden;color:inherit;margin-bottom:28px}
.nwx-hero:hover{text-decoration:none;border-color:#0b63ce}
.nwx-hero:hover h2{color:#0b63ce}
.nwx-hero .nw-img{aspect-ratio:21/9;border-radius:0}
.nwx-hero-txt{display:block;padding:22px 26px 24px}
.nwx-hero h2{font-size:26px;font-weight:700;color:#0f172a;line-height:1.3;margin:8px 0 10px}
.nwx-hero p{font-size:14px;color:#334155;line-height:1.7;margin-bottom:12px;max-width:820px}
.nwx-more{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:13px;font-weight:700;color:#16a34a}
.nwx-subfeat{margin-bottom:30px}
.nwx .nw-grid{grid-template-columns:repeat(2,1fr)}
.nwx .nw-label{margin-top:2px}
.nw-list a.zero{color:#64748b}
@media(min-width:1400px){.nwx .nw-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1100px){.nwx .nw-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.nwx-head h1{font-size:24px}.nwx-hero .nw-img{aspect-ratio:16/10}.nwx-hero-txt{padding:16px}.nwx-hero h2{font-size:20px}.nwx .nw-grid{grid-template-columns:1fr}}
