h1 {
  font-weight: 600;
  font-size: clamp(28px, 2.3vw, 44px);
}
.section h2 {
  font-weight: 600;
  font-size: clamp(27px, 1.875vw, 36px);
  text-align: center;
  margin-bottom: 6rem;
}

.banner {
  background: url(../resources/img/categories_bg@2x.png) center no-repeat;
  background-size: cover;
  padding: 11rem 0;
  text-align: center;
}

.banner p {
  font-size: clamp(14px, 1.6rem, 16px);
  max-width: 1050px;
  margin: 3rem auto 0 auto;
  color: #666;
}

.list_main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8rem;
  margin: 8rem auto 6rem auto;
}
.articles_list {
  max-width: 910px;
}

.articles_item {
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid #e5e5f2;
}

.articles_title {
  font-size: 2.6rem;
  font-weight: 500;
  color: #333;
  display: block;
}
.articles_item a:hover {
  text-decoration: none;
}
.articles_item p {
  font-size: clamp(14px, 1.6rem, 16px);
  margin-top: 10px;
}

.articles_author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: clamp(14px, 1.6rem, 16px);
  margin-top: 2rem;
}
.articles_author img {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 100%;
}
.articles_author a {
  font-weight: 600;
  background: linear-gradient(322.62deg, #326ff0 42.26%, #41b6fa 92.86%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.articles_author time {
  margin-left: 1.6rem;
  padding-left: 1.6rem;
  position: relative;
}
.articles_author time::before {
  content: '';
  width: 1px;
  height: 15px;
  display: block;
  background-color: #c3c3cf;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.product_info {
  position: sticky;
  top: 4rem;
  width: 408px;
  padding: 3rem 2.4rem;
  text-align: center;
  border-radius: 32px;
  background:
    url(../resources/img/categories_hot_bg@2x.png) right bottom no-repeat,
    linear-gradient(180deg, #fdf3eb 0%, #fefbed 100%);
  background-size:
    40% auto,
    auto;
}
.product_info li {
  margin-top: 2rem;
  padding-left: 20px;
  text-align: left;
  font-size: 12px;
  background: url(../resources/img/list_icon.svg) 0 5px no-repeat;
  color: #333;
}

.product_info .btn_fill {
  margin-top: 2rem;
  min-width: 240px;
  padding: 12px 22px;
  font-size: 1.8rem;
  background:
    linear-gradient(169.01deg, #ffa220 26.47%, #ff2e13 91.87%),
    radial-gradient(50% 149.22% at 50% 136.72%, #ff1057 0%, rgba(255, 16, 87, 0) 100%);
}
.product_info .btn_fill .icon_download2 {
  font-weight: bold;
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.page-item {
  padding: 3px 1.35rem;
  border: 1px solid #e5e5f2;
  border-radius: 6px;
  color: #999;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}
.page-next {
  font-size: 1.6rem;
  padding: 6px 1.7rem;
}
.page-ellipsis {
  color: #999;
  font-size: 2rem;
}

.page-item:hover {
  text-decoration: none;
}
.page-item.active,
.page-item:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #45b7ff 0%, #2f62f3 100%) padding-box;
}

.categories {
  margin-top: 10rem;
  padding: 4.4rem 0;
  background: url(../resources/img/categories_bottom_bg.png) center no-repeat;
  background-size: cover;
  text-align: center;
  border-radius: 24px;
  overflow: hidden;
}
.categories h2 {
  font-size: clamp(27px, 2.3vw, 44px);
  font-weight: 600;
  color: #fff;
}

.categories_main {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.7rem;
}
.categories_main a {
  display: block;
  padding: 1.4rem 3rem;
  font-weight: 500;
  font-size: 2rem;
  border-radius: 59px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
  color: #000;
}
.categories_main a:hover {
  background:
    linear-gradient(169.01deg, #ffa220 26.47%, #ff2e13 91.87%),
    radial-gradient(50% 149.22% at 50% 136.72%, #ff1057 0%, rgba(255, 16, 87, 0) 100%);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .banner {
    padding: 4rem 0;
  }
  .list_main {
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .articles_item {
    width: 100%;
  }
  .product_info {
    width: 100%;
    position: relative;
  }
  .product_logo {
    width: 60%;
    display: block;
    text-align: center;
    margin: 0 auto;
  }
  .product_info li {
    font-size: 14px;
  }
  .product_info .btn_fill {
    font-size: 18px;
  }

  .pagination ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .categories {
    margin-top: 4rem;
  }
}
@media (max-width: 480px) {
  .pagination ul {
    gap: 1.5rem;
  }
  .page-item {
    font-size: 16px;
    padding: 3px 1rem;
  }
}
