.project-list-card {
  --project-list-card-bg: var(--brand-neutral-2);
  --project-list-card-color: var(--brand-retro-black);
  --project-list-card-accent: var(--brand-blue-ivy);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 20px;
  background: var(--project-list-card-bg);
  color: var(--project-list-card-color);
  text-decoration: none;
  hyphens: none;
  transition: box-shadow 0.3s, transform 0.3s;
}

/* Button variant (opens a modal): reset the native button look */
.project-list-card {
  width: 100%;
  border: 0;
  font: inherit;
  text-align: left;
}

.project-list-card__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.project-list-card__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-list-card__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.project-list-card__title {
  font-size: 24px;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-list-card__description {
  font: 400 14px/150% var(--font-ideal-sans-regular), sans-serif;
  color: inherit;
}

.project-list-card__tag {
  width: fit-content;
  padding: 4px 10px;
  background: var(--project-list-card-accent);
  color: #fff;
  font-size: 14px;
}

.project-list-card__country {
  font: 500 14px/150% var(--font-ideal-sans-medium), sans-serif;
  color: var(--brand-neutral-8);
}

.project-list-card__button {
  color: var(--brand-cerulean-blue);
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 4%;
}

@media (min-width: 768px) {
  .project-list-card__title {
    font-size: 26px;
  }

  .project-list-card__description,
  .project-list-card__country,
  .project-list-card__tag {
    font-size: 16px;
  }
}