/* Admin + Frontend small styles */
.gg-faq-wrap .gg-faq-row { margin-bottom: 14px; }
.gg-faq-wrap .desc { color:#666; display:block; margin-top:6px; }
.gg-faq-table { width:100%; border-collapse: collapse; }
.gg-faq-table th, .gg-faq-table td { vertical-align: top; padding:8px; border-bottom:1px solid #e5e5e5; }
.gg-faq-table .wp-editor-wrap { min-width: 320px; }

/* Frontend accordion */
.gg-faq-block { margin-top: 32px; }
.gg-faq-title, .gg-faq-cat-title { margin: 18px 0 10px; }
.gg-faq-item { border:1px solid #e5e7eb; border-radius:12px; padding:0.25rem 0.75rem; margin-bottom:10px; background:#fff; }
.gg-faq-item > summary { cursor:pointer; font-weight:600; padding:10px 4px; outline:none; list-style:none; }
.gg-faq-item[open] > summary { border-bottom:1px solid #f1f5f9; }
.gg-faq-a { padding:10px 4px 12px; }

/* === Numbered FAQ (continuous) === */
.gg-faq-block{ counter-reset: faq; }               /* mulai dari 0 */
.gg-faq-item > summary{
  list-style: none;                                 /* hilangkan marker default <details> */
  position: relative;
  padding-left: 36px;                               /* ruang untuk angka */
}
.gg-faq-item > summary::-webkit-details-marker{ display:none; }

.gg-faq-item > summary::before{
  counter-increment: faq;
  content: counter(faq) ".";
  position: absolute; left: 8px; top: 10px;
  font-weight: 700;
  color: var(--gg-accent, #f08519);
  /* kalau mau gaya badge bulat, uncomment 4 baris di bawah */
  /* background: var(--gg-accent, #f08519); color:#fff; */
  /* width:24px; height:24px; line-height:24px; text-align:center; border-radius:999px; */
  /* top: 8px; left: 6px; content: counter(faq); */
}
