/* ========== Loading ========== */
.loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: #008F98;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.news-loading, .work-loading {
    display: flex; justify-content: center; align-items: center; padding: 80px 0;
}
.news-empty, .work-empty {
    text-align: center; padding: 60px 40px; color: #999; font-size: 16px;
}

/* ========== 模块1：工作动态（轮播区） ========== */
.slider-bg {
    background: #F6F8F8;
    padding: 10px 25px 20px 25px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}

.dangjian-title {
    font-size: 24px;
    font-weight: normal;
    color: var(--primary-color);
    line-height: 32px;
    display: inline-block;
}

.news-more {
    font-size: 14px;
    color: #9E9E9F;
    text-decoration: none;
}

.news-more:hover {
    color: var(--primary-color, #008F98);
    text-decoration: underline;
}

/* 轮播+文字区域 */
.news-slider-wrap {
    display: flex;
    gap: 25px;
}

.news-slider {
    width: 713px;
    height: 378px;
    flex-shrink: 0;
    position: relative;
}

.slider-images {
    width: 713px;
    height: 378px;
    border: 1px solid #E7E7E8;
    box-sizing: border-box;
    overflow: hidden;
    background: #ddd;
    position: relative;
}

.slider-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

.slider-images img.active {
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.slider-dots span.active {
    background: #008B95;
}

/* 右侧文字区域 */
.news-text-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.news-list li {
    padding: 8px 0 16px;
    border-bottom: 1px solid #eee;
    cursor: default;  /* 非 a 区域默认箭头，点击切换 */
}

.news-list li:first-child {
    padding-top: 0;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-item-title {
    font-size: 16px;
    line-height: 18px;
    color: #4D4D4D;
    line-height: 24px;
    text-decoration: none;
    display: -webkit-inline-box;  /* 行级表现，保留多行截断 */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;                 /* a 标签手型，代表跳转 */
}

.news-item-title:hover {
    color: #008F98;
}

.news-item-date {
    font-size: 14px;
    line-height: 16px;
    color: #898989;
    margin-top: 4px;
}

.news-list li.active .news-item-title {
    color: #008B95;
}

.news-list li.active .news-item-date {
    color: #008B95;
}

/* ========== 模块2：通知公告（列表区） ========== */
.list-bg {
    background: #F6F8F8;
    padding: 15px 25px 35px 25px;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.work-title {
    font-size: 24px;
    font-weight: normal;
    color: var(--primary-color);
    line-height: 48px;
    display: inline-block;
}

.work-more {
    font-size: 14px;
    color: #9E9E9F;
    text-decoration: none;
}

.work-more:hover {
    color: var(--primary-color, #008F98);
    text-decoration: underline;
}

.notice-list {
    list-style: none;
    /* padding: 0 30px 0 0; */
    margin: 0;
}

.notice-list li {
    display: flex;
    align-items: flex-start;
    line-height: 36px;
}

.notice-list li:hover {
    color: #008F98;
}

.notice-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #008F98;
    margin-right: 25px;
    margin-top: calc((36px - 10px) / 2);
    flex-shrink: 0;
}

.notice-title {
    flex: 1;
    font-size: 16px;
    color: #666666;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.notice-title:hover {
    color: #008F98;
}

.notice-date {
    font-size: 14px;
    color: #666666;
    line-height: 36px;
    margin-left: 20px;
    flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .news-slider-wrap {
        flex-direction: column;
    }

    .news-slider {
        width: 100%;
    }

    .slider-images {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .news-text-area {
        width: 100%;
    }
}