.gallery-main img:hover,
.gallery-main video:hover {
  text-decoration: none;
  -o-transition-property: all;
  -webkit-transition-property: all;
  transition-property: all;
  -o-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  opacity: 0.7;
}
main img:not(article img),
main video {
  border-radius: 20px;
  -webkit-box-shadow: -4.104px 11.276px 38px rgb(45 42 61 / 10%);
          box-shadow: -4.104px 11.276px 38px rgb(45 42 61 / 10%);
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}
.video-div {
  position: relative;
}
.video-div i {
  position: absolute;
  font-size: 3rem;
  right: 50%;
  top: 50%;
  -webkit-transform: translate(50%, -50%);
      -ms-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  color: rgb(255 255 255 / 45%);
  text-shadow: rgb(104 104 104 / 45%) 1px 1px 3px;
}
.category-swiper {
  padding: 10px 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}
.category-swiper a {
  padding: 0 16px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
}
.category-swiper .active {
  color: var(--primary-color3);
}
.category-swiper .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.news-category strong,
.related-news strong {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 20px;
}
.news-category a,
.related-news > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: #666;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid #9995;
}
.news-category a:last-child,
.related-news > div:last-child {
  border-bottom: none;
}
.search-div {
  position: relative;
  margin: auto 0;
  margin-bottom: 50px;
}
.search-div input {
  padding-left: 40px;
  border-radius: 50px;
  padding-right: 20px;
}
.search-div button {
  border: none;
  border-radius: 50px 0 0 50px;
  background: none;
  position: absolute;
  left: 0;
  height: 100%;
  width: 45px;
  color: var(--primary-color3);
}
.search-div i {
  padding: 5px;
}
.mag-detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  gap: 1rem;
  font-size: 0.8rem;
  color: #666;
  line-height: 2;
  padding-top: 10px;
}
.mag-detail a {
  color: var(--primary-color3);
  padding-left: 1rem;
  border-left: 1px solid #dee2e6;
  font-weight: bold;
}
.news-div {
  position: relative;
  text-align: justify;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #dee2e6;
}
.news-div:last-child {
  border: none;
}
.news-div h2 {
  font-size: 1.14rem;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.5;
}
.news-div p,
article {
  color: #212529;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0;
}
article{
  margin-bottom: 50px;
}
.special-div::after {
  position: absolute;
  top: 10px;
  right: 20px;
  content: "خبر ویژه";
  padding: 0px 8px;
  border-radius: 50px;
  background-color: var(--primary-color3);
  font-weight: 400;
  color: #fff;
  font-size: 0.7rem;
}
img {
  max-width: 100% !important;
  height: auto;
}
.sticky-div {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: sticky;
  top: 100px;
}
article a,
article a:hover {
  color: var(--primary-color3);
}
article h2 {
  margin-bottom: 20px !important;
}
article p{
  margin-bottom: 10px;
}
h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 10px;
  color: #000;
}
.related-news{
  margin-bottom: 50px;
}
.related-news > div{
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
}
.related-news a{
  color: #666;
}
.related-news img {
  width: 100px !important;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media (max-width: 992px) {
  .search-div {
    margin: 30px 0;
  }
  .sticky-div {
    position: unset;
  }
}