/* swiper     */
.swiper {
  width: 100%;
  height: 200px;
  height: max-content;
}

.swiper-section {
  position: relative;
  margin: 20px;
  /* width: 100%; */
  border-radius: 25px;
  overflow: hidden;
  margin-top: 25px;
  max-height: 600px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--bg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: max-content;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.swiper-slide-active img {
  transform: scale(1.1);
}



/* overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 55.2%, rgba(0, 0, 0, 0.45) 70.69%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.overlay .c-title {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 40px;
  width: 100%;
  text-align: left;  
  padding-bottom: 20px;
}

.overlay .c-title h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--text-inverse);
  width: 60%;
}




@media (max-width: 768px) {
  .overlay .c-title {
    padding-inline: 20px;
  }
  .overlay .c-title h2 {
    font-size: 18px;
    font-weight: 500;
    width: 100%;
    color: var(--text-inverse);
  }
  .overlay .c-title a {
    font-size: 12px !important;
  }
  
}


@media (max-width: 460px){
  .swiper-section {
    margin: 5px;
  }
  .swiper {
    height: 230px;
  }

  .swiper-slide img{
    height: 100%;
  }
}