@charset "utf-8";
/* CSS Document */

/* 新栏目样式 */
.new-section {
    padding: 40px 0;
    background: #fff;

}

.new-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

/* 左侧栏目 (30%) */
.left-column {
    flex: 0 0 20%;
	list-style: none;
	border-bottom: 1px #6C6C6C;
}

.main-category {
    height: 150px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.main-category h3 {
    color: white;
    font-size: 32px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.sub-categories li {
    padding: 15px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
	list-style: none;
}

.sub-categories li:hover {
    background: #e0e0e0;
    transform: translateX(5px);
}

/* 右侧内容 (70%) */
.right-column {
    flex: 1;
}

/* 列表项样式 */
.list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-box {
    flex: 0 0 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.text-content {
    flex: 1;
}

.text-content h4 {
    color: #06487a;
    margin-bottom: 10px;
    font-size: 18px;
}

.text-content p {
    color: #666;
    line-height: 1.6;
}

/* 分页组件 */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.page-btn {
    padding: 8px 25px;
    border: 1px solid #06487a;
    border-radius: 20px;
    background: transparent;
    color: #06487a;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #06487a;
    color: white;
}

.current-page {
    color: #06487a;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .new-container {
        flex-direction: column;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .image-box {
        width: 100%;
        height: 200px;
        flex: none;
    }
}

@media (max-width: 576px) {
    .new-container {
        width: 95%;
    }
    
    .main-category {
        height: 120px;
    }
    
    .main-category h3 {
        font-size: 20px;
    }
}