.download-search {
  display: flex;

  margin-bottom: 3rem;
  padding: 3rem 4rem;

  border-radius: 5px;
  background: #fff;
}

.download-search__input {
  flex: 1;

  padding: 0 2rem;

  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  background: #f4f5f7;

  font-size: 1.5rem;
}

.download-search__button {
  width: 14rem;
  height: 7.2rem;

  text-align: center;

  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  background: #0c6ef1;

  line-height: 7.2rem;
}

.download-category {
  display: flex;

  margin-bottom: 3rem;
  padding: 3rem 0;

  border-radius: 5px;
  background: #fff;
}

.download-category__item {
  position: relative;

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

  width: 24.6rem;
  height: 7rem;

  border-right: 1px solid #eee;
}
.download-category__item:last-child {
  border: none;
}

.download-category__icon {
  display: block;

  width: 4rem;
  height: 4rem;
  margin-right: 2rem;

  -o-object-fit: contain;
     object-fit: contain;
}

.download-category__title {
  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;

  font-size: 1.8rem;
}

.download-category__tip {
  overflow: hidden;

  white-space: nowrap;
  text-overflow: ellipsis;

  color: #818181;

  font-size: 1.5rem;
}

.downloads {
  overflow: hidden;

  border-radius: 5px;
  background: #fff;
}

.downloads__head {
  display: flex;

  padding: 3rem 4rem;

  border-bottom: 1px solid #eee;

  font-weight: bold;
}

.downloads__body {
  padding: 0 4rem;
}

.downloads-title__name,
.download-item__name {
  flex: 1;
}

.downloads-title__size,
.download-item__size {
  width: 20rem;

  text-align: center;
}

.downloads-title__count,
.download-item__count {
  width: 20rem;

  text-align: center;
}

.downloads-title__action,
.download-item__action {
  width: 20rem;

  text-align: right;
}

.download-item {
  display: flex;
  align-items: center;

  padding: 3rem 0;

  border-bottom: 1px solid #eee;
}
.download-item:last-child {
  border: none;
}
.download-item:hover .download-item__title {
  color: #0c6ef1;
}

.downloads-title__name {
  padding-left: 4rem;
}

.downloads-title__action {
  padding-right: 3rem;
}

.download-item__name {
  display: flex;
  align-items: center;
}

.download-item__title {
  overflow: hidden;
}

.download-item__size,
.download-item__count {
  color: #818181;
}

.download-image-wrapper {
  width: 12rem;
  margin-right: 3rem;
}

.download-image {
  position: relative;

  height: 0;
  padding-top: 68.33%;
}

.download-button {
  display: inline-block;

  width: 10rem;
  height: 4rem;

  text-align: center;

  color: #000;
  border: 1px solid #eee;
  border-radius: 5px;

  line-height: 4rem;
}
.download-button:hover {
  color: #fff;
  border-color: #0c6ef1;
  background: #0c6ef1;
}

@media screen and (max-width: 767px) {
  .downloads-title__action,
.download-item__action {
    width: 10rem;
  }
  .downloads__head {
    padding: 2rem;
  }
  .downloads__body {
    padding: 0 2rem;
  }
  .download-image-wrapper {
    margin-right: 2rem;
  }
  .download-category {
    overflow-x: auto;
  }
  .download-category__item {
    padding: 0 2rem;
  }
  .download-search {
    display: flex;

    margin-bottom: 2rem;
    padding: 2rem;
  }
  .download-search__input {
    padding: 0 1rem;
  }
  .download-search__button {
    width: 10rem;
    height: 5rem;

    line-height: 5rem;
  }
}