/* 家居装饰品大全 · 页面布局
   设计基准 1440；区块高度按 03-ui/ui-spec.md 的分区预算落位（整页 2160） */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: var(--fw-black);
  letter-spacing: -0.01em;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ================= M1 hero ================= */
.hero {
  background: #ece8e0;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 47.5%);
  align-items: stretch;
  min-height: 408px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 26px 44px 24px max(var(--gutter), calc((100vw - 1560px) / 2 + var(--gutter)));
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__lead {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.85;
  color: #4a4f45;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.hero__actions .btn {
  height: 38px;
  padding: 0 20px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 6px;
}
.hero__stat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hero__stat svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green);
  flex: none;
}
.hero__stat strong {
  display: block;
  font-size: 15px;
  font-weight: var(--fw-black);
  color: var(--ink);
  line-height: 1.3;
}
.hero__stat span {
  display: block;
  font-size: var(--fs-micro);
  color: var(--muted);
  line-height: 1.5;
}
.hero__media {
  position: relative;
  min-height: 408px;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= M2 category-index ================= */
.category {
  margin-top: 16px;
  background: var(--panel);
  border-radius: var(--radius-panel);
  padding: 20px 22px 22px;
}
.category__grid {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.category__head h2 {
  font-size: 24px;
  line-height: 1.32;
}
.category__head p {
  margin-top: 8px;
  font-size: var(--fs-micro);
  line-height: 1.75;
  color: var(--muted);
}
.category__head .btn {
  margin-top: 14px;
  height: 32px;
  padding: 0 16px;
  font-size: 12px;
}
.category__list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
.category__item {
  display: block;
  border-radius: var(--radius-card);
  transition: transform 0.18s ease;
}
.category__item:hover {
  transform: translateY(-2px);
}
.category__item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.category__thumb {
  aspect-ratio: 1 / 1;
}
.category__thumb img {
  transition: transform 0.35s ease;
}
.category__item:hover .category__thumb img {
  transform: scale(1.04);
}
.category__name {
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: 1.4;
}
.category__desc {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}
.category__meta {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--sage);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* ================= M3 material-guide ================= */
.material {
  margin-top: 16px;
  padding: 56px 0 44px;
}
.material__grid {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.material__head h2 {
  font-size: 23px;
  line-height: 1.35;
}
.material__head p {
  margin-top: 8px;
  font-size: var(--fs-micro);
  line-height: 1.75;
  color: var(--muted);
}
.material__head .btn {
  margin-top: 14px;
  height: 32px;
  padding: 0 16px;
  font-size: 12px;
}
.material__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.material__card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.material__card .thumb {
  aspect-ratio: 3 / 4;
}
.material__card .thumb + h3 {
  margin-top: 2px;
}
.material__name {
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: 1.4;
}
.material__text {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ================= M4 featured + M5 size-table ================= */
.band {
  margin-top: 12px;
}
.band--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.featured .section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.featured .section-head h2 {
  font-size: 21px;
}
.h-sub {
  font-size: 16px;
  font-weight: var(--fw-black);
  color: var(--sage);
  letter-spacing: -0.01em;
}
.featured__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.featured__card .thumb {
  aspect-ratio: 16 / 9;
}
.featured__cat {
  display: block;
  font-size: 10.5px;
  color: var(--sage);
  line-height: 1.5;
  margin-top: 2px;
}
.featured__card .card__title {
  margin-top: 2px;
}

.sizetable {
  background: var(--panel-sage);
  border-radius: var(--radius-panel);
  padding: 15px 18px 13px;
  display: flex;
  flex-direction: column;
}
.sizetable h2 {
  font-size: 17px;
  line-height: 1.4;
}
.sizetable__lead {
  margin-top: 4px;
  font-size: 11px;
  color: #59614f;
  line-height: 1.6;
}
.sizetable table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 11px;
  line-height: 1.45;
}
.sizetable th {
  text-align: left;
  font-weight: var(--fw-bold);
  color: #4d5545;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(60, 70, 52, 0.2);
}
.sizetable th:last-child,
.sizetable td:last-child {
  text-align: right;
  padding-left: 10px;
}
.sizetable td {
  padding: 5px 0;
  border-bottom: 1px solid rgba(60, 70, 52, 0.12);
  color: #454d3f;
  vertical-align: top;
}
.sizetable tr:last-child td {
  border-bottom: 0;
}

/* ================= M5b category-feed ================= */
.catfeed {
  margin-top: 20px;
}
.catfeed .section-head h2 {
  font-size: 21px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.catfeed__block {
  margin-top: 14px;
}
.catfeed__block + .catfeed__block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.catfeed__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.catfeed__title a:hover {
  color: var(--green);
}
.catfeed__count {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--muted);
}
.catfeed .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}
.catfeed .card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.catfeed .card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================= M6 styling-steps ================= */
.steps {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.steps__head h2 {
  font-size: 21px;
  line-height: 1.35;
}
.steps__head p {
  margin-top: 8px;
  font-size: var(--fs-micro);
  color: var(--muted);
  line-height: 1.7;
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 6px 0;
  counter-reset: step;
}
.steps__item {
  position: relative;
  padding: 0 14px;
  text-align: center;
}
.steps__item::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
  z-index: 0;
}
.steps__item:first-child::before {
  left: 50%;
}
.steps__item:last-child::before {
  right: 50%;
}
.steps__item {
  counter-increment: step;
}
.steps__name::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--panel-sage);
  color: var(--green);
  font-size: 12px;
  font-weight: var(--fw-black);
  border: 1px solid rgba(73, 92, 64, 0.18);
}
.steps__name {
  margin-top: 0;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.steps__text {
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}

/* ================= M7 rooms + M8 care + M9 notes ================= */
.band--split {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: stretch;
}
.rooms {
  background: var(--panel);
  border-radius: var(--radius-panel);
  padding: 18px 20px 20px;
}
.rooms h2 {
  font-size: 19px;
  line-height: 1.4;
}
.rooms__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.rooms__card .thumb {
  aspect-ratio: 4 / 3;
}
.rooms__name {
  margin-top: 6px;
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.rooms__text {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.care {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 18px 20px 18px;
}
.care h2 {
  font-size: 18px;
  line-height: 1.4;
}
.care__lead {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.care__list {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}
.care__name {
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.care__text {
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.notes {
  background: var(--panel-alt);
  border-radius: var(--radius-panel);
  padding: 18px 20px 18px;
}
.notes h2 {
  font-size: 18px;
  line-height: 1.4;
}
.notes__lead {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.notes__list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notes__label {
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--green);
}
.notes__text {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.notes .btn {
  margin-top: 14px;
  height: 30px;
  font-size: 12px;
}

/* ================= M10 faq ================= */
.faq {
  margin-top: 16px;
  background: var(--panel-alt);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  padding: 16px 24px 16px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.faq__head h2 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq__head svg {
  width: 26px;
  height: 26px;
  color: var(--sage);
}
.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
}
.faq__item {
  border-bottom: 1px solid rgba(60, 70, 52, 0.14);
}
.faq__q {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  cursor: pointer;
  line-height: 1.5;
}
.faq__q:hover {
  color: var(--green);
}
.faq__q:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.faq__icon {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--sage);
  border-radius: 1px;
}
.faq__icon::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 1.5px;
}
.faq__icon::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 1.5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq__a {
  display: none;
  padding: 0 20px 9px 20px;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}
.faq__a.is-open {
  display: block;
}

/* ================= 内页：列表页 ================= */
.page-hero {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}
.page-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.page-hero h1 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1.2;
}
.page-hero__lead {
  margin-top: 8px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(248, 245, 240, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.toolbar__row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.toolbar__group {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.toolbar__label {
  font-size: 11px;
  color: var(--muted);
  flex: none;
}
.chip {
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--body);
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover {
  border-color: var(--green);
  color: var(--green);
}
.chip[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-dark);
}
.chip:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}
.toolbar__sort {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar select {
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--body);
  font-size: 12px;
  font-family: inherit;
}
.toolbar__count {
  font-size: 11.5px;
  color: var(--muted);
  padding-bottom: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.cards .thumb {
  aspect-ratio: 4 / 3;
}
.cards .card__body {
  padding: 12px 14px 14px;
}
.cards .card__title {
  font-size: 14px;
}
.cards .card__text {
  font-size: 11.5px;
  line-height: 1.7;
  margin-top: 5px;
}
.cards .badge {
  margin-bottom: 6px;
}
.empty {
  display: none;
  margin-top: 28px;
  padding: 40px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-panel);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty.is-open {
  display: block;
}
.empty button {
  margin-top: 12px;
}

.list-desc {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.list-desc__side h2 {
  font-size: 20px;
  line-height: 1.4;
}
.list-desc__side p {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.list-desc__body {
  max-width: 780px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--body);
}
.list-desc__body p + p {
  margin-top: 14px;
}

.related {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 19px;
}
.related__lead {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}
.related__list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.related__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.related__item:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ================= 内页：详情页 ================= */
.article-head {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}
.article-head h1 {
  margin-top: 12px;
  font-size: 36px;
  line-height: 1.25;
}
.article-head__lead {
  margin-top: 12px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.85;
  color: #4a4f45;
}
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px) 220px;
  gap: 32px;
  justify-content: space-between;
  padding: 26px 0 40px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.toc__toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--ink);
  cursor: pointer;
}
.toc__title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  font-weight: var(--fw-bold);
}
.toc ol {
  margin-top: 10px;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  float: left;
  margin-left: -22px;
  margin-top: 6px;
  width: 16px;
  font-size: 10px;
  color: var(--sage);
  text-align: right;
}
.toc a:hover,
.toc a[aria-current="true"] {
  color: var(--green);
  font-weight: var(--fw-bold);
}
.toc li:has(a[aria-current="true"]) {
  border-left-color: var(--green);
}

.article-body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--body);
}
.article-body h2 {
  position: relative;
  margin-top: 34px;
  padding-left: 14px;
  font-size: 20px;
  line-height: 1.45;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 2px;
  background: var(--sage);
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body p {
  margin-top: 12px;
}

.keyfacts {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 16px 16px 14px;
  background: var(--panel);
  border-radius: var(--radius-panel);
}
.keyfacts h2 {
  font-size: 13px;
  letter-spacing: 0.06em;
}
.keyfacts dl {
  margin-top: 10px;
}
.keyfacts dt {
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--sage);
  font-weight: var(--fw-bold);
}
.keyfacts dd {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--body);
}
.article-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 3px solid var(--sage);
  background: var(--panel);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.article-note strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 2px;
}
.article-related {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-related h2 {
  font-size: 17px;
}
.article-related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.article-related__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.article-related__item:hover {
  border-color: var(--green);
  color: var(--green);
}
.article-figure {
  margin: 22px 0 4px;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--panel);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.pager a,
.pager-step,
.pager-current,
.pager-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--body);
  font-weight: var(--fw-bold);
  text-decoration: none;
}
.pager a:hover,
.pager-step:hover {
  border-color: var(--green);
  color: var(--green);
}
.pager-current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.pager-dots {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.pager-info {
  margin-left: auto;
  color: var(--muted);
  font-size: 11.5px;
}

/* 上一篇 / 下一篇 */
.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}
.article-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  text-decoration: none;
}
.article-nav__item span {
  font-size: 10.5px;
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.article-nav__item strong {
  font-size: 13px;
  font-weight: var(--fw-bold);
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.article-nav__item:hover {
  border-color: var(--green);
}
.article-nav__item:hover strong {
  color: var(--green);
}
.article-nav__item.is-next {
  text-align: right;
}

/* ================= 响应式 ================= */
@media (max-width: 1200px) {
  :root {
    --fs-h1: 46px;
  }
  .category__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .material__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .band--split {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .notes {
    grid-column: 1 / -1;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .article-layout .toc {
    grid-column: 1 / -1;
    position: static;
    margin-bottom: 8px;
  }
  .toc__toggle {
    display: flex;
  }
  .toc__body .toc__title {
    display: none;
  }
  .toc__body {
    display: none;
    padding: 10px 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
  }
  .toc__body.is-open {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    min-height: 300px;
    order: -1;
    max-height: 340px;
  }
  .hero__copy {
    padding: 26px 24px 28px;
  }
  .category__grid,
  .material__grid,
  .steps,
  .list-desc,
  .faq {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .band--feature,
  .band--split {
    grid-template-columns: 1fr;
  }
  .steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
  .steps__item::before {
    display: none;
  }
  .featured__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .keyfacts {
    position: static;
  }
  .article-head h1 {
    font-size: 30px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 620px) {
  :root {
    --fs-h1: 34px;
    --gutter: 18px;
  }
  .hero__stats {
    gap: 18px;
  }
  .hero__media {
    min-height: 230px;
    max-height: 250px;
  }
  .category__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .material__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .featured__list,
  .rooms__list,
  .care__list,
  .faq__list,
  .steps__list,
  .cards,
  .article-related__list {
    grid-template-columns: 1fr;
  }
  .rooms__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toolbar__sort {
    margin-left: 0;
    width: 100%;
  }
  .toolbar__group {
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .sizetable {
    padding: 16px 14px;
  }
  .sizetable table {
    font-size: 10.5px;
  }
  .article-body {
    font-size: 14px;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__item.is-next {
    text-align: left;
  }
  .pager-info {
    width: 100%;
    margin-left: 0;
  }
}
