body {
  color: var(--primary);
}
.home_category {
  padding: 11.5rem 0 14.5rem;
}
.home_category .nav {
  position: relative;
  margin-top: 4.7rem;
}
.home_category .nav.active::before {
  opacity: 0;
  pointer-events: none;
}
.home_category .nav::before {
  position: absolute;
  width: 10%;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: linear-gradient(to left, #fff 20%, transparent);
  content: '';
  z-index: 2;
  transition: all 0.3s;
}
.home_category .nav .swiper_btns {
  width: 100%;
  max-width: unset;
  padding: 0;
}
.home_category .nav .swiper_btns .swiper-button-disabled {
  opacity: 0;
}
.home_category .home_category_nav_swiper {
  overflow: hidden;
}
.home_category .home_category_nav_swiper .swiper-slide {
  width: auto;
  white-space: nowrap;
  font-size: 2.1rem;
  color: #7b7b7b;
  background-color: #fafafa;
  border: 1px solid #e7eaf3;
  cursor: pointer;
  text-align: center;
  border-radius: 0.4rem;
  line-height: 5rem;
  padding: 0 2.4rem;
  min-width: 11.8rem;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  letter-spacing: -0.08rem;
}
.home_category .home_category_nav_swiper .swiper-slide.active,
.home_category .home_category_nav_swiper .swiper-slide:hover {
  background-color: #e7eaf3;
  border-color: #e7eaf3;
  color: var(--primary);
}
.home_category .list {
  margin-top: 6.8rem;
}
.home_category .list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(32rem, 100%), 1fr));
  gap: 1.2rem 1.8rem;
}
.home_category .item {
  display: grid;
  grid-template-columns: 7.8rem 1fr 1.2rem;
  align-items: center;
  cursor: pointer;
  height: 100%;
  border-bottom: 1px solid #e7eaf3;
  transition: all 0.3s;
  font-size: 2.5rem;
  gap: 3.5rem;
  padding: 2.2rem 3.5rem 2.2rem 0;
}
.home_category .item:hover {
  border-bottom-color: var(--primary);
}
.home_category .item:hover img {
  transform: scale(1.02);
}
.home_category .item:hover i {
  filter: unset;
  animation: shakeX 0.5s infinite alternate;
}
.home_category .item .img {
  --h: 97.44%;
}
.home_category .item i {
  display: block;
  content: '';
  padding-bottom: 158.333%;
  filter: contrast(0) brightness(1.8);
  transition: all 0.3s;
  background: url("../img/arrow.png") no-repeat center / contain;
}
.page_resources {
  padding-bottom: 20rem;
}
.page_resources .list {
  margin-top: 6.3rem;
}
.page_resources .list ul {
  gap: 2.4rem 1.8rem;
}
.page_resources .item:hover .title::after {
  animation: shakeX 0.5s infinite alternate;
}
.page_resources .item .img {
  padding-bottom: 97.7444%;
}
.page_resources .item .img::after {
  background-image: linear-gradient(to top, #000 10%, transparent);
  opacity: 1;
}
.page_resources .item .info {
  padding: 0 3.2rem;
  bottom: 5%;
}
.page_resources .item .title {
  font-size: 2.1rem;
  line-height: 1.38095;
  margin-top: 1.6rem;
  max-width: 26rem;
  font-weight: 400;
  letter-spacing: -0.055rem;
}
.page_resources .item .title::after {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  content: '';
  background: url("../img/arrow-r-w.png") no-repeat center / contain;
  filter: contrast(0) brightness(2);
  right: 2.7rem;
  margin-top: 0.6rem;
}
.page_resources .item .cats span {
  padding-top: 0.4rem;
}
.page_resources .item .desc {
  max-width: 81rem;
  font-size: 2.1rem;
  line-height: 2.5rem;
  margin: 2.6rem 0 2.2rem;
}
.page_resources .lar .title {
  font-size: 3.8rem;
  line-height: 0.973684;
  max-width: 50rem;
  letter-spacing: -0.023rem;
}
.page_resources .lar .title::after {
  width: 2.2rem;
  height: 2.2rem;
  right: 12.5%;
  margin-top: 1.2rem;
}
.page_resources .lar .info {
  bottom: 6.3%;
  max-width: 83.8rem;
}
@media screen and (min-width: 769px) and (max-width: 896px) {
  .page_resources .lar .title {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 768px) {
  .home_category {
    padding: 50px 0;
    overflow: hidden;
  }
  .home_category .nav {
    margin-top: 20px;
  }
  .home_category .nav::before {
    display: none;
  }
  .home_category .nav .swiper_btns {
    margin-top: 20px;
  }
  .home_category .nav .swiper_btns .swiper-button-disabled {
    opacity: 0.68;
  }
  .home_category .home_category_nav_swiper {
    overflow: unset;
  }
  .home_category .home_category_nav_swiper .swiper-slide {
    font-size: 14px;
    line-height: 32px;
    min-width: unset;
    letter-spacing: unset;
    padding: 0 20px;
  }
  .home_category .list {
    margin-top: 30px;
  }
  .home_category .list ul {
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    gap: 5px 16px;
  }
  .home_category .item {
    grid-template-columns: 50px 1fr 8px;
    padding: 14px 0;
    font-size: 14px;
    gap: 14px;
  }
  .page_resources {
    padding-bottom: 50px;
  }
  .page_resources .list {
    margin-top: 30px;
  }
  .page_resources .list ul {
    gap: 16px;
  }
}
