* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #f4f4f4;
  color: #1a1a1a;
  line-height: 1.7;
}
a { color: inherit; }

/* ===== TOPBAR ===== */
.topbar { background: #e60000; color: #fff; }
.topbar-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.brand { text-decoration: none; }
.brand-text {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #fff;
}
.brand-logo { max-height: 40px; display: block; }
.tagline { font-family: Arial, sans-serif; font-size: 12px; opacity: 0.9; }

/* ===== LAYOUT ===== */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.wrap.narrow { max-width: 760px; }

/* ===== ARTICLE LIST (index) ===== */
.post-card {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
}
.post-card img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #ddd;
}
.post-card .post-card-body { flex: 1; min-width: 0; }
.post-card .kategori {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #e60000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-card h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 4px 0 6px;
  color: #111;
}
.post-card p { font-size: 14px; color: #555; }
.post-card .meta {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-family: Arial, sans-serif;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.pagination a, .pagination span {
  padding: 8px 14px;
  background: #fff;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.pagination .current { background: #e60000; color: #fff; font-weight: 700; }

/* ===== SINGLE ARTICLE ===== */
.article-box { background: #fff; padding: 24px 20px 40px; border-radius: 6px; }
.breadcrumb { font-family: Arial, sans-serif; font-size: 13px; color: #888; margin-bottom: 14px; }
.article-box h1 { font-size: 26px; line-height: 1.35; color: #111; margin-bottom: 14px; }
.article-meta {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.article-meta b { color: #e60000; }
.article-box figure { margin: 0 0 18px; }
.article-box figure img { width: 100%; height: auto; display: block; border-radius: 4px; }
.article-content p { font-size: 17px; margin-bottom: 18px; text-align: justify; color: #222; }
.article-content { white-space: pre-line; }

.related-title {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: #e60000;
  margin: 30px 0 14px;
  border-bottom: 2px solid #e60000;
  padding-bottom: 8px;
}

/* ===== FOOTER ===== */
.site-footer { background: #1a1a1a; color: #ccc; margin-top: 30px; }
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 13px;
}
.footer-social { margin-bottom: 12px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.social-link {
  text-decoration: none;
  color: #fff;
  background: #e60000;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.social-link:hover { background: #c40000; }

@media (max-width: 600px) {
  .post-card { flex-direction: column; }
  .post-card img { width: 100%; height: 180px; }
}
