
/* 隱藏所有的文章 */
.article {
  display: none;
}

.page-btn {
  padding: 6.0px 9.5px;
  margin: 0 0px;
  border: 1px solid #D9D9D9;
  background-color: #fff;
  font-size: 12px;
  cursor: pointer;
  border-radius: 5px; /* 添加圓角效果 */
}

.page-btn:hover {
  background-color: #D9D9D9;
}

.page-btn.active {
  background-color: #D9D9D9;
  color: white;
  border-color: #D9D9D9;
}

/* 分頁按鈕 */

/* 設定容器來排列三個文章項目 */
.articles-container {
  display: flex;
  justify-content: space-between;
  margin: 20px;
}

/* 文章版型 */
.article {
  display: flex;
  flex-direction: column;
  width: 30%; /* 每個元素佔據 1/3 的寬度 */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* 圖片設置 */
.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 文章內容區域 */
.article-content {
  padding: 15px;
  flex-grow: 1;
}

/* 標題設置 */
.article-content h3 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

/* 描述設置 */
.article-description {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

/* "Read More" 鏈接 */
.read-more a {
  font-size: 14px;
  color: #3B59C1;
  text-decoration: none;
}

.read-more a:hover {
  text-decoration: underline;
}