/**
 * KKNI / Jabatan Kerja detail — scoped redesign
 * Readability → Accessibility → Clarity → Hierarchy → Conversion
 * Uses Jabker brand tokens from jabker-brand.css
 */

.jk-page {
  --jk-ink: #101828;
  --jk-body: #344054;
  --jk-muted: #475467;
  --jk-line: #d0d5dd;
  --jk-surface: #ffffff;
  --jk-soft: #f2f4f7;
  --jk-navy: #0b1f3a;
  --jk-navy-mid: #1b3a6b;
  --jk-accent: #0e6b4f;
  --jk-gold: #c9a44c;
  color: var(--jk-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.jk-page h1,
.jk-page h2,
.jk-page h3,
.jk-page h4 {
  color: var(--jk-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.jk-page p,
.jk-page li {
  color: var(--jk-body);
}

.jk-page a:not(.btn):not(.jk-cta-wrap a) {
  color: var(--jk-navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.jk-page a:not(.btn):hover {
  color: var(--jk-accent);
}

/* ---- Hero: full-bleed, high contrast ---- */
.jk-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(7, 20, 40, 0.94) 0%, rgba(11, 31, 58, 0.88) 48%, rgba(14, 107, 79, 0.72) 100%),
    url('/img/jakber-skk.jpg') center/cover no-repeat;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.jk-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201, 164, 76, 0.18), transparent 55%);
  pointer-events: none;
}

.jk-hero .container {
  position: relative;
  z-index: 1;
}

.jk-hero .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.75rem;
}

.jk-hero .breadcrumb-item,
.jk-hero .breadcrumb-item a,
.jk-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.9rem;
}

.jk-hero .breadcrumb-item a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.jk-brand {
  display: inline-block;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.jk-brand span {
  color: var(--jk-gold);
}

.jk-hero h1 {
  color: #fff !important;
  font-size: clamp(1.65rem, 3.6vw, 2.65rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.jk-hero .jk-lede {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 1.125rem;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.jk-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-bottom: 1.75rem;
}

.jk-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.jk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jk-hero .btn-primary {
  background: var(--jk-gold);
  border-color: var(--jk-gold);
  color: var(--jk-navy) !important;
  font-weight: 700;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
}

.jk-hero .btn-primary:hover,
.jk-hero .btn-primary:focus {
  background: #e4c97c;
  border-color: #e4c97c;
  color: var(--jk-navy) !important;
}

.jk-hero .btn-outline-light {
  border-width: 2px;
  color: #fff !important;
  font-weight: 600;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
}

.jk-hero .btn-outline-light:hover,
.jk-hero .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

/* ---- Sections ---- */
.jk-section {
  padding: 3.25rem 0;
}

.jk-section--soft {
  background: var(--jk-soft);
}

.jk-section--navy {
  background: var(--jk-navy);
  color: #fff;
}

.jk-section--navy h2,
.jk-section--navy h3,
.jk-section--navy p,
.jk-section--navy li {
  color: #fff !important;
}

.jk-section--navy p,
.jk-section--navy li {
  color: rgba(255, 255, 255, 0.9) !important;
}

.jk-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jk-accent);
  margin-bottom: 0.65rem;
}

.jk-section--navy .jk-kicker {
  color: var(--jk-gold);
}

.jk-section h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  margin-bottom: 0.85rem;
  max-width: 28ch;
}

.jk-section .jk-intro {
  font-size: 1.0625rem;
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--jk-muted);
}

.jk-section--navy .jk-intro {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Spec strip — not card-heavy */
.jk-spec {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--jk-line);
  border: 1px solid var(--jk-line);
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 2rem 0;
}

.jk-spec__item {
  background: var(--jk-surface);
  padding: 1.15rem 1.25rem;
}

.jk-spec__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jk-muted);
  margin-bottom: 0.35rem;
}

.jk-spec__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jk-ink);
  margin: 0;
}

/* Role / benefit rows */
.jk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.jk-list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-list__item {
  border-top: 3px solid var(--jk-navy-mid);
  background: var(--jk-surface);
  padding: 1.25rem 1.15rem 1.35rem;
}

.jk-section--soft .jk-list__item {
  background: #fff;
}

.jk-list__item strong {
  display: block;
  color: var(--jk-ink);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.jk-list__item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--jk-muted);
}

.jk-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jk-check li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  border-bottom: 1px solid var(--jk-line);
  color: var(--jk-body);
}

.jk-check li:last-child {
  border-bottom: 0;
}

.jk-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--jk-accent);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--jk-accent);
}

/* Process steps */
.jk-steps {
  counter-reset: jkstep;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.jk-steps li {
  counter-increment: jkstep;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--jk-navy-mid);
}

.jk-steps li::before {
  content: counter(jkstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--jk-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.jk-steps strong {
  display: block;
  color: var(--jk-ink);
  margin-bottom: 0.25rem;
}

.jk-steps p {
  margin: 0;
  color: var(--jk-muted);
  font-size: 0.98rem;
}

/* Tables */
.jk-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border: 1px solid var(--jk-line);
  border-radius: 0.65rem;
  background: #fff;
}

.jk-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.jk-table th,
.jk-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--jk-line);
  text-align: left;
  vertical-align: top;
  color: var(--jk-body);
}

.jk-table th {
  background: var(--jk-navy);
  color: #fff !important;
  font-weight: 600;
  white-space: nowrap;
}

.jk-table tr:last-child td {
  border-bottom: 0;
}

.jk-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--jk-ink);
  padding: 0 0 0.65rem;
  font-size: 1rem;
}

/* CTA band — ALWAYS full width; never in narrow columns */
.jk-cta-band {
  padding: 2.5rem 0;
}

.jk-cta-band__inner {
  background: #fff;
  border: 1px solid var(--jk-line);
  border-radius: 0.85rem;
  padding: 2rem 1.25rem 1.5rem;
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.06);
}

.jk-section--navy .jk-cta-band__inner {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.jk-cta-band__title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--jk-ink);
}

.jk-section--navy .jk-cta-band__title {
  color: #fff !important;
}

.jk-cta-band__sub {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  color: var(--jk-muted);
  font-size: 1rem;
}

.jk-section--navy .jk-cta-band__sub {
  color: rgba(255, 255, 255, 0.88) !important;
}

.jk-cta-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.jk-cta-wrap .w-lg-65 {
  width: 100% !important;
  max-width: none;
}

.jk-cta-wrap p {
  color: var(--jk-body) !important;
  font-size: 1.05rem;
}

.jk-section--navy .jk-cta-wrap p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.jk-cta-wrap h5 {
  color: var(--jk-ink) !important;
  font-size: 1.1rem;
}

.jk-section--navy .jk-cta-wrap h5 {
  color: #fff !important;
}

.jk-cta-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: var(--jk-accent);
  color: #fff !important;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none !important;
}

.jk-cta-wrap a:hover,
.jk-cta-wrap a:focus {
  background: #0a5640;
  color: #fff !important;
}

.jk-cta-wrap .avatar,
.jk-cta-wrap .avatar-img {
  max-width: 88px;
}

.jk-cta-wrap .row {
  --bs-gutter-x: 1.5rem;
}

.jk-cta-wrap .col-lg-6,
.jk-cta-wrap .col-md-6,
.jk-cta-wrap .col-sm-6 {
  flex: 0 0 auto;
  width: 50%;
}

@media (max-width: 575.98px) {
  .jk-cta-wrap .col-lg-6,
  .jk-cta-wrap .col-md-6,
  .jk-cta-wrap .col-sm-6,
  .jk-cta-wrap .col-xs-12 {
    width: 100%;
  }
}

/* Related */
.jk-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.jk-related a {
  display: block;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--jk-line);
  border-radius: 0.5rem;
  color: var(--jk-navy-mid) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.jk-related a:hover {
  border-color: var(--jk-navy-mid);
  background: var(--jk-soft);
}

/* FAQ */
.jk-faq details {
  background: #fff;
  border: 1px solid var(--jk-line);
  border-radius: 0.5rem;
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.jk-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--jk-ink);
  list-style: none;
}

.jk-faq summary::-webkit-details-marker {
  display: none;
}

.jk-faq summary::after {
  content: '+';
  float: right;
  color: var(--jk-navy-mid);
  font-weight: 700;
}

.jk-faq details[open] summary::after {
  content: '−';
}

.jk-faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--jk-muted);
}

@media (max-width: 991.98px) {
  .jk-list--3 {
    grid-template-columns: 1fr;
  }

  .jk-spec {
    grid-template-columns: 1fr;
  }

  .jk-related {
    grid-template-columns: 1fr;
  }

  .jk-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .jk-hero h1 {
    max-width: none;
  }
}
