/* Breakpoints */
.projects {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
}
.projects h2 {
  grid-column: 1;
}
.projects__additional {
  justify-self: end;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.projects__additional .search {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--colors-stroke-inputs-30, rgba(149, 130, 181, 0.3));
  background: var(--Colors-Backgound-Pure-White, #fff);
}
.projects__additional .search.open {
  padding: 8px 12px 8px 8px;
  gap: 5px;
}
.projects__additional .search.open > input {
  width: 300px;
}
.projects__additional .search.open .search__cross {
  width: 12px;
  opacity: 1;
}
.projects__additional .search.open .search__icon {
  cursor: default;
}
.projects__additional .search__icon {
  cursor: pointer;
}
.projects__additional .search__cross {
  width: 0;
  opacity: 0;
  cursor: pointer;
}
.projects__additional .search > input {
  width: 0;
  white-space: nowrap;
  background: transparent;
  border: none;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}
.projects__additional .search > input:focus, .projects__additional .search > input:active {
  outline: none;
  border: none;
}
.projects__new-content {
  padding: 8px 8px 8px 16px;
  border-radius: 8px;
  background: var(--Colors-Buttons-Primary, #6b56e2);
  border: none;
  color: var(--Colors-Backgound-Pure-White, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  display: flex;
  align-items: center;
  gap: 12px;
}
.projects__list {
  grid-column: 1/-1;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  margin-top: 15px;
  grid-column: 1/-1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1566px) {
  .projects__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.projects__list.not-found, .projects__list.no-projects {
  background: transparent;
}
.projects__list.not-found .projects__list-not-found, .projects__list.no-projects .projects__list-not-found {
  display: block;
}
.projects__list-not-found {
  display: none;
}
.projects__list-item {
  align-self: baseline;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  column-gap: 10px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--colors-stroke-blocks-20, rgba(149, 130, 181, 0.2));
  background: var(--Colors-Backgound-Pure-White, #fff);
  transition: all 0.3s ease;
}
.projects__list-item:hover {
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.08);
}
.projects__list-item h4 {
  grid-column: 1/-1;
  margin-bottom: 4px;
}
.projects__list-item p:not([class]) {
  grid-column: 1/-1;
  overflow: hidden;
  color: var(--Colors-Text-Text, #505050);
  text-overflow: ellipsis;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 171.429% */
  margin-bottom: 8px;
}
.projects__list-item-domain {
  grid-column: 1/-1;
  color: var(--Colors-Buttons-Primary, #6b56e2);
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
  text-decoration: underline;
  margin-bottom: 16px;
}
.projects__list-item-pages {
  grid-column: 1;
  margin-bottom: 0;
  color: var(--Colors-Text-Subtext, #777);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
}
.projects__list-item-pages span {
  color: var(--Colors-Text-Text, #505050);
  font-weight: 600;
  line-height: 20px; /* 153.846% */
}
.projects__list-item-geo {
  grid-column: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--Colors-Text-Subtext, #777);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
}
.projects__list-item-geo > span {
  width: 18px;
  height: 13px;
}
