.tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.tabs .tab {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 12px 0;
  font-size: 16px;
  color: #888 !important;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

.tabs .tab:hover {
  color: #000 !important;
}

.tabs .tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.25s ease;
}

.tabs .tab:hover::after {
  width: 100%;
}

.tabs .tab.active {
  color: #000 !important;
  font-weight: 600;
}

.tabs .tab.active::after {
  width: 100%;
}

.tabs .tab:focus,
.tabs .tab:focus-visible,
.tabs .tab:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #000 !important;
}
.wp-show-posts-entry-summary {
  font-size: 14px !important;
  line-height: 1.6;
}
/* 讓每張卡片有定位基準 */
.wp-show-posts-inner {
  position: relative;
  padding-bottom: 70px; /* 預留底部空間給按鈕＋日期 */
}

/* 閱讀更多：左下 */
.wp-show-posts-read-more {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0 !important;
}

/* 日期：右下 */
.wp-show-posts-entry-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 !important;
  font-size: 14px;
  color: #999;
}

/* 按鈕樣式 */
.wp-show-posts-read-more a {
  display: inline-block;
  border: 2px solid #333;
  padding: 8px 16px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.wp-show-posts-read-more a:hover {
  background: #333;
  color: #fff;
}
.wp-show-posts-inner {
  padding-bottom: 20px;
}
.wpsp-load-more {
  text-align: center;
  margin-top: 30px;
}
.wpsp-load-more {
  position: relative;
  text-align: center;
  margin: 40px 0;
}

/* 頁碼本身置中成一組 */
.wpsp-load-more .page-numbers {
  display: inline-block;
  margin: 0 8px;
}

/* 上一頁貼左 */
.wpsp-load-more .prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

/* 下一頁貼右 */
.wpsp-load-more .next {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}