/* CSS Khusus untuk Halaman Detail Berita */

#page-content {
  padding-top: 60px;
  padding-bottom: 100px;
  background-color: var(--bg);
}

.news-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent);
}

/* Struktur Artikel Baru */
.artikel-container {
  display: flex;
  flex-direction: column;
}

#artikel-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 16px 0;
  /* Mencegah teks meluap ke kanan */
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

#artikel-date {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 32px 0;
}

#artikel-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

#artikel-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

#artikel-content p {
  margin-bottom: 24px;
}

#artikel-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text);
}

#artikel-content blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  border-left: 4px solid var(--accent);
  background: #fff5f5;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  #page-content {
    padding-top: 40px;
  }

  #artikel-title {
    font-size: 32px;
  }

  #artikel-content {
    font-size: 16px;
  }

  #artikel-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  #artikel-title {
    font-size: 26px;
  }

  #artikel-thumbnail {
    max-height: 300px;
  }
}
