/* RESET RINGAN */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Poppins", sans-serif;
  background: #fffdfc;
  color: #222;
  line-height: 1.75;
}


.article-card {
  max-width: 720px;
  margin: 40px auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.hero-image-wrapper {
  width: 100%;
}

.hero-image-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hapus shadow dan border radius dari .content */
.content {
  margin: 0;
  padding: 48px 36px;
  border-radius: 0;
  box-shadow: none;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 16px;
}

p {
  margin-bottom: 24px;
  font-size: 18px;
}

p.lead {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
}

/* Blockquote ala Medium */
blockquote {
  border-left: 4px solid #ea8512;
  padding-left: 20px;
  font-style: italic;
  color: #555;
  margin: 32px 0;
}

ul {
  margin-left: 24px;
  margin-bottom: 24px;
  list-style: disc;
}

li {
  margin-bottom: 8px;
}

/* ===== META INFO ===== */
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  color: #555;
  font-size: 15px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: #222;
}

/* ===== BUTTON BACK ===== */
.back-wrapper {
  text-align: center;
  margin-top: 60px;
}

.btn-back {
  font-size: 16px;
  font-weight: 600;
  background: #000;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 50px;
}

.btn-back:hover {
  background: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero img { height: 40vh; }
  .content { margin: -80px 16px 60px; padding: 32px 24px; }
  h1 { font-size: 34px; }
  p, li { font-size: 16px; }
}

.hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 300px; /* Batas tinggi supaya gak kepanjangan */
  object-fit: cover;
  object-position: center;
  display: block;
}
