/* ==========================================================================
   学佛网 前台样式
   配色：宣纸底 + 墨色字 + 铜金点缀
   ========================================================================== */

:root {
  --paper: #f7f3ec;
  --paper-deep: #efe8dc;
  --surface: #fffdfb;
  --surface-2: #fbf7f1;
  --ink: #221e19;
  --ink-2: #4b443c;
  --muted: #8b8073;
  --line: #e9e1d4;
  --line-soft: #f2ecdf;
  --brand: #a06b3c;
  --brand-strong: #7f5229;
  --brand-soft: #f4ebdf;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 30, 25, .04), 0 18px 40px -28px rgba(34, 30, 25, .45);
  --maxw: 1240px;
  --rail: 232px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
i { font-style: normal; }

::selection { background: #e7d3ba; color: #2a2118; }

/* ==========================================================================
   顶部导航
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 250, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 66px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 1; min-width: 0; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(140deg, #bd8546, #8a5a2c);
  box-shadow: 0 6px 14px -6px rgba(138, 90, 44, .8);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow: hidden; }
.brand-text strong { font-family: var(--font-serif); font-size: 21px; letter-spacing: 2px; color: var(--ink); display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

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

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 9px;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.nav-link:hover { color: var(--brand-strong); background: var(--brand-soft); }
.nav-link.is-active { color: var(--brand-strong); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
  margin-left: 2px;
}

.nav-drop { position: relative; }
.nav-drop-btn i { font-size: 11px; transition: transform .25s; }
.nav-drop.is-open .nav-drop-btn i { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -24px rgba(34, 30, 25, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .22s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }

.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-drop-menu a i { font-size: 9px; color: #cdbfa9; flex-shrink: 0; }
.nav-drop-menu a:hover { background: var(--brand-soft); color: var(--brand-strong); }
.nav-drop-all { grid-column: 1 / -1; justify-content: center; color: var(--brand) !important; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px !important; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 16px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 8px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mobile-menu.is-open { display: grid; }
.mobile-menu .m-link { padding: 9px 10px; font-size: 14px; color: var(--ink-2); border-radius: 8px; }
.mobile-menu .m-link.is-active { color: var(--brand); background: var(--brand-soft); }

/* ==========================================================================
   页面骨架
   ========================================================================== */

.layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.main-col { min-width: 0; }
.layout-article .main-col { max-width: 880px; }

/* 左侧栏 */
.site-rail {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rail-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.rail-intro {
  background:
    radial-gradient(120% 80% at 100% 0%, #f8efe2 0%, rgba(255, 253, 250, 0) 60%),
    var(--surface);
}

.rail-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 6px;
  color: var(--brand-strong);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
}

.rail-verse {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-2);
  letter-spacing: 1px;
  text-align: center;
}

.rail-qr { text-align: center; }
.qr-box {
  width: 128px; height: 128px;
  margin: 0 auto 10px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box img, .qr-box canvas { display: block; width: 100% !important; height: 100% !important; }
.qr-text { margin: 0; font-size: 12px; color: var(--muted); letter-spacing: 1px; }

.rail-note { text-align: center; padding: 16px 14px; }
.rail-note a { display: block; font-family: var(--font-serif); color: var(--brand-strong); letter-spacing: 2px; font-size: 15px; }
.rail-note span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }

/* 面板 */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin-bottom: 24px;
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #c08a52, #8a5a2c);
}

.panel-more { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.panel-more:hover { color: var(--brand); }
.panel-more i { font-size: 10px; }

.side-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}

/* ==========================================================================
   首页：排行榜
   ========================================================================== */

.rank-panel { padding-bottom: 22px; }

.rank-ctrl { display: flex; gap: 8px; }

.rank-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
}
.rank-btn:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: #e3d2bc; }

.rank-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 18px 2px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rank-track::-webkit-scrollbar { display: none; }

.rank-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(140deg, #efe6d8, #e2d3bd);
}

.rank-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.rank-card:hover .rank-thumb img { transform: scale(1.05); }

.rank-thumb.is-empty { display: flex; align-items: center; justify-content: center; color: #fff; }
.rank-thumb.is-empty::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(140deg, #c9a273, #8d6236);
  opacity: .9;
}
.rank-thumb.is-empty i { position: relative; font-size: 24px; opacity: .85; }

.rank-num {
  position: absolute;
  top: 8px; left: 8px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(30, 24, 18, .62);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 22px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.rank-card:nth-child(1) .rank-num { background: #c0392b; }
.rank-card:nth-child(2) .rank-num { background: #cf7a2f; }
.rank-card:nth-child(3) .rank-num { background: #b9932f; }

.rank-title {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.rank-card:hover .rank-title { color: var(--brand-strong); }

/* 首页两栏 */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 24px; align-items: start; }
.home-side .panel { padding: 22px 22px 24px; }
.home-side .panel:last-child { margin-bottom: 0; }

/* ==========================================================================
   文章列表
   ========================================================================== */

.post-list { padding-top: 4px; }

.post-item {
  display: flex;
  gap: 18px;
  padding: 20px 2px;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
  transition: transform .2s;
}
.post-item:last-child { border-bottom: 0; }
.post-item:hover { transform: translateX(3px); }

.post-thumb {
  flex: 0 0 138px;
  height: 92px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.post-item:hover .post-thumb img { transform: scale(1.04); }

.post-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.post-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.post-item:hover .post-title { color: var(--brand-strong); }

.post-snippet {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.post-meta i { margin-right: 4px; font-size: 11px; }
.post-cat {
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 5px;
  padding: 1px 8px;
  font-size: 12px;
  max-width: 40%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.post-date, .post-like { display: inline-flex; align-items: center; }

.empty-text { text-align: center; color: var(--muted); padding: 56px 0; margin: 0; font-size: 15px; }

/* 分类 / 标签页头 */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}
.page-title { margin: 6px 0 0; font-family: var(--font-serif); font-size: 28px; letter-spacing: 2px; color: var(--ink); }
.page-head-side { display: flex; gap: 8px; flex-shrink: 0; }
.page-badge { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; background: var(--surface-2); }

/* 面包屑 */
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-size: 9px; color: #cdbfa9; }
.crumbs-current { color: var(--ink-2); }

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

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  margin-top: 10px;
  border-top: 1px solid var(--line-soft);
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 13.5px;
  transition: .2s;
}

/* 手机端用 “第 N / M 页” 代替数字页码 */
.pager-info {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.pager-info b { color: var(--brand-strong); font-weight: 700; }
.pager-btn i { font-size: 10px; }
.pager-btn:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: #e3d2bc; }
.pager-btn.is-current { background: linear-gradient(140deg, #bd8546, #8a5a2c); color: #fff; border-color: transparent; font-weight: 600; }
.pager-btn.is-disabled { color: #c3b8a8; pointer-events: none; background: transparent; }
.pager-gap { color: var(--muted); padding: 0 2px; }

/* ==========================================================================
   文章详情
   ========================================================================== */

.article-panel { padding: 34px 42px 36px; }

.article-head { padding: 18px 0 22px; border-bottom: 1px solid var(--line-soft); }

.article-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
}

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--muted); }
.article-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .meta-item i { font-size: 12px; color: #b8a892; }
.article-meta .meta-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 3px 11px;
  font-size: 12.5px;
}

.article-body {
  padding: 28px 0 8px;
  font-size: 17px;
  line-height: 2.05;
  color: #33302b;
  word-break: break-word;
  overflow-x: auto;
}

.article-body p { margin: 0 0 1.2em; text-align: justify; }
.article-body img { max-width: 100% !important; height: auto !important; display: block; margin: 22px auto !important; border-radius: 10px; }
.article-body a { color: var(--brand-strong); border-bottom: 1px solid #dcc7ad; }
.article-body a:hover { color: var(--brand); }

.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 {
  font-family: var(--font-serif);
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  margin: 2em 0 .9em !important;
  color: var(--ink) !important;
  position: relative;
  padding-left: 15px;
}
.article-body h1::before, .article-body h2::before, .article-body h3::before,
.article-body h4::before, .article-body h5::before, .article-body h6::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 1em;
  border-radius: 3px;
  background: linear-gradient(180deg, #c08a52, #8a5a2c);
}

.article-body blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 16px;
}

.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-body table th, .article-body table td { border: 1px solid var(--line); padding: 8px 10px; }
.article-body iframe { max-width: 100%; }

.tag-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
}
.tag-box a {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 13px;
  transition: .22s;
}
.tag-box a:hover { color: #fff; background: linear-gradient(140deg, #bd8546, #8a5a2c); border-color: transparent; }

/* 点赞 */
.vote-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: 12px;
  background: linear-gradient(120deg, #faf4ea, #f5ece0);
  border: 1px solid #eee0cd;
}

.vote-copy { display: flex; flex-direction: column; gap: 3px; }
.vote-copy strong { font-family: var(--font-serif); font-size: 17px; letter-spacing: 2px; color: var(--brand-strong); }
.vote-copy span { font-size: 13px; color: var(--muted); }

.vote-box { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.vote-number {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #d2452f;
  min-width: 28px;
  text-align: right;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

/* 还没人点赞时不占位，点赞后自动出现 */
.vote-number:empty { display: none; }

.vote-pill {
  position: relative;
  width: 46px; height: 68px;
  border-radius: 30px;
  background: #f0e7da;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .05);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
  outline: none;
}
.vote-pill:focus-visible { box-shadow: 0 0 0 3px rgba(160, 107, 60, .3); }

.vote-fill {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #e8604a, #d2452f);
  transition: height .5s cubic-bezier(.4, 0, .2, 1);
  z-index: 1;
}

.vote-icon { position: relative; z-index: 2; color: #b9ac9a; font-size: 20px; transition: color .3s; }
.vote-pill:hover .vote-icon { color: #d2452f; }
.vote-pill.active { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(210, 69, 47, .75); }
.vote-pill.active .vote-icon { color: #fff; }
.vote-pill.pop { animation: pillPop .45s cubic-bezier(.34, 1.56, .64, 1); }

@keyframes pillPop {
  0% { transform: translateY(-3px) scale(1); }
  40% { transform: translateY(-9px) scale(1.14); }
  100% { transform: translateY(-3px) scale(1); }
}

/* 相关阅读 */
.related-panel { padding-top: 22px; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.related-item { display: flex; gap: 12px; padding: 12px 8px; border-radius: 10px; transition: background .2s; align-items: center; }
.related-item:hover { background: var(--surface-2); }

.related-thumb {
  flex: 0 0 84px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c6b5a0;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-thumb.is-empty { background: linear-gradient(140deg, #f3ece1, #ece0cf); }

.related-main { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.related-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-item:hover .related-title { color: var(--brand-strong); }
.related-meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.related-meta i { margin-right: 4px; font-size: 10px; }

/* 侧栏云标签 */
.cat-cloud, .tag-cloud, .friend-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-cloud a, .tag-cloud a, .friend-links a {
  font-size: 13px;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  line-height: 1.2;
  transition: .22s;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-cloud a:hover, .tag-cloud a:hover, .friend-links a:hover {
  color: var(--brand-strong);
  border-color: #e3d2bc;
  background: var(--brand-soft);
}
.tag-cloud a { color: var(--brand); }

/* ==========================================================================
   评论
   ========================================================================== */

.comment-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 30px;
  margin-bottom: 24px;
}

.comment-section .comment-title {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 1.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 11px;
  border-left: 3px solid var(--brand);
  line-height: 1.2;
}

.comment-section .comment-count-badge {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: 0;
}

.comment-section .comment-list { margin-bottom: 8px; }

.comment-section .comment-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.comment-section .comment-item:last-child { border-bottom: 0; }

.comment-section .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-section .comment-nick { color: var(--brand-strong); font-size: 14px; font-weight: 600; }
.comment-section .comment-time { font-size: 12px; color: var(--muted); }
.comment-section .comment-body { color: var(--ink-2); font-size: 15px; line-height: 1.8; word-break: break-word; }
.comment-section .comment-actions { margin-top: 8px; }
.comment-section .comment-actions a { font-size: 12.5px; color: var(--muted); }
.comment-section .comment-actions a:hover { color: var(--brand); }
.comment-section .comment-empty { text-align: center; color: var(--muted); padding: 36px 0; font-size: 14px; }

.comment-section .children-comments {
  margin-top: 12px;
  margin-left: 14px;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.comment-section .children-comments .comment-item { padding: 10px 0; }
.comment-section .reply-to { display: inline-block; font-size: 12px; color: var(--muted); background: #f2ebdf; border-radius: 5px; padding: 2px 8px; margin-bottom: 6px; }
.comment-section .reply-to strong { color: var(--brand); }

.comment-section .comment-highlight { animation: highlightFlash 2s ease-out; }
@keyframes highlightFlash {
  0% { background-color: #fdf1d8; }
  100% { background-color: transparent; }
}

.comment-section .comment-face { width: 22px; height: 22px; vertical-align: middle; margin: 0 2px; }
.comment-section .comment-img { max-width: 100%; max-height: 260px; border-radius: 8px; margin-top: 8px; display: block; border: 1px solid var(--line); }

.comment-section .comment-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 6px;
  border-top: 1px solid var(--line-soft);
  margin-top: 10px;
}
.comment-section .comment-pagination .page-btn {
  display: inline-block;
  padding: 6px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--ink-2);
}
.comment-section .comment-pagination .page-btn:hover { background: var(--brand-soft); color: var(--brand-strong); }
.comment-section .comment-pagination .page-btn.disabled { background: #f6f2ea; color: #c3b8a8; cursor: not-allowed; }
.comment-section .comment-pagination .page-info { font-size: 13px; color: var(--muted); }

.comment-form-box { margin-top: 22px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; }
.comment-section .form-title { margin: 0 0 14px; font-family: var(--font-serif); font-size: 16px; letter-spacing: 1px; color: var(--ink); }
.comment-section .form-input {
  width: 100%;
  max-width: 300px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: .2s;
}
.comment-section .form-input:focus { border-color: #d3b48c; box-shadow: 0 0 0 3px rgba(160, 107, 60, .1); }
.comment-section .tip-text { font-size: 12px; color: var(--muted); margin-left: 10px; }

.comment-section .form-textarea {
  width: 100%;
  height: 110px;
  padding: 12px 14px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
  outline: none;
  transition: .2s;
}
.comment-section .form-textarea:focus { border-color: #d3b48c; box-shadow: 0 0 0 3px rgba(160, 107, 60, .1); }

.comment-section .comment-preview { margin-top: 10px; padding: 14px; background: #fff; border: 1px dashed #ddc7aa; border-radius: 8px; font-size: 14px; color: var(--ink-2); }

.comment-section .face-box { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.comment-section .face-box img { width: 24px; height: 24px; cursor: pointer; border-radius: 5px; border: 1px solid transparent; transition: .2s; }
.comment-section .face-box img:hover { transform: scale(1.15); border-color: #ddc7aa; }

.comment-section .captcha-box { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.comment-section #captcha_text { font-size: 14px; color: var(--ink-2); }
.comment-section .captcha-input { width: 84px; max-width: 84px; text-align: center; }

.comment-section .btn-submit-comment {
  margin-left: auto;
  padding: 10px 26px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(140deg, #bd8546, #8a5a2c);
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .2s;
}
.comment-section .btn-submit-comment:hover { filter: brightness(1.06); }
.comment-section .btn-submit-comment:disabled { opacity: .6; cursor: default; }

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  margin-top: 48px;
  background: #26221d;
  color: #b9b0a3;
}

.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 26px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand strong { font-family: var(--font-serif); font-size: 18px; letter-spacing: 3px; color: #f0e7da; }
.footer-brand p { margin: 6px 0 0; font-size: 12.5px; color: #8d8478; line-height: 1.9; }

.footer-col h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #e6dccd; }
.footer-col a { display: block; font-size: 13px; color: #9a9184; padding: 3px 0; transition: color .2s; }
.footer-col a:hover { color: #e2c39c; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #7f7669;
}
.footer-bottom a { color: #8d8478; }
.footer-bottom a:hover { color: #e2c39c; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(38, 34, 29, .82);
  color: #f0e7da;
  font-size: 16px;
  backdrop-filter: blur(6px);
  z-index: 40;
  transition: .25s;
}
.back-top:hover { background: #8a5a2c; transform: translateY(-3px); }

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

@media (max-width: 1180px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .home-side .panel { margin-bottom: 0; }
  .layout-article .main-col { max-width: none; }
}

@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 0; }
  .site-rail { display: none; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .header-inner { gap: 14px; }
  .article-panel { padding: 26px 24px 28px; }
  .article-title { font-size: 26px; }
  .related-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .panel { padding: 20px 18px; border-radius: 12px; margin-bottom: 16px; }
  .panel-title { font-size: 18px; }
  .rank-card { flex-basis: 142px; }
  .post-item { gap: 12px; padding: 16px 0; }
  .post-thumb { flex-basis: 104px; height: 74px; }
  .post-title { font-size: 15.5px; }
  .post-snippet { -webkit-line-clamp: 2; font-size: 12.5px; }
  .post-meta { gap: 10px; font-size: 11.5px; }
  .page-title { font-size: 22px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .article-title { font-size: 22px; }
  .article-body { font-size: 16px; line-height: 1.95; }
  .vote-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }
  .vote-box { align-self: center; justify-content: flex-end; gap: 8px; }
  .vote-copy { min-width: 0; gap: 2px; }
  .vote-copy strong { font-size: 15px; letter-spacing: 1px; }
  .vote-copy span { font-size: 12px; line-height: 1.6; }
  .vote-sponsor { margin-top: 6px; padding: 4px 10px; font-size: 12px; }
  .vote-pill { width: 40px; height: 58px; }
  .vote-icon { font-size: 17px; }

  /* 分页：手机只留 上一页 / 第 N / M 页 / 下一页，避免换行 */
  .pager { flex-wrap: wrap; gap: 8px; padding-top: 20px; }
  .pager-num, .pager-gap { display: none; }
  .pager-label { display: none; }
  .pager-info { display: inline-flex; flex: 1 1 auto; justify-content: center; }
  .pager-btn { height: 36px; min-width: 36px; padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
  .home-side { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .comment-section { padding: 20px 18px 22px; }
  .comment-form-box { padding: 16px; }
  .comment-section .form-input { max-width: 100%; }
  .comment-section .btn-submit-comment { margin-left: 0; width: 100%; }
  .comment-section .captcha-box { gap: 10px; }
  .comment-section .children-comments { margin-left: 0; }
}

@media (max-width: 480px) {
  .header-inner { height: 58px; padding: 0 14px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 19px; }
  .layout { padding: 12px 12px 0; }
  .rank-card { flex-basis: 128px; }
  .post-thumb { flex-basis: 88px; height: 66px; }
  .pager-btn { min-width: 34px; height: 34px; padding: 0 9px; font-size: 12.5px; }
  .back-top { right: 14px; bottom: 18px; }
}

/* 隐藏属性优先于组件自身的 display */
[hidden] { display: none !important; }

/* ==========================================================================
   语言切换 / 阅读工具（朗读·字号·赞赏）/ 文章翻页
   ========================================================================== */

/* ---------- 语言选择 ---------- */
.lang-select { position: relative; flex-shrink: 0; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: .2s;
}
.lang-btn:hover { color: var(--brand-strong); border-color: #e3d2bc; background: var(--brand-soft); }
.lang-btn .lang-arrow { font-size: 10px; color: var(--muted); }
.lang-btn .fa-language { font-size: 15px; color: var(--brand); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 430px;
  max-height: 66vh;
  overflow-y: auto;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px -28px rgba(34, 30, 25, .6);
  display: none;
  z-index: 80;
}
.lang-select.is-open .lang-menu { display: block; }
.lang-group { margin-bottom: 10px; }
.lang-group:last-child { margin-bottom: 0; }
.lang-group-title { font-size: 12px; color: var(--muted); letter-spacing: 1px; margin: 0 4px 6px; }
.lang-group-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.lang-item {
  display: block;
  width: 100%;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-item:hover { background: var(--brand-soft); color: var(--brand-strong); }
.lang-item.is-active { background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; }

/* ---------- 阅读工具条 ---------- */
.article-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line-soft);
}

.tts-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: .2s;
}
.tool-btn:hover { color: var(--brand-strong); border-color: #e3d2bc; background: var(--brand-soft); }
.tool-btn.tts-play { color: var(--brand-strong); border-color: #e3d2bc; background: var(--brand-soft); font-weight: 600; }
.tool-btn i { font-size: 12px; }

.tts-speed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}
.tts-speed i { color: var(--brand); font-size: 11px; }
.tts-speed input[type="range"] { width: 72px; accent-color: var(--brand); cursor: pointer; }
.tts-speed span { min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }

.font-switch { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.font-label { font-size: 12px; color: var(--muted); margin-right: 2px; }
.font-btn {
  min-width: 32px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink-2);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: .2s;
}
.font-btn:hover { border-color: #e3d2bc; color: var(--brand-strong); }
.font-btn.is-active { background: linear-gradient(140deg, #bd8546, #8a5a2c); color: #fff; border-color: transparent; }

.tool-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: linear-gradient(140deg, #bd8546, #8a5a2c);
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
  box-shadow: 0 10px 20px -14px rgba(138, 90, 44, .9);
  transition: .2s;
}
.tool-sponsor:hover { filter: brightness(1.06); transform: translateY(-1px); }
.tool-sponsor i { font-size: 13px; }

/* 正文朗读高亮：只做底色，不再加左侧色条，避免压住第一个字 */
.article-body .tts-active {
  background: #fbf0d9 !important;
  border-radius: 8px;
  transition: background .25s;
}

/* 字号三档 */
.article-body { font-size: var(--article-fs, 17px); }
.article-body[data-fs="s"] { --article-fs: 15.5px; }
.article-body[data-fs="m"] { --article-fs: 17px; }
.article-body[data-fs="l"] { --article-fs: 19px; }

/* 正文字体：默认 / 楷体 */
.article-body[data-ff="kai"] {
  font-family: "Kaiti SC", "KaiTi", "STKaiti", "楷体", "STSong", serif;
}
.font-family-btn { min-width: 46px; letter-spacing: 1px; }

/* 赞赏按钮（随喜赞叹卡片里） */
.vote-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 14px;
  width: fit-content;
  border: 1px solid #e3d2bc;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  font-size: 13px;
  transition: .2s;
}
.vote-sponsor:hover { background: var(--brand); color: #fff; border-color: transparent; }

/* 上一篇 / 下一篇 */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 22px;
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface-2);
  transition: .2s;
}
a.article-nav-item:hover { border-color: #e3d2bc; background: var(--brand-soft); }
.article-nav-item.is-next { text-align: right; align-items: flex-end; }
.article-nav-item.is-empty { opacity: .55; }
.nav-label { font-size: 12px; color: var(--muted); }
.nav-label i { font-size: 10px; }
.nav-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.article-nav-item:hover .nav-title { color: var(--brand-strong); }

/* 友情链接（后台数据） */
.friend-links a img { border-radius: 4px; }

@media (max-width: 980px) {
  /* 移动端：搜索、语言、菜单三个按钮统一靠右 */
  .header-inner { gap: 10px; }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .search-widget { margin-left: auto; }
  .lang-select { margin-left: 8px; }
  .menu-toggle { margin-left: 8px; }
  .lang-btn span { display: none; }
  /* 搜索 / 语言 / 菜单三个按钮统一为 40×40 圆角方块 */
  .search-btn, .lang-btn, .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .lang-btn { gap: 0; }
  .lang-btn .lang-arrow { display: none; }
  .lang-menu {
    position: fixed;
    top: 62px;
    left: 10px;
    right: 10px;
    width: auto;
    max-height: 68vh;
  }
  .lang-group-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .article-body[data-fs="s"] { --article-fs: 14.5px; }
  .article-body[data-fs="m"] { --article-fs: 16px; }
  .article-body[data-fs="l"] { --article-fs: 18px; }

  .article-tools { gap: 10px; padding: 12px 0; }
  .font-switch { margin-left: 0; }
  .tool-sponsor { margin-left: auto; }
  .tts-speed input[type="range"] { width: 58px; }

  .article-nav { grid-template-columns: 1fr; padding: 14px; }
  .article-nav-item.is-next { text-align: left; align-items: flex-start; }

  .icp { display: none !important; }
}

/* ==========================================================================
   顶部搜索 + 搜索页
   ========================================================================== */

.search-widget { position: relative; flex-shrink: 0; }

.search-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}
.search-btn:hover,
.search-widget.is-open .search-btn {
  color: var(--brand-strong);
  border-color: #e3d2bc;
  background: var(--brand-soft);
}

.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  padding: 8px;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 60px -28px rgba(34, 30, 25, .6);
  z-index: 90;
}
.search-widget.is-open .search-panel { display: flex; }

.search-panel input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: .2s;
}
.search-panel input:focus {
  border-color: #d3b48c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(160, 107, 60, .1);
}

.search-panel button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(140deg, #bd8546, #8a5a2c);
  color: #fff;
  font-size: 14px;
}
.search-panel button:hover { filter: brightness(1.06); }

/* 搜索页 */
.search-hero { padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }

.search-hero-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: .2s;
}
.search-hero-box:focus-within {
  border-color: #d3b48c;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(160, 107, 60, .08);
}
.search-hero-box > i { color: var(--muted); font-size: 15px; }
.search-hero-box input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search-hero-box button {
  flex-shrink: 0;
  padding: 10px 26px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: linear-gradient(140deg, #bd8546, #8a5a2c);
  color: #fff;
  font: inherit;
  font-size: 14px;
  letter-spacing: 1px;
}
.search-hero-box button:hover { filter: brightness(1.06); }

.search-hot { padding-top: 22px; }
.search-hot .side-title { margin-bottom: 16px; }
.search-summary { padding: 18px 2px 6px; font-size: 14px; color: var(--muted); }
.search-summary b { color: var(--brand-strong); font-size: 16px; }
.search-summary em { font-style: normal; color: var(--ink); }
.search-tip { display: inline-block; margin-left: 10px; font-size: 12px; color: #b0a08c; }

.post-title mark,
.post-snippet mark {
  background: #fbe9c8;
  color: var(--brand-strong);
  padding: 0 2px;
  border-radius: 3px;
}

@media (max-width: 980px) {
  .search-panel {
    position: fixed;
    top: 62px;
    left: 10px;
    right: 10px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .search-btn { width: 40px; height: 40px; }
  .search-hero-box { padding-left: 12px; }
  .search-hero-box button { padding: 10px 16px; }
}

/* 多语言：长单词/长标题不撑破布局 */
.post-title, .post-snippet, .panel-head h2, .article-title, .comment-body,
.article-nav, .tag-cloud a, .cat-cloud a, .cloud a {
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-body { overflow-wrap: anywhere; }
