body {
  padding-left: 104px;
  padding-right: 104px;
}

.card {
  border: 1px solid #ddd;
  margin-bottom: 20px;
  border-radius: 20px;
  height: 400px;
  width: 100%;
  text-decoration: none;
  color: black;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  background-color: #FFC100 !important;
}

.card img {
  max-height: 200px;
  object-fit: cover;
}

.card-body {
  height: 150px;
  display: block;
}

.card-body .card-title {
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-body .card-text {
  text-align: left;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.card-footer .text-muted {
  margin: 0;
}

.card-footer .location {
  flex-grow: 1;
}

.card-footer .date-release {
  margin-left: auto;
}

.search-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-top: 20px;
  flex-wrap: nowrap;
  /* Menjaga agar elemen tetap horizontal */
}

.search-bar h1 {
  font-size: 24px;
  font-weight: bold;
  margin-right: auto;
}

.search-bar .your-research {
  width: 100%;
  max-width: 250px;
  border-radius: 20px;
}

.search-bar .btn-group {
  margin-left: 10px;
}

/* Media Query untuk Tampilan Layar yang Lebih Kecil (Mobile Landscape) */
@media (max-width: 768px) and (orientation: landscape) {
  .search-bar {
    flex-direction: row;
    /* Pastikan tetap horizontal */
    justify-content: flex-start;
    align-items: center;
  }

  .search-bar h1 {
    font-size: 20px;
    /* Sesuaikan ukuran font */
    margin-right: 10px;
  }

  .search-bar .your-research {
    width: 60%;
  }

  .search-bar .btn-group {
    margin-left: 10px;
    width: auto;
    /* Pastikan tombol menyesuaikan ukuran */
  }
}

/* Media Query untuk Tampilan Lebih Kecil dari 480px */
@media (max-width: 480px) and (orientation: landscape) {
  .search-bar h1 {
    font-size: 18px;
  }

  .search-bar .your-research {
    width: 70%;
    /* Gunakan lebih banyak ruang horizontal */
  }

  .search-bar .btn-group {
    margin-left: 8px;
  }
}

a.card:hover,
a.card:visited,
a.card:link,
a.card:active {
  text-decoration: none;
  color: black;
}





@media (max-width: 575.98px) {
  .card {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
