.featured-projects {
  max-width: 1120px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.featured-projects__header {
  max-width: 700px;
  margin-bottom: 1.25rem;
}

.featured-projects__header h2 {
  margin: 0.15rem 0 0.35rem;
}

.featured-projects__header > p:last-child {
  margin: 0;
  color: color-mix(in srgb, var(--bs-body-color) 72%, transparent);
}

.featured-projects__eyebrow,
.featured-project-card__type {
  margin: 0;
  color: #3f76a6;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.featured-project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(70, 130, 180, 0.24);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 35%, #eef7fa 100%);
  box-shadow: 0 3px 12px rgba(33, 67, 91, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.featured-project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 130, 180, 0.48);
  box-shadow: 0 8px 22px rgba(33, 67, 91, 0.13);
}

.featured-project-card h3 {
  margin: 0.45rem 0 0.65rem;
  font-size: 1.18rem;
}

.featured-project-card h3 a {
  color: var(--bs-body-color);
  text-decoration: none;
}

.featured-project-card > p:not(.featured-project-card__type) {
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--bs-body-color) 78%, transparent);
}

.featured-project-card__link {
  margin-top: auto;
  color: #3f76a6;
  font-weight: 600;
  text-decoration: none;
}

.featured-project-card__link:hover,
.featured-project-card h3 a:hover {
  color: #2f648f;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .featured-projects__grid {
    grid-template-columns: 1fr;
  }

  .featured-project-card {
    min-height: auto;
  }
}
