.xytable{width:95%;margin:auto auto}
@media (max-width: 1024px) {
  .xycontainer{width:95%;box-sizing:border-box;margin:0 auto;height:100%;display: table;}
  .xytable{width:100%;margin:15px auto !important}
}
/*202307 linebot */
.XYLinebot{width: 92%;margin:0 auto;}
.linebot{margin:1% auto;}
.linebot .xyjjsp{width:100%;margin:-25px auto 15px auto;padding:15px 15px;box-sizing:border-box;font-size:20px;border-radius: 15px;background: #e6f2c7;line-height: 2.2rem;}
.linebot .txt{font-size:20px;line-height: 2.2rem;}
.linebot .yt{border-radius: 15px;height:46vh}
.linebot h1{padding: 15px 0px;line-height: 50px;}
.linebot h2{padding: 5px 0px;}
.linebot h3{padding: 5px 0px;}
.linebot .h4{
  background: #fde414;
  margin: 0 !important;
  padding: 5px 10px;
  display: inline;
  border-radius: 15px;
  font-size: 1.5em;
  font-weight: 500;
  line-height: 1.2;
}
.list-group-item {
  position: relative;
  display: block;
  padding: .75em 1.25em;
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, .125);
}


.bg-light {background: #f8f9fa !important;}
.linebot .list-group-item{border-radius: 15px;}
.linebot ul{margin:0 !important;padding:15px 20px;font-size:20px;}
.linebot .ul{margin:0 !important;padding:15px 0px;font-size:20px;}
.linebot li{padding: 5px;border-bottom: 1px solid #daefda;}
.linebot p{padding: 5px 0;border-bottom: 1px solid #daefda;font-size:20px;}
.linebot .pinline{display: inline;}
.linebot .img{margin: 1% 10px;box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 15px;width:500px;vertical-align: top;}
.linebot .imgsergp{margin:0 auto;display: inline-flex;align-self: center!important;}
.linebot .imgser{vertical-align: top;margin: 1% 10px;}
.linebot .imgser img{box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 15px;width:480px;margin:10px 10px 10px 10px;}
.linebot .img2{margin: 1% 10px;box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 15px;width:480px;vertical-align: top;}
.linebot .imgxybig{width:90%;margin:0 auto;}
.linebot .imgxy{width:450px;margin: 1% auto;}
.linebot .imgh{margin: 5% 1.5% 1.5% 1.5%;box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 25px;}
.linebot .imgh-first-child{margin-left:0;}
.linebot .imgh-last-child{margin-right:0;}
.linebot .xyimg{width:100%;height:530px;}
.linebot .xytxt{padding:10px 0 0 0;height:auto;display:grid;align-items: center;line-height: 2.2rem;}
.text-org{color:#f2881d}


::marker {
  text-indent: unset !important;
  text-align: unset !important;
  text-align-last: unset !important;
  /* 或者直接設為 none 如果你不想要看到那個點/數字 */
  content: "";
}




@media (min-width:1025px) and (max-width: 1599px) {
.XYLinebot{width: 96% !important;;margin:0 auto 0 auto !important;padding:10px 10px 10px 10px !important}
.linebot .xyjjsp{margin:-25px auto 15px auto;padding:5px 15px;}
.linebot .img{margin: 1% 10px;width:400px;}
.linebot .imgsergp{margin:0 auto;display:inline-flex;align-self: center!important;}
.linebot .imgser{vertical-align: top;margin: 1% 10px;display: block;}
.linebot .imgser img{box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 15px;width:320px;margin:10px 10px 10px 10px;}
.linebot .img2{margin: 1% 10px;width:400px;}
.linebot .imgxybig{width:130%;margin:0 -25%;}
.linebot .xyimg{width:90%;height:400px;}
.linebot .xytxt{display:grid;align-items: center;line-height: 1.7rem;}
}
@media (max-width: 1024px) {
.XYLinebot{width: 100% !important;}
.linebot .xyjjsp{margin:-25px auto 15px auto;padding:5px 10px;}
.linebot .img{margin: 1% 10px;width: 100%;}
.linebot .imgsergp{margin:0 auto;display: block;}
.linebot .imgser{vertical-align: top;margin: 1% 10px;}
.linebot .imgser img{box-shadow: 0 0 7px rgba(0,0,0,.2);border-radius: 15px;width:100%;margin:10px 10px 10px 10px;}
.linebot .img2{margin: 10px auto;width: 100%;}
.linebot .imgxybig{width:150%;margin:0 auto 0 -25%;}
.linebot .yt{margin:0 auto;border-radius: 15px;height:400px}
.linebot .imgxy{width:300px;margin: 1% auto;}
.linebot .xyimg{width:380px;height:400px;}
.linebot .xytxt{padding:10px 0 0 0;height:auto;display:table;align-items: center;line-height: 1.5rem;}
.bg-light h4{margin-top:125px !important;}

}
@media (max-width: 767px) {
  .XYLinebot{width: 100% !important;}
  .linebot .xyimg{width:100%;height:360px;}
  .bg-white{margin:5px auto;padding:10px;}

}


.txtb{color:#e86048;}


/* --- 基礎環境與全域設定 --- */
.ailine { margin: 0; padding: 45px; width: 80%; box-sizing: border-box; }
.ailine * { box-sizing: border-box; } /* 確保寬度計算包含 padding 與 border */
.ailine h1 { padding: 15px 0px; line-height: 50px; }
.ailine h2, .ailine h3 { padding: 5px 0px; }

/* --- [1. 大螢幕 1920px 以上] 強制橫向並排 --- */



/* 預設樣式 */
.ailine .list-group-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important; /* <--- 寫在這裡，讓四個方塊等高 */
  flex-wrap: nowrap !important;   /* 絕對不准換行 */
  justify-content: space-between;
  width: 100% !important;          /* 稍微調寬一點，給並排留空間 */
  margin: 0 auto !important;      /* 既然寬度不是100%，就讓它置中 */
  border:0 !important;

}

.ailine .list-group-item ul {
  flex: 1 !important;
  height: auto !important; /* 讓它隨父層 stretch 伸縮 */
  display: flex;
  flex-direction: column;
  margin: 0 10px !important;    /* 改用左右相等的 margin */
  padding: 20px 25px !important;
  background-color: #ebf4fc !important;
  border-radius: 15px;
  line-height: 1.8;
  list-style: none;
  box-sizing: border-box !important; /* 確保 padding 不撐大寬度 */
}

/* 確保第一個和最後一個沒有多餘間距，對齊更美 */
.ailine ul:first-child { margin-left: 0 !important; }
.ailine ul:last-child { margin-right: 0 !important; }


/* 間隔變色 */
/* .ailine ul:nth-of-type(odd) { background-color: #d4e8f8 !important; } */
/* 間隔變色 */
.ailine ul:nth-of-type(1),
.ailine ul:nth-of-type(3) {
  background-color: #d4e8f8 !important; /* 深藍色 */
}
.ailine .list-group-item ul img {
  width: 200px !important;
  margin: 0 auto;
}


.ailine .h4 {
  border-radius: 15px;
  font-size: 1.2em !important;
  font-weight: bold;
  color: #003e66 !important;
  background: #f5f2ed;
  display: block;
  padding: 0px 15px !important;
  text-align: center;
  margin-bottom: 15px;
}

.ailine ul .h4 { background: transparent; } /* 在 ul 內透明 */
.ailine li { margin-bottom: 10px; padding-top: 10px; border: 0 !important; padding-bottom: 10px !important; }

/* --- [2. 圖片區：永遠垂直] --- */
.ailine .imgsergp1 {
  margin: 0 auto;
  display: flex !important;
  flex-direction:row !important;
  align-items: center !important;
  width:100% !important;
}

.ailine .imgser1 {
  width: 47% !important;
  max-width: 47%;
  margin: 15px 10px;
  box-shadow: 0 0 7px rgba(0,0,0,.2);
  border-radius: 15px;
  overflow: hidden;
}
.ailine .imgser1 img {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 11px;
}

.ailine .imgsergp0 {
  margin: 0 auto;
  display: flex !important;
  flex-direction:row !important;
  align-items: center !important;
  width:100% !important;
}

.ailine .imgser0 {
  width: 39% !important;
  max-width: 39%;
  margin: 15px 10px;
  box-shadow: 0 0 7px rgba(0,0,0,.2);
  border-radius: 15px;
  overflow: hidden;
}

.ailine .imgser0 img {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 11px;
}


.ailine .imgsergp2 {
  margin: 0 auto;
  display: flex !important;
  flex-direction:row !important;
  align-items: center !important;
  width:100% !important;
}

.ailine .imgser2 {
  width: 29% !important;
  max-width: 29%;
  margin: 15px 10px;
  box-shadow: 0 0 7px rgba(0,0,0,.2);
  border-radius: 15px;
  overflow: hidden;
}

.ailine .imgser2 img {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 11px;
}

/* --- [3. RWD：1679px 以內] 兩兩並排 --- */
@media (max-width: 1679px) {
  .ailine { padding: 10px; width: 100% !important; }

    .ailine .list-group-item {
      display: flex !important;
      flex-wrap: wrap !important;
      justify-content: space-between !important;
      width: 100% !important;
      box-sizing: border-box !important; /* 確保 padding 不撐大寬度 */
    }

    /* 1. 先重置所有 ul 的背景色為淺色 (對應 2, 4) */
    .ailine .list-group-item ul {
      flex: 0 0 47% !important;
      width: 47% !important;
      background-color: #ebf4fc !important; /* 淺藍色 */
      height: auto !important; /* 讓它隨父層 stretch 伸縮 */
      margin-top: 10px!important;

    }

    .ailine ul:nth-of-type(1){
    margin-left: 10px !important;
    background-color: #ebf4fc !important; /* 淺藍色 */
  }
   .ailine ul:nth-of-type(4) {
    margin-right: 10px !important;
    background-color: #ebf4fc !important; /* 淺藍色 */
  }

  .ailine ul:nth-of-type(2){
    background-color: #d4e8f8 !important; /* 深藍色 */
    margin-right: 10px !important;
  }
  .ailine ul:nth-of-type(3){
    background-color: #d4e8f8 !important; /* 深藍色 */
    margin-left :10px !important;
  }


}

/* --- [4. RWD：1023px / 768px 以內] 全垂直 --- */
@media (max-width: 1023px) {
  .ailine { padding: 10px; width: 100% !important; }

  .ailine .list-group-item {
    display: block !important; /* 改為區塊，自動垂直堆疊 */
    box-sizing: border-box !important; /* 確保 padding 不撐大寬度 */
  }

  .ailine .list-group-item ul {
    width: 100% !important;
    margin: 10px 0 !important;
    display: block !important;
  }
  .ailine .list-group-item ul img {
    width: 200px !important;
    margin: 0 auto !important;
    text-align: center;
    display: block;
  }


  .ailine .h4 {
    margin-left: -10px!important;
    text-align: center !important;
    margin-right: 0 !important;
    text-align: left;
    padding: 15px !important;
  }

  .ailine .h4 ul li {
    text-align: left !important;
  }

  .ailine .imgsergp0 {
    margin: 0 auto;
    display: flex !important;
    flex-direction:column !important; /* 強制垂直 */
    align-items: center !important;
    width:100% !important;
  }

  .ailine .imgser0 {
    width: 100% !important;    /* 撐開寬度 */
    max-width: 100% !important; /* 關鍵：必須把原本的 29% 蓋掉 */
    margin: 15px 10px;
    box-shadow: 0 0 7px rgba(0,0,0,.2);
    border-radius: 15px;
    overflow: hidden;
  }
  .ailine .imgser0 img {
    width: 100% !important;
    height: auto;
    display: block;
    border-radius: 11px;
  }

  .ailine .imgsergp1 {
    margin: 0 auto;
    display: flex !important;
    flex-direction:column !important; /* 強制垂直 */
    align-items: center !important;
    width:100% !important;
  }

  .ailine .imgser1 {
    width: 100% !important;    /* 撐開寬度 */
    max-width: 100% !important; /* 關鍵：必須把原本的 29% 蓋掉 */
    margin: 15px 10px;
    box-shadow: 0 0 7px rgba(0,0,0,.2);
    border-radius: 15px;
    overflow: hidden;
  }
  .ailine .imgser1 img {
    width: 100% !important;
    height: auto;
    display: block;
    border-radius: 11px;
  }





  .ailine .imgsergp2 {
    display: flex !important;
    flex-direction: column !important; /* 強制垂直 */
    align-items: center !important;
    width: 100% !important;
  }

  .ailine .imgser2 {
    width: 100% !important;    /* 撐開寬度 */
    max-width: 100% !important; /* 關鍵：必須把原本的 29% 蓋掉 */
    margin: 10px 0 !important; /* 手機版改為上下間距 */
  }

  .ailine .imgser2 img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}


/* 其他雜項 */
.aiarea { background:url(../../solution_AIQA_img/AIQA_top.png) no-repeat top left #333;background-size: contain;  border: 4px solid #e8dfce; padding: 15px; border-radius: 15px; }
.ailine .h33{ padding-left: 500px!important; }
.ailine .h33 .text-danger{color:#ffe2bb;text-shadow: 2px 2px 3px #000 !important;}
.ailine .text-danger{color:#e86048;}

@media (min-width: 1680px) and (max-width:1919px){
  .aiarea { background:url(../../solution_AIQA_img/AIQA_top.png) no-repeat top left #333;background-size:contain; border: 4px solid #e8dfce; padding: 15px; border-radius: 15px; }
  .ailine .h33{ padding-left:570px!important; }
}

@media (max-width: 1679px) {
  .aiarea { background:url(../../solution_AIQA_img/AIQA_top2.png) no-repeat top left #333;background-size:100%; border: 4px solid #e8dfce; padding: 15px; border-radius: 15px; }
  .ailine .aiarea{ padding: 22% 0 0 0!important; color: #ffe2bb !important; margin-left: 0;}
  .ailine .h33{ padding:5px 15px !important;margin-left: 0;}
  .ailine .h33 .text-danger{margin-top: 15px !important;font-size: 1.4em;}


}




/*------------  cookie-banner  --------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
  padding: 15px 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.btn-cookie {
  background-color: #000000; /* 黑色按鈕 */
  color: #ffffff;
  border: none;
  padding: 10px 40px;
  border-radius: 50px; /* 膠囊形狀 */
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap;
  margin-left: 20px;
  transition: background 0.3s;
}

.btn-cookie:hover {
  background-color: #333333;
}

/* RWD 手機版調整 */
@media (max-width: 768px) {
  .cookie-content {
      flex-direction: column;
      text-align: center;
  }
  .btn-cookie {
      margin: 15px 0 0 0;
      width: 100%;
  }
}
