#resource-library-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
#resource-library-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}
.resource-item {
  border: 1px solid #ddd;
  padding: 10px 15px;
  background: #fff;
  border-radius: 6px;
}
.resource-pagination {
  text-align: center;
  margin-top: 20px;
}
.resource-pagination button {
  background: #0073aa;
  color: #fff;
  margin: 3px;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* Different color for active pagination button */
.resource-pagination button.active,
.resource-pagination button:hover {
  background: #005177;  /* Darker blue */
  color: #fff;
}
.resource-thumb img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}