.kategori-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.2s ease;
}
.post-card:hover {
  transform: translateY(-5px);
}
.post-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.post-card h3 {
  margin: 10px 0 5px;
}
.btn-baca {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.btn-baca:hover {
  background: #0056b3;
}

.pagination {
  margin: 30px 0;
  text-align: center;
}
.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 10px;
  background: #eee;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
}
.pagination a.active {
  background: #007bff;
  color: white;
}
.pagination a:hover {
  background: #0056b3;
  color: white;
}
.berita-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.post-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 10px;
  transition: transform 0.2s ease;
}
.post-card:hover {
  transform: translateY(-5px);
}
.post-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.post-card h3 {
  margin: 10px 0 5px;
}
.btn-baca {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
}
.btn-baca:hover {
  background: #0056b3;
}

.pagination {
  margin: 30px 0;
  text-align: center;
}
.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 10px;
  background: #eee;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
}
.pagination a.active {
  background: #007bff;
  color: white;
}
.pagination a:hover {
  background: #0056b3;
  color: white;
}
.search-form {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.search-form input[type="text"] {
  width: 60%;
  padding: 10px;
  border-radius: 6px 0 0 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.search-form button {
  padding: 10px 20px;
  border: none;
  background: #007bff;
  color: white;
  font-size: 16px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
}

.search-form button:hover {
  background: #0056b3;
}
