* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.hero {
  background-image: url("images/sejarahhero.png");
  background-size: cover;
  background-position: center;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21, 9, 26, 0.8);
  z-index: 0;
}

.hero h1 {
  position: relative;
  font-size: 3rem;
  font-weight: 800;
  z-index: 1;
}

.pengumuman-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px 20px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.card-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

.card a {
  text-decoration: none;
  color: #3b82f6;
  font-size: 14px;
}

footer {
  text-align: center;
  font-size: 14px;
  padding: 20px;
  background-color: #15091A;
  color: white;
}
