.project-list-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 230px;

  padding: 0;

  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 6px;
  overflow: hidden;

  background: var(--global-bg-color);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.10);
}

.project-list-image {
  flex: 0 0 320px;
  width: 320px;
  height: 230px;

  margin: 0;
  padding: 0;

  overflow: hidden;
}

.project-list-image figure,
.project-list-image picture {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.project-list-image img {
  width: 100% !important;
  height: 100% !important;

  object-fit: cover;
  object-position: center;

  display: block;
}

.project-list-content {
  flex: 1;
  padding: 1.5rem 2rem;
}

/* DESKTOP IMAGE */

.project-list-image {
  flex: 0 0 250px;

  width: 250px;
  height: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-right: 2rem;
}

.project-list-image figure,
.project-list-image picture {
  width: 100%;
  height: 100%;
  margin: 0;
}

.project-list-image img {
  width: 100% !important;
  height: 100% !important;

  object-fit: contain;
  object-position: center;

  display: block;
}


/* TEXT */

.project-list-content {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.project-list-title {
  margin: 0 0 0.5rem 0;

  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 400;
}

.project-list-description {
  margin: 0;

  font-size: 0.95rem;
  line-height: 1.4;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-list-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* MOBILE */

@media (max-width: 600px) {

  .projects-list {
    gap: 1.25rem;
  }

  .project-list-card {
    flex-direction: column;
    align-items: stretch;

    min-height: 0;

    padding: 1rem;
  }

  .project-list-image {
    flex: none;

    width: 100%;
    height: 240px;

    margin: 0 0 1rem 0;
  }

  .project-list-image figure,
  .project-list-image picture {
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .project-list-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain;
    object-position: center;
  }

  .project-list-content {
    padding: 0;
  }

  .project-list-title {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }

  .project-list-description {
    font-size: 0.95rem;
  }
}