.container {
    display: flex;
    width: 100%;
}

.left-sidebar {
    /*width: 250px;*/
    padding: 20px;
    background-color: #f4f4f4;
    border-right: 1px solid #ddd;
}

.left-sidebar .sidebar-item {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.left-sidebar .sidebar-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.left-sidebar img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.left-sidebar img:hover {
    transform: scale(1.05);
}

.centered-content {
    flex: 1;
    /*padding: 20px;*/
    /*background-color: #f9f9f9;*/
}

.nr {
    margin-top: 30px;
}

.block {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.ziduan {
    padding-left: 10px;
    padding-top: 9px;
}

.ziduan a {
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.ziduan a:hover {
    /*color: #172出D;*/
}

.edu {
    padding-top: 35px;
    display: inline-grid;
    color: #000;
}



.anniu {
    background-color: white;
    color: black;
    border: 1px solid #e4ebe8;
    padding: 7px 10px;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    float: right;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.anniu:hover {
    background-color: #e4ebe8;
    color: #172出D;
}



/**/
.ko {
    /*display: flex;*/
    align-items: center; /* 垂直居中对齐 */
    margin-top: 23px;
    padding: 10px; /* 添加内边距 */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.ko:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.koimg {
    flex: 0 0 150px; /* 固定宽度 */
    height: 100px; /* 固定高度 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* 删除box-shadow */
    margin-right: 10px; /* 减少图片和文本之间的间距 */
}

.koimg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* 确保图片保持纵横比并填满容器 */
    transition: transform 0.3s ease;
}

.koimg:hover img {
    transform: scale(1.1); /* 悬停时图片略微放大 */
}

.js {
    flex: 1; /* 占据剩余空间 */
    padding: 10px; /* 添加内边距 */
    background: #f1f6f7;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.js:hover {
    background-color: #e8f0f2;
}
