.activity {
  padding: 100px 0 110px 0;
  background-color: #F4F6F5;
}
.activity-header {
  display: flex;
  flex-direction: row;
  gap: 115px;
}
.activity-header .title {
  font-family: Unbounded;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  text-align: left;
  color: #181818;
}
.activity-header .category-wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.activity-header .category-wrapper .category {
  cursor: pointer;
  min-width: 169px;
  height: 41px;
  transition: all 0.4s ease-in-out;
}
.activity-header .category-wrapper .category:hover {
  color: white !important;
  background-color: #004231;
}
.activity-header .category-wrapper .category-active {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: white;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 29px;
  background-color: #004231;
}
.activity-header .category-wrapper .category:not(.category-active) {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: #6A7375;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 29px;
  border: 1px solid rgba(106, 115, 117, 0.7);
}
.activity-header .all-category {
  min-width: 169px;
  font-family: Unbounded;
  font-size: 14px;
  height: 41px;
  font-weight: 400;
  text-align: center;
  color: #6A7375;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 29px;
  border: 1px solid rgba(106, 115, 117, 0.7);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.activity-header .all-category:hover {
  color: white !important;
  background-color: #004231;
}
.activity-header .category-active {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  color: white;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 29px;
  background-color: #004231;
}
.activity .activity-slider {
  padding-top: 40px;
  overflow: hidden;
}
.activity .activity-slider .item {
  transition: all 0.4s ease-in-out;
  position: relative;
  height: 342px;
  display: flex;
  flex-direction: column;
  background-color: white;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
}
.activity .activity-slider .item:hover {
  scale: 1.04;
}
.activity .activity-slider .item .badge {
  z-index: 1;
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #004231;
  font-family: Unbounded;
  font-size: 12px;
  font-weight: 400;
  padding: 0 14px;
  border-radius: 18px;
  color: white;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.activity .activity-slider .item img {
  width: 100%;
  height: 210px;
  -o-object-fit: cover;
     object-fit: cover;
  cursor: pointer;
}
.activity .activity-slider .item .content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.activity .activity-slider .item .content .title {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-align: left;
  color: #181818;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}
.activity .activity-slider .item .content .desc {
  font-family: Unbounded;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
  text-align: left;
  color: #6A7375;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}
.activity .activity-slider .swiper-button-prev, .activity .activity-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  z-index: 1;
  bottom: 141px;
  top: unset;
}
.activity .activity-slider .swiper-button-prev:not(.swiper-button-disabled) {
  -webkit-animation: scale-large 1.4s ease-in-out infinite alternate;
          animation: scale-large 1.4s ease-in-out infinite alternate;
}
.activity .activity-slider .swiper-button-next:not(.swiper-button-disabled) {
  -webkit-animation: scale-large 1.4s ease-in-out infinite alternate;
          animation: scale-large 1.4s ease-in-out infinite alternate;
}
.activity .activity-slider .swiper-button-prev:after {
  content: none;
}
.activity .activity-slider .swiper-button-next:after {
  content: none;
}
.activity .activity-slider .swiper-button-prev {
  left: -60px;
}
.activity .activity-slider .swiper-button-next {
  right: -60px;
}

@media screen and (max-width: 1024px) {
  .activity {
    padding: 32px 0 32px 0;
    background-color: #F4F6F5;
  }
  .activity .app-container {
    padding: 0;
  }
  .activity-header {
    display: flex;
    padding: 0 16px;
    flex-direction: column;
    gap: 20px;
  }
  .activity-header .title {
    font-family: Unbounded;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #181818;
  }
  .activity-header .category-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .activity-header .category-wrapper .category {
    cursor: pointer;
    min-width: unset;
    width: calc(50% - 6px);
    height: 38px;
  }
  .activity-header .category-wrapper .category-active {
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    color: white;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 29px;
    background-color: #004231;
  }
  .activity-header .category-wrapper .category:not(.category-active) {
    transition: all 0.4s ease-in-out;
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    color: #6A7375;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 29px;
    border: 1px solid #6A7375;
  }
  .activity-header .category-wrapper .category:not(.category-active):hover {
    color: white;
    background-color: #004231;
  }
  .activity-header .all-category {
    width: calc(50% - 6px);
    height: 38px;
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    color: #6A7375;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 29px;
    border: 1px solid #6A7375;
  }
  .activity-header .category-active {
    font-family: Unbounded;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: white;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 29px;
    background-color: #004231;
  }
  .activity .activity-slider {
    padding-top: 40px;
    overflow: hidden;
  }
  .activity .activity-slider .swiper-slide {
    transition: opacity 0.4s ease-in-out;
  }
  .activity .activity-slider .swiper-slide:not(.swiper-slide-active) {
    transition: opacity 0.4s ease-in-out;
    opacity: 0.24;
  }
  .activity .activity-slider .item {
    position: relative;
    height: 342px;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
  }
  .activity .activity-slider .item .badge {
    z-index: 1;
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #004231;
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 400;
    padding: 0 4px;
    border-radius: 18px;
    color: white;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .activity .activity-slider .item img {
    width: 100%;
    height: 210px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .activity .activity-slider .item .content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .activity .activity-slider .item .content .title {
    font-family: Unbounded;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    color: #181818;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
  }
  .activity .activity-slider .item .content .desc {
    font-family: Unbounded;
    font-size: 12px;
    font-weight: 300;
    line-height: 18px;
    text-align: left;
    color: #6A7375;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
  }
  .activity .activity-slider .swiper-button-prev, .activity .activity-slider .swiper-button-next {
    width: 32px;
    height: 32px;
    z-index: 1;
    bottom: 141px;
    top: unset;
  }
  .activity .activity-slider .swiper-button-prev:after {
    content: none;
  }
  .activity .activity-slider .swiper-button-next:after {
    content: none;
  }
  .activity .activity-slider .swiper-button-prev {
    left: 16px;
  }
  .activity .activity-slider .swiper-button-next {
    right: 12px;
  }
}
