@charset "UTF-8";

/* ===== 内页通用布局 ===== */
.page-wrap { margin-top: 70px; min-height: 600px; }
.page-header { background: #1A2B4A; padding: 50px 0; text-align: center; color: #fff; }
.page-header h1 { font-size: 32px; color: #fff; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 15px; }
.page-body { padding: 50px 0; }
.page-content { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.page-content h2 { font-size: 22px; color: #1A2B4A; margin: 30px 0 15px; padding-bottom: 10px; border-bottom: 2px solid #C9A96E; }
.page-content h3 { font-size: 18px; color: #1A2B4A; margin: 25px 0 12px; }
.page-content p { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 15px; }
.page-content ul, .page-content ol { margin: 15px 0; padding-left: 25px; }
.page-content ul li { list-style: disc; margin-bottom: 8px; font-size: 15px; color: #333; line-height: 1.7; }
.page-content ol li { list-style: decimal; margin-bottom: 8px; font-size: 15px; color: #333; line-height: 1.7; }
.page-content a { color: #C9A96E; text-decoration: underline; }
.page-content a:hover { color: #1A2B4A; }
.page-content img { border-radius: 6px; margin: 20px 0; }
.page-content table { margin: 20px 0; border: 1px solid #D0D5DD; }
.page-content th { background: #1A2B4A; color: #fff; padding: 12px 15px; text-align: left; font-weight: 500; }
.page-content td { padding: 12px 15px; border-bottom: 1px solid #e0e0e0; font-size: 14px; }
.page-content tr:nth-child(even) { background: #f8f9fa; }
.page-content blockquote { border-left: 4px solid #C9A96E; padding: 15px 20px; background: #F0F2F5; margin: 20px 0; font-style: italic; color: #555; }
.page-content strong { color: #1A2B4A; }

/* ===== 侧边栏 ===== */
.sidebar { padding-left: 30px; }
.widget { background: #fff; padding: 25px; border-radius: 8px; margin-bottom: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.widget-title { font-size: 17px; color: #1A2B4A; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #C9A96E; }
.widget-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.widget-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.widget-list a { font-size: 14px; color: #333; display: block; line-height: 1.5; }
.widget-list a:hover { color: #C9A96E; }
.widget-list .date { font-size: 12px; color: #999; display: block; margin-top: 4px; }

/* ===== 列表页通用 ===== */
.list-container { max-width: 900px; margin: 0 auto; }
.list-item { background: #fff; padding: 25px 30px; margin-bottom: 15px; border-radius: 6px; border-left: 3px solid #C9A96E; transition: all 0.3s; }
.list-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.list-item h2 { font-size: 18px; color: #1A2B4A; margin-bottom: 8px; margin-top: 0; padding-bottom: 0; border-bottom: none; }
.list-item h2 a { color: #1A2B4A; text-decoration: none; }
.list-item h2 a:hover { color: #C9A96E; }
.list-item p { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 0; }
.list-item .meta { font-size: 12px; color: #999; margin-top: 10px; }
.list-item .meta span { margin-right: 15px; }

/* ===== TAG标签 ===== */
.tag-list { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -5px; }
.tag-list a { display: inline-block; padding: 6px 14px; margin: 5px; background: #F0F2F5; border-radius: 20px; font-size: 13px; color: #333; transition: all 0.3s; }
.tag-list a:hover { background: #1A2B4A; color: #fff; }

/* ===== 相关推荐 ===== */
.related-section { background: #F0F2F5; padding: 40px 0; margin-top: 40px; }
.related-grid { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -15px; }
.related-item { width: 33.333%; padding: 0 15px 25px; }
.related-card { background: #fff; padding: 20px; border-radius: 6px; transition: all 0.3s; }
.related-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.related-card h4 { font-size: 15px; color: #1A2B4A; margin-bottom: 8px; line-height: 1.4; }
.related-card h4 a { text-decoration: none; }
.related-card p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 0; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .sidebar { padding-left: 0; margin-top: 30px; }
  .related-item { width: 50%; }
}

@media (max-width: 768px) {
  .page-wrap { margin-top: 60px; }
  .page-header { padding: 35px 0; }
  .page-header h1 { font-size: 24px; }
  .page-body { padding: 30px 0; }
  .page-content { padding: 25px; }
  .related-item { width: 100%; }
  .list-item { padding: 20px; }
}
