/* ================ */
/* Carousel Banner  */
/* ================ */
#slick-container {
  position: relative; }

#slick-slider a {
  width: 100%;
  overflow: hidden;
  background-color: black; }
  #slick-slider a img {
    width: 100%;
    height: auto;
    max-height: 100vh; /* 最大高度为视口高度 */
    min-height: 400px; /* 最小高度 */
    object-fit: cover;
    object-position: center;
    margin: auto; }

.slick-dotted.slick-slider {
  margin-bottom: 0; }

.slick-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 8%;
  transform: translateX(-50%);
  display: flex; }
  .slick-slider-dots ul.slick-dots {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: initial;
    bottom: initial;
    width: initial;
    text-align: initial; }
    .slick-slider-dots ul.slick-dots li {
      margin: 0 7px;
      position: initial;
      bottom: initial;
      width: initial;
      height: initial;
      display: initial;
      text-align: initial; }
      .slick-slider-dots ul.slick-dots li button {
        background: grey;
        height: 10px;
        width: 10px;
        overflow: hidden;
        color: grey;
        border: none;
        border-radius: 50%; }
        .slick-slider-dots ul.slick-dots li button:before {
          display: none; }
      .slick-slider-dots ul.slick-dots li.slick-active button {
        background: #fdb813;
        color: #fdb813;
        width: 25px;
        height: 10px;
        border-radius: 25px; }

.carousel-details {
  position: absolute;
  top: 7%;
  left: 10%;
  transform-origin: top left; }
  .carousel-details .carousel-header {
    margin-bottom: 1rem; }
    .carousel-details .carousel-header img {
      width: 10rem;
      transition: opacity 0.4s ease-in-out; }
  .carousel-details .carousel-body .carousel-title h3 {
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase; }
  .carousel-details .carousel-body .carousel-title h1 {
    color: white;
    font-size: 2rem;
    transition: opacity 0.4s ease-in-out; }
  .carousel-details .carousel-body .carousel-country {
    margin-top: 2rem; }
    .carousel-details .carousel-body .carousel-country h4 {
      color: white;
      font-size: 1rem; }
    .carousel-details .carousel-body .carousel-country .container-a3 {
      width: 21rem;
      margin: 0; }

@media screen and (min-width: 1921px) {
  #slick-slider a img {
    height: 38rem;
    max-width: 80vw;
    object-fit: none; }

  .carousel-details {
    top: 15%;
    left: 20%; }
    .carousel-details .carousel-body .carousel-country {
      margin-top: 5rem; } }
@media screen and (min-width: 1706px) and (max-width: 1920.98px) {
  #slick-slider a img {
    height: 38rem; }

  .carousel-details {
    top: 15%;
    left: 15%; }
    .carousel-details .carousel-body .carousel-country {
      margin-top: 5rem; } }
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  .carousel-details .carousel-body .carousel-title h3 {
    font-size: 0.9rem; }
  .carousel-details .carousel-body .carousel-title h1 {
    font-size: 1.5rem; }
  .carousel-details .carousel-body .carousel-country .container-a3 {
    width: 16.5rem; }

  .caption-style-3 {
    justify-content: space-between;
    gap: 0.2rem; }
    .caption-style-3 img {
      width: 40px; }
    .caption-style-3 li {
      padding: 0;
      width: 3.5rem; }
      .caption-style-3 li a {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column; }
    .caption-style-3 .caption {
      position: initial; }

  #slick-slider a {
    aspect-ratio: initial; } }
@media screen and (max-width: 767.98px) {
  #slick-slider a {
    aspect-ratio: initial; }

  #slick-slider a img {
    filter: brightness(85%); }

  .carousel-details {
    width: 100%;
    height: 85%;
    left: 0; }
    .carousel-details .carousel-header {
      display: flex;
      justify-content: center;
      align-items: center; }
    .carousel-details .carousel-body .carousel-title {
      text-align: center; }
      .carousel-details .carousel-body .carousel-title h3 {
        font-size: 1rem; }
      .carousel-details .carousel-body .carousel-title h1 {
        font-size: 1.4rem; }
    .carousel-details .carousel-body .carousel-country .container-a3 {
      background: #FFFFFF33;
      border-radius: 16px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(2px); }
    .carousel-details .carousel-country {
      position: absolute;
      bottom: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center; }

  .chooseWrapper {
    margin-top: 0; }

  .caption-style-3 {
    gap: 0.3rem;
    padding: 0.5rem 0; }
    .caption-style-3 li a:hover {
      text-decoration: none; }
    .caption-style-3 img {
      width: 50px; }
    .caption-style-3 .caption {
      position: initial; }

  html[lang="ph"] .carousel-details .carousel-header {
    margin-bottom: 0.5rem; }
  html[lang="ph"] .carousel-details .carousel-body .carousel-title h1 {
    font-size: 1.2rem; } }
@media screen and (max-width: 538.98px) {
  .slick-slider-dots {
    left: 10%; }

  .carousel-details .carousel-country {
    bottom: 10px; }
  .carousel-details .carousel-body .carousel-country .container-a3 {
    width: 90%; }

  #slick-slider a img {
    filter: initial; } }
@media screen and (max-width: 350px) {
  .carousel-details .carousel-header img {
    width: 7rem; }
  .carousel-details .carousel-body .carousel-title h3 {
    font-size: 0.8rem; }
  .carousel-details .carousel-body .carousel-title h1 {
    font-size: 1rem; }
  .carousel-details .carousel-body .carousel-country h4 {
    font-size: 0.7rem; }
  .carousel-details .carousel-country {
    bottom: 15px; }

  .caption-style-3 {
    gap: 0;
    justify-content: center; }
    .caption-style-3 img {
      width: 40px; }
    .caption-style-3 .caption {
      display: none; }
    .caption-style-3 li {
      padding: 0 0 5px 0; }

  .slick-slider-dots {
    left: 15%; } }
html[lang="br"] .carousel-details .carousel-body .carousel-country {
  margin-top: 1rem; }
  html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list {
    margin-bottom: 1rem; }
    html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list.no-select ul li {
      user-select: none;
      pointer-events: none; }
    html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list .container-a3.br-container {
      width: 5rem;
      height: 73px; }
html[lang="br"] .caption-style-3 {
  gap: 0.2rem; }
  html[lang="br"] .caption-style-3 img {
    width: 45px;
    transform: scale(0.7); }
  html[lang="br"] .caption-style-3 .caption {
    position: initial; }
  html[lang="br"] .caption-style-3 li {
    padding: 0; }
    html[lang="br"] .caption-style-3 li:hover a {
      text-decoration: none; }
    html[lang="br"] .caption-style-3 li a {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      min-width: 61px; }

@media screen and (min-width: 1422px) and (max-width: 1919px) {
  .carousel-details {
    left: 13%; } }
@media screen and (max-width: 767.98px) {
  html[lang="br"] .caption-style-3 {
    justify-content: center;
    gap: 0;
    padding: 0 !important; }
    html[lang="br"] .caption-style-3 li a {
      display: flex; }
    html[lang="br"] .caption-style-3 .caption {
      display: none; }
  html[lang="br"] .carousel-details .carousel-body .carousel-country {
    bottom: -5%; }
    html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list {
      text-align: center; }
      html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list:first-child {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center; }
      html[lang="br"] .carousel-details .carousel-body .carousel-country .carousel-country-list .container-a3.br-container {
        height: initial;
        width: auto; }

  .slick-slider-dots {
    bottom: 1rem; } }
@media screen and (max-width: 538.98px) {
  html[lang="br"] .carousel-details .carousel-body .carousel-country .container-a3 {
    width: 80vw;
    padding: 0 !important; }

  #slick-slider a img {
    height: 38rem; } }

/* ================ */
/* Banner Button    */
/* ================ */
.banner-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: black;
}

.banner-container picture {
  width: 100%;
  overflow: hidden;
  background-color: black;
}

.banner-container picture img {
  width: 100%;
  height: auto;
  max-height: 100vh; /* 最大高度为视口高度 */
  min-height: 400px; /* 最小高度 */
  object-fit: cover;
  object-position: center;
  margin: auto;
}

.banner-button {
  position: absolute;
  /* 按钮位置 - 您需要根据实际图片调整这些值 */
  top: 84%;           /* 从顶部60%的位置 */
  left: 25%;          /* 从左侧50%的位置 */
  transform: translate(-50%, -50%); /* 居中对齐 */
  width: 200px;       /* 按钮宽度 */
  height: 60px;       /* 按钮高度 */
  background-color: transparent; /* 完全透明背景 */
  border: none; /* 移除边框 */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.banner-button:hover {
  /* 悬停时保持透明，只保留点击反馈 */
  background-color: transparent;
  transform: translate(-50%, -50%) scale(1.02);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .banner-button {
    top: 95%;          /* 移动端位置调整 */
    left: 58%;          /* 移动端位置调整 */
    width: 150px;      /* 移动端按钮宽度 */
    height: 50px;      /* 移动端按钮高度 */
  }
}

/* ================ */
/* 系统缩放适配    */
/* ================ */

/* 针对100%缩放比例的适配 */
@media screen and (min-resolution: 96dpi) and (max-resolution: 97dpi) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 500px; /* 100%缩放时增加最小高度 */
    max-height: 80vh;  /* 限制最大高度 */
  }
  
  .banner-button {
    top: 80%;          /* 调整按钮位置 */
    left: 25%;
  }
}

/* 针对125%缩放比例的适配（系统推荐） */
@media screen and (min-resolution: 120dpi) and (max-resolution: 121dpi) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 400px;
    max-height: 100vh;
  }
  
  .banner-button {
    top: 84%;          /* 保持当前设置 */
    left: 25%;
  }
}

/* 针对150%缩放比例的适配 */
@media screen and (min-resolution: 144dpi) and (max-resolution: 145dpi) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 350px;
    max-height: 90vh;
  }
  
  .banner-button {
    top: 88%;
    left: 25%;
  }
}

/* 使用视口宽度作为备选方案 */
@media screen and (max-width: 1200px) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 450px;
  }
}

@media screen and (max-width: 768px) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 300px;
    max-height: 70vh;
  }
}

/* 使用CSS zoom属性检测（现代浏览器支持） */
@media (zoom: 1) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 500px;
  }
}

@media (zoom: 1.25) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 400px;
  }
}

@media (zoom: 1.5) {
  .banner-container picture img,
  #slick-slider a img {
    min-height: 350px;
  }
}

/* 调试模式 - 开发时可以显示按钮区域 */
/* 注释掉以下代码以隐藏调试信息 */
/*
.banner-button::before {
  content: "点击区域";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
}
*/
