/* ── zcbxw 站点专属样式 ── */

/* ===== 从原始内联样式抽离 ===== */
@media only screen and (min-width: 1200px) {
  .blog-g-fixed { max-width: 1200px; }
}

@media only screen and (min-width: 641px) {
  .blog-sidebar { font-size: 1.4rem; }
}

/* ===== 基础布局 ===== */
.intro { margin-top: 10px; font-size: 12px; color: #757575; }
.blog-main { padding: 20px 0; }
.blog-title { margin: 10px 0 20px 0; }
.blog-meta { font-size: 14px; margin: 10px 0 20px 0; color: #222; }
.blog-meta a { color: #27ae60; }
.blog-pagination a { font-size: 1.4rem; }
.blog-team li { padding: 4px; }
.blog-team img { margin-bottom: 0; }
.blog-footer { padding: 10px 0; text-align: center; }

/* ===== 顶部导航栏 ===== */
.am-topbar { background: #fff; border-bottom: 1px solid #e5e5e5; margin-bottom: 0; }
.am-topbar-brand a { font-size: 18px; font-weight: 700; color: #27ae60 !important; }
.am-topbar-brand a:hover { color: #1e8449 !important; }
.am-topbar-nav > li > a { color: #333; font-size: 14px; }
.am-topbar-nav > li > a:hover { color: #27ae60; background: transparent; }
.am-topbar-nav > li.hover > a,
.am-topbar-nav > li.hover > a:hover { color: #27ae60; background: transparent; font-weight: 600; }
.am-topbar-nav > li > a > span { font-size: 14px; }

/* ===== 文章列表 ===== */
.am-list-item-hd { font-size: 15px; line-height: 1.5; margin-bottom: 5px; }
.am-list-item-hd a { color: #333; }
.am-list-item-hd a:hover { color: #27ae60; }
.am-list-item-text { font-size: 12px; color: #999; margin-bottom: 5px; }
.am-list-item-text b { color: #666; font-weight: 600; }
.am-list-item-thumb-left .am-list-thumb { padding: 10px; }
.am-list-item-thumb-left .am-list-thumb img { border-radius: 4px; object-fit: cover; }

/* ===== 侧栏 ===== */
.blog-sidebar { padding: 10px 0; }
.am-panel-hd { font-size: 15px; font-weight: 600; color: #333; border-bottom: 2px solid #27ae60; }
.blog-list li { padding: 8px 10px; border-bottom: 1px dashed #eee; }
.blog-list li:last-child { border-bottom: none; }
.blog-list li a { font-size: 13px; color: #555; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-list li a:hover { color: #27ae60; }

/* ===== 分页 ===== */
.dede_pages { padding: 15px 0; }
.dede_pages .am-pagination { margin: 0; }
.dede_pages .am-pagination > li > a { color: #333; font-size: 13px; padding: 5px 12px; }
.dede_pages .am-pagination > li > a:hover { color: #27ae60; border-color: #27ae60; }
.dede_pages .am-pagination > .thisclass > a { background: #27ae60; color: #fff; border-color: #27ae60; }
.pageinfo { font-size: 13px; color: #999; padding: 5px 0; }
.pageinfo strong { color: #27ae60; }

/* ===== 详情页 ===== */
.blog-title { font-size: 22px; font-weight: 700; color: #222; line-height: 1.4; }
.blog-meta small { color: #999; }
.blog-content { padding: 10px; }
.blog-content table { width: 100%; }
.blog-content td { font-size: 15px; line-height: 1.8; color: #333; }
.blog-content td p { margin-bottom: 15px; }
.blog-content td h2 { font-size: 18px; font-weight: 600; color: #222; margin: 20px 0 10px; }
.blog-content td img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; display: block; }

/* 上一篇/下一篇 */
.prev-next { padding: 15px 0; border-top: 1px solid #eee; margin-top: 15px; }
.prev-next li { font-size: 14px; color: #666; line-height: 2; }
.prev-next li a { color: #27ae60; }
.prev-next li a:hover { color: #1e8449; text-decoration: underline; }

/* ===== 页脚 ===== */
.blog-footer { background: #f8f8f8; border-top: 1px solid #eee; margin-top: 20px; }
.blog-footer small { display: block; padding: 15px 0; }
.blog-footer small p { font-size: 12px; color: #999; margin-bottom: 5px; line-height: 1.6; }
.blog-footer small a { color: #27ae60; }
.blog-footer small a:hover { color: #1e8449; }

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .am-topbar-brand { font-size: 16px; }
  .am-topbar-nav > li > a { padding: 8px 10px; font-size: 13px; }
  .blog-title { font-size: 18px; }
  .blog-meta { font-size: 13px; }
  .blog-content td { font-size: 14px; }
  .am-list-item-hd { font-size: 14px; }
}
