.content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 300px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-top: 20px;
    }
}

/* 推荐文章容器样式 */
.containerside {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 15px;
    margin-top: 20px;
}

.containerside strong {
    display: block;
    font-size: 16px;
    color: #e67e22;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 10px;
}

.containerside strong i {
    color: #e67e22;
    margin-right: 8px;
}

/* 文章列表样式 */
#xunruicmsgood {
    list-style: none;
    padding: 0;
    margin: 0;
}

#xunruicmsgood li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

/* 最后一项不需要下边框 */
#xunruicmsgood li:last-child {
    border-bottom: none;
}

/* 文章链接样式 */
#xunruicmsgood a {
    display: block;
    color: #333; /* 保持链接颜色不变 */
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap; /* 单行显示 */
    overflow: hidden; /* 隐藏溢出 */
    text-overflow: ellipsis; /* 溢出显示省略号 */
    transition: all 0.2s;
}

/* 鼠标悬停效果 */
#xunruicmsgood a:hover {
    color: #e67e22; /* 悬停时变色 */
    transform: translateX(3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .containerside {
        margin-top: 15px;
    }
    
    #xunruicmsgood a {
        font-size: 13px;
    }
}