/* ===== panduan.css — 9 card, grid 3 kolom =====
   - Konsisten token dari index.css
   - Grid responsif: 3 → 2 → 1 kolom
*/

html, body{ background:#f7f9fc; }

.guide{ padding: clamp(32px, 4vw, 56px) 0 clamp(70px, 7vw, 110px); }

/* Header */
.g-head h1{
  margin:0 0 6px;
  font-size:clamp(1.6rem, 1rem + 2vw, 2.1rem);
  background:linear-gradient(135deg, var(--g1, #057fc5), var(--g4, #11d9df));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.g-head .muted{ margin:0 0 16px; color:#64748b; }

/* === GRID 9 CARD === */
.g-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

/* Card horizontal (ikon kiri, teks kanan) */
.g-card{
  display:grid;
  grid-template-columns:56px 1fr;
  align-items:flex-start;
  gap:12px;
  background:#fff;
  border:1px solid rgba(6,179,196,.10);
  border-radius:16px;
  padding:14px;
  box-shadow:6px 6px 12px var(--neu-dark, #d6dee9), -6px -6px 12px var(--neu-light, #ffffff);
  transition:transform .18s ease, box-shadow .18s ease, background .22s ease, color .22s ease, border-color .22s ease;
  outline:0;
  cursor:pointer;
}
.g-card:focus-visible{ outline:3px solid var(--g3); outline-offset:2px; }

/* Ikon dalam badge gradient */
.g-ico{
  width:56px; height:56px; border-radius:14px;
  background:linear-gradient(135deg, var(--g1, #057fc5), var(--g4, #11d9df));
  display:grid; place-items:center;
  color:#fff; font-size:22px;
  box-shadow:0 8px 18px rgba(5,127,197,.28);
}

/* Judul & teks */
.g-body h3{
  margin:0 0 4px;
  font-size:1.02rem;
  color:#0b1b2b;
}

/* Deskripsi singkat selalu tampil */
.g-body .g-desc{
  margin:0;
  color:#475569;
  line-height:1.5;
  font-size:.96rem;
}

/* List detail muncul saat card dibuka */
.g-details{
  margin:8px 0 0;
  padding-left:18px;
  color:#4b5563;
  font-size:.93rem;
  line-height:1.55;
  display:none;
}
.g-details li{ margin:3px 0; }

.g-card.open .g-details{
  display:block;
}

.g-body a{
  color:var(--g1);
  text-decoration:none;
  border-bottom:1px dashed rgba(5,127,197,.35);
}
.g-body a:hover{ opacity:.9; }

/* Hover (desktop) */
@media (hover:hover) and (pointer:fine){
  .g-card:hover{
    background:
      linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
      linear-gradient(135deg, var(--g1), var(--g2) 33%, var(--g3) 66%, var(--g4));
    color:#fff;
    border-color:transparent;
    transform:translateY(-3px);
    box-shadow:0 16px 32px rgba(5,127,197,.22);
  }
  .g-card:hover .g-body h3,
  .g-card:hover .g-body .g-desc,
  .g-card:hover .g-details{ color:#fff; }
  .g-card:hover .g-body a{ color:#fff; border-color:rgba(255,255,255,.55); }
}

/* Responsif */
@media (max-width: 980px){
  .g-cards{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 640px){
  .g-cards{ grid-template-columns:1fr; }
  .g-card{ grid-template-columns:52px 1fr; }
  .g-ico{ width:52px; height:52px; }
}
