/* Grid layout */
body {
  color: var(--text-strong-light);
}

.section-projects{
    padding: 6rem 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem; /* spacing between cards */
}

/* Optional styling for each grid item */
.project-grid-item {
  background: #fff; /* or transparent */
  /* border-radius: 12px; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-grid-img img {
  width: 100%;
  height: auto;
  display: block;
}

.project-grid-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0.8rem;
}

.project-grid-info .arrow-links {
  margin-top: 0.8rem;
}

.project-grid-year {
  color: var(--color-brand-light);
  font-size: 1.6rem;
}

.project-grid-title {
  font-size: 2rem;
  font-weight: bold;
}

.project-grid-desc {
  word-wrap: break-word; /* handles older browsers */
  overflow-wrap: break-word; /* modern standard */
  hyphens: auto; /* optional, makes long words break nicely */
  line-height: 1.5;
  color: var(--text-weak-light);
  font-size: 1.6rem;
}

.project-grid-item .arrow-links-text {
  font-size: 1.6rem;
}
