.featured-projects {
  margin: 0 0 48px;
  padding-bottom: 46px;
  border-bottom: 1px solid #e5e7eb;
}

.featured-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.featured-projects-kicker,
.posts-heading p {
  margin: 0 0 6px;
  color: #687078;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.featured-projects h2,
.posts-heading h2 {
  margin: 0;
  color: #182026;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

.github-profile-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #182026;
  font-size: 14px;
  font-weight: 600;
}

.github-profile-link:hover,
.github-profile-link:focus {
  color: #0085a1;
  text-decoration: none;
}

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

.project-card {
  display: flex;
  min-width: 0;
  min-height: 244px;
  flex-direction: column;
  padding: 22px;
  color: #263238;
  border: 1px solid #dfe3e6;
  border-radius: 6px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.project-card:hover,
.project-card:focus {
  color: #263238;
  border-color: #9aa4aa;
  box-shadow: 0 8px 24px rgba(24, 32, 38, 0.09);
  text-decoration: none;
  transform: translateY(-2px);
}

.project-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.project-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #006f86;
  border-radius: 6px;
  background: #e5f5f8;
}

.project-icon-green {
  color: #246c45;
  background: #e6f3eb;
}

.project-icon-gold {
  color: #8a5b00;
  background: #fff3d6;
}

.project-external {
  color: #98a1a8;
  font-size: 13px;
}

.project-card h3 {
  margin: 0 0 10px;
  color: #182026;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.project-card p {
  flex: 1;
  margin: 0 0 20px;
  color: #5d666d;
  font-size: 14px;
  line-height: 1.65;
}

.project-tech {
  align-self: flex-start;
  padding: 3px 8px;
  color: #006f86;
  border: 1px solid #b9dfe6;
  border-radius: 4px;
  background: #f1fafb;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.project-tech-green {
  color: #246c45;
  border-color: #bfddca;
  background: #f0f8f3;
}

.project-tech-gold {
  color: #795100;
  border-color: #ead49f;
  background: #fff9eb;
}

.posts-heading {
  margin-bottom: 28px;
}

@media only screen and (max-width: 991px) {
  .featured-projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 0;
  }
}

@media only screen and (max-width: 767px) {
  .featured-projects {
    margin-bottom: 38px;
    padding-bottom: 36px;
  }

  .featured-projects-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .featured-projects h2,
  .posts-heading h2 {
    font-size: 24px;
  }

  .project-card {
    padding: 18px;
  }
}
