/* CSS untuk halaman artikel */
body {
  font-family: 'Source Serif 4', serif;
  line-height: 1.8;
}

header {
  background-color: var(--shade-300);
  padding: 2rem;
  text-align: center;
  color: white;
}

header h1 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  font-size: 2.5rem;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

main {
  max-width: 800px;
  margin: 3rem auto;
  background: var(--background-color);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

main h2 {
  font-family: 'Playfair Display', serif;
  color: var(--shade-500);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

/* Sub judul dengan font lebih besar dan bold */
.sub-judul {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--shade-500);
  margin: 1.5rem 0 0.8rem;
}

/* Styling untuk teks miring */
.italic, em {
  font-style: italic;
}

/* Styling untuk teks dengan garis bawah */
.underline, u {
  text-decoration: underline;
  text-decoration-color: var(--shade-300);
  text-decoration-thickness: 1px;
}

/* Styling untuk referensi jurnal */
.jurnal-ref {
  margin-left: 2em;
  text-indent: -2em;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.jurnal-ref em {
  font-style: italic;
}

/* Styling untuk daftar pustaka */
.daftar-pustaka {
  margin-top: 2rem;
  border-top: 1px solid var(--shade-300);
  padding-top: 1.5rem;
}

.daftar-pustaka h3 {
  font-family: 'Playfair Display', serif;
  color: var(--shade-500);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.daftar-pustaka-keterangan {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #666;
}

/* Styling untuk bullet points */
ul.bullet-points {
  margin: 1rem 0 1.5rem 2rem;
  list-style-type: disc;
}

ul.bullet-points li {
  margin-bottom: 0.5rem;
  text-align: left;
  text-indent: 0;
}

/* Styling untuk bullet points dengan check */
ul.check-list {
  margin: 1rem 0 1.5rem 0;
  list-style-type: none;
}

ul.check-list li {
  margin-bottom: 0.8rem;
  text-align: left;
  text-indent: 0;
  padding-left: 1.8rem;
  position: relative;
}

ul.check-list li:before {
  content: '✓';
  color: var(--shade-500);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.author {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 2rem;
}

main p {
  text-indent: 2em; /* indentasi paragraf */
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* Wrapper untuk gambar dan caption */
.image-container {
  width: 100%;
  margin: 1.5rem 0 2rem;
}

img {
  width: 100%;
  border-radius: 8px;
  margin: 0;
  display: block;
}

.image-caption {
  font-size: 0.75rem;
  color: #888;
  padding: 0.3rem 0;
  background-color: transparent;
  border-radius: 0;
  text-align: left;
  font-style: italic;
  line-height: 1.3;
  margin-top: 5px;
}

blockquote {
  border-left: 4px solid var(--shade-300);
  padding-left: 1rem;
  font-style: italic;
  color: var(--text-color);
  background: var(--shade-100);
  margin: 2rem 0;
}

.wave-border {
  background: transparent;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.wave-border svg path {
  fill: var(--shade-300);
}

footer {
  background-color: var(--shade-300);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

footer .social-media a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s;
}

footer .social-media a:hover {
  transform: scale(1.2);
  color: var(--shade-100);
}

footer .copyright {
  margin-top: 1rem;
  font-size: 0.9rem;
}

footer .heart {
  color: pink;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: var(--shade-100);
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  main {
    margin: 1rem;
    padding: 1.5rem;
  }

  main h2 {
    font-size: 1.5rem;
  }
}
