/* ============================================================
   KURSUS PINTAR — pelatihan.css
   Gaya tambahan untuk halaman & artikel Pelatihan AI dan ISO:
   /pelatihan-ai, /pelatihan-ai-perusahaan, /pelatihan-iso-pse,
   /artikel-pelatihan-ai, /artikel-pelatihan-iso, dan artikel
   ber-kategori pelatihan. Tidak dimuat di halaman les privat.
   Semua kelas diawali .pl- supaya tidak bentrok.
   ============================================================ */

/* ── Breadcrumb di atas hero ─────────────────────────────── */
.pl-breadcrumb { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.pl-breadcrumb::-webkit-scrollbar { display: none; }
.pl-breadcrumb [aria-current] { color: var(--text); font-weight: 600; margin: 0; }

/* ── Penjelas "Apa itu ..." ──────────────────────────────── */
.pl-explainer {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start;
}
.pl-explainer-text .section-title { margin-bottom: 18px; }
.pl-explainer-text p { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }
.pl-explainer-points { display: grid; gap: 14px; }
.pl-explainer-points li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--off); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 18px 20px;
}
.pl-explainer-points b { display: block; font-size: .96rem; color: var(--text); margin-bottom: 4px; }
.pl-explainer-points p { font-size: .86rem; color: var(--muted); line-height: 1.65; }
.pl-ep-ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--border); font-size: 1.1rem;
}

/* ── Materi per divisi ───────────────────────────────────── */
.pl-divisi {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pl-divisi-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 22px; transition: all var(--trans);
}
.pl-divisi-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.pl-divisi-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pl-divisi-head span { font-size: 1.3rem; }
.pl-divisi-head h3 { font-family: var(--font); font-size: .98rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.pl-divisi-card p { font-size: .85rem; color: var(--muted); line-height: 1.7; }

/* ── Galeri dokumentasi ──────────────────────────────────── */
.pl-gallery {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 14px;
}
.pl-fig { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--off); grid-column: span 2; }
.pl-fig.is-big { grid-column: span 4; grid-row: span 2; }
.pl-gallery-5 .pl-fig:nth-child(n+4) { grid-column: span 3; }
.pl-fig a, .pl-fig img { display: block; width: 100%; height: 100%; }
.pl-fig img { object-fit: cover; transition: transform .5s; }
.pl-fig:hover img { transform: scale(1.04); }
.pl-fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 12px;
  background: linear-gradient(to top, rgba(10,22,40,.88), rgba(10,22,40,0));
  color: #fff; font-size: .8rem; line-height: 1.5; pointer-events: none;
}
.pl-fig.is-big figcaption { font-size: .9rem; padding: 48px 22px 18px; }

/* ── Ajakan ke halaman utama (di halaman induk AI) ───────── */
.pl-callout {
  max-width: 1080px; margin: 34px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--warm); border: 1.5px solid #F3D9A6; border-radius: var(--r-lg);
  padding: 24px 28px;
}
.pl-callout-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7c4f00; margin-bottom: 6px; }
.pl-callout p { font-size: .95rem; color: var(--text); line-height: 1.7; max-width: 680px; }
.pl-callout p a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ── Tingkat pelatihan ISO ───────────────────────────────── */
.pl-levels {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: lv;
}
.pl-level {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 24px; display: flex; flex-direction: column; position: relative;
  border-top: 4px solid var(--blue);
}
.pl-level:nth-child(even) { border-top-color: var(--gold); }
.pl-level-no { font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--border); margin-bottom: 10px; }
.pl-level h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pl-level-for { font-size: .76rem; font-weight: 700; color: var(--blue); margin-bottom: 12px; line-height: 1.5; }
.pl-level p { font-size: .85rem; color: var(--muted); line-height: 1.7; flex: 1; }
.pl-level-out { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: .82rem; color: var(--text); line-height: 1.6; }

.pl-update {
  max-width: 1180px; margin: 28px auto 0;
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: 26px 30px; position: relative; overflow: hidden;
}
.pl-update::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245,166,35,.28), transparent 70%);
}
.pl-update-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pl-update h3 { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 10px; }
.pl-update p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.75; max-width: 880px; }
.pl-update-link { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: .9rem; position: relative; z-index: 1; }
.pl-update-link:hover { text-decoration: underline; }

/* ── Artikel pelatihan ───────────────────────────────────── */
.pl-article-main { padding: 56px 8% 72px; }
.pl-kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: #EEF4FF; padding: 5px 12px; border-radius: 999px;
}
.pl-article .article-content figure { margin: 30px 0; }
.pl-article .article-content figure img { width: 100%; height: auto; border-radius: var(--r); }
.pl-article .article-content figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.6; text-align: center; }
.pl-article .article-content ol { list-style: decimal; }
.pl-article .article-content h3 { margin-top: 26px; }
.pl-article .article-content .pl-table-wrap { overflow-x: auto; margin: 22px 0 26px; }
.pl-article .article-content table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.pl-article .article-content th,
.pl-article .article-content td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.pl-article .article-content th { background: var(--off); font-weight: 700; color: var(--navy); }
.pl-article .article-content .pl-note {
  background: #EEF4FF; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0;
  padding: 14px 18px; margin: 24px 0; font-size: .94rem;
}
.pl-article .article-content .pl-note p:last-child { margin-bottom: 0; }
.pl-article .article-content .pl-toc {
  background: var(--off); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 18px 22px; margin: 0 0 30px;
}
.pl-article .article-content .pl-toc b { display: block; margin-bottom: 8px; color: var(--navy); }
.pl-article .article-content .pl-toc ol { margin-bottom: 0; }
.pl-article .article-content .pl-toc li { margin-bottom: 4px; }

.pl-cta-box {
  margin-top: 48px; background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: 30px 32px; position: relative; overflow: hidden;
}
.pl-cta-box::after {
  content: ''; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(37,88,232,.45), transparent 70%);
}
.pl-cta-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pl-cta-box h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 10px; }
.pl-cta-box p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.75; margin-bottom: 20px; position: relative; z-index: 1; }
.pl-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.pl-cta-wa { color: #fff; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

/* ── Responsif ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pl-divisi, .pl-levels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pl-explainer { grid-template-columns: 1fr; gap: 28px; }
  .pl-callout { flex-direction: column; align-items: flex-start; padding: 22px; }
  .pl-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pl-fig, .pl-fig.is-big, .pl-gallery-5 .pl-fig:nth-child(n+4) { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .pl-article-main { padding: 36px 5% 56px; }
  .pl-cta-box { padding: 24px 22px; }
}
@media (max-width: 560px) {
  .pl-divisi, .pl-levels { grid-template-columns: 1fr; }
}

/* Gambar utama artikel: atribut width/height dipakai untuk mencegah
   pergeseran tata letak, tinggi tetap mengikuti rasio 16:9. */
.pl-article .article-thumb { height: auto; }
