/* 列表页样式 */
.list-container {
    display: flex;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

/* 左侧推荐列表 */
.recommend-sidebar {
    width: 240px;
    padding: 20px;
    border-right: 1px solid #e5e5e5;
}

.recommend-title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
}

.recommend-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.recommend-item:last-child {
    border-bottom: none;
}

.recommend-img {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    overflow: hidden;
}

.recommend-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.recommend-img img:hover {
    transform: scale(1.05);
}

.recommend-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-info p {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

/* 右侧内容区 */
.list-content {
    flex: 1;
    padding: 20px;
}

/* 列表项 */
.list-items {
    margin-bottom: 20px;
}

.list-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.list-item:last-child {
    border-bottom: none;
}

.item-img {
    width: 200px;
    height: 150px;
    margin-right: 20px;
    overflow: hidden;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.item-img img:hover {
    transform: scale(1.05);
}

.item-info {
    flex: 1;
    position: relative;
}

.item-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.item-title a {
    color: #333;
}

.item-title a:hover {
    color: #2B61B3;
}

.item-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.item-meta {
    color: #999;
    margin-bottom: 10px;
}

.item-meta span {
    margin-right: 20px;
}

.paid-publish-btn {
    position: absolute;
    right: 0;
    top: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.paid-publish-btn i {
    font-size: 18px;
}

.paid-publish-btn:hover {
    background: #ff5252;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #e5e5e5;
    color: #666;
    transition: all 0.3s;
}

.pagination a:hover:not(.disabled),
.pagination a.active {
    background: #2B61B3;
    color: #fff;
    border-color: #2B61B3;
}

.pagination .prev,
.pagination .next {
    padding: 8px 20px;
}

.pagination .disabled {
    color: #999;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    text-align: center;
}

.modal-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-login,
.btn-recharge {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    background: #2B61B3;
    color: #fff;
}

.btn-login:hover {
    background: #1e4c8f;
}

.btn-recharge {
    background: #ff6b6b;
    color: #fff;
}

.btn-recharge:hover {
    background: #ff5252;
}

.recharge-guide {
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.recharge-guide a {
    color: #2B61B3;
    text-decoration: underline;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.modal-close:hover {
    color: #666;
} 