.media__search {
  max-width: 860px;
  width: 100%;
  margin-top: 30px;
}

.titles__descriptions {
  margin-bottom: 20px;
}

.title__description {
  color: rgb(169, 10, 59);
  font-size: 24px;
  font-weight: 700;
  line-height: 22px;
}

.types__list {
  display: flex;
  -moz-column-gap: 5px;
       column-gap: 5px;
  margin-bottom: 40px;
}

.type__item.type-main {
  border: 1px solid rgb(169, 10, 59);
  border-radius: 18px;
  background: rgb(169, 10, 59);
  color: rgb(255, 255, 255);
}

.type__item {
  color: rgb(93, 99, 120);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  border: 2px solid rgb(93, 99, 120);
  border-radius: 18px;
  padding: 8px 12px;
  display: inline-block;
}

.search__item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgb(168, 167, 179);
}

.search__date {
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
  padding-bottom: 10px;
  display: inline-block;
}

.search__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 20px;
}

.search-result {
  color: rgb(169, 10, 59);
}

.search__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.search__link {
  color: #000;
}

.pagination {
  margin-top: 40px;
  margin-bottom: 80px;
}

.main {
  padding: 0 15px;
}

@media (max-width: 1000px) {
  .types__list {
    overflow-x: auto;
    margin-bottom: 20px;
  }
  .search__title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .pagination {
    margin-top: 40px;
    margin-bottom: 10px;
  }
}
.type__item {
   text-wrap: nowrap;
}
