/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");


#contaier {
  max-width: 1120px;
  width: 100%;
  height:28rem;
  padding: 100px 0px;
  position: relative;
  z-index: 0;
  top: 9rem;
}
.slide-container {
  margin: 0 12px;
  position: relative;
  top: -3.5rem;
}

.slide-container-publisher {
  margin: 0 12px;
  position: relative;
  top: -3.5rem;
}

.swiper-wrapper {
    display: flex;
}

/* Center slides when fewer than 4 */
.swiper-wrapper.no-more-than-3 {
    justify-content: center;
}

.cards {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  top: -1.1rem;
  height: 22rem;
  position: relative;
  z-index: 0;
}

.dark .cards {
  background-color: #ffffff;
}

.cards .image-box {
  height: 200px;
}
.cards .image-box img {
  width: 100%;
  height: 100%;
  border-radius: 11px 11px 0 0;
}
.cards .profile-details {
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 15px;
}
.cards .profile-details img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
}
.profile-details .name {
  font-size: 15px;
  font-weight: 500;
}
.profile-details .job a{
background-image:linear-gradient(rgb(255, 162, 0),rgb(255, 140, 0));
  color: white;
  color: #ffffff;
  text-decoration: none;
  border: none;
  padding: 8px 11px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.swiper-navBtn {
  color: #ffffff;
  height: 40px;
  width: 40px;
  background-image:linear-gradient(rgb(255, 162, 0),rgb(255, 140, 0));
  border-radius: 50%;
  margin: -40px -8px;
}
.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 18px;
}

.swiper-pagination-bullet {
  background-color: #000;
}

.dark .swiper-pagination-bullet {
  background-color: #ffffff;
}
#featuredpro{
    right: 4%;
    position: absolute;
    top: 85%;
    font-size: 13px;
}

#toppro{
   right: 4%;
    position: absolute;
    top: 60%;
    font-size: 13px;
}

#urgentpro{
    position: absolute;
    top: 5%;
    right: 4%;
    font-size: 13px;

}

@media (min-width: 2000px) {
  #contaier, .similar-products-title {
    top: 7rem;
  }
  .similar-products-title{
      font-size: 60px;
  }
#contaier {
  max-width: 2000px;
  width: 100%;
  height:34rem;
}

.cards {
  height: 30rem;
}


.cards .image-box {
  height: 270px;
}


.profile-details .name {
  font-size: 18px;
  font-weight: 500;
  padding: 7px 0px;
}
.profile-details .job a{
  padding: 13px 11px;
  font-size: 15px;
  top:0.5rem;
  position: relative;
}

.swiper-navBtn {
  color: #ffffff;
  height: 40px;
  width: 40px;
  background-image:linear-gradient(rgb(255, 162, 0),rgb(255, 140, 0));
  border-radius: 50%;
  margin: -40px -8px;
}
.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 18px;
}

.swiper-pagination-bullet {
  background-color: #000;
}

.dark .swiper-pagination-bullet {
  background-color: #ffffff;
}
}

@media screen and (max-width: 940px) {
  #contaier, .similar-products-title {
    top: 7rem;
  }
  #suggestedtopic{
      position: relative;
      top: 6rem;
  }

}

@media screen and (max-width: 515px) {
  #contaier, .similar-products-title {
    top: 0.5rem;
  }
  .similar-products-title{
    font-size: 25px;
  }
    #suggestedtopic{
      top: 0rem;
  }
.swiper-navBtn {
  height: 35px;
  width: 35px;

}
}

@media screen and (max-width: 480px) {
  #contaier, .similar-products-title {
    top: -2rem;
  }
      #suggestedtopic{
      top: -2.5rem;
  }
}

@media screen and (max-width: 415px) {
  #contaier, .similar-products-title {
    top: -2.6rem;
  }    
  #suggestedtopic{
      top: -3rem;
  }
  .similar-products-title{
    font-size: 22px;
  }
  .swiper-navBtn {
  height: 30px;
  width: 30px;

}
}
@media screen and (max-width: 330px) {
   .similar-products-title {
    top: -1.2rem;
  }
  #contaier{
          top: -0.92rem;

  }
    #suggestedtopic{
      top: -2rem;
  }
  .slide-container{
      top: -4rem;
  }
}