/* ===== 基础 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red: #C8161D;
  --red-deep: #8B1A1A;
  --blue: #2E5C8A;
  --gold: #D4A24C;
  --paper: #F5F0E6;
  --line: #E6E1D6;
  --ink: #2B2B2B;
  --gray: #6B6B6B;
}
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.8; font-size: 15px;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部 ===== */
.topbar { background: #1F1F1F; color: #C9C0AE; font-size: 12.5px; letter-spacing: .5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.nav-wrap {
  background: #fff; border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.04); position: sticky; top: 0; z-index: 100;
}
.nav-inner { display: flex; align-items: center; gap: 30px; height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 52px; height: 52px; line-height: 52px; text-align: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-size: 26px; font-weight: 700;
  font-family: "Songti SC", "SimSun", serif; border-radius: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 21px; letter-spacing: 2px; color: var(--red-deep);
}
.brand-text em { font-style: normal; font-size: 12px; color: var(--gray); margin-top: 2px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.main-nav a { padding: 8px 16px; font-size: 15px; letter-spacing: 1px; border-radius: 3px; color: #333; }
.main-nav a:hover, .main-nav a.active { background: var(--red); color: #fff; }
.nav-search { display: flex; }
.nav-search input {
  width: 160px; padding: 8px 12px; font-size: 13px;
  border: 1px solid var(--line); border-right: none;
  border-radius: 3px 0 0 3px; background: #FDFBF6; outline: none;
}
.nav-search input:focus { border-color: var(--red); }
.nav-search button {
  padding: 8px 16px; border: none; cursor: pointer;
  background: var(--red); color: #fff; font-size: 13px; border-radius: 0 3px 3px 0;
}
.nav-search button:hover { background: var(--red-deep); }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 8px; position: relative; z-index: 120;
}
.nav-toggle span {
  display: block; height: 2px; background: #C8161D;
  margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open::after {
  content: ""; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 90; animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== 静态 Banner ===== */
.banner {
  position: relative; height: 460px; overflow: hidden;
  background: linear-gradient(135deg, #8B1A1A 0%, #C8161D 50%, #6B1010 100%);
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(212,162,76,.18) 0, transparent 45%),
                    radial-gradient(circle at 80% 70%, rgba(212,162,76,.14) 0, transparent 40%);
}
.banner-inner {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center;
  color: #fff; padding: 0 24px; max-width: 1180px; margin: 0 auto;
}
.banner h1 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 52px; letter-spacing: 8px; font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,.3); color: #fff;
}
.banner .line { width: 80px; height: 3px; background: var(--gold); margin: 22px 0; }
.banner p { font-size: 17px; letter-spacing: 3px; opacity: .92; color: #fff; }
.banner .meta { margin-top: 30px; font-size: 13px; letter-spacing: 2px; opacity: .75; color: #fff; }

/* ===== 轮播图 ===== */
.banner-slider {
  position: relative; height: 460px; overflow: hidden;
  background: #6B1010;
}
.banner-slider .slide {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #8B1A1A 0%, #C8161D 50%, #6B1010 100%);
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.banner-slider .slide.active { opacity: 1; z-index: 1; }
.banner-slider .slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
}
.slide-inner {
  position: relative; z-index: 2;
  max-width: 1180px; width: 100%; margin: 0 auto;
  padding: 0 24px; color: #fff;
}
.slide-inner h1 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 50px; letter-spacing: 8px; font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,.4); color: #fff;
}
.slide-inner .line { width: 80px; height: 3px; background: var(--gold); margin: 22px 0; }
.slide-inner p { font-size: 17px; letter-spacing: 3px; opacity: .92; max-width: 640px; color: #fff; }
.slide-btn {
  display: inline-block; margin-top: 26px;
  padding: 11px 30px; border: 2px solid var(--gold);
  color: var(--gold); font-size: 14px; letter-spacing: 2px;
  transition: all .3s;
}
.slide-btn:hover { background: var(--gold); color: #6B1010; }

.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; line-height: 44px; text-align: center;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; cursor: pointer;
  font-size: 26px; font-family: serif;
  z-index: 3; transition: all .25s;
  backdrop-filter: blur(4px);
}
.slide-arrow:hover { background: var(--gold); border-color: var(--gold); color: #6B1010; }
.slide-arrow.prev { left: 24px; }
.slide-arrow.next { right: 24px; }

.slide-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.slide-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all .3s;
}
.slide-dots span.on { background: var(--gold); width: 26px; border-radius: 5px; }

/* ===== 版块标题 ===== */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 42px; }
.section-title h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 30px; letter-spacing: 4px; color: var(--red-deep);
  display: inline-block; position: relative; padding: 0 22px;
}
.section-title h2::before, .section-title h2::after {
  content: ""; position: absolute; top: 50%; width: 40px; height: 1px; background: var(--gold);
}
.section-title h2::before { left: -40px; }
.section-title h2::after { right: -40px; }
.section-title p { font-size: 13px; color: var(--gray); letter-spacing: 3px; margin-top: 8px; text-transform: uppercase; }

/* ===== 数据卡片 ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 40px; margin-bottom: 20px;
  position: relative; z-index: 5;
}
.stat-card {
  background: #fff; padding: 26px 22px; text-align: center;
  border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-top: 3px solid var(--gold);
}
.stat-card b { display: block; font-size: 34px; color: var(--red); font-family: "Songti SC", "SimSun", serif; line-height: 1; }
.stat-card span { display: block; font-size: 13px; color: var(--gray); margin-top: 8px; letter-spacing: 2px; }

/* ===== 分类卡片 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: #fff; padding: 32px 26px; border-radius: 6px;
  border: 1px solid var(--line); text-align: center; transition: all .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(200,22,29,.12); border-color: var(--red); }
.cat-card .icon {
  width: 56px; height: 56px; line-height: 56px; margin: 0 auto 14px;
  background: var(--paper); border-radius: 50%;
  font-family: "Songti SC", serif; font-size: 24px; color: var(--red);
}
.cat-card h3 { font-family: "Songti SC", serif; font-size: 18px; letter-spacing: 2px; color: var(--red-deep); margin-bottom: 8px; }
.cat-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ===== 文章列表 ===== */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: #fff; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); transition: all .3s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.09); border-color: var(--gold); }
.article-card .thumb {
  height: 190px; background: linear-gradient(135deg, #EFE7D6, #D9CDB3);
  background-size: cover; background-position: center; position: relative;
}
.article-card .thumb::after {
  content: "非"; position: absolute; right: 14px; bottom: 10px;
  font-family: "Songti SC", serif; font-size: 42px; color: rgba(255,255,255,.35);
}
.article-card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.article-card .cat {
  display: inline-block; font-size: 12px; padding: 2px 10px;
  background: var(--paper); color: var(--red); border-radius: 2px;
  letter-spacing: 1px; margin-bottom: 10px;
}
.article-card h3 { font-family: "Songti SC", serif; font-size: 17px; line-height: 1.5; margin-bottom: 10px; letter-spacing: 1px; }

/* 卡片摘要：保留换行，最多 3 行 */
.article-card p {
  font-size: 13px; color: var(--gray); line-height: 1.7; flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.article-card .foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; font-size: 12px; color: #999;
  padding-top: 12px; border-top: 1px dashed var(--line);
}

/* ===== 详情页 ===== */
.detail-wrap { padding: 40px 0 60px; }
.breadcrumb { font-size: 13px; color: var(--gray); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 6px; color: #CCC; }
.detail-card { background: #fff; border-radius: 6px; padding: 46px 54px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.detail-card h1 {
  font-family: "Songti SC", serif; font-size: 30px; line-height: 1.4;
  letter-spacing: 2px; color: var(--red-deep); margin-bottom: 16px;
}
.detail-meta {
  display: flex; gap: 22px; font-size: 13px; color: var(--gray);
  padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px;
}
.detail-meta span::before { content: "· "; color: var(--gold); }
.detail-cover { border-radius: 4px; margin-bottom: 26px; overflow: hidden; }
.detail-content { font-size: 15.5px; line-height: 2; color: #333; }
.detail-content p { margin-bottom: 18px; text-indent: 2em; }
.detail-content h2 { font-family: "Songti SC", serif; font-size: 20px; margin: 26px 0 14px; color: var(--red-deep); }
.detail-content img { margin: 16px auto; border-radius: 4px; transition: transform .25s; }
.detail-content img:hover { transform: scale(1.01); }
.detail-source {
  margin-top: 26px; padding: 14px 18px; background: var(--paper);
  font-size: 13px; color: var(--gray); border-radius: 4px; border-left: 3px solid var(--gold);
}

/* ===== 上一篇 / 下一篇 卡片 ===== */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.pn-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: 6px;
  background: #FDFBF6; border: 1px solid var(--line);
  transition: all .25s; min-height: 86px;
}
.pn-item.pn-next { justify-content: flex-end; text-align: right; }
.pn-item:not(.pn-empty):hover {
  background: #fff; border-color: var(--red);
  box-shadow: 0 8px 22px rgba(200,22,29,.08);
  transform: translateY(-2px);
}
.pn-item.pn-empty { opacity: .55; cursor: default; }
.pn-arrow { font-size: 30px; line-height: 1; color: var(--gold); font-family: serif; flex-shrink: 0; }
.pn-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pn-body em { font-style: normal; font-size: 12px; color: var(--gray); letter-spacing: 2px; }
.pn-body strong {
  font-family: "Songti SC", serif;
  font-size: 15px; color: var(--red-deep); line-height: 1.4; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ===== 相关推荐 ===== */
.related-block { margin-top: 44px; }
.related-title { text-align: center; position: relative; margin-bottom: 24px; }
.related-title span {
  display: inline-block; padding: 0 20px;
  font-family: "Songti SC", serif; font-size: 18px; letter-spacing: 3px;
  color: var(--red-deep); background: #fff;
  position: relative; z-index: 2;
}
.related-title::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--line);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-item {
  display: block; background: #FDFBF6; border-radius: 6px;
  overflow: hidden; border: 1px solid var(--line); transition: all .25s;
}
.related-item:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.ri-thumb { height: 120px; background: linear-gradient(135deg, #EFE7D6, #D9CDB3); background-size: cover; background-position: center; }
.ri-body { padding: 12px 14px 14px; }
.ri-body h4 {
  font-family: "Songti SC", serif;
  font-size: 14px; line-height: 1.5; color: #333; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 6px;
}
.ri-body span { font-size: 12px; color: #999; }

/* ===== 图片灯箱 ===== */
.img-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  padding: 40px 20px;
}
.img-lightbox.show { opacity: 1; visibility: visible; }
.img-lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
  transform: scale(.94);
  transition: transform .3s;
}
.img-lightbox.show img { transform: scale(1); }
.lb-close {
  position: absolute; top: 22px; right: 30px;
  color: #fff; font-size: 38px; line-height: 1;
  cursor: pointer; font-weight: 300;
  transition: color .2s, transform .25s;
  user-select: none;
}
.lb-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ===== 单页 ===== */
.page-wrap { padding: 46px 0 60px; }
.page-card { background: #fff; border-radius: 6px; padding: 50px 60px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.page-card h1 { font-family: "Songti SC", serif; font-size: 28px; letter-spacing: 2px; color: var(--red-deep); text-align: center; margin-bottom: 10px; }
.page-card .sub { text-align: center; font-size: 13px; color: var(--gray); letter-spacing: 3px; margin-bottom: 36px; }
.page-card .sub::after { content: ""; display: block; width: 50px; height: 2px; background: var(--gold); margin: 16px auto 0; }
.page-content { font-size: 15.5px; line-height: 2; color: #333; }
.page-content p { margin-bottom: 18px; text-indent: 2em; }

/* ===== 分页 ===== */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 46px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; line-height: 38px; text-align: center;
  padding: 0 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 3px; font-size: 14px; color: #555;
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .current { background: var(--red); border-color: var(--red); color: #fff; }
.pager .disabled { color: #CCC; }

/* ===== 空状态 ===== */
.empty {
  text-align: center; padding: 80px 20px; color: var(--gray);
  background: #fff; border-radius: 6px; border: 1px dashed var(--line);
}
.empty .ico { font-size: 46px; color: var(--line); margin-bottom: 14px; }

/* ===== 页脚 ===== */
.site-footer { background: #1F1F1F; color: #B8B0A0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 54px 24px 40px; }
.f-col h4 {
  font-family: "Songti SC", serif; color: #fff; font-size: 16px;
  letter-spacing: 2px; margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--red); }
.f-col p { font-size: 13px; line-height: 1.9; margin-bottom: 10px; }
.f-col .f-note { color: #7A7364; font-size: 12px; }
.f-col ul li { font-size: 13px; line-height: 2.2; }
.f-col ul li a:hover { color: var(--gold); }

.footer-links { border-top: 1px solid #2B2B2B; padding: 16px 0; font-size: 13px; color: #8A8272; }
.footer-links .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer-links .fl-label { color: #C9A97A; letter-spacing: 1px; }
.footer-links a { color: #B8B0A0; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid #333; padding: 18px 0; font-size: 12.5px; color: #7A7364; }
.footer-bottom .container { display: flex; justify-content: space-between; }

/* ===== 平板 ===== */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .nav-inner { gap: 16px; height: 78px; }
  .brand-text strong { font-size: 18px; letter-spacing: 1px; }
  .brand-text em { font-size: 11px; }
  .brand-mark { width: 46px; height: 46px; line-height: 46px; font-size: 22px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
  .cat-grid, .article-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; padding: 44px 16px 30px; }

  .banner, .banner-slider { height: 380px; }
  .banner h1, .slide-inner h1 { font-size: 34px; letter-spacing: 4px; }
  .banner p, .slide-inner p { font-size: 15px; letter-spacing: 2px; }

  .detail-card { padding: 34px 26px; }
  .page-card { padding: 36px 26px; }
  .section { padding: 44px 0; }
  .section-title h2 { font-size: 24px; letter-spacing: 3px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 手机端 ===== */
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .topbar { font-size: 12px; }
  .topbar-inner { height: 32px; }
  .topbar-date { display: none; }

  .nav-wrap { position: sticky; top: 0; }
  .nav-inner { height: 64px; padding: 0 14px; gap: 8px; flex-wrap: nowrap; }
  .brand { gap: 10px; min-width: 0; flex: 1; }
  .brand-mark { width: 40px; height: 40px; line-height: 40px; font-size: 20px; flex-shrink: 0; }
  .brand-text { overflow: hidden; }
  .brand-text strong { font-size: 15px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text em { display: none; }
  .nav-toggle { display: block; flex-shrink: 0; }

  .main-nav {
    position: fixed; top: 0; right: -280px;
    width: 260px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 70px 18px 20px; gap: 4px;
    box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transition: right .3s ease; z-index: 100;
    overflow-y: auto; margin-left: 0;
  }
  .main-nav.open { right: 0; }
  .main-nav a { padding: 13px 16px; font-size: 15px; border-radius: 4px; border-bottom: 1px solid #F2ECE0; letter-spacing: 1px; }
  .main-nav a:last-of-type { border-bottom: none; }
  .main-nav a:hover, .main-nav a.active { background: #C8161D; color: #fff; }
  .main-nav .nav-search { display: flex; margin-top: 14px; width: 100%; }
  .main-nav .nav-search input { flex: 1; width: auto; font-size: 13px; padding: 10px 12px; }
  .main-nav .nav-search button { padding: 10px 16px; font-size: 13px; }

  .banner, .banner-slider { height: 240px; }
  .banner-inner, .slide-inner { padding: 0 20px; }
  .banner h1, .slide-inner h1 { font-size: 22px; letter-spacing: 3px; line-height: 1.3; }
  .banner .line, .slide-inner .line { width: 46px; height: 2px; margin: 10px 0; }
  .banner p, .slide-inner p { font-size: 12.5px; letter-spacing: 1px; line-height: 1.6; }
  .banner .meta { margin-top: 12px; font-size: 10px; letter-spacing: 1px; }
  .slide-btn { margin-top: 12px; padding: 7px 18px; font-size: 12px; }
  .slide-arrow { width: 32px; height: 32px; line-height: 28px; font-size: 18px; }
  .slide-arrow.prev { left: 8px; }
  .slide-arrow.next { right: 8px; }
  .slide-dots { bottom: 10px; gap: 6px; }
  .slide-dots span { width: 7px; height: 7px; }
  .slide-dots span.on { width: 18px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; margin-bottom: 10px; }
  .stat-card { padding: 14px 10px; border-radius: 5px; }
  .stat-card b { font-size: 22px; }
  .stat-card span { font-size: 11px; letter-spacing: .5px; margin-top: 3px; }

  .section { padding: 26px 0; }
  .section-title { margin-bottom: 18px; }
  .section-title h2 { font-size: 18px; letter-spacing: 2px; padding: 0 12px; }
  .section-title h2::before, .section-title h2::after { width: 18px; }
  .section-title h2::before { left: -18px; }
  .section-title h2::after { right: -18px; }
  .section-title p { font-size: 10.5px; letter-spacing: 2px; margin-top: 4px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 10px; border-radius: 5px; }
  .cat-card .icon { width: 40px; height: 40px; line-height: 40px; font-size: 17px; margin-bottom: 8px; }
  .cat-card h3 { font-size: 14px; letter-spacing: .5px; margin-bottom: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cat-card p { display: none; }

  .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card .thumb { height: 150px; }
  .article-card .body { padding: 14px 14px 16px; }
  .article-card h3 { font-size: 15.5px; margin-bottom: 8px; }
  .article-card p { font-size: 12.5px; -webkit-line-clamp: 2; }

  .detail-wrap { padding: 20px 0 40px; }
  .breadcrumb { font-size: 12px; margin-bottom: 14px; }
  .detail-card { padding: 22px 18px; border-radius: 4px; }
  .detail-card h1 { font-size: 21px; letter-spacing: 1px; line-height: 1.4; }
  .detail-meta { flex-wrap: wrap; gap: 8px 14px; font-size: 12px; padding-bottom: 14px; margin-bottom: 20px; }
  .detail-content { font-size: 15px; line-height: 1.9; }
  .detail-content p { text-indent: 2em; margin-bottom: 14px; }
  .detail-source { font-size: 12.5px; padding: 12px 14px; }

  .post-nav { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; padding-top: 20px; }
  .pn-item { padding: 14px 16px; min-height: auto; gap: 10px; }
  .pn-arrow { font-size: 24px; }
  .pn-body strong { font-size: 14px; }
  .pn-body em { font-size: 11px; }

  .related-block { margin-top: 28px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .ri-thumb { height: 140px; }

  .lb-close { top: 14px; right: 18px; font-size: 32px; }

  .page-wrap { padding: 20px 0 40px; }
  .page-card { padding: 26px 18px; }
  .page-card h1 { font-size: 20px; letter-spacing: 1px; }
  .page-card .sub { font-size: 11px; letter-spacing: 2px; margin-bottom: 22px; }
  .page-content { font-size: 15px; line-height: 1.9; }

  .pager { margin-top: 26px; gap: 4px; flex-wrap: wrap; }
  .pager a, .pager span { min-width: 32px; height: 32px; line-height: 32px; padding: 0 8px; font-size: 12.5px; }

  .site-footer { margin-top: 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    padding: 26px 14px 20px;
  }
  .footer-grid .f-col:first-child {
    grid-column: 1 / -1;
    padding-bottom: 6px;
    border-bottom: 1px solid #2B2B2B;
  }
  .f-col h4 { font-size: 14px; margin-bottom: 10px; padding-bottom: 8px; letter-spacing: 1px; }
  .f-col h4::after { width: 20px; }
  .f-col p { font-size: 12.5px; line-height: 1.8; margin-bottom: 6px; }
  .f-col .f-note { font-size: 11.5px; }
  .f-col ul li { font-size: 12.5px; line-height: 1.9; }

  .footer-links { font-size: 12px; padding: 12px 0; }
  .footer-links .container { gap: 6px 12px; }

  .footer-bottom { padding: 12px 0; font-size: 11.5px; }
  .footer-bottom .container { flex-direction: column; gap: 4px; text-align: center; }

  .back-top {
    right: 14px !important; bottom: 18px !important;
    width: 36px !important; height: 36px !important; line-height: 36px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 380px) {
  .brand-text strong { font-size: 14px; }
  .banner h1, .slide-inner h1 { font-size: 20px; letter-spacing: 2px; }
  .banner p, .slide-inner p { font-size: 12px; }
  .stat-card b { font-size: 20px; }
  .cat-card h3 { font-size: 13px; }
}