

@media (min-width: 768px) {
  .news__kv {
    width: 100%;
    margin-top: 110px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .news__bg {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .news__bg img {
    border-radius: 50px;
  }

  .news__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: rgb(51, 51, 51);
    padding: 0px 120px;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .news__content-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 28px;
    font-weight: 600;
  }

  .news__content-title {
    font-size: 50px;
    font-weight: bold;
    line-height: 80px;
    margin-bottom: 8px;
  }

  .news__content-tag {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 48px;
  }

  .news__content-btn {
    display: block;
    background-color: #FF6700;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    padding: 10px 20px;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: white;
    width: 460px;
    z-index: 10;
    position: relative;
  }

  .news__content-btn:hover {
    background-color: #FF6700;
    color: white;
  }
}

@media (max-width: 767px) {
  .news__kv {
    margin-top: 80px;
    border-radius: 1.25rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    margin-bottom: 60px;
  }

  .news__bg {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .news__content {
    color: white;
    padding: 1.25rem 1.5rem;
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .news__content-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
  }

  .news__content-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 44px;
    margin-bottom: 0.5rem;
  }

  .news__content-tag {
    font-size: 14px;
    line-height: 20px;
  }

  .news__content-btn {
    display: none;
  }
}
    
/*次選單 style*/
.sec-bar {
  padding-top: 40px;
}
@media (max-width: 992px) {
  .sec-bar {
    padding-top: 65px;
  }
}
@media (max-width: 768px) {
  .sec-bar {
    padding-top: 50px;
  }
}
.sec-bar ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  width: 100%;
  padding: 5px 60px;
  width: 100%;
  width: 100%;
  background: #eaeaee;
  border-radius: 30px;
}
@media (max-width: 992px) {
  .sec-bar ul {
    padding: 5px 20px;
  }
}
@media (max-width: 767px) {
  .sec-bar ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
  }
}
@media (max-width: 992px) {
  .sec-bar ul {
    width: 90%;
  }
}
.sec-bar ul li {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  text-align: center;
  list-style: none;
  position: relative;
}
@media (max-width: 767px) {
  .sec-bar ul li {
    -webkit-box-flex: unset;
        -ms-flex: unset;
            flex: unset;
    width: 100%;
  }
}
.sec-bar ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #111111;
  font-size: 20px;
  font-weight: 500;
  font-style: Medium;
  letter-spacing: 1.4px;
  white-space: nowrap;
  padding: 10px 0;
  border-radius: 30px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 440px) {
  .sec-bar ul li a {
    font-size: 16px;
  }
}
.sec-bar ul li a:hover {
  color: #ff6700;
}

.sec-bar ul li :active {
  color: #ff6700;
}
.sec-bar ul li::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 16px;
  top: 3px;
  right: 0;
  -webkit-transform: translate(50%, 50%);
          transform: translate(50%, 50%);
  background: #FFF;
}
.sec-bar ul li:last-child::after {
  display: none;
}
@media (max-width: 767px) {
  .sec-bar ul li:nth-child(3)::after {
    display: none;
  }
}

/*最新消息 style*/
    .announce-card-wrapper {
      width: 90%;
      max-width: 1000px;
      margin: 32px auto;
      padding: 0 16px 40px 16px;
      background: #fff;
    }
    .announce-card-title {
      font-size: 1.33rem;
      font-weight: 700;
      color: #0b318f;
      border-left: 5px solid #0b318f;
      padding-left: 12px;
      margin-bottom: 22px;
      line-height: 1.4;
      letter-spacing: .5px;
    }
    .announce-card-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .announce-card-list-item {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 12px 0 #e8ebfa33;
      border: 1px solid #dbdbe0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 24px;
      transition: box-shadow 0.18s, background 0.2s;
    }
    .announce-card-list-item:hover {
      background: #eaeaee;
      box-shadow: 0 4px 20px 0 #d6daf829;
    }
    .announce-card-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1 1 auto;
      min-width: 0;
    }
    .announce-card-link {
      font-size: 1.15rem;
      color: #212121;
      font-weight: 600;
      line-height: 1.4;
      text-decoration: none;
      margin-bottom: 8px;
      word-break: break-word;
      transition: color 0.15s;
    }
    .announce-card-list-item:hover .announce-card-link {
      color: #FF6700;
      text-decoration: none;
    }
    .announce-card-date {
      font-size: 0.95rem;
      color: #888a99;
      margin-top: 1px;
    }

    .announce-card-date span {
      color: #FF6700;
      font-weight: bold;
    }
    .announce-arrow {
      flex-shrink: 0;
      margin-left: 16px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #f3f6fa;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s;
      cursor: pointer;
      border: none;
    }
    .announce-card-list-item:hover .announce-arrow {
      background: #d2d7dd;
    }
    .arrow-svg {
      width: 18px;
      height: 18px;
      display: inline-block;
      fill: #454649;
    }
    /* Pagination */
    .pagination {
      display: flex;
      justify-content: center;
      margin: 22px 0 0 0;
      flex-wrap: wrap;
      gap: 4px;
    }
    .pagination button,
    .pagination span {
      border: none;
      background: #ececec;
      color: #333;
      padding: 6px 12px;
      border-radius: 30px;
      margin: 0 2px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .pagination .active {
      background: #FF6700;
      color: #fff;
      font-weight: bold;
      cursor: default;
    }
    .pagination .disabled {
      background: #e0e0e0;
      color: #aaa;
      cursor: not-allowed;
    }
    @media (max-width: 600px) {
      .announce-card-wrapper {
        padding: 0 8px 30px 8px;
      }
      .announce-card-list-item {
        padding: 16px 12px;
      }
      .announce-card-link {
        font-size: 1.03rem;
        margin-bottom: 7px;
      }
      .announce-card-date {
        font-size: 0.91rem;
      }
      .announce-arrow {
        width: 32px;
        height: 32px;
        margin-left: 10px;
      }
      .pagination button,
      .pagination span {
        padding: 6px 12px;
        font-size: 0.97rem;
      }
    }


/* 新聞內容頁 */

    .news-detail-wrapper {
      width: 90%;
      max-width: 1000px;
      margin: 38px auto 0 auto;
      padding: 0 16px 40px 16px;
      background: #fff;
    }
    .news-detail-card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 12px 0 #e8ebfa33;
      border: 1px solid #f3f3f7;
      margin-bottom: 28px;
      padding: 32px 36px 28px 36px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .news-detail-type {
      color: #fff;
      background: #0b318f;
      display: inline-block;
      font-size: 0.98rem;
      font-weight: bold;
      border-radius: 4px;
      padding: 5px 14px 4px 14px;
      margin-bottom: 8px;
      letter-spacing: 1.3px;
      vertical-align: middle;
    }
    .news-detail-title {
      font-size: 1.5rem;
      font-weight: 500;
      color: #111111;
      line-height: 1.48;
      margin: 0 0 6px 0;
      letter-spacing: .5px;
    }
    .news-detail-date {
      color: #999aaa;
      font-size: 0.98rem;
      margin-bottom: 7px;
    }
    .news-detail-body {
      font-size: 1.09rem;
      color: #212121;
      line-height: 1.8;
      margin-bottom: 6px;
      white-space: pre-line;
    }
    .news-detail-section-title {
      font-size: 1.16rem;
      color: #111111;
      font-weight: 600;
      margin: 14px 0 3px 0;
    }
    .news-detail-section-content {
      font-size: 1.1rem;
      color: #222;
      margin: 0 0 10px 0;
      line-height: 1.4;
    }
    .news-detail-back {
      display: flex;
      justify-content: center;
    }
    .news-back-btn {
      margin: 16px 0 0 0;
      background: #ff6700;
      color: #fff;
      border: none;
      border-radius: 30px;
      padding: 12px 42px;
      font-size: 1.08rem;
      font-weight: 600;
      /* box-shadow: 0 2px 8px #e6eef8; */
      cursor: pointer;
      transition: background 0.18s;
      letter-spacing: 2px;
      box-shadow: rgba(253, 112, 17, 0.6) 0px 3px 7px 0px;
    }
    .news-back-btn:hover {
      background: #ee5f00;
    }
    @media (max-width: 600px) {
      .news-detail-wrapper {
        padding: 0 7px 28px 7px;
      }
      .news-detail-card {
        padding: 18px 8px 18px 18px;
      }
      .news-back-btn {
        width: 96%;
        padding: 11px 6px;
      }
    }

     .news-detail-section-content ul{
      list-style: 26px;
      list-style-type: disc;
      padding-left: 25px;

     }

     .news-detail-section-content ul li{
            line-height: 28px;
      
     }

