.resource-page-wrapper {
  padding: 30px 15px;
}

.resource-page-wrapper .search-box {
  display: flex;
  min-width: 180px;
}

.resource-page-wrapper .search-box input {
  width: 0;
  flex-grow: 1;
  height: 35px;
  padding-right: 35px;
  min-width: 130px;
  background-color: #eee;
  border: none;
  outline: none;
  padding-left: 10px;
}

.resource-page-wrapper .search-box .icon-box {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  background-color: #999;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-page-wrapper .search-box .tw-icon {
  color: #fff;
  font-weight: bold;
}

.filter-wrapper {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.filter-wrapper .cat-select-wrapper {
  display: flex;
  align-items: center;
}

.filter-wrapper .type-select-wrapper {
  display: flex;
  align-items: center;
}

.resource-section {
  margin: 50px 0;
}

.resource-section .header {
  font-size: 24px;
  padding-bottom: 30px;
}

.resource-list {
  display: grid;
  gap: 15px;
  row-gap: 30px;
  grid-template-columns: repeat(2,1fr);
}

.resource-list .resource-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-list .resource-item i {
  font-size: 48px;
}

.resource-list .resource-item .title {
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.resource-list .resource-item .tips {
  color: #999;
  font-size: 13px;
}

.resource-list .resource-item .img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 60px;
  margin: 0 auto;
}

.resource-list .resource-item img {
  max-width: 90%;
  border-radius: 5px;
}

.resource-item .i-PDF {
  color: #ed555a;
}

.resource-item .i-chilunzu {
  color: #0d47a1;
}

.resource-item .i-caozuozhinan {
  color: #ed555a;
}

@media (min-width: 765px) {
  .resource-list {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}