/* ============================
   Global Article Kit Wrapper
   ============================ */
.sk-article {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e1e1e; /* body text soft black */
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

/* Layout varian bahasa (kalau butuh perbedaan kecil di masa depan) */
.sk-article--id {}
.sk-article--en {}

/* ============================
   Headings & Typography
   ============================ */
.sk-article h1,
.sk-article h2,
.sk-article h3,
.sk-article h4,
.sk-article h5,
.sk-article h6 {
  color: #341c01;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.sk-article h1 {
  font-size: 2rem;
}

.sk-article h2 {
  font-size: 1.5rem;
}

.sk-article h3 {
  font-size: 1.25rem;
}

.sk-article p {
  margin: 0 0 1.1rem;
}

.sk-article ul,
.sk-article ol {
  margin: 0 0 1.25rem 1.25rem;
  padding-left: 1rem;
}

.sk-article li {
  margin-bottom: 0.4rem;
}

/* ============================
   Links
   ============================ */
.sk-article a {
  color: #2a100b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.sk-article a:hover,
.sk-article a:focus-visible {
  color: #341c01; /* hover link color */
  text-decoration-color: #341c01;
}

/* ============================
   Article Header
   ============================ */
.sk-article__header {
  margin-bottom: 1.75rem;
}

.sk-article__meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  margin-bottom: 0.35rem;
}

.sk-article__title {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.25;
}

/* ============================
   Layout Main + Side
   ============================ */
.sk-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.sk-article__main {}

.sk-article__side {
  position: sticky;
  top: 5rem;
  align-self: flex-start;
  font-size: 0.9rem;
}

@media (min-width: 960px) {
  .sk-article__layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  }

  .sk-article {
    padding: 2rem 0 3rem;
  }
}

/* ============================
   Generic Block Card
   ============================ */
.sk-block {
  border-radius: 0.9rem;
  border: 1px solid rgba(52, 28, 1, 0.07);
  background: linear-gradient(
    135deg,
    rgba(52, 28, 1, 0.03),
    rgba(255, 255, 255, 0.98)
  );
  padding: 1.15rem 1.1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sk-block {
    padding: 1.35rem 1.4rem;
  }
}

.sk-block__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.sk-block__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #2a100b; /* icon background */
  color: #fdf7ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.sk-block__titles {
  min-width: 0;
}

.sk-block__kicker {
  margin: 0 0 0.1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #805b37;
}

.sk-block__title {
  margin: 0;
  font-size: 1.1rem;
  color: #341c01;
}

.sk-block__body {
  margin-top: 0.4rem;
}

.sk-block__intro {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #4b4b4b;
}

.sk-block__content {
  font-size: 0.95rem;
}

.sk-block__content p:last-child {
  margin-bottom: 0;
}

.sk-block__empty {
  font-size: 0.9rem;
  color: #7a7a7a;
  margin: 0.4rem 0 0;
}

/* ============================
   Quick Summary Block
   ============================ */
.sk-quick-summary {
  border-left: 3px solid #341c01;
}

/* ============================
   TOC / Daftar Isi
   ============================ */
.sk-toc__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.sk-toc__item {
  margin-bottom: 0.4rem;
}

.sk-toc__link {
  text-decoration: none;
  border-bottom: 1px dashed rgba(52, 28, 1, 0.35);
}

.sk-toc__link:hover {
  border-bottom-color: #341c01;
}

/* ============================
   FAQ
   ============================ */
.sk-faq__list {
  margin-top: 0.4rem;
}

.sk-faq__item {
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(52, 28, 1, 0.06);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.sk-faq__question {
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #341c01;
}

.sk-faq__question:focus-visible {
  outline: 2px solid #341c01;
  outline-offset: 2px;
}

.sk-faq__q-text {
  flex: 1;
}

.sk-faq__chevron {
  font-size: 0.9rem;
  transform-origin: center;
  transition: transform 0.15s ease;
}

/* Konten FAQ (jawaban) */
.sk-faq__answer {
  padding: 0 0.8rem 0.7rem;
  font-size: 0.9rem;
  color: #282828;
}

/* State collapsed (diatur via JS) */
.sk-faq__answer.is-collapsed {
  display: none;
}

/* Saat aria-expanded true di tombol, putar chevron */
.sk-faq__question[aria-expanded="true"] .sk-faq__chevron {
  transform: rotate(180deg);
}

/* ============================
   Toggle Utility
   ============================ */
.is-collapsed {
  display: none;
}

/* ============================
   Related Articles
   ============================ */
.sk-related__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .sk-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sk-related__link {
  display: block;
  padding: 0.75rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(52, 28, 1, 0.08);
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease,
              transform 0.1s ease;
}

.sk-related__link:hover {
  border-color: #341c01;
  background: #fdf7ea;
  transform: translateY(-1px);
}

.sk-related__title {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: #341c01;
}

.sk-related__meta {
  font-size: 0.8rem;
  color: #757575;
}

/* ============================
   Share Buttons
   ============================ */
.sk-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.sk-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(52, 28, 1, 0.15);
  background: #ffffff;
  color: #2a100b;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.1s ease;
}

.sk-share__btn:hover {
  background: #fdf7ea;
  border-color: #341c01;
  transform: translateY(-1px);
}

/* Copy link state */
.sk-share__btn.is-copied {
  background: #2a100b;
  color: #fefaf3;
  border-color: #2a100b;
}

/* ============================
   Misc
   ============================ */
.sk-article figure {
  margin: 1.25rem 0;
}

.sk-article figcaption {
  font-size: 0.8rem;
  color: #6b6b6b;
  margin-top: 0.35rem;
}

.sk-article blockquote {
  border-left: 3px solid #341c01;
  padding-left: 0.9rem;
  margin: 1.4rem 0;
  font-style: italic;
  color: #3a3a3a;
}

.sk-article img {
  border-radius: 20px;
}

/* ============================
   Comments
   ============================ */
.sk-comments {
  margin-top: 2rem;
}

.sk-comments__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.sk-comments__list > li {
  border-bottom: 1px solid rgba(52, 28, 1, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.sk-comments__list .comment-author {
  font-weight: 600;
  color: #341c01;
}

.sk-comments__list .comment-meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.4rem;
}

.sk-comments__form label {
  font-size: 0.85rem;
  color: #341c01;
  display: block;
  margin-bottom: 0.2rem;
}

.sk-comments__form input[type="text"],
.sk-comments__form input[type="email"],
.sk-comments__form input[type="url"],
.sk-comments__form textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(52, 28, 1, 0.2);
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
}

.sk-comments__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #2a100b;
  background: #2a100b;
  color: #fdf7ea;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.1s ease;
}

.sk-comments__submit:hover {
  background: #341c01;
  border-color: #341c01;
  transform: translateY(-1px);
}

/* ============================
   Tags
   ============================ */
.sk-tags {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.sk-tags__label {
  font-weight: 600;
  color: #341c01;
  margin-right: 0.35rem;
}

.sk-tag {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 28, 1, 0.2);
  text-decoration: none;
  font-size: 0.8rem;
  color: #2a100b;
}

.sk-tag:hover {
  background: #fdf7ea;
  border-color: #341c01;
  color: #341c01;
}

/* ============================
   Author box
   ============================ */
.sk-author {
  margin-top: 2rem;
}

.sk-author__header {
  margin-bottom: 0.7rem;
}

.sk-author__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #805b37;
}

.sk-author__body {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.sk-author__avatar img {
  border-radius: 999px;
}

.sk-author__name {
  display: inline-block;
  font-weight: 600;
  color: #341c01;
  text-decoration: none;
  margin-bottom: 0.2rem;
}

.sk-author__name:hover {
  text-decoration: underline;
}

.sk-author__bio {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #333333;
}

/* Share icons */
.sk-share-block .sk-share {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.sk-share__btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #2a100b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.2rem;
}

.sk-share__btn:hover {
  background: #341c01;
}

.sk-share__btn .bi {
  font-size: 1.2rem;
}

/* Daftar Isi header dengan toggle */
.sk-block__header--with-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sk-block__header--with-toggle .sk-block__titles {
  flex: 1;
}

.sk-block__toggle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #2a100b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Author box – tambah jarak dan kerapian label */
.sk-author {
  margin-top: 2.5rem;
}

.sk-author__header {
  margin-bottom: 0.75rem;
}

.sk-author__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #a37543;
}

/* Related posts with thumbnail */
.sk-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.sk-related__link {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.sk-related__link:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.sk-related__thumb {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  object-fit: cover;
  max-height: 160px;
}

.sk-related__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #111827;
}

.sk-related__meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}
/* Aktifkan kembali bullet & numbering di dalam artikel */
.sk-article ul {
  list-style: disc outside !important;
  margin-left: 1.5rem;
}

.sk-article ol {
  list-style: decimal outside !important;
  margin-left: 1.5rem;
}

/* Untuk list bersarang di dalam list */
.sk-article ul ul,
.sk-article ul ol,
.sk-article ol ul,
.sk-article ol ol {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}
/* Paksa warna icon share mengikuti tema */
.sk-share__btn {
  background: #2a100b;
  color: #fdf7ea !important;   /* warna icon + teks di dalam tombol */
}

.sk-share__btn:hover {
  background: #341c01;
  color: #fdf7ea !important;
}

/* Pastikan <i class="bi ..."> ikut warna tombol, bukan warna link global */
.sk-share__btn i.bi {
  color: inherit !important;
}

/* Icon besar di header "Bagikan Artikel" */
.sk-share-block .sk-block__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #2a100b;
  color: #fdf7ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sk-share-block .sk-block__icon i.bi {
  color: inherit !important;
  font-size: 1.2rem;
}