* { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      background: #fff;
      color: #111;
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; }

    /* Navbar */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      border-bottom: 1px solid #eee;
    }
    /* --- CSS UNTUK NAVBAR RESPONSIVE --- */

/* Gaya dasar Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff; /* Warna navbar putih */
    color: #111; /* Warna teks hitam */
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-img {
    width: 32px;
    height: auto;
}

.logo span {
    color: #111; /* Warna teks logo hitam */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #111; /* Warna teks link hitam */
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: transparent; /* Warna hover biru */
    color: #1e40af; /* Teks putih saat di hover */
}

nav ul li.active a {
    background-color: #1e40af; /* Latar belakang biru untuk link aktif */
    color: #fff;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #111;
}

/* 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 #1e40af;
  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 {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1e40af;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-back:hover {
  background-color: #1e05af;
}

/* ===== 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;
}

footer {
    padding: 20px 50px;
    font-size: 14px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .social-icons a {
    margin-left: 10px;
    text-decoration: none;
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #1e40af; /* Warna hover */
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .menu-toggle {
    display: block; /* Tampilkan di mobile */
    z-index: 100;
  }
  
  nav ul {
    position: absolute;
    top: 60px; /* Jarak dari navbar */
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Sembunyikan menu secara default */
  }

  nav ul.show {
    display: flex; /* Tampilkan menu saat class 'show' aktif */
  }

  nav ul li {
    padding: 0.5rem;
  }
}