.gallery-img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.gallery-img:hover {
  -webkit-box-shadow: 0 10px 16px 0 rgb(0 0 0 / 15%);
  box-shadow: 0 10px 16px 0 rgb(0 0 0 / 15%);
}

.category-swiper .swiper-wrapper {
  margin-bottom: 20px;
  margin-top: 20px;
  border-bottom: 2px solid #e8e8e8;
  min-width: 100%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.category-swiper .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: 55px;
  padding: 0px 10px;
  line-height: 47px;
}

.category-swiper .swiper-slide a {
  color: #999;
}

.category-swiper .swiper-slide.active {
  border-right: 2px solid rgb(232, 232, 232);
  border-left: 2px solid rgb(232, 232, 232);
  border-top: 5px solid var(--primary-color1);
  border-bottom: none;
  background-color: rgb(255, 255, 255);
}

.category-swiper .swiper-slide.active::after {
  content: "";
  width: 101%;
  left: 0px;
  position: absolute;
  background-color: #fff;
  height: 5px;
  bottom: -4px;
  display: block;
}

.category-swiper .swiper-slide.active a {
  color: var(--primary-color1);
}

.video-div {
  position: relative;
}

.video-div i {
  position: absolute;
  font-size: 3rem;
  width: 100%;
  text-align: center;
  vertical-align: middle;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #ffffffab;
  text-shadow: rgb(104 104 104 / 45%) 1px 1px 3px;
}

.video-div video {
  -webkit-box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
  box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}

.news-item h3 {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  margin: 15px 0;
}

.news-item p {
  line-height: 2;
  color: #444;
  text-align: justify;
  font-size: 13px;
}

.special-div {
  position: relative;
}

.special-div::after {
  position: absolute;
  top: 20px;
  right: 20px;
  -webkit-box-shadow: rgb(0 0 0 / 18%) 0 2px 5px;
  box-shadow: rgb(0 0 0 / 18%) 0 2px 5px;
  content: "خبر ویژه";
  padding: 0 5px;
  border-radius: 5px;
  background-color: #00000063;
  font-weight: 400;
  color: #fff;
  font-size: 0.8rem;
}

.single-news.special-div::after {
  top: 40px;
}

.single-news>div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  color: #444;
  font-size: 13px;
  margin-bottom: 50px;
}

.pagination {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  --bs-pagination-color: var(--text-color);
  --bs-pagination-active-bg: var(--primary-color1);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-hover-color: var(--text-color);
  --bs-pagination-focus-color: var(--text-color);
  --bs-pagination-border-radius: 50px;
  margin-bottom: 50px;
}

.pagination .page-item {
  margin: 0 3px;
}

.pagination .page-link {
  border-radius: 50px;
  width: 50px;
  height: 50px;
  line-height: 40px;
  font-size: 25px;
  text-align: center;
  border: none;
}

.news-img {
  margin-top: 35px;
  margin-bottom: 10px;
  width: 100%;
}

img {
  max-width: 100% !important;
  height: auto;
}

article {
  line-height: 2.2;
  color: #444;
  text-align: justify;
  font-size: 13px;
}

@media only screen and (max-width: 991px) {
  .news-item h3 {
    font-size: 20px;
  }
}