.roofproof-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.roofproof-project-card {
  border: 1px solid #d7d7d0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.roofproof-project-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f4f4ef;
}

.roofproof-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.roofproof-project-card__body {
  padding: 16px;
}

.roofproof-project-card__title {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 8px;
}

.roofproof-project-card__title a {
  color: inherit;
  text-decoration: none;
}

.roofproof-project-card__title a:hover {
  text-decoration: underline;
}

.roofproof-project-card__meta,
.roofproof-project-card__services {
  color: #5f665f;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.roofproof-project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.roofproof-project-card__meta span:not(:last-child)::after {
  content: " ";
}

.roofproof-project-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
}

.roofproof-project-card__excerpt p {
  margin: 0;
}

.roofproof-empty {
  border: 1px dashed #c7c8c0;
  border-radius: 8px;
  color: #555d55;
  padding: 16px;
  background: #fafaf6;
}
