/**
 * SNISHOP Skill Studio - Gaya halaman /panduan (indeks + artikel).
 * Mengikuti token merek landing.css (navy #0e2d6c, Inter/Space Grotesk).
 * Lebar baca 720px; tabel dan blok kode punya scroll sendiri supaya
 * tidak pernah memicu scroll horizontal halaman di 390px.
 */

.pd-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.pd-crumbs {
  padding: 18px 0 0;
  font-size: 13px;
  color: #4D5D78;
}

.pd-crumbs a { color: #0e2d6c; text-decoration: none; }
.pd-crumbs a:hover { text-decoration: underline; }
.pd-crumbs span { margin: 0 7px; color: #8896AB; }

/* Judul dan meta ------------------------------------------------------ */
.pd-head { padding: 22px 0 0; }
.pd-head h1,
.pd-article h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(26px, 4.6vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #0a1628;
  margin: 0 0 12px;
}
.pd-intro { font-size: 16px; line-height: 1.7; color: #3d4c66; margin: 0 0 26px; max-width: 640px; }
.pd-meta { font-size: 13.5px; color: #4D5D78; margin: 0 0 22px; }
.pd-meta strong { color: #0e2d6c; font-weight: 600; }

.pd-lead {
  font-size: 16.5px;
  line-height: 1.7;
  color: #25354d;
  background: #F0F3F8;
  border-left: 3px solid #0e2d6c;
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 0 0 26px;
}
.pd-lead p { margin: 0; }
.pd-lead + .pd-lead { margin-top: -14px; }

/* Isi artikel -------------------------------------------------------- */
.pd-article { padding-bottom: 44px; }

.pd-article h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(20px, 3.2vw, 25px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0a1628;
  margin: 34px 0 10px;
}
.pd-article h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0e2d6c;
  margin: 24px 0 8px;
}
.pd-article p { font-size: 15.5px; line-height: 1.75; color: #2b3a52; margin: 0 0 14px; }
.pd-article ul,
.pd-article ol { padding-left: 22px; margin: 0 0 16px; }
.pd-article li { font-size: 15.5px; line-height: 1.72; color: #2b3a52; margin: 0 0 8px; }
.pd-article li strong { color: #0a1628; }
.pd-article a { color: #1e4aa3; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.pd-article em { color: #3d4c66; }

.pd-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  background: #EEF2F8;
  color: #0e2d6c;
  padding: 1.5px 5px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

.pd-pre {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: #0E2D6C;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pd-pre code {
  display: block;
  background: none;
  color: #EAF0FA;
  font-size: 12.8px;
  line-height: 1.62;
  padding: 0;
  white-space: pre;
  overflow-wrap: normal;
}

.pd-article blockquote {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 3px solid #D5DEEB;
  background: #F7F9FC;
  border-radius: 0 10px 10px 0;
}
.pd-article blockquote p { margin: 0 0 8px; font-size: 15px; }
.pd-article blockquote p:last-child { margin-bottom: 0; }

/* Tabel: lebar minimal + scroll di wadahnya, bukan di halaman */
.pd-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #D5DEEB;
  border-radius: 12px;
  margin: 0 0 20px;
  background: #fff;
}
.pd-tablewrap table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 14px;
}
.pd-tablewrap caption { display: none; }
.pd-tablewrap th,
.pd-tablewrap td {
  border-bottom: 1px solid #E4EAF3;
  padding: 10px 13px;
  text-align: left;
  vertical-align: top;
  color: #2b3a52;
}
.pd-tablewrap tbody tr:last-child td { border-bottom: none; }
.pd-tablewrap thead th {
  background: #F0F3F8;
  color: #0e2d6c;
  font-weight: 700;
  white-space: nowrap;
}

/* Galeri contoh hasil ------------------------------------------------ */
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
@media (min-width: 900px) {
  .pd-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pd-shot {
  margin: 0;
  border: 1px solid #D5DEEB;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pd-shot picture { display: block; }
.pd-shot img { display: block; width: 100%; height: auto; background: #0E2D6C; }
.pd-shot figcaption { padding: 9px 11px 11px; font-size: 12.5px; line-height: 1.55; color: #4D5D78; }
.pd-shot figcaption b { display: block; font-size: 12.8px; color: #0e2d6c; margin-bottom: 3px; }
.pd-article > figure.pd-shot { max-width: 320px; }

/* FAQ artikel -------------------------------------------------------- */
.pd-faq { margin: 8px 0 0; }
.pd-faq details {
  border: 1px solid #D5DEEB;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
  background: #fff;
}
.pd-faq summary {
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  color: #0a1628;
}
.pd-faq details p { margin: 10px 0 0; color: #4D5D78; font-size: 14.5px; line-height: 1.7; }

/* Kotak CTA ---------------------------------------------------------- */
.pd-cta {
  background: #0E2D6C;
  border-radius: 16px;
  padding: 22px 22px 20px;
  margin: 30px 0 0;
}
.pd-cta h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}
.pd-cta p { color: #C9D8F2; font-size: 14.5px; line-height: 1.65; margin: 0 0 16px; }
.pd-cta__row { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-cta__row a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.pd-cta__primary { background: #fff; color: #0e2d6c; }
.pd-cta__ghost { border: 1.5px solid #6E90CC; color: #EAF0FA; }
.pd-cta__note { font-size: 13px !important; color: #A9C0E6 !important; margin: 14px 0 0 !important; }

/* Daftar panduan ----------------------------------------------------- */
.pd-list { display: grid; gap: 12px; margin: 6px 0 44px; }
.pd-card {
  display: block;
  background: #fff;
  border: 1px solid #D5DEEB;
  border-radius: 16px;
  padding: 17px 19px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.pd-card:hover { border-color: #307FE2; box-shadow: 0 10px 26px -18px rgba(14, 45, 108, 0.4); }
.pd-card h2,
.pd-card h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #0a1628;
  margin: 0 0 6px;
}
.pd-card p { font-size: 14px; line-height: 1.6; color: #4D5D78; margin: 0 0 8px; }
.pd-card__meta { font-size: 12.5px; color: #8896AB; }
.pd-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e2d6c;
  background: #DCE7FA;
  border-radius: 999px;
  padding: 3px 9px;
  margin: 0 0 9px;
}

.pd-more { margin: 34px 0 0; }
.pd-more h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 12px;
}

/* 404 ---------------------------------------------------------------- */
.pd-notfound { padding: 56px 0 72px; }
.pd-notfound p { font-size: 15.5px; color: #3d4c66; line-height: 1.7; }
.pd-notfound a { color: #1e4aa3; font-weight: 600; }

@media (max-width: 400px) {
  .pd-wrap { padding: 0 16px; }
  .pd-cta { padding: 18px 16px 16px; }
  .pd-cta__row a { width: 100%; text-align: center; }
}
