.article-content {
    width: 100%;
    overflow-x: hidden; /* 防止水平滚动 */
}
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}
   .news-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .content-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .main-content {
        flex: 3;
        background-color: white;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        max-width: 800px;
    }
    .sidebar {
        flex: 1;
        background-color: white;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        max-width: 300px;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .date {
        color: #888;
        font-size: 14px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }
    .share-section {
        margin-left: 10px; /* 确保与发布时间有间距 */
        display: flex;
        gap: 5px; /* 缩小间距 */
        align-items: center; /* 垂直居中 */
    }
    .share-icon {
        width: 24px;  /* 调整图标尺寸 */
        height: 24px;
        border-radius: 50%; /* 圆形处理 */
        cursor: pointer;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        background: white; /* 背景白色 */
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* 添加阴影 */
    }
    .share-label {
        color: #2563eb;
        font-size: 10px;
        line-height: 1;
        white-space: nowrap;
    }
    .qr-code {
        display: none;
        position: absolute;
        top: 30px;  /* 调整二维码位置 */
        left: 0;
        background: white;
        border: 1px solid #ccc;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 10;
    }
    .qr-code img {
        width: 100px;
        height: 100px;
    }
    .qr-code span {
        display: block;
        margin-top: 5px;
        font-size: 12px;
        color: #888;
    }
    .sidebar h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .news-item {
        background-color: #f9f9f9;
        padding: 10px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        border-radius: 5px;
    }
    .news-item img {
        width: 80px;
        height: 80px;
        margin-right: 10px;
        object-fit: cover;
        border-radius: 5px;
    }
    .news-item-content {
        flex: 1;
    }
    .news-item h3 {
        margin: 0 0 5px 0;
        font-size: 16px;
    }
    .news-item p {
        margin: 0;
        font-size: 12px;
        color: #888;
    }
    .sidebar a {
        text-decoration: none;
        color: inherit;
    }
    .sidebar a:hover {
        text-decoration: none;
    }
    .breadcrumb {
        padding: 0;
        margin-bottom: 20px;
        list-style: none;
        background-color: transparent;
    }
    .breadcrumb-item {
        display: inline;
        font-size: 14px;
    }
    .breadcrumb-item + .breadcrumb-item::before {
        content: ">";
        padding: 0 5px;
    }
    .breadcrumb-item a {
        text-decoration: none;
    }
    .breadcrumb-item a:hover {
        text-decoration: underline;
    }

    .product-section {
        background-color: white;
        padding: 15px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }
    .product-section h2 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: bold;
    }
    .product-list {
        display: flex;
        flex-wrap: wrap; /* 允许换行 */
        justify-content: space-between; /* 均匀分布 */
        gap: 10px; /* 产品间距 */
    }
    .product-item {
        flex: 0 0 calc(50% - 5px); /* 每行两个产品 */
        display: flex;
        align-items: center;
        background-color: #f5f5f5;
        padding: 8px;
        border-radius: 4px;
        box-sizing: border-box; /* 确保 padding 和 margin 正确计算 */
    }
    .product-item img {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        margin-right: 8px;
    }
    .product-item span {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70%; /* 限制最大宽度 */
    }
    
    /* 响应式调整 */
    @media (max-width: 768px) {
        .product-item {
            flex: 0 0 100%; /* 小屏幕时每行一个产品 */
        }
    }

    @media (max-width: 1200px) {
        .content-wrapper {
            flex-direction: column;
            align-items: center;
        }
        .main-content, .sidebar {
            width: 100%;
            max-width: 800px;
        }
    }
