.dark-categories {
  padding: 37.5px 52.5px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .dark-categories {
    padding: 37.5px;
  }
}

@media (max-width: 767.98px) {
  .dark-categories {
    padding: 22.5px;
  }
}

/* Categories Texts */
.dark-categories-texts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px 0px 0px 0px;
  text-align: center;
  margin-bottom: 15px;
}

.dark-categories-texts h2 {
  font-size: 31px;
  line-height: 40px;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .dark-categories-texts h2 {
    font-size: 24px;
    line-height: 30px;
  }
}

.dark-categories-texts p {
  font-size: 15px !important;
  line-height: 20px;
  width: 100%;
  opacity: .8;
}

@media (min-width: 1199.98px) {
  .dark-categories-texts p {
    width: 50% !important;
  }
}

/*  */
.dark-categories-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.dark-categories-wrapper .nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #555;
  margin-bottom: 20px;
}

.dark-categories-wrapper .nav li {
  position: relative;
}
.dark-categories-wrapper .nav li a {
  font-size: 15px;
  height: 100%;
  width: 100%;
  display: block;
  padding: 15px 25px;
  opacity: .7;
  transition: .3s;
}

@media (max-width: 767.98px) {
  .dark-categories-wrapper .nav li a {
    padding: 15px;
  }
}

.dark-categories-wrapper .nav li:hover a {
  opacity: 1
}

.dark-categories-wrapper .nav li a.active {
  opacity: 1
}

.dark-categories-wrapper .nav li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  width: 0;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 20px;
  transition: .3s;
}

.ltr .dark-categories-wrapper .nav li a::after {
  left: 0;
}

.rtl .dark-categories-wrapper .nav li a::after {
  right: 0;
}

.dark-categories-wrapper .nav li:hover a::after, .dark-categories-wrapper .nav li a.active::after {
  width: 100%;
}

.dark-categories-wrapper .tab-content {
  width: 100% !important;
}


.dark-categories-wrapper .tab-content .row {
  row-gap: 20px;
}

/*  */
.dark-categories-section .dark-category-wrapper .swiper-slide {
  width: 100%;
  max-width: 200px;
}

.dark-categories-section .dark-category-wrapper .swiper-slide a {
  display: block;
  text-align: center;
  width: 100%;
}

.dark-categories-section .dark-category-wrapper .swiper-slide a img {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
  border-radius: 10px;
  height: 150px;
  object-fit: cover;
}

.dark-categories-section .dark-category-wrapper .swiper-slide a h3 {
  margin-top: 15px;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  white-space: break-spaces;
}