﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

    header h1 {
        font-size: 2em;
        color: #222;
    }

.news-meta {
    margin-top: 10px;
    color: #888;
    font-size: 0.9em;
}

.main-content {
    display: flex;
    gap: 30px;
}

.content {
    flex: 3;
}

    .content p {
        margin-bottom: 20px;
        font-size: 1.1em;
    }

.tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    cursor: pointer;
}

.sidebar {
    flex: 1;
}

.recommend-section {
    margin-top: 30px;
}

.recommend-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #444;
}

.recommend-list {
    list-style: none;
}

.recommend-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

    .recommend-item img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        margin-right: 10px;
        border-radius: 5px;
    }

    .recommend-item a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
    }

        .recommend-item a:hover {
            color: #007bff;
        }

footer .recommend-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
