/* RenoLab taxonomy 頁共用外殼樣式(2026-07-25 健檢批次 C-3)。
   內容 = tag-page.css 與 category-page.css 原本逐位元相同的檔頭共同前綴
   (:root 變數、reset、.site-nav 頂欄家族、.page 佈局)。
   載入順序:story-card.css / article-entry.css / 本檔 / 頁面專屬 css——
   與原本 @import 展開後的疊層順序完全一致。 */


:root {
  --ink: #27272a;
  --ink-soft: #3f3f46;
  --muted: #737373;
  --line: #eee2dc;
  --brand: #ec633e;
  --brand-dark: #bd4b25;
  --soft: #fff7f2;
  --surface: #fff;
  --shadow: 0 12px 26px rgba(48, 48, 51, 0.08);
}

* { box-sizing: border-box; }
html { background: #fff; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  width: 100%;
  max-width: 100%;
  border: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px) saturate(1.3);
  backdrop-filter: blur(6px) saturate(1.3);
}

.page {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.site-nav-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.site-logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.site-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-brand-name {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-lab { color: #a85b47; }
.brand-tv { color: var(--brand); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: var(--brand);
}

.pill:hover {
  background: var(--brand-dark);
}

.pill-short {
  display: none;
}

.top-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  height: 32px;
  min-height: 32px;
  padding: 3px 8px 4px;
  border: 1px solid rgba(236, 99, 62, 0.48);
  border-radius: 999px;
  color: var(--brand-dark);
  font: inherit;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  background: #fff0e7;
  cursor: pointer;
}

.top-button span:first-child {
  font-size: 14px;
}

.top-button:hover {
  border-color: var(--brand);
  background: #ffe4d4;
}

/* ── tag 頁與分類頁逐字相同的共用區塊(2026-08-03 健檢收攏下沉;兩檔原各持一份,改這裡即可同步兩頁) ── */

.tool-field {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.tool-field span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.tool-field input,
.tool-field select {
  width: 100%;
  min-height: 36px;
  border: 1px solid #dacbc3;
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--ink);
  font-size: 13px;
  background: var(--surface);
}
.tool-field input:focus,
.tool-field select:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(236, 99, 62, 0.14);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 30px 0 14px;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.empty-state {
  margin: 24px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}
