/* ============================================
   哇哇3C日誌 — Broadsheet 補充樣式
   ============================================ */

/* ── 精選 badge ── */
.card.is-featured {
  position: relative;
}

.card.is-featured::after {
  content: '精選';
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: var(--coral);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .18rem .5rem;
  border-radius: 100px;
  z-index: 10;
  font-family: var(--f);
}

/* ── 文章頁 h1 link 不加下劃線 ── */
.blog.single .display-4 a,
.blog.single .display-4 a:hover {
  text-decoration: none !important;
  color: var(--ink) !important;
}

/* ── 相關文章摘要 ── */
.related-entry-excerpt {
  font-size: .83rem;
  color: var(--secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 側欄圖文列表：post-meta 精簡 ── */
.sidebar .post-meta {
  margin-top: .25rem;
  gap: .2rem;
}

/* ── 隱藏舊 Bootstrap header（若有殘留） ── */
header.wrapper.bg-light:not(.site-header-wrap *) {
  display: none !important;
}

/* ── Wide image container 修正 ── */
.entry-container .article img {
  max-width: 100%;
}

/* ── 標籤頁、分類頁標題 ── */
.page-heading {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--divider);
  letter-spacing: -.02em;
}

.page-heading span {
  color: var(--coral);
}
