body {
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.7;
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

header p {
  color: #666;
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card .img-wrapper {
  aspect-ratio: 5 / 4;
  width: 100%;
  overflow: hidden;
}

.card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h2 {
  font-size: 20px;
  margin: 0 0 10px;
  line-height: 1.25;
}

.card-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}
.tanggal-terbit {
  font-size: 13px;
  color: #333;
  font-style: italic; /* membuat teks miring */
}

.tanggal-terbit span {
  font-weight: bold;
  color: #c9a24d; /* warna tanggal */
  font-style: italic; /* membuat teks miring */
}
.card-content a {
  text-decoration: none;
  color: #fff;
  background: #c9a24d;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a {
  text-decoration: none;
  background: #ddd;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 14px;
  color: #000;
}
.card-content a:hover {
  background: #ffae00ff;
}
.pagination a.active {
  background: #c9a24d;
  color: #fff;
}

.pagination a:hover {
  background: #ffae00ff;
  color: #fff;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 24px;
  }
}
.footer {
  background: #0a0a0a;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: "Poppins", sans-serif;
  margin: 0 auto;
  max-width: 1500px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 0 auto;
}

.footer h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: gold;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: gold;
}

.social-icons a {
  display: inline-block;
  margin-right: 8px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #aaa;
}
.kontak-icons p {
  display: flex;
  align-items: center; /* sejajarkan ikon dan teks secara vertikal */
  font-size: 15px;
  color: #fff; /* sesuaikan warna teks */
}
.footer p {
  margin: 8px 0; /* atas 10px, kanan 15px, bawah 8px, kiri 5px */
}
.kontak-icons img {
  margin-right: 8px; /* jarak antara ikon dan teks */
  width: 20px; /* ukuran ikon seragam */
  height: 20px;
}
.center-footer {
  text-align: center; /* bikin gambar di tengah */
}

.circle-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: inline-block; /* biar bisa ditengah pakai text-align */
  margin-bottom: 10px;
}
/* HEADER */
.site-header {
  background: #ffffff;
  position: sticky;
  max-width: 1500px;
  top: 0;
  margin: 0 auto;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-header .container {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #222;
}

.logo span {
  color: #c9a24d;
}

/* NAV */
.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s;
}

.nav a:hover {
  color: #2563eb;
}

/* BUTTON */
.btn {
  padding: 10px 18px;
  background: #c9a24d;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #1e4fd6;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #000000;
}

/* MOBILE BUTTON HIDDEN DESKTOP */
.mobile-btn {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .header-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-btn {
    display: block;
    margin-top: 10px;
  }

  .mobile-btn .btn {
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
  }
}
.header-img {
  display: block; /* membuat img sebagai block */
  margin: 20px auto; /* tengah horizontal, jarak 20px atas & bawah */
  max-width: 100%; /* responsif, tidak melebihi lebar container */
  height: auto; /* proporsional */
}
