:root {
  --swiper-theme-color: #006394;
  --swiper-navigation-color: #006394;
}
/* Swiper */
.swiper {
  height: auto;
}

.hs_swiper {
  /* overflow: visible; */
  .swiper-slide {
    position: relative;
    height: 640px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .swiper-slide-content {
      position: absolute;
      top: 74px;
      height: Calc(640px - 74px);
      padding: 0 3rem 0 3rem;
      display: flex;
      width: 100%;
      justify-content: center;
      /*align-content: space-around;*/
      /*
      
      align-items: center;*/
      gap: 0.5rem;
      flex-direction: column;
      text-align: center;
      /*
      > * {
        max-height: 25%;
        line-height: auto;
      }*/

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        padding: 0;
        margin: 0;
        color: #fff;
        text-shadow: 0px 1px 4px #0009;
      }

      h1 {
        font-weight: 800;
        font-size: clamp(2rem, 5vw, 3rem);
        text-transform: uppercase;

        /* text-shadow: 0px 1px 2px #000; */
      }
      h3 {
        font-weight: 600;
        font-size: clamp(1.5rem, 3vw, 2rem);
        /* text-shadow: 0px 1px 2px #000; */
      }
      h5 {
        font-size: clamp(1rem, 2vw, 1.5rem);
        font-weight: 300;
      }
      .btn {
        border-radius: 1.5rem;
        height: 3rem;
        font-weight: bold;
        padding: auto;
        position: relative;
        padding-left: 3rem;
        padding-right: 3rem;
        background: #fff;
        color: #333;
        border: 1px solid transparent;
        max-width: 50%;
        min-width: 25%;
        width: auto;
        left: auto;
        right: auto;
        margin: 0 auto;
        z-index: 9999;

        .bi {
          position: absolute;
          top: 0.5rem;
          bottom: 0.5rem;
          /* display: inline-block; */
          background: #333;
          color: #fff;
          border-radius: 2rem;
          font-size: 1rem;
          height: 2rem;
          width: 2rem;
          padding: 0.25rem;
          /* vertical-align: middle; */
          text-align: center;
          left: 0.5rem;
          transition: all 0.3s ease-in-out;
          z-index: 1;
          margin: auto 0 auto 0;
        }
      }
      .btn:hover {
        background: #333;
        color: #fff;

        .bi {
          /* left: Calc(100% - 2.5rem); */
          transform: rotate(90deg);
          color: #333;
          background: #fff;
        }
      }
    }
    .swiper-slide-img {
      position: absolute;
      width: 480px;
      height: 640px;
      right: 0;
      top: 0;
      padding: 0;
      img {
        width: 480px;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: all 0.3s ease-in-out;
      }
    }
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 3rem;
    height: 3rem;
    display: table;
    position: absolute;
    bottom: 0.5rem;
    top: auto;
    left: 0.5rem;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after {
    width: 2rem;
    height: 2rem;
    display: table-cell;
    color: #333;
    transition: all 0.2s ease-in-out;
    background: #fff;
    vertical-align: middle;
    text-align: center;
    border-radius: 1rem 0 0 1rem;
    border: 1px solid #0009;
    border-right: none;
    font-size: 1.5rem;
    right: auto;
    margin: 0;
  }
  .swiper-button-next {
    left: 3.5rem;
    right: auto;
  }
  .swiper-button-next::after {
    border-radius: 0 1rem 1rem 0;
    border: 1px solid #0009;
    border-left: none;
  }

  .swiper-button-prev:hover:after,
  .swiper-button-next:hover:after {
    color: #ffff !important;
    background: #000 !important;
  }
  /* */
  .swiper-pagination {
    padding: 0.5rem;
    height: 2rem;
    background: #333;
    border-radius: 1rem 1rem 0 0;
    border: 1px solid #0001;
    position: absolute;
    bottom: 0;
    z-index: 99999;
    left: 0;
    right: 0;
    margin: auto;
    width: 200px;
  }
  .swiper-pagination-bullet {
    transition: all 0.5s ease-in-out;
    width: 1rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #999;
    height: 1rem;
    opacity: 0.5;
    transform: scale(0.5);
  }

  .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
    width: 1rem;
    border: 1px solid #999;
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .hs_swiper {
    .swiper-slide {
      .swiper-slide-content {
        padding: 1rem;
        gap: 0.5rem;
        top: 74px;
        > h1,
        > h3,
        > h5,
        > .btn {
          width: 100%;
          /* height: auto; */
          /* line-height: 2rem; */
        }

        h1 {
          font-size: clamp(1.5rem, 3vw, 2rem);
        }
        h3 {
          font-size: clamp(1.2rem, 2vw, 1.5rem);
        }
      }
    }
  }
}
@media (max-width: 1200px) {
  .hs_swiper {
    .swiper-slide {
      .swiper-slide-content {
        padding: 1rem;
        gap: 0.5rem;
        top: 74px;
        > h1,
        > h3,
        > h5,
        > .btn {
          width: 100%;
          height: auto;
          /* line-height: 2rem; */
        }

        h1 {
          font-size: clamp(3rem, 4vw, 3rem);
        }
        h3 {
          font-size: clamp(1.2rem, 2vw, 1.5rem);
        }
      }
    }
  }
}
