.category-swiper {
  margin-top: 2rem;
  margin-bottom: 1rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 10px;
}
.category-swiper a {
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 20px;
  color: #fff;
  opacity: 0.5;
  font-weight: bold;
  font-size: 0.75rem;
  line-height: 1rem;
  padding: 0.5rem 1rem;
}
.category-swiper .active {
  background-color: var(--primary-color2);
  opacity: 1;
}
.category-swiper .swiper-slide {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

main {
  position: relative;
  margin-top: -230px !important;
}
.main2 {
  margin-top: -200px !important;
}

.pagination {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  --bs-pagination-color: var(--text-color);
  --bs-pagination-active-bg: var(--primary-color);
  --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;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.breadcrumbs a {
  opacity: 0.5;
}
.breadcrumbs li,
.breadcrumbs a {
  color: #fff;
}
.breadcrumbs a::after {
  content: " > ";
  margin: 0 0.5rem;
  color: var(--primary-color2);
}
article {
  color: #7b7b7b;
  font-size: 15px;
  font-weight: 400;
  text-align: justify;
  line-height: 2rem;
  margin: 0;
  margin-bottom: 50px;
}
.special-div::after {
  position: absolute;
  top: -20px;
  right: 53px;
  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;
}
article a,
article a:hover {
  color: var(--primary-color);
}
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;
}
.contact-header {
  padding-bottom: 140px;
}
.contact-main {
  margin-top: 60px !important;
}
.contact-main h2 {
  font-size: 30px;
  color: var(--primary-color);
  text-align: center;
}
.contact-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  height: 100%;
  -webkit-box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 10%);
          box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 10%);
  padding: 45px 30px;
  border-radius: 5px;
  background-color: #fff;
}
.contact-card i {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 20px;
  border-radius: 50px;
  width: 2.2em;
  height: 2.2em;
  border: solid 2px var(--primary-color);
}
.contact-card strong {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.7em;
  color: var(--title-color);
  margin-bottom: 10px;
}
.contact-card span {
  color: #2f3f50a6;
  font-size: 18px;
  font-weight: 600;
  word-break: break-word;
}
.title-h2{
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
@media screen and (max-width: 1024px) {
  .contact-card strong {
    font-size: 18px;
  }
  .contact-card i {
    font-size: 15px;
  }
  .contact-card span {
    font-size: 18px;
  }
}
@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;
  }
}