/* ========== 面包屑导航（1200px宽度，文字靠左） ========== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    padding: 16px 20px;
    background: #f8f9fb;
    border-radius: 8px;
}
.breadcrumb svg {
    color: #2563eb;
    flex-shrink: 0;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #2563eb;
}
.breadcrumb span {
    color: #999;
}
.breadcrumb-show-top {
    margin-top: 100px;
    margin-bottom: 24px;
}
.breadcrumb-list-top {
    margin-top: 90px;
    margin-bottom: 24px;
}

/* ========== 文章列表页（list.html） ========== */
.page-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.content-area {
    flex: 1;
    min-width: 0;
}
.content-listbody {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
}
.news-item:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.news-img {
    width: 260px;
    min-width: 260px;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2563eb;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}
.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.news-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}
.news-title a {
    color: #1a1a1a;
    transition: color 0.2s;
}
.news-title a:hover {
    color: #2563eb;
}
.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
}
.news-meta a {
    color: #2563eb;
}

/* ========== 文章详情页（show.html） ========== */
.content-area-show {
    flex: 1;
    min-width: 0;
}
.article-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    padding-top: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.pagination-show {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}
.pagination-show ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.pagination-show li {
    flex: 1;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.pagination-show li.l {
    text-align: left;
}
.pagination-show li.r {
    text-align: right;
}
.pagination-show li a {
    color: #2563eb;
    transition: color 0.2s;
}
.pagination-show li a:hover {
    color: #1d4ed8;
}
.pagination-show li span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #1a1a1a;
}

/* 相关推荐 */
.related-news {
    margin-top: 32px;
}
.related-body {
    background: #f8f9fb;
    padding: 24px;
    border-radius: 12px;
}
.related-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}
.related-list {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
    gap: 8px;
}
.related-list:last-child {
    border-bottom: none;
}
.related-item {
    flex: 1;
    overflow: hidden;
}
.related-item a {
    color: #333;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	padding-left: 10px;
}
.related-item a:hover {
    color: #2563eb;
}
.related-list-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* ========== 侧边栏（left.html） ========== */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}
.sidebar-module {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
}
.sidebar-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}
.latest-list {
    list-style: none;
}
.latest-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
}
.latest-item:last-child {
    border-bottom: none;
}
.latest-item img {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.latest-item a {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.latest-item a:hover {
    color: #2563eb;
}
.latest-item time {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 4px;
}
.sidebar-top {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border-radius: 10px;
    padding: 24px 20px;
    margin-bottom: 18px;
    text-align: center;
    color: #fff;
}
.sidebar-top h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.sidebar-top p {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 14px;
    line-height: 1.6;
}
.sidebar-top .download-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    background: #fff;
    border-radius: 24px;
    transition: all 0.3s;
}
.sidebar-top .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-item {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 14px;
    transition: all 0.2s;
}
.tag-item:hover {
    background: #2563eb;
    color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .news-item {
        flex-direction: column;
        padding: 14px;
    }
    .news-img {
        width: 100%;
        min-width: 100%;
        height: 190px;
    }
    .article-title {
        font-size: 22px;
    }
    .breadcrumb-show-top {
        margin-top: 80px;
    }
    .breadcrumb-list-top {
        margin-top: 80px;
    }
}
