@charset "utf-8";
/* ============================================
   uqfovb.com - 复古报纸风格 + 大地色系
   风格: P(新中式) + D(装饰艺术)
   色彩: 12(复古怀旧 #8b7355/#daa520/#bc8f8f)
   ============================================ */

:root {
  --primary: #8b7355;
  --secondary: #daa520;
  --accent: #bc8f8f;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --bg-light: #faf8f5;
  --bg-white: #ffffff;
  --bg-dark: #2c2416;
  --text-dark: #3d3225;
  --text-muted: #7a6b5a;
  --text-light: #a89b8c;
  --border: #e5dfd5;
  --shadow-sm: 0 2px 8px rgba(139, 115, 85, 0.1);
  --shadow-md: 0 8px 24px rgba(139, 115, 85, 0.15);
  --shadow-lg: 0 16px 48px rgba(139, 115, 85, 0.2);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-light);
  font-family: 'Georgia', 'Microsoft YaHei', serif;
  color: var(--text-dark);
  line-height: 1.8;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* ============================================
   头部导航
   ============================================ */
.header { background: var(--bg-white); border-bottom: 3px solid var(--primary); box-shadow: var(--shadow-sm); }
.top_header { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: center; }
.top_header a#logo { display: flex; flex-direction: column; align-items: center; } .top_header a#logo img { height: 100px; width: 100px; object-fit: cover; border-radius: 8px; } .top_header a#logo .site-name { display: block; text-align: center; color: #1a1a1a; font-size: 1.25rem; font-weight: 700; margin-top: 8px; }

.nav-warp { background: var(--bg-dark); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; padding: 0 24px; }
.nav-item { padding: 16px 28px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85); transition: var(--transition); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.nav-item:hover, .nav-item.active { color: var(--secondary); border-bottom-color: var(--secondary); }

/* ============================================
   全屏Banner模块
   ============================================ */
.banner-section { background: var(--bg-white); padding: 30px 0; border-bottom: 2px solid var(--border); }
.banner-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.banner-main { min-width: 0; }
.banner-card { display: block; position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: var(--transition); }
.banner-card:hover .banner-bg { transform: scale(1.03); }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(44, 36, 22, 0.9)); }
.banner-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; }
.banner-tag { display: inline-block; padding: 6px 14px; background: var(--secondary); color: var(--bg-dark); font-size: 12px; font-weight: 700; border-radius: 2px; margin-bottom: 12px; }
.banner-content h2 { font-size: 28px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.banner-content p { font-size: 14px; color: rgba(255,255,255,0.8); }
.banner-side { display: flex; flex-direction: column; gap: 12px; }
.banner-side-item { display: flex; gap: 12px; padding: 12px; background: var(--bg-light); border-radius: var(--radius); transition: var(--transition); border: 1px solid var(--border); }
.banner-side-item:hover { border-color: var(--secondary); transform: translateX(4px); }
.banner-side-img { width: 100px; height: 70px; background-size: cover; background-position: center; border-radius: var(--radius); flex-shrink: 0; }
.banner-side-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.banner-side-info span { font-size: 12px; color: var(--text-light); }
.banner-side-info span i { margin-right: 4px; color: var(--secondary); }

/* ============================================
   横向滚动专题
   ============================================ */
.h-scroll-section { background: var(--bg-light); padding: 60px 0; }
.hs-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hs-header { text-align: center; margin-bottom: 40px; }
.hs-tag { display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--secondary); margin-bottom: 12px; text-transform: uppercase; }
.hs-header h2 { font-size: 32px; font-weight: 700; color: var(--text-dark); font-family: 'Georgia', serif; }
.hs-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hs-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.hs-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.hs-img { height: 160px; background-size: cover; background-position: center; }
.hs-body { padding: 20px; }
.hs-cat { font-size: 11px; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; }
.hs-body h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin: 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hs-meta { font-size: 12px; color: var(--text-light); }
.hs-meta i { margin-right: 4px; }

/* ============================================
   网格瀑布流
   ============================================ */
.masonry-section { background: var(--bg-white); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ms-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ms-header { text-align: center; margin-bottom: 50px; }
.ms-tag { display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; }
.ms-header h2 { font-size: 32px; font-weight: 700; color: var(--text-dark); }
.ms-grid { columns: 4 200px; column-gap: 20px; }
.ms-item { break-inside: avoid; margin-bottom: 20px; background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ms-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ms-img { height: 180px; background-size: cover; background-position: center; }
.ms-info { padding: 20px; }
.ms-cat { font-size: 11px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.ms-info h3 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin: 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ms-info h3 a:hover { color: var(--primary); }
.ms-info p { font-size: 13px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ms-meta { display: flex; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--text-light); }
.ms-meta i { margin-right: 4px; }

/* ============================================
   双栏布局+侧边栏
   ============================================ */
.dual-section { background: var(--bg-light); padding: 80px 0; }
.dual-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.dual-header { margin-bottom: 30px; }
.dual-tag { display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.dual-header h2 { font-size: 28px; font-weight: 700; color: var(--text-dark); }
.dual-list { display: flex; flex-direction: column; gap: 24px; }
.dual-item { display: flex; gap: 24px; background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.dual-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.dual-img { width: 260px; height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.dual-content { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.dual-cat { font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.dual-content h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 8px 0; }
.dual-content h3 a:hover { color: var(--primary); }
.dual-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dual-meta { display: flex; gap: 20px; margin-top: 12px; font-size: 13px; color: var(--text-light); }
.dual-meta i { margin-right: 4px; }
.dual-sidebar { position: sticky; top: 80px; height: fit-content; }
.ds-widget { background: var(--bg-white); padding: 24px; margin-bottom: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-top: 3px solid var(--primary); }
.ds-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.ds-title i { color: var(--secondary); }
.ds-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.ds-list li:last-child { border-bottom: none; }
.ds-num { width: 22px; height: 22px; background: var(--gradient); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 2px; flex-shrink: 0; }
.ds-list a { font-size: 14px; color: var(--text-dark); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ds-list a:hover { color: var(--primary); }
.ds-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-tag { padding: 6px 14px; background: var(--bg-light); color: var(--text-muted); font-size: 13px; border-radius: 2px; border: 1px solid var(--border); transition: var(--transition); }
.ds-tag:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.ds-comment-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ds-comment-list li:last-child { border-bottom: none; }
.ds-avatar { width: 36px; height: 36px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ds-avatar i { color: #fff; font-size: 14px; }
.ds-comment-info p { font-size: 13px; color: var(--text-dark); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-comment-info span { font-size: 12px; color: var(--text-light); }

/* ============================================
   卡片轮播
   ============================================ */
.card-carousel-section { background: var(--bg-white); padding: 80px 0; border-top: 1px solid var(--border); }
.cc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cc-header { text-align: center; margin-bottom: 40px; }
.cc-tag { display: inline-block; font-size: 12px; letter-spacing: 4px; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; }
.cc-header h2 { font-size: 32px; font-weight: 700; color: var(--text-dark); }
.cc-scroll { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.cc-card { background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); white-space: nowrap; }
.cc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.cc-img { height: 140px; background-size: cover; background-position: center; }
.cc-body { padding: 16px; }
.cc-cat { font-size: 11px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.cc-body h3 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin: 8px 0; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-footer { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); margin-top: 8px; }
.cc-footer i { margin-right: 4px; }

/* ============================================
   底部横幅
   ============================================ */
.bottom-banner-section { background: var(--bg-dark); padding: 60px 0; border-top: 4px solid var(--secondary); }
.bb-container { max-width: 1000px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.bb-content h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.bb-content p { font-size: 14px; color: var(--text-light); }
.bb-form { display: flex; gap: 12px; }
.bb-input { width: 260px; padding: 14px 20px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); font-size: 14px; color: #fff; outline: none; transition: var(--transition); font-family: inherit; }
.bb-input::placeholder { color: rgba(255,255,255,0.5); }
.bb-input:focus { border-color: var(--secondary); background: rgba(255,255,255,0.15); }
.bb-btn { padding: 14px 28px; background: var(--gradient); color: #fff; font-size: 14px; font-weight: 600; border: none; border-radius: var(--radius); cursor: pointer; transition: var(--transition); font-family: inherit; }
.bb-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4); }

/* ============================================
   底部
   ============================================ */
.footer { background: var(--bg-dark); padding: 40px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom { max-width: 1200px; margin: 0 auto; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--secondary); margin: 0 8px; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .banner-wrapper { grid-template-columns: 1fr; }
  .banner-side { flex-direction: row; }
  .hs-wrapper { grid-template-columns: repeat(2, 1fr); }
  .ms-grid { columns: 3 180px; }
  .dual-wrapper { grid-template-columns: 1fr; }
  .dual-sidebar { position: static; }
  .cc-scroll { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .banner-card { height: 300px; }
  .banner-side { flex-direction: column; }
  .hs-wrapper { grid-template-columns: 1fr; }
  .ms-grid { columns: 2 150px; }
  .dual-item { flex-direction: column; }
  .dual-img { width: 100%; height: 200px; }
  .cc-scroll { grid-template-columns: 1fr; }
  .bb-container { flex-direction: column; text-align: center; }
  .bb-form { flex-direction: column; width: 100%; }
  .bb-input { width: 100%; }
}

/* ============================================
   列表页样式
   ============================================ */
.list-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.list-main { min-width: 0; }
.list-articles { display: flex; flex-direction: column; gap: 24px; }
.list-article-item {
  display: flex;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.list-article-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.list-article-img { width: 280px; height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.list-article-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.list-article-info h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.list-article-info h3:hover { color: var(--primary); }
.list-article-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-article-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-light); }
.list-article-meta i { margin-right: 4px; }
.list-sidebar { position: sticky; top: 80px; height: fit-content; }
.sidebar-card { background: var(--bg-white); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 24px; border-top: 3px solid var(--primary); }
.card-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--secondary); }
.sidebar-nav-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.sidebar-nav-list li:last-child { border-bottom: none; }
.sidebar-nav-list a { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-dark); }
.sidebar-nav-list a:hover { color: var(--primary); }
.sidebar-nav-list .count { background: var(--bg-light); padding: 2px 8px; font-size: 12px; color: var(--text-muted); border-radius: 10px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 16px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--text-dark); transition: var(--transition); }
.pagination a:hover, .pagination .active { background: var(--gradient); color: #fff; border-color: transparent; }

/* ============================================
   详情页样式
   ============================================ */
.page-header { background: var(--bg-white); padding: 40px 0; border-bottom: 1px solid var(--border); }
.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-title { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.page-breadcrumb { font-size: 14px; color: var(--text-muted); }
.page-breadcrumb a { color: var(--text-muted); }
.page-breadcrumb a:hover { color: var(--primary); }
.content-wrapper { background: var(--bg-light); padding: 60px 0; }
.content-wrapper .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.article-detail { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.detail-header { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.detail-category { display: inline-block; padding: 4px 12px; background: var(--gradient); color: #fff; font-size: 12px; border-radius: 2px; margin-bottom: 16px; }
.detail-title { font-size: 32px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.4; }
.detail-meta { display: flex; gap: 24px; font-size: 14px; color: var(--text-light); }
.detail-meta i { margin-right: 4px; }
.detail-content { font-size: 16px; line-height: 1.8; color: var(--text-dark); }
.detail-content p { margin-bottom: 16px; }
.detail-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.detail-content h2, .detail-content h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin: 24px 0 16px; }
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.detail-content li { margin-bottom: 8px; }
.detail-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.detail-tags i { color: var(--secondary); }
.detail-tags a { padding: 4px 12px; background: var(--bg-light); color: var(--text-muted); border-radius: 2px; font-size: 13px; border: 1px solid var(--border); }
.detail-tags a:hover { background: var(--gradient); color: #fff; border-color: transparent; }
.related-articles { background: var(--bg-white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--primary); }
.related-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.related-title i { color: var(--secondary); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--bg-light); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid var(--border); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.related-img { height: 120px; background-size: cover; background-position: center; }
.related-info { padding: 16px; }
.related-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-info span { font-size: 12px; color: var(--text-light); }
.related-info span i { margin-right: 4px; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .list-page-wrapper { grid-template-columns: 1fr; }
  .list-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-article-item { flex-direction: column; }
  .list-article-img { width: 100%; height: 200px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-detail { padding: 24px; }
  .detail-title { font-size: 24px; }
}
