.search-section {
  margin-top: 1.625rem;
}
.search-section form {
  text-align: center;
  position: relative;
  max-width: 100%;
  width: 794px;
  margin: auto;
}
.search-section input {
  width: 100%;
  -webkit-box-shadow: 0 0 transparent, 0 0 transparent, 0 16px 63px rgb(0 0 0 / 6%);
          box-shadow: 0 0 transparent, 0 0 transparent, 0 16px 63px rgb(0 0 0 / 6%);
  border: 0 solid #e5e7eb;
  font-size: 0.875rem !important;
  line-height: 27.3px;
  padding: 1.5rem 1rem 1.5rem 10rem;
}
.search-section button {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
.category-swiper {
  margin-top: 4rem;
  margin-bottom: 1rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}
.category-swiper a {
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: var(--category-color);
  border-radius: 20px;
  color: #495057;
  font-weight: bold;
  font-size: 0.75rem;
  line-height: 1rem;
  padding: 0.5rem 1rem;
}
.category-swiper .active {
  background-color: var(--primary-color1);
  color: #fff;
}
.category-swiper .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
main {
  margin-top: 2rem !important;
}
.news-div {
  position: relative;
  margin-bottom: 4rem;
}
.news-div a {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  font-size: 1rem !important;
  color: var(--primary-color1);
}
.news-div h2 {
  color: var(--primary-color1);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.75rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.news-div p,
.news-div span {
  display: inline-block;
  color: var(--primary-color1);
  font-weight: 400;
  font-size: 0.9rem;
  text-align: justify;
}
.news-div span {
  margin-top: 1rem;
}
.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: 0;
}

.pagination .page-item {
  margin: 0 0.75rem;
}

.pagination .page-link {
  border-radius: 50px;
  width: 3.375rem;
  height: 3.375rem;
  line-height: 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border: solid 2px var(--border-color);
}

.gallery-div img:hover,
.gallery-div video:hover {
  cursor: pointer;
  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;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  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;
}
.breadcrumbs {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.875rem;
  line-height: 27.3px;
  margin-top: 1.25rem;
}
.breadcrumbs li,
.breadcrumbs a {
  color: var(--primary-color1);
}
.breadcrumbs a::after {
  content: " | ";
  margin: 0 0.5rem;
  color: var(--primary-color1);
}
.single-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  color: var(--primary-color1);
  margin: 0.5rem 0;
  font-weight: 900;
}
.mag-detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  font-weight: 700;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 2rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.mag-detail i {
  color: var(--primary-color1);
  font-size: 1.2rem;
  opacity: 0.5;
}
.mag-detail > div {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.375rem;
}
article {
  color: #7b7b7b;
  font-size: 15px;
  font-weight: 400;
  text-align: justify;
  line-height: 2rem;
  margin: 0;
  margin-bottom: 50px;
}
.side-card strong {
  color: var(--primary-color1);
  font-weight: 700;
  line-height: 1.75rem;
  font-size: 1.125rem;
}
.special-div::after {
  position: absolute;
  top: 10px;
  right: 20px;
  content: "خبر ویژه";
  padding: 0px 8px;
  border-radius: 50px;
  background-color: var(--primary-color2);
  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: 30px;
}
article a,
article a:hover {
  color: var(--primary-color1);
}
article h2 {
  color: #000;
  font-weight: 900;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  text-align: justify;
}
article p {
  margin-bottom: 0;
}
h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 10px;
  color: #000;
}
.best-news {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin: 15px 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.best-news a {
  color: #666;
}
.best-news img {
  width: 70px !important;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.best-news h3 {
  font-weight: 700;
  margin: 0;
  color: #000;
  font-size: 0.75rem;
  line-height: 1rem;
}
@media screen and (max-width: 1280px) {
  .single-title {
    font-size: 1.5rem;
    line-height: 4.375rem;
  }
}
@media screen and (max-width: 1024px) {
  .single-title {
    line-height: 2.75rem;
  }
}
@media screen and (max-width: 992px) {
  .pagination .page-item {
    margin: 0 0.3rem;
  }
  .pagination .page-link {
    width: 2.375rem;
    height: 2.375rem;
    line-height: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  .breadcrumbs {
    margin-top: 0;
  }
  .search-section input {
    padding-left: 6rem;
  }
}