/* 模块容器：完全隔离样式 */
.list-left {
    width: 350px;
    margin-left: 60px;
    border: 1px solid #cd1a02;
    background: url(../images/bg_list_spec.jpg) no-repeat top center;
}

.party-nav-module {
    margin: 0 15px;
}

/* 模块标题 */
.nav-title {
    text-align: center;
    font-size: 22px;
    color: #ff0000;
    margin: 15px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ff0000;
    /* 标题下分隔线 */
}

/* 导航列表：无默认列表样式 */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 导航项：通用样式 */
.nav-item {
    line-height: 2;
    /* 行高匹配原图 */
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    /* 项之间分隔线 */
}

.nav-item:last-child {
    border-bottom: none;
    /* 最后一项去掉底部分隔线 */
}

/* 导航链接：填充整行 */
.nav-item a {
    display: block;
    padding: 0 15px;
    color: #333;
    text-decoration: none;
    line-height: 45px;
}

/* 选中态：红色背景+白色文字 */
.nav-item.active a {
    background-color: #cd1a02;
    color: #fff;
}

/* hover效果（可选，提升交互） */
.nav-item:not(.active):hover a {
    background-color: #ffebeb;
}




/* 教学工作模块容器：独立类名避免影响其他模块 */
.teaching-module {
    width: 100%;
    max-width: 960px;
    /* 可根据页面布局调整宽度 */
    margin: 10px 0 0 40px;
    font-family: "微软雅黑", sans-serif;
}

/* 标题栏样式 */
.teaching-header {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid #d92929;
    /* 红色下划线 */
}

.teaching-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    display: inline-block;
}

.teaching-header h2::before {
    content: "📚";
    /* 标题前的图标（可替换为设计图中的图标） */
    margin-right: 5px;
}

/* 列表容器 */
.teaching-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 列表项样式 */
.teaching-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    min-width: 875px;
    /* 虚线分隔（可选） */
}

.teaching-item:last-child {
    border-bottom: none;
}

/* 链接样式 */
.teaching-link {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 15px;
}

.teaching-link:hover {
    color: #d92929;
    text-decoration: underline;
}

/* 时间样式 */
.teaching-time {
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}

