/* News Card Styles */
.news-card {
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Pagination Styles */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-prev,
.pagination-next,
.pagination-number {
  padding: 0.5rem 1rem;
  color: #4682B4;
  background-color: transparent;
  border: 1px solid rgba(70, 130, 180, 0.2);
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: auto 5px ;
}

.pagination-number.active {
  background-color: #4682B4;
  color: white;
  border-color: #4682B4;
}

.pagination-prev[disabled],
.pagination-next[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.news-card.hidden {
  display: none;
}
/* Filter Button Styles */
#sort-asc,
#sort-desc {
  background-color: #4682B4;
  color: white;
  transition: all 0.3s ease;
}

#sort-asc.active,
#sort-desc.active {
  background-color: #36648B;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Sort Dropdown Styles */
#sort-select {
  background-image: none;
  transition: all 0.3s ease;
}

#sort-select:hover {
  border-color: #4682B4;
  box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

.sort-wrapper {
  position: relative;
}

.sort-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #4682B4;
}
