.article-card {
  width: 296px; /* 與圖片寬度一致 */
  margin: 0 auto; /* 可選：讓卡片在父層中置中 */
}

.article-card {
  color: #000;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%; /* 讓 card 滿高 */
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.article-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.article-card img {
  width: 296px;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-body {
  padding: 16px;
  flex-grow: 1; /* 撐滿剩下空間 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 最多顯示3行 */
  -webkit-box-orient: vertical;
}

.article_head {
    width: auto;
    border: 4px double #DDD;
    margin: 20px 0px;
    padding: 10px;
}