/* Global */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #cfe1e9; /* pilih salah satu warna */
  color: #333; /* warna teks */
}

/* Header */
header {
  background-color: #1d2656;
  color: white;
  padding: 20px 50px;
}

.header-text h1 {
  margin: 0;
  font-size: 1.8rem;
}

.header-text p {
  margin: 4px 0 0;
  font-size: 1rem;
}


/* Bagian Jurnal */

.jurnal-section {
  padding: 30px 50px;
  max-width: 1200px;
  margin: auto;
}

.jurnal-section h2 {
  font-size: 32px;
  color: #1d2656;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jurnal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.jurnal-card {
  background: #f1f1f1;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.jurnal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.jurnal-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.jurnal-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: bold;
}

.jurnal-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1a2a45;
}

.jurnal-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.btn-visit {
  padding: 10px 16px;
  background: #e7ac07;
  color: rgb(255, 255, 255);
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.btn-visit:hover {
  background: #916b04;
}

.jurnal-cover {
  height: 500px; /* Ukuran lebih tinggi */
  background-size: cover;
  background-position: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

footer {
  background-color: #2c2f74;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 20px;
  padding-bottom: 80px;
  font-size: 20px;
  width: auto;
}

.footer-bottom {
  background-color: #5e74c7;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 17px;
}

.search input[type="text"] {
  margin-top: 10px;
  padding: 10px;
  width: 295px;
}

.search button {
  padding: 5px 10px;
}
