.projects_sold {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 40px;
  row-gap: 50px;
  font-family: "Rubik", sans-serif;
}

.projects_sold > div {
  grid-column-start: 1;
  grid-column-end: 4;
}

.projects_sold > div ul {
  display: flex;
  list-style: none;
  column-gap: 20px;
  justify-content: flex-end;
}

.projects_sold > div ul li {
  height: 40px;
  width: 40px;
  background: #f2f2f2;
  cursor: pointer;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.projects_sold > div ul li.active {
  background: #e36900;
}

.projects_sold > div ul li.active a {
  color: white;
}

.projects_sold > div ul li.right img {
  transform: rotate(180deg);
}

.projects_sold > div ul li a {
  text-decoration: none;
  color: #414141;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.projects_sold article {
  box-shadow: 0px 3px 20px #00000052;
  border-radius: 6px;
  background: white;
  overflow: hidden;
}

.projects_sold article div.photo {
  position: relative;
}

.projects_sold article div.photo span {
  background: #e36900;
  padding: 10px 20px;
  color: white;
  font-size: 16px;
  border-radius: 4px;
  position: absolute;
  left: 15px;
  bottom: 20px;
}

.projects_sold article div.body {
  padding: 20px 25px 30px 25px;
  color: #414141;
}

.projects_sold article div.photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  position: relative;
}

.projects_sold article div.body span {
  font-size: 10px;
  font-weight: 400;
}

.projects_sold article h3 {
  font-size: 24px;
  font-weight: bold;
  padding: 0;
  margin: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.projects_sold article p {
  font-size: 12px;
  font-weight: 400;
}

.projects_sold article hr {
  height: 2px;
  background: #f2f2f2;
  border: none;
  margin: 10px 0;
}

.hide {
  display: none;
}

@media (min-width: 501px) and (max-width: 1100px) {
  .projects_sold {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .projects_sold > div {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

@media (max-width: 500px) {
  .projects_sold {
    width: 100%;
    grid-template-columns: 80vw;
    justify-content: center;
  }

  .projects_sold > div {
    grid-column-start: 1;
    grid-column-end: 2;
  }

  .projects_sold > div ul {
    justify-content: center;
  }

  .projects_sold article h3 {
    white-space: unset !important;
    overflow: unset !important;
  }
}
