.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.scholarship-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-btn {
  border: 2px solid #b10e24;
  background: transparent;
  color: #b10e24;
  padding: 8px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #b10e24;
  color: #fff;
}

/* === Cards === */

.scholarship-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.card-image img,
.placeholder-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #ccc;
}

.card-body {
  padding: 20px;
  color: white;
  flex-grow: 1;
}

.card-blue,
card-body {
  background-color: #1a73a8;
}

.card-olive,
card-body {
  background-color: #a2a305;
}

.card-title {
  margin-bottom: 0 0 10px 0;
  font-size: 1.1rem;
  color: white;
}

.card-excerpt {
  font-size: 0.85rem;
  margin-bottom: 15px;
  line-height: 1.4;
  opacity: 0.9;
}

.card-category {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.card-btn {
  display: block;
  background: #b10e24;
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  width: 100px;
  margin-left: auto;
}
