/* ========== 内容区域 ========== */
.website-body {
    width: 100%;
    min-height: calc(100% - 50px);
    margin: 0 auto;
    padding: 0;
    position: relative;
    padding-bottom: 30px;
    background: #F7F7F7;
}

.w1440 {
    width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

.index-container {
    display: flex;
    align-items: stretch;
}

.page-left,
.page-right {
    width: 30%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-middle {
    width: 40%;
    margin: 0 20px;
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

/* ========== 模块通用样式 ========== */
.news-module {
    width: 100%;
    margin-top: 20px;
    background: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.module-tit {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    padding: 0 20px;
    border-bottom: 1px solid #E4E4E4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-tit .tit-name {
    display: flex;
    align-items: center;
    height: 48px;
    line-height: 48px;
}

.module-tit .tit-name .module-icon {
    margin-right: 12px;
    font-size: 18px;
    color: #830606;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.module-tit .tit-name span {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.module-tit a.tit-more {
    font-size: 12px;
    color: #999999;
}

.module-tit a.tit-more:hover {
    color: #666;
}

.module-content {
    padding: 10px 0;
    flex-grow: 1;
}

/* ========== 列表样式 ========== */
.module-content .index-news-li li {
    height: 38px;
    line-height: 38px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-content .index-news-li li a {
    flex: 1;
    min-width: 0;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #555;
}

.module-content .index-news-li li span {
    flex-shrink: 0;
    color: #999999;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    margin-left: 10px;
}

.module-content .index-news-li li:hover {
    background: #F1F1F1;
}

.module-content .index-news-li li:hover a {
    color: #830606;
}

/* ========== 就业服务卡片样式 ========== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 20px 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 8px;
    border-radius: 6px;
    background: #F7F7F7;
    transition: all 0.2s ease;
    text-decoration: none;
}

.service-card:hover {
    background: #830606;
}

.service-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #830606;
    transition: all 0.2s ease;
}

.service-card-icon i {
    font-size: 20px;
    color: #FFFFFF;
}

.service-card:hover .service-card-icon {
    background: #FFFFFF;
}

.service-card:hover .service-card-icon i {
    color: #830606;
}

.service-card-text {
    font-size: 13px;
    color: #333333;
    text-align: center;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.service-card:hover .service-card-text {
    color: #FFFFFF;
}

/* ========== 底部（友情链接 + 版权信息） ========== */
.bottom {
    background: #b13838;
    padding: 30px 0;
    border-top: 20px solid #830606;
}

.bottom .w1440 {
    display: flex;
    justify-content: center;
}

.bottom .bottom-left {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

.bottom .bottom-left img {
    height: 40px;
    width: auto;
    margin-right: 16px;
    flex-shrink: 0;
}

.bottom .bottom-left p {
    color: #f1f1f1;
    font-size: 13px;
    line-height: 1.8;
}

.bottom .bottom-right {
    width: 55%;
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.bottom .bottom-right p {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
}

.bottom .bottom-right a {
    display: inline-block;
    color: #f1f1f1;
    font-size: 13px;
    margin: 5px 0;
    padding-right: 30px;
    line-height: 28px;
    text-decoration: none;
}

.bottom .bottom-right a:hover {
    color: #FFFFFF;
}

/* ========== 响应式适配 ========== */
@media screen and (max-width: 767px) {
    .w1440 {
        width: 100%;
        max-width: initial;
        min-width: initial;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .wrap {
        width: 100%;
        max-width: initial;
        min-width: initial;
    }

    .index-container {
        display: block;
        padding-bottom: 30px;
    }

    .page-left,
    .page-middle,
    .page-right {
        width: 100%;
        margin: 0;
    }

    .page-left .news-module:first-child {
        margin-top: 0;
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 14px 16px;
    }

    .service-card {
        padding: 14px 6px;
    }

    .service-card-icon {
        width: 38px;
        height: 38px;
    }

    .service-card-icon i {
        font-size: 18px;
    }

    .friend-links .w1440 {
        flex-direction: column;
    }

    .bottom {
        padding: 20px 0;
    }

    .bottom .w1440 {
        display: block;
        padding-bottom: 0;
    }

    .bottom .bottom-left {
        width: 100%;
        padding: 0;
        margin: 0 auto;
        border: 0;
        text-align: center;
        display: block;
    }

    .bottom .bottom-left img {
        display: none;
    }

    .bottom .bottom-left p {
        font-size: 12px;
        line-height: 20px;
    }

    .bottom .bottom-right {
        display: none;
    }
}