/* style.css — 首页与内页版式。基准 1440，内容栏 1350（分区预算见 03-ui/compare-log.md） */

/* ================= 首页 ================= */

/* ---- M1 hero ---- */
.hero {
  position: relative;
  height: 467px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 52%;
  background: url("../images/hero-carving.jpg") center / cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 242, 229, .92) 14%, rgba(250, 242, 229, .35) 46%, rgba(250, 242, 229, 0) 78%);
}

.hero-inner { position: relative; z-index: 1; padding-top: 32px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; letter-spacing: .18em; color: var(--ink-3);
}
.hero-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent-2); }

.hero h1 {
  font-size: 54px;
  line-height: 1.26;
  letter-spacing: .02em;
  margin: 10px 0 0;
  max-width: 720px;
}

.hero-lead {
  margin-top: 14px;
  max-width: 620px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.hero-facts { display: flex; align-items: center; gap: 30px; margin-top: 20px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.hero-facts svg { width: 17px; height: 17px; color: var(--accent-3); flex: none; }
.hero-facts strong { font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* ---- 阅读路径卡片 ---- */
.path-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 48px), 1350px);
  bottom: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 87px;
  padding: 0 18px;
  background: var(--card-2);
  border: 1px solid rgba(151, 101, 49, .28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}

.path-label {
  flex: none;
  background: var(--accent-3);
  color: #fff5e4;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 8px 14px;
  border-radius: 6px;
}

.path-steps { display: flex; align-items: center; flex: 1; }
.path-step { display: flex; align-items: center; gap: 10px; flex: 1; position: relative; }
.path-step + .path-step::before {
  content: "→";
  position: absolute;
  left: -16px;
  color: var(--ink-4);
  font-size: 15px;
}

.step-num {
  flex: none;
  width: 28px; height: 28px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent-3);
  background: rgba(255, 250, 240, .75);
}

.step-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.step-links { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 4px; flex-wrap: wrap; }
.step-links a { color: var(--ink-3); border-bottom: 1px solid transparent; }
.step-links a:hover { color: var(--accent); border-color: currentColor; }

/* ---- M2 分类网格 ---- */
.categories { padding-top: 24px; padding-bottom: 4px; }

.category-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.category-card:hover { border-color: var(--accent-2); box-shadow: 0 14px 26px -20px rgba(74, 45, 19, .7); }

.category-card .media { aspect-ratio: 150 / 109; }
.card-body { padding: 13px 12px 12px; display: flex; flex-direction: column; }
.card-title { font-size: 16.5px; line-height: 1.35; letter-spacing: .02em; }
.card-summary { margin-top: 6px; font-size: 12.5px; line-height: 1.62; color: var(--ink-2); }
.card-more { margin-top: auto; padding-top: 9px; font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.card-more::after { content: "→"; font-size: 13px; }

/* ---- M3 技法对照表 ---- */
.techniques { padding-top: 24px; padding-bottom: 0; }

.table-scroll { margin-top: 22px; border: 1px solid var(--line); border-radius: 4px; overflow-x: auto; }

.technique-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.technique-table th {
  background: var(--accent-2);
  color: #fdf4e4;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  height: 38px;
  padding: 0 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 245, 226, .22);
}
.technique-table th:first-child { text-align: center; }
.technique-table th:last-child { border-right: 0; }
.technique-table td {
  height: 38px;
  padding: 0 16px;
  text-align: center;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: #fbf1df;
}
.technique-table td:first-child { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.technique-table td:last-child { border-right: 0; }
.technique-table tbody tr:hover td { background: #f7e9d2; }

/* ---- M4 养护通栏 ---- */
.care {
  margin-top: 34px;
  min-height: 179px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.care-photo {
  position: absolute; left: 0; top: 0; bottom: 0; width: 300px;
  background: url("../images/care-bench.jpg") left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}
.care-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 355px repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  padding: 26px 24px 26px 184px;
}
.care-intro h2 { font-size: 28px; line-height: 1.3; letter-spacing: .04em; }
.care-intro p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--ink-2); }
.care-item h3 { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 15.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.care-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-2); color: #fff6e6;
  font-family: var(--serif); font-size: 13.5px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.care-item p { margin-top: 8px; font-size: 12.8px; line-height: 1.8; color: var(--ink-2); }

/* ---- M5 精选阅读 ---- */
.reading { padding-top: 19px; padding-bottom: 17px; }
.reading-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.reading-card {
  display: flex;
  min-height: 186px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.reading-card:hover { border-color: var(--accent-2); }
.reading-card .media { flex: none; width: 134px; height: 100%; }
.reading-body { padding: 16px 18px 14px; display: flex; flex-direction: column; }
.reading-body h3 { font-size: 16px; line-height: 1.4; }
.reading-body p { margin-top: 7px; font-size: 12.5px; line-height: 1.72; color: var(--ink-2); }
.reading-more { margin-top: auto; align-self: flex-start; font-size: 12px; color: #fff7e9; background: var(--accent); border-radius: 999px; padding: 7px 13px; }
.reading-more::after { content: " 阅读更多 »"; }
.reading-card:hover .reading-more { background: var(--accent-3); }

/* ---- M6 收录说明 ---- */
.note { padding-top: 29px; }
.note-card {
  position: relative;
  min-height: 129px;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 30px;
  overflow: hidden;
}
.note-card h2 { font-size: 20px; display: flex; align-items: center; gap: 9px; }
.note-card h2 svg { width: 22px; height: 22px; color: var(--accent-3); }
.note-card p { position: relative; z-index: 1; margin-top: 9px; max-width: 760px; font-size: 13px; line-height: 1.85; color: var(--ink-2); }
.note-mountain { position: absolute; right: 24px; bottom: 0; width: 300px; opacity: .5; pointer-events: none; }

/* ---- M7 页脚留白 ---- */
.home-footer { margin-top: 25px; }

/* ================= 分类页 ================= */

.page-hero { position: relative; padding: 30px 0 34px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: url("../images/cat-technique.jpg") center / cover no-repeat;
  opacity: .9;
}
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 242, 229, .55) 40%, rgba(250, 242, 229, .05) 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { font-size: 14px; letter-spacing: .18em; color: var(--ink-3); margin-top: 18px; }
.page-hero h1 { font-size: 46px; line-height: 1.25; margin-top: 8px; letter-spacing: .04em; }
.page-hero .lead { margin-top: 14px; max-width: 700px; font-size: 15.5px; line-height: 1.95; }
.page-hero-meta { display: flex; gap: 26px; margin-top: 18px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.page-hero-meta li { display: flex; align-items: center; gap: 7px; }
.page-hero-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }

.cat-switcher { border-bottom: 1px solid var(--line-soft); background: rgba(252, 246, 236, .6); }
.cat-switcher-inner { display: flex; align-items: center; gap: 10px; padding: 14px 24px; flex-wrap: wrap; }
.cat-switcher .label { font-size: 12.5px; letter-spacing: .12em; color: var(--ink-3); margin-right: 6px; }
.cat-chip { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: transparent; }
.cat-chip:hover { border-color: var(--accent-2); color: var(--accent); }
.cat-chip[aria-current="page"] { background: var(--accent-3); border-color: var(--accent-3); color: #fff7e9; }

.guides { padding: 34px 0 6px; }
.guides-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.guides-head h2 { font-size: 27px; letter-spacing: .05em; }
.guides-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.guide-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.guide-card:hover { border-color: var(--accent-2); }
.guide-card .media { aspect-ratio: 16 / 10; position: relative; }
.guide-card .media::after {
  content: "难度 " attr(data-level);
  position: absolute; left: 12px; top: 12px;
  background: rgba(253, 246, 234, .92);
  color: var(--accent-3);
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
  letter-spacing: .06em;
}
.guide-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.guide-body h3 { font-size: 18px; line-height: 1.4; }
.guide-body p { margin-top: 8px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.guide-link { margin-top: auto; padding-top: 14px; font-size: 12.5px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.guide-link::after { content: "阅读条目 →"; }

.list-desc { padding: 30px 0 0; }
.list-desc-inner {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px;
  padding: 30px 34px;
  background: var(--paper-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.list-desc h2 { font-size: 23px; line-height: 1.4; letter-spacing: .04em; }
.list-desc .desc-note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.list-desc p { font-size: 14.5px; line-height: 2.05; color: var(--ink-2); }

.related { padding: 30px 0 40px; }
.related h2 { font-size: 21px; letter-spacing: .05em; }
.related-list { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); font-size: 14px; color: var(--ink);
}
.related-list a::after { content: "→"; color: var(--accent); }
.related-list a:hover { border-color: var(--accent-2); color: var(--accent); }

/* ================= 详情页 ================= */

.article-head { position: relative; padding: 26px 0 30px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.article-head-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 38%;
  background: url("../images/hero-carving.jpg") center / cover no-repeat;
}
.article-head-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(250, 242, 229, .62) 42%, rgba(250, 242, 229, .08) 100%);
}
.article-head-inner { position: relative; z-index: 1; max-width: 820px; }
.article-head h1 { font-size: 44px; line-height: 1.3; margin-top: 16px; letter-spacing: .03em; }
.article-lead { margin-top: 14px; font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.article-meta { margin-top: 16px; display: flex; gap: 22px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 34px 24px 10px; }
.article-body { max-width: 820px; }
.article-body figure { margin: 0 0 26px; }
.article-body figure .media { aspect-ratio: 16 / 7; border-radius: var(--radius); }
.article-body figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-4); }

.key-points { padding: 20px 24px; background: var(--paper-3); border-left: 3px solid var(--accent-2); border-radius: 0 var(--radius) var(--radius) 0; }
.key-points h2 { font-size: 21px; }
.key-points p { margin-top: 8px; font-size: 15px; line-height: 1.95; }

.article-section { margin-top: 30px; }
.article-section h2 { font-size: 26px; line-height: 1.4; letter-spacing: .03em; }
.article-section p { margin-top: 12px; font-size: 16px; line-height: 2.05; color: var(--ink-2); }

.checklist { margin-top: 12px; counter-reset: step; }
.checklist li { position: relative; padding: 12px 0 12px 46px; border-bottom: 1px dashed var(--line); font-size: 15.5px; line-height: 1.9; }
.checklist li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 13px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--card-2); color: var(--accent-3);
  font-family: var(--serif); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.article-side { padding-top: 4px; }
.side-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; }
.side-card h2 { font-size: 17px; letter-spacing: .04em; }
.side-card .media { aspect-ratio: 3 / 2; border-radius: 6px; margin-top: 12px; }
.side-card p { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.side-links { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.side-links a { font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 8px; }
.side-links a::after { content: "→"; color: var(--accent); }
.side-links a:hover { color: var(--accent); }

.article-related { border-top: 1px solid var(--line-soft); margin-top: 26px; padding: 26px 0 44px; }
.article-related h2 { font-size: 21px; letter-spacing: .05em; }
.article-related .related-list { margin-top: 14px; }

/* ================= 响应式 ================= */

@media (max-width: 1180px) {
  .hero h1 { font-size: 46px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .care-inner { grid-template-columns: 280px repeat(3, minmax(0, 1fr)); padding-left: 150px; gap: 20px; }
  .care-photo { width: 250px; }
  .article-wrap { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 8px; gap: 4px 16px; }
  .site-nav {
    width: 100%; flex: 1 1 100%;
    flex-wrap: wrap; justify-content: center;
    margin-left: 0; gap: 2px 14px;
  }
  .site-nav a { padding: 5px 0; font-size: 12.5px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .brand-sub { display: none; }
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; height: auto; padding-block: 8px; gap: 4px 16px; }
  .site-nav {
    position: static; left: auto; right: auto; top: auto;
    background: none;
    border-bottom: none;
    flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 2px 14px;
    width: 100%; flex: 1 1 100%;
    padding: 4px 0 2px;
    display: flex;
    box-shadow: none;
    margin-left: 0;
  }
  .site-nav a { padding: 5px 0; width: auto; border-bottom: none; font-size: 12.5px; }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .header-cta { display: none; }

  .hero { height: auto; padding-bottom: 128px; }
  .hero-media { width: 100%; opacity: .55; }
  .hero-media::after { background: linear-gradient(180deg, rgba(250, 242, 229, .82) 0%, rgba(250, 242, 229, .55) 60%, rgba(250, 242, 229, .95) 100%); }
  .hero h1 { font-size: 38px; }
  .path-card { position: absolute; bottom: 10px; left: 20px; right: 20px; transform: none; width: auto; height: auto; padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .path-steps { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .path-step { gap: 10px; }
  .path-step + .path-step::before { content: ""; }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .care-inner { grid-template-columns: 1fr; padding: 22px 20px 22px 20px; }
  .care-photo { position: relative; width: 100%; height: 140px; -webkit-mask-image: none; mask-image: none; }
  .care { padding-bottom: 6px; }
  .care-photo { display: none; }
  .reading-grid { grid-template-columns: 1fr; }
  .reading-card { min-height: 0; }
  .reading-card .media { width: 150px; }
  .note-card { padding: 18px 20px; }
  .note-mountain { width: 200px; opacity: .35; }

  .list-desc-inner { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .related-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .article-wrap { grid-template-columns: 1fr; padding-top: 24px; }
  .article-side { display: none; }
  .article-head h1 { font-size: 36px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero-media { width: 55%; opacity: .6; }

  .footer-top { gap: 14px; }
  .footer-links { gap: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { padding-bottom: 210px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 14.5px; line-height: 1.9; }
  .hero-facts { gap: 16px; flex-wrap: wrap; }
  .hero-facts li { font-size: 13px; }
  .path-card { gap: 12px; }
  .path-label { font-size: 12.5px; padding: 6px 10px; }
  .step-name { font-size: 14px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { flex-direction: row; }
  .category-card .media { width: 128px; aspect-ratio: 1 / 1; flex: none; }
  .card-body { padding: 12px 14px; }
  .techniques .table-scroll { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: 0; border-right: 0; }
  .care-intro h2 { font-size: 24px; }
  .reading-card .media { width: 110px; }
  .reading-body { padding: 14px; }
  .guide-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 31px; }
  .article-head h1 { font-size: 29px; }
  .article-wrap { padding-left: 20px; padding-right: 20px; }
  .footer-inner { padding: 22px 20px 28px; }
  .footer-bottom { margin-top: 18px; }
  .section-title { font-size: 24px; gap: 12px; }
  .section-title::before, .section-title::after { width: 20px; }
}

/* ---------------------------------------------------------- 数据对接补充 */
.cat-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1;
}
.category-card h3,
.guide-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.category-card p,
.guide-card p {
  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(--r, 4px);
  border: 1px solid var(--line);
}
.article-body figure figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.article-body .article-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  font-size: 54px;
  background: var(--paper-2, #eee);
  border-radius: var(--r, 4px);
  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);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13px;
}
.pager [aria-current="page"] { border-color: var(--accent-3); color: var(--accent); }
.article-body .pager { justify-content: space-between; }
.article-body .pager a {
  max-width: 48%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
