.page-3 {
  padding: 30px;
  color: white;
  background: #414141;  /* Updated background */
}

/* Sorting bar */
.sort-bar {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-bar label {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
}

.sort-bar select {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #666;
  background: #2d2d2d;
  color: white;
  font-size: 15px;
  outline: none;
  transition: 0.25s ease;
}

.sort-bar select:hover {
  border-color: #bbb;
}

/* Card grid */
.award-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* Each card */
.award-card {
  background: #2b2b2b;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #555;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.45);
  border-color: #888;
}

/* Image */
.award-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #444;
}

/* Title */
.award-card h3 {
  margin: 5px 0;
  font-size: 21px;
  font-weight: 600;
  color: #f1f1f1;
}

/* Year */
.award-card .year {
  font-size: 15px;
  color: #cfcfcf;
  margin-bottom: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* Institute */
.award-card .institute {
  font-size: 15px;
  margin-bottom: 12px;
  color: #e0e0e0;
  line-height: 1.4;
}

/* Rationale */
.award-card .rationale {
  font-size: 14px;
  color: #d6d6d6;
  line-height: 1.45;
  text-align: justify;
}


/* Pagination */
.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  background: #2d2d2d;
  border: 1px solid #666;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 15px;
}

.pagination button:hover {
  border-color: #bbb;
  background: #3a3a3a;
}

.pagination button.active {
  background: #606060;
  border-color: white;
  font-weight: 600;
}
