.vtxm-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.vtxm-projects > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.vtxm-project {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  border-bottom: 1px solid #d6d8d4;
  color: #0c1618;
  text-decoration: none;
}

.vtxm-project__image {
  overflow: hidden;
  aspect-ratio: 808 / 632;
  background: #edeeec;
}

.vtxm-project__image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 230ms ease-out;
}

.vtxm-project__caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 16px 0 15px;
}

.vtxm-project__caption p {
  margin: 0 0 3px;
  color: #4a514f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.vtxm-project__caption h2 {
  margin: 0;
  color: #0c1618;
  font-size: clamp(23px, 2.1vw, 29px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.vtxm-project__arrow {
  align-self: end;
  color: #0c1618;
  font: 20px/1 Arial, sans-serif;
  transition: transform 180ms ease-out;
}

.vtxm-project:hover,
.vtxm-project:focus-visible {
  border-color: #48463b;
  text-decoration: none;
}

.vtxm-project:focus-visible {
  outline: 2px solid #48463b;
  outline-offset: -2px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vtxm-project:hover .vtxm-project__image img {
    transform: scale(1.035);
  }

  .vtxm-project:hover .vtxm-project__arrow {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 719px) {
  .vtxm-projects {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vtxm-project__image img,
  .vtxm-project__arrow {
    transition: none;
  }
}
