
.kv_section {
  padding: 0 5rem;

  .slogan {
    img{
      max-width: 366px;
    }

    p {
      font-size: 1.25rem;
      line-height: 2rem;
      color: #4D5156;
    }
    .mymate_title{


      h1{
        font-size: 40px;
        padding: 0;
        letter-spacing: 2px;

      }

      h1::before{
        height: calc(1rem + 1vw);
        margin-top: calc(1rem + 0vw);
      }
    }
  }



  #swiper_kv_slider {
    max-width: 1540px;
    overflow: hidden;
    position: relative;
    margin-right: auto;
    margin-left: auto;

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper-button-next, .swiper-button-prev {
      color: white;
    }

    .swiper-pagination-bullet-active {
      background-color: white;
    }
  }

}

.production_section {

  .introduce_one {
    h2 {
      color: #F57500;
      margin-bottom: 1rem;
    }

    h1 {
      color: #1E2F40;
      margin-bottom: 2rem;

    }


  }

  .introduce_two {

    .line {
      height: 4px;
      width: 100%;
      background-color: #4B78A4;
    }

    .row img {
      aspect-ratio: 1;
      max-width: 116px;
      width: 6vw;

    }

    h3{
      margin-top: 1rem;
    }
    .row {
      z-index: 1;
      height: 100%;
      margin: 10px 0;
      border-top: 2px solid #4B78A4;
      border-bottom: 2px solid #4B78A4;
      background-repeat: no-repeat;
      background-position: center;
      background-size: auto 97%;
      /*background-image: url("../images/home/frame.svg");*/

      .col-12{
        position: relative;
        aspect-ratio: 16/9;
      }
    }



    .one:before{
      content: '';
      display: block;
      position: absolute;
      width: 1px;
      height: 90%;
      background-color: #4b78a4;
      top: 0;
      right: 0;
      bottom: 0;
      margin-bottom: auto;
      margin-top: auto;
    }
    .two:before{
      content: '';
      display: block;
      position: absolute;
      width: 90%;
      height: 1px;
      background-color: #4b78a4;
      left: 0;
      right: 0;
      bottom: 0;
      margin-left: auto;
      margin-right: auto;
    }
    .three:before{
      content: '';
      display: block;
      position: absolute;
      width: 90%;
      height: 1px;
      background-color: #4b78a4;
      left: 0;
      right: 0;
      top: 0;
      margin-left: auto;
      margin-right: auto;
    }
    .four:before{
      content: '';
      display: block;
      position: absolute;
      width: 1px;
      height: 90%;
      background-color: #4b78a4;
      left: 0;
      bottom: 0;
      top: 0;
      margin-bottom: auto;
      margin-top: auto;
    }


  }


}

.influencer_section {


  #swiper_influencer_slider {
    position: relative;
    overflow: hidden;

    .influencer_card {
      padding: 3rem;
      background-color: white;
      border-radius: 6vw 0 6vw 0;
      aspect-ratio: 479/572;
      justify-content: space-between;
      max-width: 366px;

      .influencer_date {
        width: 100%;
        text-align: right;
      }

      .influencer_excerpt {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 5; /* 控制顯示的行數，例如3行 */
        line-height: 2.5rem; /* 行高 */
        max-height: calc(2.5rem * 5); /* 確保最大高度與行數匹配 */
      }

    }

    .influencer_card:hover {
      background-color: #D7EDEC;
    }

    .prev_next_btn{

    }

  }


}

.archives_section {

  .info {
    padding-right: 2rem;

    p {
      padding-top: 2rem;
    }
  }



  #swiper_archives_slider {
    width: 100%;
    overflow: hidden;
  }
}

.archives_card {
  /*background-color: white;*/
  border-radius: 5vw 1vw 5vw 1vw;
  aspect-ratio: 479/572;
  max-width: 366px;
  justify-content: space-between;

  .archives_cover {
    width: 100%;
    margin-bottom: -1rem;
    z-index: 1;
  }

  .archives_cover img {
    border-radius: 5vw 1vw 0vw 1vw;
    aspect-ratio: 528/376;
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 366px;
  }

  .archives_container {
    padding: 2rem;
    background-color: white;
    border-radius: 0vw 1vw 5vw 1vw;
    z-index: 0;

    .archives_date {
      color: #8E979F;
    }

    .archives_excerpt {
      padding-left: 1rem;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 2; /* 控制顯示的行數，例如3行 */
      line-height: 2.5rem; /* 行高 */
      max-height: calc(2.5rem * 2); /* 確保最大高度與行數匹配 */
    }

    .more {
      padding-top: 1rem;
      display: flex;
      justify-content: end;
    }
  }
}

.archives_card:hover {


  .archives_container {
    background-color: #D7EDEC;
  }

  .more_link {
    color: #FE7E07;
  }

  .more_link::after {
    background-image: url("../images/ui/arrow_right_o.svg");
  }

}

.slider_control {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;


  .prev {
    cursor: pointer;
    aspect-ratio: 27/54;
    width: 100%;
    height: 100%;
    max-width: 27px;
    max-height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 97%;
    background-image: url("../images/ui/arrow_right_b.svg");
    transform: rotate(-180deg);
  }

  .next {
    cursor: pointer;
    aspect-ratio: 27/54;
    width: 100%;
    height: 100%;
    max-width: 27px;
    max-height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 97%;
    background-image: url("../images/ui/arrow_right_b.svg");
  }

}

@media (max-width: 768px) {
  .kv_section {
    padding: 0 1.5rem;
    .slogan {
      .mymate_title {
        h1 {
          font-size: 30px;
        }
      }
    }

  }


  .production_section {
    .introduce_two {
      p {
        padding-top: 2rem;
        font-size: 1.5rem;
      }


      .row {
        border-top: unset;
        border-bottom: unset;
        background-image: unset;

      }
      .row img {

        max-width: 116px;
        width: 30vw;

      }

      .one:before{
        width: 0;
      }
      .two:before{

        height: 0;

      }
      .three:before{
        height: 0;
      }
      .four:before{
        width: 0;
      }


    }
  }


}

@media (max-width: 992px) {

  .kv_section {
    .slogan {
      width: 100%;
      display: grid;

      h1,h2{
        text-align: center;
      }

      img {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        padding: 0 3rem;
      }

      p {
        text-align: center;
        font-size: 1.2rem;
      }
    }
  }

  .influencer_section {
    padding: 0;
  }



  .archives_section {
    padding: 0;

    .info {
      padding: 0 1.5rem;
      text-align: center;

      p {
        padding-top: 0.8rem;
      }
    }



    .slider_control {
      padding: 2rem;

    }
  }

  .archives_card {
    margin-right: auto;
    margin-left: auto;

    border-radius: 22vw 1vw 1vw 1vw;
  }
}
