/* 页面整体最大宽度和居中 */
.blog-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 60px 0;
}
.blog-page {
    width: 100%;
    margin: 0 auto;
}
.blog-title {
    text-align: center;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #222;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
.blog-search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}
.blog-category-btn {
    background: #2e87ca;
    color: #fff;
    border-radius: 18px;
    padding: 7px 22px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    margin-right: 10px;
    transition: background 0.2s;
}
.blog-category-btn:hover {
    background: #2563eb;
}
.blog-search-form {
    display: flex;
    align-items: center;
    background: #f5f6fa;
    border-radius: 18px;
    padding: 4px 12px;
}
.blog-search-input {
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    padding: 6px 8px;
    width: 180px;
}
.blog-search-btn {
    background: none;
    border: none;
    color: #2e87ca;
    font-size: 20px;
    cursor: pointer;
    margin-left: 4px;
}
.blog-search-btn .icon-search:before {
    content: '\1F50D';
    font-style: normal;
}

.blog-main-content {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    justify-content: center;
}
.blog-main-left {
    width: 800px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 24px 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blog-slider {
    width: 100%;
    margin-bottom: 12px;
}
.blog-slider-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}
.blog-slider-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    gap: 18px;
}
.blog-slider-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.blog-new-badge {
    background: #2e87ca;
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    padding: 2px 8px;
    font-weight: 600;
    margin-right: 4px;
}
.blog-slider-title {
    font-size: 22px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
}
.blog-slider-title:hover {
    color: #2563eb;
}
.blog-slider-excerpt {
    color: #666;
    font-size: 15px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-main-right {
    width: 400px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 24px 20px 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blog-hot-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}
.blog-hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-hot-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}
.blog-hot-info {
    flex: 1;
    min-width: 0;
}
.blog-hot-title-link {
    font-size: 15px;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-hot-title-link:hover {
    color: #1d4ed8;
}
.blog-hot-date {
    color: #888;
    font-size: 13px;
}
.blog-hot-thumb {
    width: 80px;
    height: 54px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.blog-hot-img {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-related-wrap {
    margin: 48px 0 48px 0;
}
.blog-related-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 24px;
}
.blog-related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.blog-related-card {
    width: calc(33.33% - 16px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 260px;
}
.blog-related-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}
.blog-related-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.blog-related-info {
    padding: 16px 14px 12px 14px;
    flex: 1;
}
.blog-related-card-title {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    margin-bottom: 8px;
}
.blog-related-card-excerpt {
    color: #666;
    font-size: 14px;
}

.blog-latest-wrap {
    margin-top: 48px;
}
.blog-latest-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 24px;
}
.blog-latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-latest-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 24px;
    padding: 18px 18px 14px 0;
    gap: 18px;
    position: relative;
    min-height: 200px;
}
.blog-latest-info {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.blog-latest-tags {
    margin-top: 8px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.blog-latest-tag {
    display: inline-block;
    background: #f5f6fa;
    color: #2563eb;
    font-size: 13px;
    padding: 2px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.blog-latest-tag:hover {
    background: #2563eb;
    color: #fff;
}
.blog-latest-date-bottom {
    position: absolute;
    left: 18px;
    bottom: 12px;
    color: #888;
    font-size: 13px;
}
.blog-latest-title-link {
    font-size: 20px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}
.blog-latest-title-link:hover {
    color: #1d4ed8;
}
.blog-latest-excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}
.blog-latest-date {
    color: #888;
    font-size: 13px;
}
.blog-latest-thumb {
    width: 260px;
    height: 200px;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.blog-latest-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.blog-pagination {
    text-align: center;
    margin-top: 24px;
}
.blog-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 6px 14px;
    background: #f5f6fa;
    color: #2563eb;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: #2563eb;
    color: #fff;
}
@media (max-width: 1200px) {
    .blog-main-content {
        flex-direction: column;
        gap: 24px;
    }
    .blog-main-left, .blog-main-right {
        width: 100%;
        max-width: 100%;
    }
    .blog-main-left, .blog-main-right {
        padding: 24px 8px 16px 8px;
    }
    .blog-related-list {
        flex-direction: column;
        gap: 16px;
    }
    .blog-related-card {
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 800px) {
    .blog-page-wrapper {
        padding: 20px 0 40px 0;
    }
    .blog-title {
        font-size: 36px;
        margin-bottom: 32px;
    }
    .blog-search-input {
        width: 100px;
    }
    .blog-slider-title {
        font-size: 16px;
    }
    .blog-slider-img {
        height: 180px;
    }
    .blog-related-title, .blog-latest-title {
        font-size: 17px;
    }
    .blog-latest-thumb {
        width: 140px;
        height: 100px;
    }
    .blog-latest-img {
        height: 100px;
    }
    .blog-latest-item {
        min-height: 120px;
    }
    .blog-latest-date-bottom {
        left: 10px;
        bottom: 8px;
    }
    .blog-latest-tags {
        display: none;
    }
    .blog-hot-thumb {
        width: 60px;
        height: 40px;
    }
    .blog-hot-img {
        height: 40px;
    }
} 