/* =====================================================================================================
   WordPress only (no V54 twin): page components on the list pages (Kabar NTFP, Proyek, Lowongan; inc/komponen-daftar.php).
   Their <main> carries komponen.css's page class (nk-komponen) beside its own (nk-halaman-kabar), so a Section, a photo hero
   and a loose component sit as on a module page. These rules keep the rest as it was:
   - the list's own blocks (the featured carousel .nk-karusel, the Kabar tabs .nk-kabar-tab, a list band .nk-pita, the
     hidden page title .sr-only) are not inset, widened or spaced as loose components (komponen.css "Loose components");
   - Kabar NTFP and Proyek already keep the header's room on <main> (dasar.css, project-list-page.css), so their first
     block takes none of its own, and a photo hero at the top goes under the header as on a module page;
   - Lowongan's list band keeps the header's room only when it is the page's first block (lowongan.css .nk-lowongan).
   ===================================================================================================== */
main.nk-halaman-kabar.nk-komponen > :is(.nk-karusel,.nk-kabar-tab,.nk-pita){max-width:none;margin:0;padding-left:0;padding-right:0}
main.nk-halaman-kabar.nk-komponen > .sr-only{max-width:none;margin:0 -1px -1px;padding:0}
/* their buttons (the carousel's, the vacancy rows') keep ui/button.css's one-line button: komponen.css's ".nk-komponen
   .nk-btn" lets a component's button wrap */
main.nk-halaman-kabar.nk-komponen > :is(.nk-karusel,.nk-kabar-tab,.nk-pita) .nk-btn{max-width:none;flex-shrink:0;height:var(--_h);min-height:0;padding-top:0;padding-bottom:0;white-space:nowrap;text-align:revert}

body:is([data-halaman="kabar"],[data-halaman="proyek"]) main.nk-halaman-kabar.nk-komponen > :first-child{--head-h:0px}
body:is([data-halaman="kabar"],[data-halaman="proyek"]) main.nk-halaman-kabar.nk-komponen:has(> .nh-hero:first-child,> .sr-only:first-child + .nh-hero){padding-top:0}

main.nk-halaman-kabar > :not(:first-child) .nk-lowongan{padding-top:40px}
@media (max-width:760px){
  main.nk-halaman-kabar > :not(:first-child) .nk-lowongan{padding-top:32px}
}
