/* 產業應用、技術文章列表卡片（11/05 客戶需求，參考 NVIDIA 部落格卡片）
   只作用在 .news-list.kss-cards，最新消息等其他列表不受影響 */
.news-list.kss-cards .box { display: flex; }
.news-list.kss-cards .box a {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}
/* 還沒上傳列表縮圖的文章：不顯示破圖圖示，留淺灰底 */
.news-list.kss-cards .box .pic { background: #f2f3f5; }
.news-list.kss-cards .box .pic img[src=""] { display: none; }
/* 圖片滿版貼齊卡片 */
.news-list.kss-cards .box .pic img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.news-list.kss-cards .box .content { flex: 1 1 auto; }
/* 日期：圖片下方、標題上方 */
.news-list.kss-cards .box .date {
  position: static;
  padding: 0;
  margin-bottom: 10px;
  color: #333;
  background: none;
  font-size: 1.5rem;
  font-weight: 600;
}
/* 標題最多兩行；預留兩行高度，讓同一排的內文預覽對齊 */
.news-list.kss-cards .box .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  line-height: 1.35;
  min-height: 2.7em;
  margin-bottom: 12px;
}
/* 內文預覽最多三行 */
.news-list.kss-cards .box .txt {
  -webkit-line-clamp: 3;
  line-height: 2.4rem;
  height: 7.2rem;
  margin-bottom: 0;
}
.news-list.kss-cards .box .more { display: none; }
@media (max-width: 640px) {
  .news-list.kss-cards .box .date { font-size: 1.3rem; margin-bottom: 6px; }
  .news-list.kss-cards .box .txt { line-height: 2rem; height: 6rem; }
}
