.category_banner {
  position: relative;
}
.category_banner .content {
  pointer-events: none;
}
.category_banner .bg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.category_banner .bg::after {
  width: 59.63541667%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  background: url("../img/banner-mask2.svg") no-repeat center right / cover;
  pointer-events: none;
}
.category_banner .bg .img {
  width: 61.61458333%;
  height: 100%;
  margin-left: auto;
}
.category_banner .flex {
  width: 66%;
  max-width: 91.8rem;
  margin-left: -8.44%;
  padding-top: 0.8rem;
  pointer-events: all;
}
.category_banner .flex .img {
  width: 49.01961%;
  padding-bottom: 49.01961%;
}
.category_banner .head {
  color: #fff;
  flex: 1;
  max-width: 48.9rem;
  margin-left: -2%;
  padding: 2% 0;
}
.category_banner p {
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38.7rem;
  margin: 1.5rem auto 0;
  font-weight: 300;
}
.category_banner .btn_w {
  width: 100%;
  max-width: 36.9rem;
  min-width: max-content;
  margin-top: 1.7rem;
}
.category_banner .img:hover img {
  transform: scale(1.02);
}
.category_main {
  padding: 5.3rem 0 11.5rem;
}
.category_main .list {
  margin-top: 2.4rem;
}
.category_main .list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.category_main .list li {
  grid-column: span 2;
}
.category_main .list li:nth-child(6n+1) {
  grid-row: span 2;
}
.category_main .list li:nth-child(6n+3),
.category_main .list li:nth-child(6n+4) {
  grid-column: unset;
}
.category_main .list li:nth-child(6) ~ li {
  grid-column: unset;
  grid-row: unset;
}
.category_main .category_list {
  overflow: hidden;
  border-radius: 6px;
}
.category_main .category_list .active .info .btn_circle {
  transform: translateY(0);
  opacity: 1;
}
.category_main .category_list li:nth-child(6n+1) .img {
  width: 100%;
  padding-bottom: 49.922%;
  margin: 0;
  margin-top: -1.4rem;
}
.category_main .category_list li:nth-child(6n+1) a::before {
  background-image: url("../img/category-mask1.png");
}
.category_main .category_list li:nth-child(6n+2) .info p {
  max-width: 24rem;
}
.category_main .category_list li:nth-child(6n+3) .img,
.category_main .category_list li:nth-child(6n+4) .img {
  --size: 88.2562%;
  margin-right: -2.8rem;
  margin-left: -50%;
  margin-top: -3.3rem;
  margin-bottom: -2.7rem;
}
.category_main .category_list li:nth-child(6n+3) a::before,
.category_main .category_list li:nth-child(6n+4) a::before {
  width: 205.31%;
  padding-bottom: 123.12844305%;
}
.category_main .category_list li:nth-child(6n+4) a::before {
  right: -49%;
  left: unset;
  background-position: center bottom;
}
.category_main .category_list a {
  position: relative;
  z-index: 2;
  background-color: var(--bg_color);
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  padding: 2.7rem 2.9rem 2.1rem;
}
.category_main .category_list a::before {
  width: 100%;
  padding-bottom: 102.155%;
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  background: url("../img/category-mask2.png") no-repeat center bottom / cover;
  z-index: -1;
  opacity: 0.68;
  pointer-events: none;
}
.category_main .category_list a:hover img {
  transform: scale(1.05);
}
.category_main .category_list .info {
  position: relative;
  z-index: 2;
  flex: 1;
}
.category_main .category_list .info h3 {
  font-size: 2.8rem;
  line-height: 3.2rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.category_main .category_list .info p {
  line-height: 2.2rem;
  color: var(--content_color);
  max-width: 31.7rem;
  margin-top: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  hyphens: auto;
}
.category_main .category_list li:nth-child(3) .info p,
.category_main .category_list li:nth-child(4) .info p {
  display: none;
}
.category_main .category_list .info .btn_circle {
  margin-top: 1.7rem;
  transition: all 0.3s, transform 0.4s;
  transform: translateY(2rem);
  opacity: 0;
}
.category_main .category_list .img {
  --size: 53.3%;
  width: var(--size);
  padding-bottom: var(--size);
  margin-top: -7.2rem;
  margin-bottom: -6.6rem;
  margin-left: -5%;
}
.category_video {
  background-color: var(--bg_color);
  overflow: hidden;
  padding: 7.7rem 0 5.1rem;
}
.category_video .swiper_btns div {
  background-color: var(--theme_color);
}
.category_video .swiper_btns div::after {
  filter: contrast(0) brightness(2);
}
.category_video .swiper_btns div:hover {
  background-color: var(--subtheme_color);
}
.category_video .swiper_btns .swiper-button-disabled {
  background-color: rgba(255, 255, 255, 0.64);
}
.category_video .swiper_btns .swiper-button-disabled::after {
  filter: unset;
}
.category_video .category_video_swiper {
  margin-top: 4rem;
}
.category_video .video_item a {
  display: block;
  height: 100%;
}
.category_video .video_item a:hover img {
  transform: scale(1.02);
}
.category_video .video_item .img {
  width: 100%;
  border-radius: 6px;
  padding-bottom: 56.318253%;
}
.category_video .video_item .img iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}
.category_video .video_item .title {
  font-size: 2.2rem;
  line-height: 3.2rem;
  font-weight: 500;
  margin-top: 2.3rem;
}
.category_video p.right:has(.btn_more) {
  text-align: right;
  margin-top: 2.5rem;
}
.page_blog {
  padding-bottom: 4.9rem;
}
.page_blog .page_blog_swiper {
  margin-top: 2.7rem;
}

.home_categories {
  padding-bottom: 11.5rem !important;
}
.home_categories .btn_more {
  display: none;
}

@media (max-width: 768px) {
  .home_categories {
    padding-bottom: 3rem !important;
  }
}

.pagination_numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
}

.pagination_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4rem;
  height: 4rem;
  padding: 0 1.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--title_color);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  transition: all 0.3s;
  text-decoration: none;
}

.pagination_link:hover {
  color: var(--theme_color);
  border-color: var(--theme_color);
  background-color: rgba(10, 88, 144, 0.05);
}

.pagination_link.active {
  color: #fff;
  background-color: var(--theme_color);
  border-color: var(--theme_color);
}

.pagination_link.active:hover {
  background-color: var(--subtheme_color);
  border-color: var(--subtheme_color);
}

.pagination_dots {
  color: var(--content_color);
  font-size: 1.6rem;
  padding: 0 0.5rem;
}