/* CSS Fixes for nsrp-next */

/* Fix 1: .dote section center alignment */
#wrap > section.dote {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

#wrap > section.dote > .bgi {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
}

#wrap > section.dote > .bgi > h2 {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
}

#wrap > section.dote > .bgi > p {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
}

@media screen and (max-width: 1200px) {
  #wrap > section.dote > .bgi {
    background-size: cover;
  }

  #wrap > section.dote > .bgi > h2 {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }

  #wrap > section.dote > .bgi > p {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  #wrap > section.dote {
    width: 100%;
  }

  #wrap > section.dote > .bgi {
    width: 100%;
    background-size: cover;
  }

  #wrap > section.dote > .bgi > h2 {
    font-size: 1.5rem;
  }

  #wrap > section.dote > .bgi > p {
    font-size: 1rem;
  }
}

/* Fix 2: Footer logo size */
footer .footer-logo {
  width: 150px;
  height: 100px;
  margin: 0 auto 20px;
  display: block;
  text-indent: -9999px;
  background-image: url(../images/logo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

footer .footer-logo a {
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  footer .footer-logo {
    width: 120px;
    height: 80px;
  }
}

@media screen and (max-width: 425px) {
  footer .footer-logo {
    width: 100px;
    height: 70px;
  }
}

/* Swiper Integration Fixes */

/* Override Swiper default styles to work with original CSS */
.main_visual .swiper-hero {
  width: 100% !important;
  height: 800px !important;
  position: absolute !important;
  top: 0;
  left: 0;
}

.main_visual .swiper-hero .swiper-wrapper {
  height: 800px !important;
}

.main_visual .swiper-hero .swiper-slide {
  width: 100% !important;
  height: 800px !important;
}

/* Slide items with background images */
.main_visual .swiper-hero .slide-item {
  width: 100%;
  height: 800px;
  text-indent: -9999px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.main_visual .swiper-hero .slide-1 {
  background-image: url(../images/slides1.png);
}

.main_visual .swiper-hero .slide-2 {
  background-image: url(../images/slides2.png);
}

.main_visual .swiper-hero .slide-3 {
  background-image: url(../images/slides3.png);
}

.main_visual .swiper-hero .slide-4 {
  background-image: url(../images/slides4.png);
}

.main_visual .swiper-hero .slide-5 {
  background-image: url(../images/slides5.png);
}

.main_visual .swiper-hero .slide-6 {
  background-image: url(../images/slides6.png);
}

.main_visual .swiper-hero .slide-item > a {
  display: block;
  width: 100%;
  height: 800px;
}

/* Swiper pagination bullets - hide default, use custom */
.main_visual .swiper-pagination {
  display: none !important;
}

/* Keep original pagination styles working */
.main_visual .slides-pagination .swiper-pagination-bullet {
  list-style: none;
}

.main_visual .slides-pagination .swiper-pagination-bullet-active {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  .main_visual .swiper-hero,
  .main_visual .swiper-hero .swiper-wrapper,
  .main_visual .swiper-hero .swiper-slide {
    height: 400px !important;
  }

  .main_visual .swiper-hero .slide-item {
    height: 400px;
    background-size: 768px 300px;
  }

  .main_visual .swiper-hero .slide-item > a {
    height: 400px;
  }
}
