

#app {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root {
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color: #fff;
}

.swiper-carousel {
  padding-bottom: 32px;
  max-width: 600px;
}
.swiper-carousel .swiper-slide {
  width: 300px;
  height: 450px;
  border-radius: 20px;
  background: #F6C611;
  max-width: calc(100% - 48px);
}
.swiper-carousel .swiper-carousel-animate-opacity {
  height: 100%;
}
.swiper-carousel .swiper-pagination-bullets {
  bottom: 0;
}
.swiper-carousel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
.swiper-carousel .slide-content {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  padding: 10px 16px 24px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  border-radius: 0 0 8px 8px;
}
.swiper-carousel .slide-content h2 {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
  line-height: 1.1;
}
.swiper-carousel .slide-content p {
  margin: 8px 0 0;
  opacity: 0.65;
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (max-width: 640px) {
  .swiper-carousel .swiper-button-next,
.swiper-carousel .swiper-button-prev {
    display: none !important;
  }
}
