/* ==========================================================================
   高跟鞋 · 公共组件
   首页 / 分类页 / 详情页共用：页头、按钮、分类卡、分区带、页脚…
   ========================================================================== */

/* ── 页头 ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 235, 225, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--wine);
  flex: none;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  white-space: nowrap;
}

.site-nav {
  flex: 1;
  margin-left: 6px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--wine);
}

.site-nav a[aria-current="page"] {
  color: var(--wine);
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
}

.header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.header-cta:hover {
  color: var(--wine);
  border-color: var(--wine-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* ── 按钮 ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 13px;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-solid {
  background: var(--wine);
  color: #fbeee9;
}

.btn-solid:hover {
  background: var(--wine-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--wine-soft);
  color: var(--wine);
}

.btn-sm {
  font-size: 11.5px;
  padding: 8px 14px;
}

.btn-cream {
  background: #f8ecdf;
  color: var(--wine-deep);
  font-weight: 600;
}

.btn-cream:hover {
  background: #fdf7f0;
}

/* ── 分类卡片 ───────────────────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px 10px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-lift);
  border: 1px solid rgba(42, 33, 29, 0.06);
  border-radius: var(--radius-card);
  padding: 8px 8px 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -34px rgba(42, 33, 29, 0.6);
}

.category-card__media {
  position: relative;
  aspect-ratio: 2.04 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--band-beige);
}

.category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__body {
  padding: 9px 8px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card__index {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--wine-deep);
  background: rgba(250, 241, 232, 0.86);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}

.category-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.category-card__desc {
  margin: 5px 0 0;
  font-size: 12.2px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.category-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.category-card__tags li {
  font-size: 10.2px;
  color: var(--ink-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(239, 220, 206, 0.75);
}

.category-card__foot {
  margin-top: 11px;
}

.category-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #fbeee9;
  background: var(--wine);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}

.category-card:hover .category-card__more {
  background: var(--wine-deep);
}

/* ── 四步选鞋面板（M9，占据分类网格第 8 格） ────────────────────────── */
.fit-panel {
  background: var(--paper-lift);
  border: 1px solid rgba(42, 33, 29, 0.06);
  border-radius: var(--radius-card);
  padding: 42px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

.fit-panel__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20.5px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fit-panel__intro {
  margin: 0;
  font-size: 11.6px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.fit-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.fit-steps li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.fit-steps__num {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--wine);
  padding-top: 1px;
}

.fit-steps strong {
  display: inline;
  font-size: 12.2px;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

/* ── 精选阅读（M10） ────────────────────────────────────────────────── */
.reading-band {
  background: var(--paper-band);
  border-top: 1px solid rgba(42, 33, 29, 0.05);
  border-bottom: 1px solid rgba(42, 33, 29, 0.05);
  padding: 57px 0;
}

.reading-inner {
  display: grid;
  grid-template-columns: 300px repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.reading-lead h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.reading-lead p {
  margin: 8px 0 0;
  font-size: 12.2px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 25em;
}

.reading-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.reading-item__thumb {
  width: 96px;
  height: 96px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--band-beige);
}

.reading-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reading-item__meta {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--wine);
}

.reading-item__title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.reading-item__desc {
  margin: 5px 0 0;
  font-size: 11.6px;
  line-height: 1.6;
  color: var(--muted);
}

.reading-item:hover .reading-item__title {
  color: var(--wine);
}

/* ── 跟高对照表（M11） ──────────────────────────────────────────────── */
.table-band {
  background: var(--band-beige);
  margin-top: 11px;
  padding: 20px 0;
}

.table-inner {
  display: grid;
  grid-template-columns: 405px minmax(0, 1fr);
  grid-template-areas:
    "head table"
    "note table";
  grid-template-rows: auto 1fr;
  gap: 12px 30px;
  align-items: start;
}

.table-lead {
  grid-area: head;
}

.table-lead h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 9.5em;
}

.table-lead__note {
  grid-area: note;
  align-self: end;
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 26em;
}

.table-scroll {
  grid-area: table;
  align-self: center;
  overflow-x: auto;
}

.heel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.4px;
}

.heel-table caption {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 6px;
}

.heel-table th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.heel-table td {
  padding: 8px 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.heel-table tbody tr:last-child td {
  border-bottom: none;
}

.heel-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

/* ── CTA 通栏（M12 / L6 / D10） ────────────────────────────────────── */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 190px;
  align-items: center;
  min-height: 140px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--wine);
  color: #fbeee9;
  isolation: isolate;
}

.cta-band__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 340px;
  z-index: -1;
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(137, 39, 55, 0) 62%, rgba(137, 39, 55, 0.5) 88%, var(--wine) 100%);
}

.cta-band__text {
  grid-column: 2;
  padding: 0 20px;
  justify-self: center;
  margin-left: -60px;
  text-align: center;
}

.cta-band__text h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.cta-band__text p {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: rgba(251, 238, 233, 0.82);
}

.cta-band__action {
  grid-column: 3;
  justify-self: end;
  margin-right: 26px;
}

/* ── 页脚 ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--wine-deep);
  color: rgba(249, 236, 231, 0.78);
  padding: 30px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(249, 236, 231, 0.14);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 2px;
}

.footer-brand .brand-name {
  color: #fdf3ee;
  font-size: 19px;
}

.footer-brand .brand-mark {
  color: #f6c9c2;
}

.footer-desc {
  margin: 0;
  font-size: 12.1px;
  line-height: 1.75;
  color: rgba(249, 236, 231, 0.72);
}

.footer-links {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px 34px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 150px;
  min-width: 140px;
}

.footer-col h3 {
  flex: none;
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(249, 236, 231, 0.55);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-col a {
  font-size: 12px;
  color: rgba(249, 236, 231, 0.78);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 16px;
  padding: 0 0 88px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 11.5px;
  color: rgba(249, 236, 231, 0.6);
  text-align: center;
  flex-wrap: wrap;
}

/* ── 面包屑 ─────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--wine);
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line-strong);
  margin-right: 8px;
}

/* ── 分类页工具条 ───────────────────────────────────────────────────── */
.list-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  background: rgba(246, 235, 225, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.toolbar-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--wine-soft);
  color: var(--wine);
}

.chip[aria-pressed="true"] {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbeee9;
}

.toolbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.toolbar-count {
  font-size: 12px;
  color: var(--muted);
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap select {
  appearance: none;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 7px 30px 7px 14px;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 13px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}

.empty-state {
  display: none;
  padding: 56px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.empty-state[data-visible="true"] {
  display: block;
}

/* ── 文章卡（分类页列表项） ─────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper-lift);
  border: 1px solid rgba(42, 33, 29, 0.06);
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -34px rgba(42, 33, 29, 0.6);
}

.article-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-card__num {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--wine);
}

.article-card__tag {
  font-size: 11px;
  color: var(--ink-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(239, 220, 206, 0.8);
}

.article-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card:hover .article-card__title a {
  color: var(--wine);
}

.article-card__desc {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--wine);
}

/* ── 目录（详情页） ─────────────────────────────────────────────────── */
.article-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.article-toc h2 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.article-toc a {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  transition: color 0.2s var(--ease);
}

.article-toc a:hover,
.article-toc a[aria-current="true"] {
  color: var(--wine);
}

/* ── 相关条目 ───────────────────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-lift);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.related-card:hover {
  border-color: var(--wine-soft);
  transform: translateY(-2px);
}

.related-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
}

.related-card p {
  margin: 0;
  font-size: 12.4px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── 分页 / 状态条 ──────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 31px 0 0;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.pagination span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--line-strong);
}

.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.pagination__page[aria-current="page"] {
  background: var(--wine);
  border-color: var(--wine);
  color: #fbeee9;
}

/* ── 通用小件 ───────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--wine);
  text-transform: uppercase;
  margin: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--wine);
  color: #fbeee9;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ── 数据对接补充 ───────────────────────────────────────────────────── */
.article-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: -20px -20px 0;
  background: var(--paper-deep, #eee);
}
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.article-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.article-body figure { margin: 22px 0 6px; }
.article-body figure img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.article-body figure figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.article-body .article-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  font-size: 52px;
  background: var(--paper-deep, #eee);
  border-radius: var(--radius-card);
  margin: 22px 0 6px;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 6px;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 12px;
}
.pager [aria-current="page"] { border-color: var(--wine); color: var(--wine); }
.article-body .pager { justify-content: space-between; }
.article-body .pager a {
  max-width: 48%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
