/* =====================================================================
   Certifications (/certifications/, ID /sertifikasi/) — 29 Okt 2026, DRAF. Tidak ada desain Figma: komponen & token situs
   (seperti FAQ). Hero = komponen .pl-hero (components.css); judul section = .section__title (skala situs 52/800/60).
   Teks lain memakai kombinasi yang sudah sah di audit-font.py: 28/800/34, 20/800/28, 18/700/27, 16/500/24, 14/500/20, 14/600/20.
   Di WordPress halaman ini = Laman "Certifications" (template page-statis, kolom isi dibuat otomatis).
   ===================================================================== */

/* ---------- Hero: tim PMI memfumigasi container (foto klien) — subjek di kanan foto ---------- */
.pl-hero--sert .pl-hero__bg img {
  --w: max(1760px, calc(100cqw - var(--edge-pad, 72px) + 416px));
  object-position: 50% 45%;
}
@media (max-width: 860px) {
  .pl-hero--sert .pl-hero__bg img { object-position: 30% 50%; }
}

.sert-head { max-width: 720px; }


/* ---------- Kode registrasi ---------- */
.sert-reg {
  padding-block: 72px;
  background: #FFFFFF;
}
.sert-kode {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.sert-kode__item {
  padding: 28px 28px 30px;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  background: #FAFAFA;
}
.sert-kode__ikon {
  display: block;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: #036F4A;
  color: #FFFFFF;
}
.sert-kode__kode {
  margin: 18px 0 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.01em;
  color: #003E3B;
}
.sert-kode__lokasi {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #01261F;
}
.sert-kode__tahun {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #555555;
}


/* ---------- Metode perlakuan ---------- */
.sert-metode { padding-block: 72px; }                       /* latar halaman #F2F2F2 */
.sert-metode__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.sert-kartu {
  overflow: hidden;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: var(--pmi-shadow, 0 4px 16px rgba(0, 0, 0, .08));
}
.sert-kartu__foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sert-kartu__isi { padding: 24px 28px 30px; }
.sert-kartu__judul {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  color: #003E3B;
}
.sert-kartu__judul svg { flex: none; width: 32px; height: 32px; color: #036F4A; }
.sert-kartu__teks {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #393939;
}


/* ---------- Tanda ISPM 15 ---------- */
.sert-tanda {
  padding-block: 72px;
  background: #FFFFFF;
}
.sert-tanda__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.sert-tanda__foto {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.sert-tanda__list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.sert-tanda__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #393939;
}
.sert-tanda__list li > span { display: block; }             /* bukan span .nowrap (noOrphans) */
.sert-tanda__list svg { flex: none; width: 24px; height: 24px; margin-top: 0; color: #036F4A; }
.sert-tanda__list strong { font-weight: 700; color: #01261F; }


/* ---------- Dokumen ---------- */
.sert-dok { padding-block: 0 96px; background: #FFFFFF; }
.sert-dok__kartu {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 12px;
  background: linear-gradient(160deg, #036F4A 0%, #003E3B 100%);
  color: #FFFFFF;
}
.sert-dok__ikon { display: block; width: 44px; height: 44px; color: #5CD988; }
.sert-dok__judul {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  color: #FFFFFF;
}
.sert-dok__desc {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #FFFFFF;
}
.sert-dok__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sert-dok__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid #FFFFFF;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.sert-dok__btn svg { flex: none; width: 18px; height: 18px; }
.sert-dok__btn--wa { background: #FFFFFF; color: #003E3B; }
.sert-dok__btn--wa svg { width: 20px; height: 20px; color: #048C4D; }
@media (hover: hover) {
  .sert-dok__btn:hover { background: #FFFFFF; color: #003E3B; }
  .sert-dok__btn--wa:hover { background: #C8F8D0; }
}
.sert-dok__btn:focus-visible { outline: 2px solid #5CD988; outline-offset: 2px; }


/* ---------- Tablet & HP ---------- */
@media (max-width: 1100px) {
  .sert-reg, .sert-metode, .sert-tanda { padding-block: 56px; }
  .sert-dok { padding-bottom: 72px; }
  .sert-tanda__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sert-dok__kartu { grid-template-columns: auto minmax(0, 1fr); }
  .sert-dok__btns { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .sert-kode { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  .sert-metode__grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
}
@media (max-width: 768px) {
  .sert-reg, .sert-metode, .sert-tanda { padding-block: 40px; }
  .sert-dok { padding-bottom: 56px; }
  .sert-kode__item { padding: 22px 22px 24px; }
  .sert-kode__kode { font-size: 20px; line-height: 28px; }   /* 20/800/28 (sah) */
  .sert-kartu__isi { padding: 20px 20px 24px; }
  .sert-dok__kartu { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 22px; }
  .sert-dok__btns { display: grid; }
}

/* 12 Nov (user: foto hero pas dengan lebar hero, tidak ter-zoom, subjek tidak tertutup gradasi/teks): foto = hasil GPT
   (tools/bahan-gpt-hero.py) dipotong ber-RASIO KOTAK HERO 1440 dengan subjek di sisi kanan (zona jernih) -> menutup kotak
   hero penuh; 1920 memotong atas-bawah sedikit, tablet & HP memperlihatkan sisi KANAN (subjek). Penjangkaran Figma lama
   (--w, top -98, cermin box-reflect) tidak dipakai lagi. Cek: python tools/ukur-hero.py */
.pl-hero--sert .pl-hero__bg img { --w: 100%; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%;
  -webkit-box-reflect: none; }

/* 19 Nov (user): gambar "The ISPM 15 Mark" = logo resmi IPPC di panel terang 1240x900 (dulu potongan cap buram, strip 2,4:1 yang
   tampak melayang). >=1101 tinggi panel = tinggi teks; bertumpuk (<=1100) dibatasi supaya panel tidak memenuhi layar tablet. */
@media (max-width: 1100px) { .sert-tanda__foto { max-width: 560px; } }
