

/* =========================================================
   NEWS LIST — Final (只作用在 news.html)
   body class: inner page-news
   ========================================================= */

body.page-news-detail .news-list{
  list-style:none;
  padding:0;
  margin:0;
}

body.page-news-detail .news-list > li{
  margin: 0 0 18px;
}

/* 卡片：a.news-item */
body.page-news-detail a.news-item{
  display:block;
  padding: 26px 30px;
  background:#fff;
  border-radius:16px;
  text-decoration:none;
  color: inherit;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

body.page-news-detail a.news-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,.10);
}

/* meta */
body.page-news-detail .news-meta{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}

body.page-news-detail .news-date{
  font-size: 13px;
  color: rgba(17,24,39,.55);
  letter-spacing: .02em;
}

body.page-news-detail .news-tag{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199,160,86,.18);
  border: 1px solid rgba(199,160,86,.35);
  color: rgba(120,86,26,.95);
  letter-spacing: .06em;
}

/* title / excerpt */
body.page-news-detail .news-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: .02em;
  color: rgba(12,18,28,.92);
}

body.page-news-detail .news-excerpt{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(17,24,39,.72);
}

/* RWD */
@media (max-width: 768px){
  body.page-news-detail a.news-item{
    padding: 22px 20px;
  }
  body.page-news-detail .news-title{ font-size: 17px; }
  body.page-news-detail .news-excerpt{ font-size: 14.5px; }
}




/*----------------------------------------------------------------------------------------------------------------------------*/
/* =========================================================
   NEWS — Final
   - List page:  body.page-news
   - Detail page: body.page-news-detail
   ========================================================= */

/* =======================
   LIST (news.html)
   ======================= */
body.page-news .news-list{
  list-style:none;
  padding:0;
  margin:0;
}
body.page-news .news-list > li{
  margin: 0 0 18px;
}
body.page-news a.news-item{
  display:block;
  padding: 26px 30px;
  background:#fff;
  border-radius:16px;
  text-decoration:none;
  color: inherit;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.page-news a.news-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,.10);
}
body.page-news .news-meta{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
body.page-news .news-date{
  font-size: 13px;
  color: rgba(17,24,39,.55);
  letter-spacing: .02em;
}
body.page-news .news-tag{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199,160,86,.18);
  border: 1px solid rgba(199,160,86,.35);
  color: rgba(120,86,26,.95);
  letter-spacing: .06em;
}
body.page-news .news-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: .02em;
  color: rgba(12,18,28,.92);
}
body.page-news .news-excerpt{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(17,24,39,.72);
}
@media (max-width: 768px){
  body.page-news a.news-item{ padding: 22px 20px; }
  body.page-news .news-title{ font-size: 17px; }
  body.page-news .news-excerpt{ font-size: 14.5px; }
}


/* =======================
   DETAIL (news-detail-*.html)
   ======================= */
body.page-news-detail .news-detail{
  background:#fff;
  border-radius: 18px;
  padding: 30px 30px 24px;
  box-shadow: 0 18px 38px rgba(0,0,0,.08);
}

body.page-news-detail .news-breadcrumb{
  font-size: 13px;
  color: rgba(17,24,39,.55);
  margin-bottom: 16px;
}
body.page-news-detail .news-breadcrumb a{
  color: rgba(17,24,39,.75);
  text-decoration:none;
}
body.page-news-detail .news-breadcrumb a:hover{ text-decoration: underline; }
body.page-news-detail .news-breadcrumb span{ margin: 0 8px; }

body.page-news-detail .news-kicker{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}
body.page-news-detail .news-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(199,160,86,.18);
  border: 1px solid rgba(199,160,86,.35);
  color: rgba(120,86,26,.95);
  font-size: 13px;
  letter-spacing: .04em;
}
body.page-news-detail .news-date{
  font-size: 13px;
  color: rgba(17,24,39,.55);
}

body.page-news-detail .news-title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.32;
  letter-spacing: .02em;
  color: rgba(12,18,28,.95);
}
body.page-news-detail .news-sub{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(17,24,39,.72);
}

body.page-news-detail .news-meta-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(17,24,39,.10);
  margin-bottom: 18px;
}
body.page-news-detail .news-meta-item{
  display:flex;
  gap: 10px;
  align-items: baseline;
}
body.page-news-detail .meta-label{
  font-size: 12px;
  color: rgba(17,24,39,.55);
  letter-spacing: .06em;
}
body.page-news-detail .meta-value{
  font-size: 13px;
  color: rgba(17,24,39,.80);
}

body.page-news-detail .news-hero-media{
  margin: 18px 0 22px;
  border-radius: 16px;
  overflow:hidden;
  background:#f7f7f8;
  border: 1px solid rgba(17,24,39,.08);
}
body.page-news-detail .news-hero-media img{
  width:100%;
  height: 360px;
  object-fit: cover;
  display:block;
}

body.page-news-detail .news-content p{
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.95;
  color: rgba(17,24,39,.78);
}
body.page-news-detail .news-content .lead{
  font-size: 18px;
  color: rgba(12,18,28,.88);
  font-weight: 600;
}

body.page-news-detail .news-content h2{
  margin: 28px 0 12px;
  font-size: 18px;
  letter-spacing: .03em;
  color: rgba(12,18,28,.92);
  position: relative;
  padding-left: 12px;
}
body.page-news-detail .news-content h2::before{
  content:"";
  position:absolute;
  left:0;
  top: .55em;
  width: 4px;
  height: 1.1em;
  border-radius: 8px;
  background: rgba(199,160,86,.75);
}

body.page-news-detail .news-figure{
  margin: 22px 0 26px;
  border-radius: 16px;
  overflow:hidden;
  background: #f7f7f8;
  border: 1px solid rgba(17,24,39,.08);
}
body.page-news-detail .news-figure img{
  width:100%;
  height: 320px;
  object-fit: cover;
  display:block;
}
body.page-news-detail .news-figure figcaption{
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(17,24,39,.60);
}

body.page-news-detail blockquote{
  margin: 26px 0 26px;
  padding: 18px 18px 18px 16px;
  border-left: 4px solid rgba(199,160,86,.75);
  background: linear-gradient(90deg, rgba(199,160,86,.10), rgba(255,255,255,0));
  color: rgba(12,18,28,.86);
  font-size: 16px;
  line-height: 1.9;
  border-radius: 12px;
}

body.page-news-detail .news-actions{
  margin-top: 26px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(17,24,39,.10);
  padding-top: 18px;
}
body.page-news-detail .news-pager{
  display:flex;
  gap: 10px;
}
body.page-news-detail .pager-link{
  text-decoration:none;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.14);
  color: rgba(17,24,39,.78);
}
body.page-news-detail .pager-link:hover{
  border-color: rgba(199,160,86,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

@media (max-width: 980px){
  body.page-news-detail .news-detail{ padding: 24px 18px 20px; }
  body.page-news-detail .news-meta-row{ grid-template-columns: 1fr; }
  body.page-news-detail .news-hero-media img{ height: 260px; }
  body.page-news-detail .news-actions{
    flex-direction: column;
    align-items: flex-start;
  }
}



/*-------------------------------------------------------------------------------*/
/* =======================
   NEWS LIST：左縮圖＋右文字
   結構：ul.news-list > li > a.news-item(.news-media + .news-body)
   ======================= */

body.page-news .news-list{
  list-style:none;
  padding:0;
  margin:0;
}
body.page-news .news-list > li{
  margin: 0 0 18px;
}

/* 卡片 */
body.page-news a.news-item{
  display:flex;
  gap: 18px;
  align-items: stretch;

  padding: 18px 18px;
  background:#fff;
  border-radius:16px;
  text-decoration:none;
  color: inherit;

  box-shadow: 0 14px 34px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.page-news a.news-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0,0,0,.10);
}

/* 左：縮圖 */
body.page-news .news-media{
  position: relative;
  flex: 0 0 240px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid rgba(17,24,39,.08);
}
body.page-news .news-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* 播放鈕（淡淡的，不突兀） */
body.page-news .news-play{
  position:absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

/* 右：文字 */
body.page-news .news-body{
  min-width: 0; /* 重要：避免長標題把版面撐爆 */
  padding: 2px 4px;
}

body.page-news .news-meta{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 8px;
}
body.page-news .news-date{
  font-size: 13px;
  color: rgba(17,24,39,.55);
  letter-spacing: .02em;
}
body.page-news .news-tag{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199,160,86,.18);
  border: 1px solid rgba(199,160,86,.35);
  color: rgba(120,86,26,.95);
  letter-spacing: .06em;
}

/* 標題：兩行省略（更像官網） */
body.page-news .news-title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: .02em;
  color: rgba(12,18,28,.92);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 摘要：一行省略 */
body.page-news .news-excerpt{
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(17,24,39,.72);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* RWD：手機改成上下堆疊 */
@media (max-width: 768px){
  body.page-news a.news-item{
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px;
  }
  body.page-news .news-media{
    flex-basis: auto;
    width: 100%;
    aspect-ratio: 16 / 9;  /* 手機縮圖固定比例 */
  }
  body.page-news .news-title{ font-size: 17px; }
  body.page-news .news-excerpt{
    white-space: normal;  /* 手機可換行比較舒服 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
