/* ==========================================================================
   print.css — dipakai halaman transparansi/APBDes/laporan yang sering dicetak
   warga. Menyembunyikan navigasi dan memaksa warna gelap di atas putih.
   ========================================================================== */

@media print {
  :root {
    --gb-cream: #ffffff;
    --gb-cream-200: #ffffff;
    --gb-cream-300: #cccccc;
  }

  html,
  body {
    background: #fff !important;
    color: #000;
    font-size: 11pt;
  }

  .gb-utility,
  .gb-header,
  .gb-ticker,
  .gb-breadcrumb-wrap,
  .gb-footer,
  .gb-to-top,
  .gb-skip,
  .gb-search-overlay,
  .gb-cookie,
  .gb-hero__ornament,
  .gb-page-hero__ornament,
  .gb-no-print {
    display: none !important;
  }

  .gb-page-hero {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 2px solid #000;
    padding: 0 0 0.5rem;
  }

  .gb-page-hero p {
    color: #333 !important;
  }

  .gb-card,
  .gb-data-card,
  .gb-news-feature {
    box-shadow: none !important;
    border: 1px solid #999 !important;
    break-inside: avoid;
  }

  .gb-heading::after {
    background: #000;
  }

  table {
    break-inside: auto;
    font-size: 9.5pt;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    break-inside: avoid;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }

  a[href^="#"]::after,
  a[href^="/"]::after {
    content: "";
  }

  .gb-print-footer {
    display: block !important;
    margin-top: 1rem;
    border-top: 1px solid #000;
    font-size: 9pt;
  }
}

/* Footer khusus cetak: disembunyikan di layar, muncul saat dicetak. */
.gb-print-footer {
  display: none;
}
