/**
 * @file
 * Banner slider styling.
 */

.banner-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #E5F5FF;
}

.banner-swiper {
  width: 100%;
  position: relative;
}

.banner-slide {
  position: relative;
  width: 100%;
  background-color: #E5F5FF;
  box-sizing: border-box;
}
.banner-content-wrapper {
  height: 300px;
}
.banner-text-container {
  position: relative;
  z-index: 2;
}
.banner-text-container .banner-text-inner {
  width: 50%;
}
/* PC Design Styles */
@media (min-width: 768px) {
  .banner-slide {
    height: 350px;
  }

  .banner-text-col {
    z-index: 2;
  }

  .banner-title {
    font-size: 42px;
    color: var(--deep-blue-color-santen);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .banner-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--deep-blue-color-santen);
    max-width: 580px;
  }

  .banner-image-pc {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
  }
}

/* Mobile (SP) Design Styles */
@media (max-width: 767.98px) {
  .banner-text-container .banner-text-inner {
    width: 65%;
  }
  .banner-content-wrapper {
    height: 210px;
  }
  .banner-text-col {
    padding-left: 24px !important;
    padding-right: 140px !important; /* Make room for the circle image */
    display: flex;
    align-items: center;
    height: 100%;
  }

  .banner-title {
    font-size: 28px;
    color: var(--deep-blue-color-santen);
    line-height: 1.2;
    letter-spacing: -0.3px;
  }

  .banner-description {
    font-size: 13px;
    line-height: 1.4;
    color: var(--deep-blue-color-santen);
  }

  .banner-image-sp {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
  }
}

/* Swiper Pagination Overrides */
.banner-swiper .swiper-pagination-bullets {
  bottom: 15px !important;
}

.banner-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--deep-blue-color-santen);
  opacity: 0.25;
  transition: all 0.3s ease;
}

.banner-swiper .swiper-pagination-bullet-active {
  background: var(--deep-blue-color-santen);
  opacity: 1;
  width: 24px;
  border-radius: 4px;
}
