/* =========================================================
   KABAYAN — NPPN
   Komponen khusus artikel NPPN.
   Basis tipografi/komponen umum mengikuti jasakonstruksi.css.
   ========================================================= */

.nppn-article {
  --nppn-blue-soft: #eef6ff;
  --nppn-green-soft: #edf8ef;
  --nppn-red-soft: #fff0ee;
  --nppn-border: #e8e8ed;
  --nppn-muted: #6e6e73;
}

.nppn-article a {
  text-underline-offset: 3px;
}

.nppn-eligibility-grid,
.nppn-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.nppn-eligibility-card,
.nppn-region-card,
.nppn-example-box,
.nppn-consequence-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--nppn-border);
  border-radius: 22px;
  background: #fff;
}

.nppn-card-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.nppn-label-red {
  background: var(--nppn-red-soft);
  color: var(--red);
}

.nppn-eligibility-card h3,
.nppn-example-box h3,
.nppn-consequence-card h3,
.nppn-region-card h3 {
  margin: 0 0 9px !important;
  color: var(--near-black) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
}

.nppn-eligibility-card p,
.nppn-region-card p,
.nppn-example-box p,
.nppn-consequence-card p {
  margin: 0 !important;
  color: #515154 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}

.nppn-example-box {
  margin: 28px 0 34px;
  background:
    radial-gradient(circle at 95% 5%, rgba(0, 113, 227, .08), transparent 30%),
    #fff;
}

.nppn-example-box .jk-calculation-line:first-of-type {
  margin-top: 17px;
}

.nppn-example-box p {
  margin-top: 15px !important;
}

.nppn-no-list {
  margin-bottom: 26px;
}

/* ---------- Deadline ---------- */
.nppn-deadline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 27px 0;
}

.nppn-deadline-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--nppn-border);
  border-radius: 22px;
  background: #fff;
}

.nppn-deadline-card > span {
  color: var(--nppn-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nppn-deadline-card > strong {
  display: block;
  margin: 9px 0;
  color: var(--near-black);
  font-size: 28px;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.nppn-deadline-card p {
  margin: 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.nppn-timeline,
.nppn-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin: 30px 0 38px;
}

.nppn-timeline-item,
.nppn-flow-node {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--nppn-border);
  border-radius: 19px;
  background: #fff;
}

.nppn-timeline-item span,
.nppn-flow-node span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.nppn-timeline-item strong,
.nppn-flow-node strong {
  display: block;
  color: var(--near-black);
  font-size: 16px;
  line-height: 1.3;
}

.nppn-timeline-item p {
  margin: 7px 0 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.nppn-timeline-arrow,
.nppn-flow-arrow {
  display: grid;
  place-items: center;
  color: #b7b7bd;
  font-size: 22px;
}

.nppn-flow-danger {
  border-color: #f1c4c0;
  background: var(--nppn-red-soft);
}

.nppn-flow-danger span {
  color: var(--red);
}

.nppn-consequence-card {
  margin: 28px 0 24px;
  border-color: #f1c4c0;
  background:
    radial-gradient(circle at 94% 8%, rgba(215, 0, 21, .08), transparent 27%),
    #fff;
}

.nppn-source-link {
  margin-top: 21px !important;
}

.nppn-source-link a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.nppn-source-link a:hover {
  text-decoration: underline;
}

/* ---------- Wilayah ---------- */
.nppn-region-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nppn-region-number {
  width: 38px;
  height: 38px;
  display: grid;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 12px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Tool section ---------- */
.nppn-tool-section {
  margin: 74px 0 42px;
  scroll-margin-top: 86px;
}

.nppn-tool-heading {
  margin-bottom: 23px;
}

.nppn-tool-heading h2 {
  margin: 0 0 13px !important;
}

.nppn-tool-heading p {
  max-width: 720px;
  margin: 0 !important;
  color: #515154 !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

/* ---------- Direktori KLU ---------- */
.nppn-directory-card,
.nppn-calculator-card {
  position: relative;
  padding: 25px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(0, 113, 227, .09), transparent 24%),
    #fff;
  box-shadow: 0 18px 55px rgba(20, 43, 76, .08);
}

.nppn-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.nppn-search-field,
.nppn-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nppn-search-field label,
.nppn-field label {
  color: #515154;
  font-size: 12px;
  font-weight: 680;
}

.nppn-field label span {
  color: var(--medium-gray);
  font-weight: 500;
}

.nppn-search-field input,
.nppn-field input,
.nppn-field select {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d2d2d7;
  border-radius: 13px;
  background: var(--off-white);
  color: var(--near-black);
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.nppn-search-field input:focus,
.nppn-field input:focus,
.nppn-field select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .12);
}

.nppn-field small {
  color: var(--medium-gray);
  font-size: 11px;
  line-height: 1.45;
}

.nppn-clear-button,
.nppn-more-button {
  min-height: 46px;
  padding: 10px 15px;
  border: 0;
  border-radius: 12px;
  background: #f0f0f2;
  color: #313134;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.nppn-clear-button:hover,
.nppn-more-button:hover {
  background: #e8e8ed;
}

.nppn-directory-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 17px 0 12px;
  color: var(--medium-gray);
  font-size: 11px;
  line-height: 1.4;
}

.nppn-directory-table-wrap {
  width: 100%;
  max-height: 620px;
  overflow: auto;
  border: 1px solid var(--nppn-border);
  border-radius: 18px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.article-body .nppn-directory-table {
  width: 100% !important;
  min-width: 830px !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: #fff !important;
}

.article-body .nppn-directory-table thead {
  display: table-header-group !important;
}

.article-body .nppn-directory-table thead th {
  position: sticky;
  z-index: 3;
  top: 0;
  padding: 12px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #26262a !important;
  background: #111113 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  letter-spacing: .03em !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

.article-body .nppn-directory-table tbody {
  display: table-row-group !important;
}

.article-body .nppn-directory-table tr,
.article-body .nppn-directory-table tbody tr,
.article-body .nppn-directory-table tbody tr:nth-child(even),
.article-body .nppn-directory-table tbody tr:hover {
  display: table-row !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.article-body .nppn-directory-table td,
.article-body .nppn-directory-table tbody tr:nth-child(even) td,
.article-body .nppn-directory-table tbody tr:hover td {
  display: table-cell !important;
  padding: 12px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #efeff1 !important;
  background: #fff !important;
  color: #515154 !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  text-transform: none !important;
  vertical-align: top !important;
  overflow-wrap: anywhere;
}

.article-body .nppn-directory-table th:nth-child(1),
.article-body .nppn-directory-table td:nth-child(1) {
  width: 72px !important;
}

.article-body .nppn-directory-table th:nth-child(2),
.article-body .nppn-directory-table td:nth-child(2) {
  width: 39% !important;
}

.article-body .nppn-directory-table th:nth-child(3),
.article-body .nppn-directory-table td:nth-child(3),
.article-body .nppn-directory-table th:nth-child(4),
.article-body .nppn-directory-table td:nth-child(4),
.article-body .nppn-directory-table th:nth-child(5),
.article-body .nppn-directory-table td:nth-child(5) {
  width: 13% !important;
  text-align: center !important;
}

.article-body .nppn-directory-table th:nth-child(6),
.article-body .nppn-directory-table td:nth-child(6) {
  width: 86px !important;
  text-align: right !important;
}

.article-body .nppn-directory-table td:first-child {
  color: var(--near-black) !important;
  font-weight: 720 !important;
  font-variant-numeric: tabular-nums;
}

.nppn-rate-pill {
  display: inline-flex;
  min-width: 43px;
  justify-content: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}

.nppn-rate-pill.is-empty {
  background: #f3f3f5;
  color: #86868b;
}

.nppn-use-button {
  padding: 7px 9px;
  border: 0;
  border-radius: 10px;
  background: #111113;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 680;
  cursor: pointer;
}

.nppn-use-button:hover {
  background: #2c2c2f;
}

.nppn-directory-empty {
  padding: 26px !important;
  color: var(--medium-gray) !important;
  text-align: center !important;
}

.nppn-directory-actions {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.nppn-more-button[hidden] {
  display: none;
}

/* ---------- Kalkulator ---------- */
.nppn-calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.nppn-field-wide {
  grid-column: 1 / -1;
}

.nppn-money-input {
  position: relative;
}

.nppn-money-input > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  color: var(--medium-gray);
  font-size: 13px;
  transform: translateY(-50%);
  pointer-events: none;
}

.nppn-money-input input {
  padding-left: 36px;
}

.nppn-autocomplete {
  position: relative;
}

.nppn-suggestions {
  position: absolute;
  z-index: 50;
  top: 79px;
  right: 0;
  left: 0;
  max-height: 310px;
  overflow-y: auto;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .14);
}

.nppn-suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid #efeff1;
  background: #fff;
  color: var(--near-black);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.nppn-suggestion:last-child {
  border-bottom: 0;
}

.nppn-suggestion:hover,
.nppn-suggestion.is-active {
  background: #f5f9ff;
}

.nppn-suggestion-code {
  color: var(--blue);
  font-size: 11px;
  font-weight: 760;
}

.nppn-suggestion-name {
  color: #515154;
  font-size: 12px;
  line-height: 1.45;
}

.nppn-selected-rate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label rate"
    "context rate";
  align-items: center;
  gap: 3px 14px;
  margin-top: 19px;
  padding: 17px 18px;
  border-radius: 17px;
  background: #f5f5f7;
}

.nppn-selected-rate > span {
  grid-area: label;
  color: var(--medium-gray);
  font-size: 11px;
  font-weight: 650;
}

.nppn-selected-rate > strong {
  grid-area: rate;
  color: var(--near-black);
  font-size: 27px;
  letter-spacing: -.04em;
}

.nppn-selected-rate > small {
  grid-area: context;
  color: #515154;
  font-size: 12px;
  line-height: 1.45;
}

.nppn-selected-rate.is-warning {
  background: var(--nppn-red-soft);
}

.nppn-selected-rate.is-warning > strong,
.nppn-selected-rate.is-warning > small {
  color: #7b302d;
}

.nppn-calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 15px;
}

.nppn-result {
  min-width: 0;
  min-height: 102px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 17px;
  border-radius: 18px;
  background: var(--off-white);
}

.nppn-result span {
  color: var(--medium-gray);
  font-size: 11px;
  line-height: 1.35;
}

.nppn-result strong {
  display: block;
  margin-top: 7px;
  color: var(--near-black);
  font-size: 18px;
  letter-spacing: -.03em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.nppn-result-primary {
  background: #071f3d;
}

.nppn-result-primary span {
  color: #b8d4ee;
}

.nppn-result-primary strong {
  color: #fff;
}

.nppn-result.is-refund {
  background: var(--nppn-green-soft);
}

.nppn-result.is-refund span,
.nppn-result.is-refund strong {
  color: #315f3a;
}

.nppn-calculator-note {
  margin-top: 16px;
  padding: 15px 17px;
  border-radius: 15px;
  background: #fff7e8;
  color: #6d4b14;
}

.nppn-calculator-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.nppn-calculator-note p {
  margin: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

/* ---------- Multi activity ---------- */
.nppn-multi-formula {
  display: grid;
  gap: 9px;
  margin: 26px 0 32px;
}

.nppn-multi-formula > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 17px;
  border: 1px solid var(--nppn-border);
  border-radius: 16px;
  background: #fff;
}

.nppn-multi-formula span {
  color: var(--medium-gray);
  font-size: 12px;
  font-weight: 650;
}

.nppn-multi-formula strong {
  color: var(--near-black);
  font-size: 14px;
}

.nppn-multi-formula .nppn-multi-total {
  border-color: #cfe1f4;
  background: var(--nppn-blue-soft);
}

.nppn-multi-total span,
.nppn-multi-total strong {
  color: #31536f;
}

/* ---------- Compare ---------- */
.nppn-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 28px 0 30px;
}

.nppn-compare-card {
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--nppn-border);
  border-radius: 22px;
  background: #fff;
}

.nppn-compare-card > span {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}

.nppn-compare-card h3 {
  margin: 0 0 9px !important;
  font-size: 21px !important;
}

.nppn-compare-card p {
  margin: 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

/* ---------- Decision ---------- */
.nppn-decision {
  display: grid;
  gap: 11px;
  margin: 27px 0 35px;
}

.nppn-question {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--nppn-border);
  border-radius: 18px;
  background: #fff;
}

.nppn-question > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.nppn-question strong {
  display: block;
  color: var(--near-black);
  font-size: 16px;
}

.nppn-question p {
  margin: 5px 0 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.nppn-disclaimer {
  margin-top: 24px !important;
  padding: 16px 18px;
  border-radius: 15px;
  background: #f5f5f7;
  color: #6e6e73 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nppn-region-grid {
    grid-template-columns: 1fr;
  }

  .nppn-calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nppn-eligibility-grid,
  .nppn-deadline-grid,
  .nppn-calculator-grid,
  .nppn-compare {
    grid-template-columns: 1fr;
  }

  .nppn-field-wide {
    grid-column: auto;
  }

  .nppn-timeline,
  .nppn-flow {
    grid-template-columns: 1fr;
  }

  .nppn-timeline-arrow,
  .nppn-flow-arrow {
    height: 18px;
    transform: rotate(90deg);
  }

  .nppn-search-row {
    grid-template-columns: 1fr;
  }

  .nppn-clear-button {
    width: 100%;
  }

  .nppn-directory-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nppn-directory-card,
  .nppn-calculator-card {
    padding: 18px;
    border-radius: 21px;
  }

  .nppn-directory-table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .article-body .nppn-directory-table {
    min-width: 0 !important;
    table-layout: auto !important;
    background: transparent !important;
  }

  .article-body .nppn-directory-table thead {
    display: none !important;
  }

  .article-body .nppn-directory-table tbody {
    display: grid !important;
    gap: 11px !important;
    background: transparent !important;
  }

  .article-body .nppn-directory-table tr,
  .article-body .nppn-directory-table tbody tr,
  .article-body .nppn-directory-table tbody tr:nth-child(even),
  .article-body .nppn-directory-table tbody tr:hover {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid var(--nppn-border) !important;
    border-radius: 17px !important;
    background: #fff !important;
  }

  .article-body .nppn-directory-table td,
  .article-body .nppn-directory-table tbody tr:nth-child(even) td,
  .article-body .nppn-directory-table tbody tr:hover td {
    display: block !important;
    width: auto !important;
    padding: 11px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid #efeff1 !important;
    background: #fff !important;
    text-align: left !important;
  }

  .article-body .nppn-directory-table td:nth-child(1) {
    grid-column: 1 / -1;
    padding-bottom: 5px !important;
    border-bottom: 0 !important;
    color: var(--blue) !important;
    font-size: 11px !important;
  }

  .article-body .nppn-directory-table td:nth-child(2) {
    grid-column: 1 / -1;
    padding-top: 4px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  .article-body .nppn-directory-table td:nth-child(3),
  .article-body .nppn-directory-table td:nth-child(4),
  .article-body .nppn-directory-table td:nth-child(5) {
    position: relative;
    padding-top: 27px !important;
    text-align: center !important;
  }

  .article-body .nppn-directory-table td:nth-child(3)::before,
  .article-body .nppn-directory-table td:nth-child(4)::before,
  .article-body .nppn-directory-table td:nth-child(5)::before {
    position: absolute;
    top: 7px;
    right: 4px;
    left: 4px;
    color: var(--medium-gray);
    content: attr(data-label);
    font-size: 9px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
  }

  .article-body .nppn-directory-table td:nth-child(6) {
    grid-column: 1 / -1;
    border-bottom: 0 !important;
    text-align: left !important;
  }

  .nppn-use-button {
    width: 100%;
    min-height: 38px;
  }

  .nppn-suggestions {
    top: 78px;
  }

  .nppn-selected-rate {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "rate"
      "context";
  }

  .nppn-selected-rate > strong {
    margin: 2px 0;
  }

  .nppn-calc-results {
    grid-template-columns: 1fr;
  }

  .nppn-result {
    min-height: 88px;
  }

  .nppn-multi-formula > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 440px) {
  .nppn-eligibility-card,
  .nppn-region-card,
  .nppn-example-box,
  .nppn-consequence-card,
  .nppn-deadline-card,
  .nppn-compare-card {
    padding: 20px;
    border-radius: 19px;
  }

  .article-body .nppn-directory-table td:nth-child(3),
  .article-body .nppn-directory-table td:nth-child(4),
  .article-body .nppn-directory-table td:nth-child(5) {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  .nppn-rate-pill {
    min-width: 36px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
  }
}

@media print {
  .nppn-directory-actions,
  .nppn-clear-button,
  .nppn-use-button,
  .nppn-suggestions {
    display: none !important;
  }

  .nppn-directory-table-wrap {
    max-height: none !important;
    overflow: visible !important;
  }

  .nppn-directory-card,
  .nppn-calculator-card {
    box-shadow: none !important;
  }
}


/* =========================================================
   DIREKTORI NPPN RESPONSIF — v3
   Tidak menggunakan <table>, sehingga tidak terkena CSS tabel global
   dan tidak membutuhkan horizontal scroll.
   ========================================================= */

.nppn-directory-list,
.nppn-directory-list * {
  box-sizing: border-box;
}

.nppn-directory-list {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--nppn-border);
  border-radius: 18px;
  background: #fff;
}

.nppn-directory-grid-head,
.nppn-directory-row {
  display: grid;
  grid-template-columns:
    minmax(58px, .62fr)
    minmax(210px, 3.6fr)
    minmax(72px, .92fr)
    minmax(78px, 1fr)
    minmax(72px, .92fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.nppn-directory-grid-head {
  position: sticky;
  z-index: 2;
  top: 0;
  background: #111113;
  color: #fff;
}

.nppn-directory-grid-head > span {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  padding: 11px 10px;
  font-size: 9.5px;
  font-weight: 760;
  letter-spacing: .035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.nppn-directory-grid-head > span:nth-child(n+3) {
  justify-content: center;
  text-align: center;
}

.nppn-directory-grid-body {
  width: 100%;
  min-width: 0;
}

.nppn-directory-row {
  min-height: 70px;
  border-bottom: 1px solid #efeff1;
  background: #fff;
  transition: background .16s ease;
}

.nppn-directory-row:last-child {
  border-bottom: 0;
}

.nppn-directory-row:hover {
  background: #fafafa;
}

.nppn-directory-klu,
.nppn-directory-activity,
.nppn-directory-rate {
  min-width: 0;
  padding: 12px 10px;
}

.nppn-directory-klu {
  display: flex;
  align-items: center;
  color: var(--near-black);
  font-size: 12px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: .015em;
}

.nppn-directory-activity {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #515154;
  font-size: 12.5px;
  line-height: 1.42;
}

.nppn-directory-activity > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nppn-directory-rate {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.nppn-directory-rate-label {
  display: none;
}

.nppn-directory-list .nppn-rate-pill {
  display: inline-flex;
  width: 52px;
  min-width: 52px;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 999px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.nppn-directory-list .nppn-rate-pill.is-empty {
  background: #f3f3f5;
  color: #86868b;
}

.nppn-directory-list .nppn-use-button {
  flex: 0 0 auto;
  min-height: 31px;
  padding: 6px 9px;
  border: 0;
  border-radius: 9px;
  background: #f0f0f2;
  color: #313134;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.nppn-directory-list .nppn-use-button:hover {
  background: #e4e4e7;
  color: #111113;
}

.nppn-directory-list .nppn-directory-empty {
  width: 100%;
  padding: 28px 18px;
  color: var(--medium-gray);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* Sedikit dipadatkan bila lebar artikel berada di kisaran tablet/desktop kecil. */
@media (max-width: 900px) and (min-width: 701px) {
  .nppn-directory-grid-head,
  .nppn-directory-row {
    grid-template-columns:
      minmax(54px, .58fr)
      minmax(170px, 3fr)
      minmax(64px, .82fr)
      minmax(70px, .9fr)
      minmax(64px, .82fr);
  }

  .nppn-directory-grid-head > span,
  .nppn-directory-klu,
  .nppn-directory-activity,
  .nppn-directory-rate {
    padding-right: 7px;
    padding-left: 7px;
  }

  .nppn-directory-grid-head > span {
    font-size: 8.7px;
  }

  .nppn-directory-activity {
    font-size: 11.6px;
  }

  .nppn-directory-list .nppn-use-button {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 9.5px;
  }

  .nppn-directory-list .nppn-rate-pill {
    width: 46px;
    min-width: 46px;
    font-size: 10px;
  }
}

/* Mobile: tiap hasil menjadi kartu. Tetap tanpa horizontal scroll. */
@media (max-width: 700px) {
  .nppn-directory-list {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nppn-directory-grid-head {
    display: none;
  }

  .nppn-directory-grid-body {
    display: grid;
    gap: 11px;
  }

  .nppn-directory-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "klu klu klu"
      "activity activity activity"
      "r10 rprov rlain";
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--nppn-border);
    border-radius: 17px;
    background: #fff;
  }

  .nppn-directory-row:last-child {
    border-bottom: 1px solid var(--nppn-border);
  }

  .nppn-directory-klu {
    grid-area: klu;
    padding: 13px 13px 4px;
    color: var(--blue);
    font-size: 11px;
  }

  .nppn-directory-activity {
    grid-area: activity;
    align-items: flex-start;
    padding: 4px 13px 12px;
    border-bottom: 1px solid #efeff1;
    color: #313134;
    font-size: 13px;
    font-weight: 620;
  }

  .nppn-directory-activity > span {
    padding-top: 3px;
  }

  .nppn-directory-list .nppn-use-button {
    min-height: 30px;
  }

  .nppn-directory-rate {
    position: relative;
    min-height: 70px;
    padding: 28px 5px 10px;
  }

  .nppn-directory-rate-r10 { grid-area: r10; }
  .nppn-directory-rate-rprov { grid-area: rprov; }
  .nppn-directory-rate-rlain { grid-area: rlain; }

  .nppn-directory-rate + .nppn-directory-rate {
    border-left: 1px solid #efeff1;
  }

  .nppn-directory-rate-label {
    position: absolute;
    top: 9px;
    right: 4px;
    left: 4px;
    display: block;
    color: var(--medium-gray);
    font-size: 8.7px;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .nppn-directory-activity {
    flex-direction: column;
    gap: 8px;
  }

  .nppn-directory-list .nppn-use-button {
    width: 100%;
  }

  .nppn-directory-list .nppn-rate-pill {
    width: 44px;
    min-width: 44px;
    font-size: 9.7px;
  }
}

@media print {
  .nppn-directory-list .nppn-use-button {
    display: none !important;
  }
}


/* =========================================================
   HERO MOBILE NPPN — v4
   Alasan:
   - artikel-editorial.css mengubah stat-orbit menjadi 1 kolom <=520px
   - hasilnya terlalu tinggi di iPhone
   - hero NPPN memakai 4 statistik, sehingga lebih tepat 2 x 2
   ========================================================= */

@media (max-width: 760px) {
  .hero {
    padding: 68px 16px 46px;
  }

  .hero::before {
    top: -290px;
    width: 680px;
    height: 520px;
  }

  .hero-inner {
    width: min(100%, 620px);
  }

  .category-pill {
    margin-bottom: 14px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(36px, 9.8vw, 46px);
    letter-spacing: -0.052em;
    line-height: 1.02;
  }

  .gradient-text {
    margin-top: 5px;
  }

  .hero-lead {
    max-width: 540px;
    margin-top: 19px;
    font-size: 16.5px;
    line-height: 1.47;
  }

  .article-meta {
    max-width: 560px;
    margin: 18px auto 0;
    flex-direction: row;
    justify-content: center;
    gap: 4px 8px;
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-actions {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 23px auto 0;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12.5px;
    line-height: 1.2;
  }

  /* Tombol utama satu baris penuh; empat aksi berikutnya menjadi 2 x 2. */
  .hero-actions .button-primary {
    grid-column: 1 / -1;
  }

  .hero-visual {
    width: 100%;
    margin: 27px auto 0;
  }

  .stat-orbit {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 10px;
  }

  .stat-orbit::before {
    inset: 12% 3% 3%;
    border-radius: 36%;
    filter: blur(18px);
  }

  .hero-stat-card,
  .hero-stat-card:nth-child(2),
  .hero-stat-card:nth-child(4) {
    min-height: 112px;
    padding: 16px 10px;
    border-radius: 19px;
    transform: none;
    box-shadow:
      0 12px 28px rgba(20, 43, 76, 0.085),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .hero-stat-card strong {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1;
    white-space: nowrap;
  }

  .hero-stat-card span {
    max-width: 145px;
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.3;
  }
}

@media (max-width: 520px) {
  /* Override aturan global artikel-editorial yang membuat statistik 1 kolom. */
  .hero {
    padding-top: 58px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 9.6vw, 40px);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .article-meta {
    flex-direction: row !important;
    gap: 4px 7px;
    font-size: 10.5px;
  }

  .stat-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-stat-card {
    min-height: 104px;
    padding: 14px 8px;
  }

  .hero-stat-card strong {
    font-size: clamp(23px, 6.8vw, 29px);
  }

  .hero-stat-card span {
    font-size: 9.5px;
  }
}

/* Untuk layar yang sangat sempit, aksi boleh satu kolom,
   tetapi statistik tetap 2 x 2 agar hero tidak terlalu panjang. */
@media (max-width: 350px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button-primary {
    grid-column: auto;
  }

  .stat-orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-stat-card strong {
    font-size: 22px;
  }
}


/* =========================================================
   CEK KELAYAKAN NPPN — v5
   Decision tool Ya/Tidak dengan hasil otomatis.
   ========================================================= */

.nppn-checker,
.nppn-checker * {
  box-sizing: border-box;
}

.nppn-checker {
  position: relative;
  overflow: hidden;
  margin: 28px 0 16px;
  padding: 24px;
  border: 1px solid var(--nppn-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% -10%, rgba(10, 132, 255, .13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 100%);
  box-shadow: 0 16px 42px rgba(20, 43, 76, .07);
}

.nppn-checker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nppn-checker-top > div {
  min-width: 0;
}

.nppn-checker-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nppn-checker-top strong {
  color: var(--near-black);
  font-size: 13px;
  font-weight: 720;
}

.nppn-checker-count {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(10, 132, 255, .13);
  border-radius: 14px;
  background: var(--nppn-blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.nppn-checker-progress {
  height: 5px;
  overflow: hidden;
  margin: 15px 0 25px;
  border-radius: 999px;
  background: #e9e9ec;
}

.nppn-checker-progress > span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width .25s ease;
}

.nppn-checker-stage {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nppn-checker-question {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  max-width: 720px;
  margin: 0 auto;
}

.nppn-checker-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: #111113;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.article-body .nppn-checker-question h3 {
  margin: 0 0 8px !important;
  color: var(--near-black);
  font-size: clamp(21px, 2.6vw, 28px) !important;
  letter-spacing: -.025em;
  line-height: 1.18 !important;
}

.article-body .nppn-checker-question p {
  max-width: 650px;
  margin: 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

.nppn-checker-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 170px));
  justify-content: center;
  gap: 11px;
  margin-top: 27px;
}

.nppn-answer-button {
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease,
    border-color .15s ease;
}

.nppn-answer-button:hover {
  transform: translateY(-1px);
}

.nppn-answer-button:focus-visible,
.nppn-checker-back:focus-visible,
.nppn-result-reset:focus-visible,
.nppn-result-primary:focus-visible {
  outline: 3px solid rgba(10, 132, 255, .25);
  outline-offset: 3px;
}

.nppn-answer-yes {
  border: 1px solid #0a7b42;
  background: #0a7b42;
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 123, 66, .14);
}

.nppn-answer-yes:hover {
  background: #086c39;
}

.nppn-answer-no {
  border: 1px solid #d92d20;
  background: #fff;
  color: #c5221f;
}

.nppn-answer-no:hover {
  background: #fff5f4;
}

.nppn-checker-back {
  align-self: center;
  margin-top: 15px;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: var(--nppn-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.nppn-checker-back:hover {
  color: var(--near-black);
}

.nppn-checker-result {
  max-width: 720px;
  margin: 7px auto 0;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
}

.nppn-checker-result.is-eligible {
  border: 1px solid rgba(10, 123, 66, .18);
  background: #f1faf5;
}

.nppn-checker-result.is-not-eligible {
  border: 1px solid rgba(217, 45, 32, .17);
  background: #fff6f5;
}

.nppn-result-icon {
  display: grid;
  width: 51px;
  height: 51px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 850;
}

.is-eligible .nppn-result-icon {
  background: #0a7b42;
  color: #fff;
}

.is-not-eligible .nppn-result-icon {
  background: #d92d20;
  color: #fff;
}

.nppn-result-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--nppn-muted);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.article-body .nppn-checker-result h3 {
  margin: 0 0 9px !important;
  color: var(--near-black);
  font-size: clamp(22px, 2.7vw, 29px) !important;
  letter-spacing: -.03em;
  line-height: 1.16 !important;
}

.article-body .nppn-checker-result > p {
  max-width: 590px;
  margin: 0 auto !important;
  color: #515154 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
}

.nppn-answer-summary {
  display: grid;
  gap: 7px;
  margin: 19px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left;
}

.nppn-answer-summary li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.nppn-answer-summary li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: #f0f0f2;
  color: #6e6e73;
  font-size: 10px;
  font-weight: 800;
}

.nppn-answer-summary li > div {
  display: contents;
}

.nppn-answer-summary small {
  min-width: 0;
  color: #515154;
  font-size: 10.5px;
  line-height: 1.35;
}

.nppn-answer-summary strong {
  min-width: 45px;
  text-align: right;
  color: var(--near-black);
  font-size: 11px;
}

.nppn-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 19px;
}

.nppn-result-primary,
.nppn-result-reset {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 12px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 740;
  text-decoration: none !important;
  cursor: pointer;
}

.nppn-result-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff !important;
}

.nppn-result-reset {
  border: 1px solid #d1d1d6;
  background: #fff;
  color: #313134;
}

.article-body .nppn-checker-note,
.article-body .nppn-checker-noscript {
  margin: 13px 0 0 !important;
  color: var(--nppn-muted) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.nppn-checker-noscript {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8e6;
}

@media (max-width: 620px) {
  .nppn-checker {
    padding: 18px;
    border-radius: 21px;
  }

  .nppn-checker-progress {
    margin-bottom: 21px;
  }

  .nppn-checker-stage {
    min-height: 285px;
  }

  .nppn-checker-question {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nppn-checker-number {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    font-size: 13px;
  }

  .article-body .nppn-checker-question h3 {
    font-size: 22px !important;
  }

  .article-body .nppn-checker-question p {
    font-size: 13px !important;
  }

  .nppn-checker-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 23px;
  }

  .nppn-answer-button {
    width: 100%;
    min-height: 47px;
  }

  .nppn-checker-result {
    padding: 20px 15px;
  }

  .nppn-answer-summary li {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    padding: 8px 9px;
  }

  .nppn-answer-summary small {
    font-size: 9.5px;
  }
}

@media (max-width: 390px) {
  .nppn-checker-top strong {
    font-size: 12px;
  }

  .nppn-checker-count {
    width: 38px;
    height: 38px;
  }

  .nppn-answer-summary {
    gap: 6px;
  }

  .nppn-answer-summary li {
    grid-template-columns: 25px minmax(0, 1fr);
  }

  .nppn-answer-summary strong {
    grid-column: 2;
    text-align: left;
  }

  .nppn-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nppn-result-primary,
  .nppn-result-reset {
    width: 100%;
  }
}


/* =========================================================
   ICONS — syarat NPPN & closing box
   ========================================================= */

.nppn-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
  color: var(--blue);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 10px 24px rgba(0, 113, 227, .08);
}

.nppn-card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.jk-closing-box {
  position: relative;
}

.nppn-closing-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 14px 34px rgba(5, 34, 77, .26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nppn-closing-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

@media (max-width: 640px) {
  .nppn-card-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .nppn-card-icon svg {
    width: 21px;
    height: 21px;
  }

  .nppn-closing-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    border-radius: 16px;
  }

  .nppn-closing-icon svg {
    width: 24px;
    height: 24px;
  }
}


/* =========================================================
   PANDUAN VISUAL NPPN — v7
   Slideshow 16:9 berdasarkan PDF Tata Cara Pengajuan NPPN.
   ========================================================= */

.nppn-visual-guide,
.nppn-visual-guide * {
  box-sizing: border-box;
}

.nppn-visual-guide {
  width: 100%;
  margin: 28px 0 20px;
  overflow: hidden;
  border: 1px solid var(--nppn-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 43, 76, .08);
}

.nppn-visual-guide:focus-visible {
  outline: 3px solid rgba(10, 132, 255, .25);
  outline-offset: 4px;
}

.nppn-visual-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #ededf0;
  background: #fff;
}

.nppn-visual-guide-head > div:first-child {
  min-width: 0;
}

.nppn-visual-guide-label {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 780;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.nppn-visual-guide-head strong {
  display: block;
  overflow: hidden;
  color: var(--near-black);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nppn-visual-guide-counter {
  display: flex;
  flex: 0 0 auto;
  min-width: 65px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #f2f2f4;
  color: #515154;
  font-size: 11px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.nppn-visual-guide-divider {
  color: #a1a1a6;
  font-weight: 500;
}

.nppn-visual-guide-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f7;
  touch-action: pan-y;
}

.nppn-visual-guide-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5f5f7;
  user-select: none;
  -webkit-user-drag: none;
}

.nppn-slide-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111113;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    opacity .16s ease,
    transform .16s ease,
    background .16s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nppn-slide-arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.nppn-slide-arrow:disabled {
  opacity: .24;
  cursor: default;
}

.nppn-slide-arrow svg {
  width: 19px;
  height: 19px;
}

.nppn-slide-arrow-prev {
  left: 14px;
}

.nppn-slide-arrow-next {
  right: 14px;
}

.nppn-visual-guide-progress {
  height: 4px;
  overflow: hidden;
  background: #e9e9ec;
}

.nppn-visual-guide-progress > span {
  display: block;
  width: calc(100% / 22);
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: var(--blue);
  transition: width .24s ease;
}

.nppn-visual-guide-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px 17px;
  background: #fff;
}

.article-body .nppn-visual-guide-footer p {
  max-width: 630px;
  margin: 0 !important;
  color: #515154 !important;
  font-size: 11.5px !important;
  line-height: 1.5 !important;
}

.nppn-visual-guide-hint {
  flex: 0 0 auto;
  color: #86868b;
  font-size: 9.5px;
  font-weight: 620;
  line-height: 1.45;
  text-align: right;
}

.nppn-visual-guide-note {
  margin-top: 20px;
}

@media (max-width: 700px) {
  .nppn-visual-guide {
    margin-top: 22px;
    border-radius: 18px;
  }

  .nppn-visual-guide-head {
    padding: 13px 14px 12px;
    gap: 10px;
  }

  .nppn-visual-guide-label {
    font-size: 8.5px;
  }

  .nppn-visual-guide-head strong {
    font-size: 12px;
  }

  .nppn-visual-guide-counter {
    min-width: 55px;
    min-height: 34px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 10px;
  }

  .nppn-slide-arrow {
    width: 36px;
    height: 36px;
  }

  .nppn-slide-arrow-prev {
    left: 8px;
  }

  .nppn-slide-arrow-next {
    right: 8px;
  }

  .nppn-slide-arrow svg {
    width: 17px;
    height: 17px;
  }

  .nppn-visual-guide-footer {
    display: block;
    padding: 12px 14px 14px;
  }

  .article-body .nppn-visual-guide-footer p {
    font-size: 10.5px !important;
  }

  .nppn-visual-guide-hint {
    display: block;
    margin-top: 5px;
    font-size: 9px;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .nppn-visual-guide-head strong {
    max-width: 220px;
  }

  .nppn-slide-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .88);
  }

  .nppn-slide-arrow-prev {
    left: 6px;
  }

  .nppn-slide-arrow-next {
    right: 6px;
  }
}

@media print {
  .nppn-slide-arrow,
  .nppn-visual-guide-progress,
  .nppn-visual-guide-hint {
    display: none !important;
  }
}


/* =========================================================
   DOWNLOAD PDF PANDUAN NPPN — v8
   ========================================================= */

.nppn-visual-guide-footer {
  align-items: center;
}

.nppn-visual-guide-footer-main {
  min-width: 0;
  flex: 1 1 auto;
}

.nppn-pdf-download {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d9d9de;
  border-radius: 13px;
  background: #fff;
  color: var(--near-black) !important;
  text-decoration: none !important;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.nppn-pdf-download:hover {
  border-color: #c8c8ce;
  background: #f7f7f9;
  transform: translateY(-1px);
}

.nppn-pdf-download:focus-visible {
  outline: 3px solid rgba(10, 132, 255, .25);
  outline-offset: 3px;
}

.nppn-pdf-download svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--blue);
}

.nppn-pdf-download span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.nppn-pdf-download small {
  color: #86868b;
  font-size: 8.5px;
  font-weight: 650;
  line-height: 1.15;
}

.nppn-pdf-download strong {
  color: var(--near-black);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

@media (max-width: 700px) {
  .nppn-visual-guide-footer {
    display: grid;
    gap: 11px;
  }

  .nppn-visual-guide-footer-main {
    width: 100%;
  }

  .nppn-pdf-download {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }
}

@media print {
  .nppn-pdf-download {
    display: none !important;
  }
}


/* =========================================================
   KLU MOBILE FIX — v10
   Memutus konflik rule lama .nppn-use-button { width:100% }
   yang membuat uraian KLU menyempit hingga huruf-per-huruf.
   ========================================================= */

@media (max-width: 700px) {
  .nppn-directory-list .nppn-directory-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas:
      "klu klu klu"
      "activity activity activity"
      "r10 rprov rlain" !important;
  }

  .nppn-directory-list .nppn-directory-activity {
    grid-area: activity !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 5px 13px 13px !important;
  }

  .nppn-directory-list .nppn-directory-activity > span {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-top: 2px !important;
    color: #313134 !important;
    font-size: 13px !important;
    font-weight: 620 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  /* Override rule mobile lama yang tidak lagi cocok dengan layout grid baru. */
  .nppn-directory-list .nppn-directory-activity .nppn-use-button {
    display: inline-flex !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border-radius: 11px !important;
    white-space: nowrap !important;
  }

  .nppn-directory-list .nppn-directory-klu {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 13px 5px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .nppn-directory-list .nppn-directory-rate {
    min-width: 0 !important;
    min-height: 70px !important;
    padding: 29px 4px 10px !important;
  }

  .nppn-directory-list .nppn-directory-rate-label {
    right: 3px !important;
    left: 3px !important;
    font-size: 8.8px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}

/* iPhone/layar sempit: kartu tetap utuh, tanpa penyempitan teks. */
@media (max-width: 430px) {
  .nppn-directory-list .nppn-directory-row {
    border-radius: 16px !important;
  }

  .nppn-directory-list .nppn-directory-activity {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .nppn-directory-list .nppn-directory-activity > span {
    font-size: 12.5px !important;
  }

  .nppn-directory-list .nppn-rate-pill {
    width: 48px !important;
    min-width: 48px !important;
    font-size: 10px !important;
  }
}

/* =========================================================
   RUMUS DASAR NPPN — Kabayan Formula Highlight
   Override lokal agar tidak memengaruhi artikel lain.
   ========================================================= */

.nppn-article .jk-formula-box.nppn-formula-box {
  position: relative;
  overflow: hidden;
  margin: 34px 0 38px;
  padding: clamp(34px, 5vw, 54px) clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 216, 74, .16), transparent 27%),
    linear-gradient(145deg, #082a52 0%, #0a3568 62%, #0d427d 100%);
  box-shadow: 0 22px 48px rgba(8, 42, 82, .16);
  color: #fff;
  text-align: center;
}

.nppn-article .jk-formula-box.nppn-formula-box::after {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  content: "";
  pointer-events: none;
}

.nppn-article .nppn-formula-label {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 22px;
  color: #b9d8ff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.nppn-article .nppn-formula-title {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(30px, 4.2vw, 48px) !important;
  font-weight: 760 !important;
  letter-spacing: -.045em !important;
  line-height: 1.08 !important;
}

.nppn-article .nppn-formula-equals {
  color: #ffd84a !important;
}

.nppn-article .nppn-formula-expression {
  position: relative;
  z-index: 1;
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  margin: 22px auto 0;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(25px, 3.7vw, 42px) !important;
  font-weight: 720 !important;
  letter-spacing: -.04em !important;
  line-height: 1.16 !important;
}

.nppn-article .nppn-formula-expression > span {
  color: #fff !important;
}

.nppn-article .nppn-formula-operator {
  color: #ffd84a !important;
  font-weight: 850 !important;
}

.nppn-article .nppn-formula-expression .nppn-formula-accent {
  color: #ffd84a !important;
}

@media (max-width: 620px) {
  .nppn-article .jk-formula-box.nppn-formula-box {
    margin: 28px 0 32px;
    padding: 30px 20px;
    border-radius: 21px;
  }

  .nppn-article .nppn-formula-label {
    margin-bottom: 17px;
    font-size: 10px !important;
  }

  .nppn-article .nppn-formula-title {
    font-size: clamp(27px, 8.2vw, 36px) !important;
  }

  .nppn-article .nppn-formula-expression {
    display: grid;
    gap: 7px;
    margin-top: 18px;
    font-size: clamp(23px, 7vw, 31px) !important;
  }

  .nppn-article .nppn-formula-operator {
    font-size: .85em !important;
  }
}

@media print {
  .nppn-article .jk-formula-box.nppn-formula-box {
    border: 1.5px solid #082a52 !important;
    background: #fff !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .nppn-article .nppn-formula-label {
    color: #31536f !important;
  }

  .nppn-article .nppn-formula-title,
  .nppn-article .nppn-formula-expression > span {
    color: #082a52 !important;
  }

  .nppn-article .nppn-formula-equals,
  .nppn-article .nppn-formula-operator,
  .nppn-article .nppn-formula-expression .nppn-formula-accent {
    color: #9a7400 !important;
  }
}

