/* ============================================================
   首页布局 —— 经济管理与创业模拟实验教学中心
   ============================================================ */

/* 主容器：1002px 居中，与 header/footer 同宽 */
.home-wrap {
    width: 1002px;
    margin: 0 auto;
    padding: 20px 0 30px;
    display: flex;
    gap: 0;
    background: #fff;
}

/* ---- 左主列 ---- */
.home-main {
    width: 740px;
    margin-right: 0;
}

/* 每一行（两个面板并排） */
.home-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* 第二行单独位移（教学工作 + 学生工作） */
.home-row-2 {
    transform: translateX(150px);
}

/* ============================================================
   轮播图 (#slideBox)
   ============================================================ */
.home-slidebox {
    width: 350px;
    height: 235px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.home-slidebox #show_pic {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 2100px;       /* 6 张图 × 350px */
    height: 235px;
    position: absolute;
    top: 0;
    left: 0;
}

.home-slidebox #show_pic li {
    float: left;
    width: 350px;
    height: 235px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-slidebox #show_pic li a {
    display: block;
    width: 350px;
    height: 235px;
    text-decoration: none;
}

.home-slidebox #show_pic li img {
    display: block;
    width: 350px;
    height: 235px;
    border: 0;
}

/* 底部标题文字层 */
.home-slidebox #slideText {
    width: 350px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}

/* 右下角索引按钮 */
.home-slidebox #iconBall {
    position: absolute;
    bottom: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 3;
}

.home-slidebox #iconBall li {
    float: left;
    width: 32px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #7a7a7a;
    cursor: pointer;
    padding-top: 4px;
    list-style: none;
}

.home-slidebox #iconBall li.active {
    background: url(../images/iconbg.png) no-repeat center center;
    color: #fff;
}

/* 标题文本（被 slideText 层覆盖，display:none 用 glide 控制） */
.home-slidebox #textBall {
    position: absolute;
    left: 10px;
    bottom: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.home-slidebox #textBall li {
    float: left;
    list-style: none;
    display: none;
}

.home-slidebox #textBall li.active {
    display: block;
}

.home-slidebox #textBall li a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

/* ============================================================
   通用面板（通知列表 / 教学工作 / 学生工作）
   ============================================================ */
.home-news,
.home-panel {
    width: 350px;
    min-height: 235px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-sizing: border-box;
}

/* 标题栏 */
.title-box {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    background: linear-gradient(to right, #357dc5, #5a9fd4);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    font-family: "微软雅黑";
    border-bottom: 2px solid #2d6bb0;
    position: relative;
}

.title-box .title-more {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    text-decoration: none;
}

.title-box .title-more img {
    vertical-align: middle;
}

/* 通知列表内容 */
.home-news ul,
.home-notice ul {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
}

.home-news ul li,
.home-notice ul li {
    height: 32px;
    line-height: 32px;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-news ul li:last-child,
.home-notice ul li:last-child {
    border-bottom: none;
}

.home-news ul li a,
.home-notice ul li a {
    float: left;
    max-width: 240px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.home-news ul li a:hover,
.home-notice ul li a:hover {
    color: #357dc5;
}

.home-news ul li span,
.home-notice ul li span {
    float: right;
    color: #999;
    font-size: 12px;
}

/* ============================================================
   教学工作 / 学生工作（home-panel）
   ============================================================ */
.home-panel {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
}

.home-panel-header {
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    background: #fff;
    border-bottom: 2px solid #357dc5;
    position: relative;
}

.home-panel-header h3 {
    display: inline;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    font-family: "微软雅黑";
}

.home-panel-more {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.home-panel-more:hover {
    color: #357dc5;
}

.home-panel ul {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
    background: #f9f9f9;
}

.home-panel ul li {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px dotted #ddd;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-panel ul li:last-child {
    border-bottom: none;
}

.home-panel ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    padding: 0 5px;
}

.home-panel ul li a:hover {
    color: #357dc5;
    background: rgba(53, 125, 197, 0.05);
}

.home-panel ul li a h4 {
    display: inline;
    font-size: 13px;
    font-weight: normal;
    color: #333;
}

.home-panel ul li a:hover h4 {
    color: #357dc5;
}

.home-panel ul li a span {
    float: right;
    font-size: 12px;
    color: #999;
}

/* ============================================================
   右侧栏
   ============================================================ */
.home-sidebar {
    width: 262px;
    margin-left: 0;
    flex-shrink: 0;
}

.home-notice {
    width: 350px;
    min-height: 235px;
    background: #fff;
    border: 1px solid #e8e8e8;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.home-notice .title-box {
    padding: 0 12px;
    font-size: 15px;
}

/* 通知公告的 ul/li/a/span 样式已在上面与 .home-news 共用（L184-L229），
   此处不再重复定义，保持两边格式一致 */

/* 图文咨询（预留） */
.home-gallery {
    width: 262px;
    background: #fff;
    border: 1px solid #e8e8e8;
    margin-top: 10px;
    box-sizing: border-box;
}

.home-gallery .title-box {
    padding: 0 12px;
}

.home-gallery .scrollleft {
    padding: 10px;
}

.home-gallery img {
    display: block;
    width: 80px;
    height: 60px;
    margin: 0 8px;
    border: 1px solid #ddd;
}

.home-gallery p {
    text-align: center;
    font-size: 11px;
    color: #666;
    padding: 4px 0 8px;
    margin: 0;
    width: 80px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ============================================================
   清除浮动
   ============================================================ */
.c {
    clear: both;
    height: 0;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
}
