/* ===========================================
   慧人启广告 - 老式广告牌风格 CSS
   =========================================== */

/* ===== 基础重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "STKaiti", "KaiTi", "楷体", serif;
  background-color: #F4E8D0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 38px, rgba(139, 0, 0, 0.025) 38px, rgba(139, 0, 0, 0.025) 76px),
    repeating-linear-gradient(-45deg, transparent, transparent 38px, rgba(218, 165, 32, 0.025) 38px, rgba(218, 165, 32, 0.025) 76px),
    radial-gradient(ellipse at top, #FAF0DC 0%, #E8D8B0 100%);
  background-attachment: fixed;
  color: #3E2723;
  line-height: 1.8;
  min-height: 100vh;
  font-size: 15px;
}

a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #DAA520;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== 顶栏招牌 ===== */
.signboard {
  position: relative;
  background: linear-gradient(180deg, #A52A2A 0%, #6B0000 50%, #3E0000 100%);
  border: 8px solid #DAA520;
  border-radius: 12px;
  padding: 26px 20px 32px;
  margin: 25px auto 20px;
  max-width: 1200px;
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px #8B6914,
    0 8px 24px rgba(0, 0, 0, 0.4);
}

/* 招牌顶部装饰条 */
.signboard::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 22px;
  background: linear-gradient(180deg, #FFE066 0%, #DAA520 50%, #8B6914 100%);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #5C4500;
  border-bottom: none;
}

/* 招牌底部装饰条 */
.signboard::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(180deg, #DAA520 0%, #8B6914 50%, #5C4500 100%);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #5C4500;
  border-top: none;
}

/* 灯泡（4角装饰） */
.bulb {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, #FFFFCC 40%, #FFD700 80%);
  border-radius: 50%;
  box-shadow: 0 0 12px #FFD700, 0 0 24px #FFFF99, inset 0 1px 0 #FFFFFF;
  animation: bulbBlink 1.6s ease-in-out infinite alternate;
  z-index: 5;
}

.bulb-1 { top: -7px; left: 30px; animation-delay: 0s; }
.bulb-2 { top: -7px; left: 50%; transform: translateX(-50%); animation-delay: 0.4s; }
.bulb-3 { top: -7px; right: 30px; animation-delay: 0.8s; }
.bulb-4 { bottom: -7px; left: 30px; animation-delay: 0.2s; }
.bulb-5 { bottom: -7px; left: 50%; transform: translateX(-50%); animation-delay: 0.6s; }
.bulb-6 { bottom: -7px; right: 30px; animation-delay: 1s; }

@keyframes bulbBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px #FFD700, 0 0 24px #FFFF99; }
  50% { opacity: 0.5; box-shadow: 0 0 4px #FFD700; }
}

/* 主标题 */
.brand-title {
  font-family: "STKaiti", "KaiTi", "楷体", serif;
  font-size: 78px;
  color: #FFD700;
  text-align: center;
  letter-spacing: 18px;
  text-shadow:
    0 0 12px #FFD700,
    0 0 24px #FFA500,
    2px 2px 0 #3E0000,
    4px 4px 0 rgba(0, 0, 0, 0.6);
  margin: 16px 0 8px;
  font-weight: bold;
  background: linear-gradient(180deg, #FFFF99 0%, #FFD700 50%, #DAA520 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px #FFD700) drop-shadow(2px 2px 0 #3E0000);
}

.brand-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #FFE4B5;
  text-align: center;
  letter-spacing: 8px;
  margin: 6px 0 4px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.brand-tagline {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #FFA500;
  text-align: center;
  letter-spacing: 4px;
  margin-top: 6px;
}

/* ===== 滚动条幅 ===== */
.marquee-board {
  background: linear-gradient(180deg, #5C0000 0%, #3E0000 50%, #5C0000 100%);
  border: 4px double #DAA520;
  padding: 14px 20px;
  margin: 18px auto;
  max-width: 1200px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.marquee-board::before,
.marquee-board::after {
  content: "▶";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FFD700;
  font-size: 18px;
  text-shadow: 0 0 8px #FFD700;
  z-index: 2;
}

.marquee-board::before { left: 8px; }
.marquee-board::after { right: 8px; transform: translateY(-50%) scaleX(-1); }

.marquee-content {
  color: #FFD700;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  animation: marqueeMove 32s linear infinite;
  text-shadow: 0 0 10px #FFD700;
  letter-spacing: 4px;
  font-family: "STKaiti", "KaiTi", serif;
  padding: 0 30px;
}

.marquee-content .sep {
  margin: 0 20px;
  color: #FFA500;
}

@keyframes marqueeMove {
  0% { transform: translateX(50%); }
  100% { transform: translateX(-100%); }
}

/* ===== 主导航 ===== */
.old-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 14px),
    linear-gradient(180deg, #3E0000 0%, #5C0000 50%, #3E0000 100%);
  border: 4px solid #DAA520;
  border-radius: 8px;
  margin: 18px auto;
  max-width: 1200px;
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.7),
    inset 0 0 0 2px #8B6914,
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-item {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  color: #FFD700;
  text-decoration: none;
  border: 2px solid #DAA520;
  border-radius: 5px;
  font-family: "STKaiti", "KaiTi", "楷体", serif;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 3px;
  position: relative;
  transition: all 0.3s;
  box-shadow:
    inset 0 1px 0 rgba(255, 215, 0, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.4);
  text-shadow: 0 0 6px #FFD700;
}

.nav-item:hover, .nav-item.active {
  background: linear-gradient(180deg, #B22222 0%, #8B0000 100%);
  color: #FFFF99;
  text-shadow: 0 0 12px #FFFF99, 0 0 24px #FFD700;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 153, 0.7),
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 215, 0, 0.6);
}

/* ===== 内容容器 ===== */
.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 18px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* ===== 招牌式卡片（带铆钉） ===== */
.board-card {
  background: linear-gradient(180deg, #FAF0DC 0%, #F4E8D0 100%);
  border: 5px solid #8B0000;
  border-radius: 8px;
  padding: 28px 22px 22px;
  margin-bottom: 25px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px #DAA520,
    inset 0 0 0 5px #FAF0DC,
    inset 0 0 0 7px #8B0000,
    0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 4角铆钉 */
.board-card .rivet {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 35% 35%, #FFE066 0%, #B8860B 60%, #5C4500 100%);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
}

.board-card .rivet.tl { top: 7px; left: 7px; }
.board-card .rivet.tr { top: 7px; right: 7px; }
.board-card .rivet.bl { bottom: 7px; left: 7px; }
.board-card .rivet.br { bottom: 7px; right: 7px; }

/* 章节标题 */
.section-title {
  font-family: "STKaiti", "KaiTi", "楷体", serif;
  font-size: 38px;
  color: #8B0000;
  text-align: center;
  margin: 32px 0 22px;
  letter-spacing: 8px;
  position: relative;
  text-shadow: 2px 2px 0 #DAA520, 4px 4px 0 rgba(139, 0, 0, 0.2);
  font-weight: bold;
}

.section-title::before,
.section-title::after {
  content: "❖";
  color: #DAA520;
  margin: 0 18px;
  font-size: 28px;
  vertical-align: middle;
}

/* ===== 文章网格 ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin: 22px 0;
}

.article-card {
  background: linear-gradient(180deg, #FFF8DC 0%, #F4E8D0 100%);
  border: 3px solid #8B0000;
  border-radius: 6px;
  padding: 18px;
  position: relative;
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow:
    inset 0 0 0 1px #DAA520,
    0 4px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B0000 0%, #DAA520 50%, #8B0000 100%);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px #DAA520,
    0 8px 16px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(218, 165, 32, 0.3);
  border-color: #DAA520;
}

.article-card h3 {
  font-family: "STKaiti", "KaiTi", serif;
  color: #8B0000;
  font-size: 19px;
  margin: 8px 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #DAA520;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.5;
}

.article-card p {
  color: #5D4037;
  font-size: 13.5px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 文章详情页 ===== */
.article-header {
  text-align: center;
  border-bottom: 4px double #8B0000;
  padding-bottom: 22px;
  margin-bottom: 28px;
  position: relative;
}

.article-header::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #DAA520;
}

.article-title {
  font-family: "STKaiti", "KaiTi", "楷体", serif;
  font-size: 34px;
  color: #8B0000;
  letter-spacing: 4px;
  margin-bottom: 14px;
  text-shadow: 2px 2px 0 #DAA520;
  font-weight: bold;
  line-height: 1.4;
}

.article-meta {
  color: #8B6914;
  font-size: 14px;
  letter-spacing: 2px;
  font-family: Georgia, serif;
}

.article-meta span {
  margin: 0 8px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: #3E2723;
  padding: 24px 30px;
  text-indent: 2em;
}

.article-content p {
  margin-bottom: 14px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #8B0000;
  margin: 22px 0 14px;
  padding: 6px 0 6px 14px;
  font-family: "STKaiti", "KaiTi", serif;
  text-indent: 0;
  border-left: 6px solid #DAA520;
  background: linear-gradient(90deg, rgba(218, 165, 32, 0.1) 0%, transparent 100%);
}

.article-content h2 { font-size: 22px; letter-spacing: 2px; }
.article-content h3 { font-size: 19px; letter-spacing: 1px; }
.article-content h4 { font-size: 17px; }

.article-content ul,
.article-content ol {
  margin: 12px 0 12px 2em;
}

.article-content li {
  margin-bottom: 6px;
}

.article-content blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  background: rgba(218, 165, 32, 0.08);
  border-left: 5px solid #DAA520;
  font-style: italic;
  color: #5D4037;
  text-indent: 0;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  background: linear-gradient(180deg, #FAF0DC 0%, #F0E0B8 100%);
  border: 2px solid #8B0000;
  border-radius: 5px;
  padding: 10px 16px;
  margin-bottom: 22px;
  font-size: 14px;
  font-family: Georgia, "Microsoft YaHei", serif;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: #8B0000;
  text-decoration: none;
  margin: 0 4px;
  font-weight: bold;
}

.breadcrumb a:hover {
  color: #DAA520;
  text-decoration: underline;
}

.breadcrumb .sep {
  color: #DAA520;
  margin: 0 8px;
}

.breadcrumb .current {
  color: #5D4037;
}

/* ===== 翻页导航 ===== */
.page-nav {
  display: flex;
  justify-content: space-between;
  margin: 28px 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, #FFF8DC 0%, #F4E8D0 100%);
  border: 3px double #8B0000;
  border-radius: 6px;
  gap: 10px;
  flex-wrap: wrap;
}

.page-nav a {
  color: #8B0000;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #8B0000;
  border-radius: 4px;
  background: #FAF0DC;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s;
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 1px;
}

.page-nav a:hover {
  background: #8B0000;
  color: #FFD700;
  border-color: #DAA520;
  box-shadow: 0 0 10px rgba(139, 0, 0, 0.4);
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 25px 0;
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  background: linear-gradient(180deg, #FAF0DC 0%, #F0E0B8 100%);
  border: 2px solid #8B0000;
  border-radius: 4px;
  color: #8B0000;
  text-decoration: none;
  font-size: 14px;
  min-width: 38px;
  text-align: center;
  transition: all 0.3s;
  font-family: Georgia, serif;
  font-weight: bold;
}

.pagination a:hover,
.pagination a.active {
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  color: #FFD700;
  border-color: #DAA520;
  box-shadow: 0 0 8px rgba(218, 165, 32, 0.5);
}

/* ===== 侧边栏 ===== */
.sidebar {
  background: linear-gradient(180deg, #FAF0DC 0%, #F4E8D0 100%);
  border: 4px solid #8B0000;
  border-radius: 6px;
  padding: 18px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px #DAA520,
    inset 0 0 0 4px #FAF0DC,
    inset 0 0 0 5px #8B0000,
    0 6px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-title {
  font-family: "STKaiti", "KaiTi", serif;
  color: #FFD700;
  font-size: 22px;
  text-align: center;
  margin: -18px -18px 18px;
  padding: 12px;
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  border-bottom: 3px solid #DAA520;
  letter-spacing: 4px;
  text-shadow: 0 0 8px #FFD700;
  position: relative;
  border-radius: 2px 2px 0 0;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  padding: 9px 6px;
  border-bottom: 1px dashed #DAA520;
  font-size: 14px;
  position: relative;
  padding-left: 18px;
}

.sidebar li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: #8B0000;
  font-weight: bold;
}

.sidebar li:last-child {
  border-bottom: none;
}

.sidebar a {
  color: #3E2723;
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar a:hover {
  color: #8B0000;
  padding-left: 5px;
}

/* ===== 栏目卡片（首页） ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.cat-card {
  background: linear-gradient(180deg, #FAF0DC 0%, #E8D8B0 100%);
  border: 4px solid #8B0000;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  transition: all 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow:
    inset 0 0 0 1px #DAA520,
    inset 0 0 0 4px #FAF0DC,
    inset 0 0 0 5px #8B0000,
    0 6px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed #DAA520;
  border-radius: 4px;
  pointer-events: none;
}

.cat-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow:
    inset 0 0 0 1px #DAA520,
    inset 0 0 0 4px #FAF0DC,
    inset 0 0 0 5px #8B0000,
    0 12px 24px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(218, 165, 32, 0.4);
}

.cat-icon {
  font-size: 50px;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(2px 2px 0 #DAA520);
}

.cat-name {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 28px;
  font-weight: bold;
  color: #8B0000;
  letter-spacing: 4px;
  margin-bottom: 8px;
  text-shadow: 1px 1px 0 #DAA520;
}

.cat-desc {
  font-size: 13px;
  color: #5D4037;
  letter-spacing: 1px;
  margin-top: 6px;
  line-height: 1.6;
}

/* ===== 首页特色区 ===== */
.feature-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin: 24px 0;
}

.feature-block {
  background: linear-gradient(180deg, #FFF8DC 0%, #F4E8D0 100%);
  border: 4px solid #8B0000;
  border-radius: 6px;
  padding: 22px 18px;
  position: relative;
  box-shadow:
    inset 0 0 0 1px #DAA520,
    0 4px 10px rgba(0, 0, 0, 0.15);
}

.feature-block h2 {
  font-family: "STKaiti", "KaiTi", serif;
  color: #8B0000;
  font-size: 24px;
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px double #DAA520;
  letter-spacing: 4px;
  text-shadow: 1px 1px 0 #DAA520;
}

.feature-block ol,
.feature-block ul {
  list-style: none;
  counter-reset: item;
}

.feature-block ol li,
.feature-block ul li {
  padding: 10px 8px 10px 38px;
  border-bottom: 1px dashed #DAA520;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  transition: all 0.3s;
}

.feature-block ol li:hover,
.feature-block ul li:hover {
  background: rgba(218, 165, 32, 0.08);
  padding-left: 45px;
}

.feature-block ol li {
  counter-increment: item;
}

.feature-block ol li::before {
  content: counter(item);
  position: absolute;
  left: 6px;
  top: 8px;
  width: 26px;
  height: 26px;
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  color: #FFD700;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-weight: bold;
  font-size: 13px;
  font-family: Georgia, serif;
  border: 2px solid #DAA520;
}

.feature-block ul li::before {
  content: "❖";
  position: absolute;
  left: 10px;
  top: 8px;
  color: #DAA520;
  font-weight: bold;
}

.feature-block a {
  color: #3E2723;
  text-decoration: none;
}

.feature-block a:hover {
  color: #8B0000;
}

/* ===== 关于我们块 ===== */
.about-block {
  background:
    repeating-linear-gradient(135deg, transparent 0px, transparent 18px, rgba(218, 165, 32, 0.04) 18px, rgba(218, 165, 32, 0.04) 36px),
    linear-gradient(180deg, #FAF0DC 0%, #F0E0B8 100%);
  border: 4px double #8B0000;
  border-radius: 8px;
  padding: 26px 30px;
  margin: 24px 0;
  position: relative;
  box-shadow: inset 0 0 20px rgba(139, 0, 0, 0.05);
}

.about-block h2 {
  font-family: "STKaiti", "KaiTi", serif;
  color: #8B0000;
  font-size: 30px;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 6px;
  text-shadow: 2px 2px 0 #DAA520;
}

.about-block p {
  text-indent: 2em;
  margin-bottom: 12px;
  line-height: 2;
  color: #3E2723;
}

/* ===== 旧式分隔条 ===== */
.vintage-divider {
  text-align: center;
  margin: 30px 0 20px;
  position: relative;
  height: 30px;
}

.vintage-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #8B0000 20%, #DAA520 50%, #8B0000 80%, transparent 100%);
}

.vintage-divider span {
  position: relative;
  background: #F4E8D0;
  padding: 0 20px;
  color: #8B0000;
  font-size: 24px;
  letter-spacing: 6px;
}

/* ===== 页脚 ===== */
.old-footer {
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px, transparent 1px, transparent 5px),
    linear-gradient(180deg, #3E0000 0%, #1E0000 100%);
  color: #DAA520;
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  border-top: 6px solid #DAA520;
  letter-spacing: 2px;
  font-size: 13px;
  line-height: 2.2;
  position: relative;
}

.old-footer::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: #FFD700;
}

.old-footer a {
  color: #FFD700;
  text-decoration: none;
  margin: 0 6px;
}

.old-footer a:hover {
  color: #FFFF99;
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-copy {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  margin-top: 8px;
  color: #B8860B;
}

.beian {
  margin-top: 12px;
  font-size: 13px;
  color: #FFE4B5;
  letter-spacing: 1px;
}

.beian img {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin: 0 4px;
}

/* ===== 灯箱数字 ===== */
.bulb-counter {
  display: inline-flex;
  gap: 4px;
  margin-left: 10px;
}

.bulb-counter span {
  display: inline-block;
  width: 22px;
  height: 28px;
  background: linear-gradient(180deg, #5C0000 0%, #3E0000 100%);
  color: #FFD700;
  border-radius: 3px;
  text-align: center;
  line-height: 28px;
  font-family: Georgia, serif;
  font-weight: bold;
  border: 1px solid #DAA520;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 0 4px rgba(255, 215, 0, 0.4);
  text-shadow: 0 0 4px #FFD700;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .brand-title { font-size: 42px; letter-spacing: 6px; }
  .brand-subtitle { font-size: 13px; letter-spacing: 4px; }
  .section-title { font-size: 22px; letter-spacing: 3px; }
  .nav-item { padding: 8px 12px; font-size: 14px; letter-spacing: 1px; }
  .article-title { font-size: 22px; }
  .article-content { padding: 16px 12px; font-size: 15px; }
  .signboard { padding: 18px 14px 22px; }
  .marquee-content { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-name { font-size: 22px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .nav-item { padding: 6px 10px; font-size: 13px; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ===== 装饰元素 ===== */
.deco-strip {
  height: 10px;
  background:
    repeating-linear-gradient(135deg,
      #8B0000 0px,
      #8B0000 10px,
      #DAA520 10px,
      #DAA520 20px);
  margin: 22px auto;
  max-width: 1200px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.deco-strip-thin {
  height: 4px;
  background: linear-gradient(90deg, #8B0000 0%, #DAA520 50%, #8B0000 100%);
  margin: 14px 0;
  border-radius: 2px;
}

/* ===== 文章正文装饰 ===== */
.article-deco-start,
.article-deco-end {
  text-align: center;
  color: #DAA520;
  font-size: 18px;
  letter-spacing: 12px;
  margin: 14px 0;
  user-select: none;
}

/* ===== 阅读更多按钮 ===== */
.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  color: #FFD700;
  border: 1px solid #DAA520;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
}

.read-more:hover {
  background: linear-gradient(180deg, #B22222 0%, #8B0000 100%);
  color: #FFFF99;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

/* ===== 标签/徽章 ===== */
.tag-badge {
  display: inline-block;
  padding: 2px 10px;
  background: #8B0000;
  color: #FFD700;
  font-size: 12px;
  border-radius: 3px;
  margin-right: 6px;
  border: 1px solid #DAA520;
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #F4E8D0;
  border-left: 2px solid #8B0000;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8B0000 0%, #5C0000 100%);
  border: 2px solid #DAA520;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #B22222 0%, #8B0000 100%);
}
