/* ===== 学工风采模块 xgfc- 前缀，作用域限定在 .xgfc-module 内 ===== */
.xgfc-module {
    background: #f5f6f8;
    padding: 0 0 48px;
    font-family: Microsoft YaHei, 微软雅黑, Microsoft JhengHei, 华文细黑, STHeiti, MingLiu;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}

.xgfc-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 模块标题 */
.xgfc-head {
    padding: 50px 0 10px;
    margin-bottom: 40px;
    text-align: center;
}

.xgfc-head .xgfc-h2 {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    color: #222;
}

.xgfc-more {
    display: inline-block;
    position: relative;
    padding-top: 10px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #b48950 !important;
    text-decoration: none;
}

.xgfc-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    margin-left: -30px;
    background: #ba2d35;
}

.xgfc-more:hover,
.xgfc-more:focus {
    color: #ba2d35 !important;
    text-decoration: none;
}

/* 第一行：两条图片新闻 */
.xgfc-cards {
    display: flex;
    justify-content: space-between;
}

.xgfc-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: stretch;
    padding-bottom: 26px;
    border-bottom: 1px solid #e6e6e6;
    text-decoration: none;
    color: #222;
}
a.xgfc-card{
    text-decoration: none;
}
.xgfc-card + .xgfc-card {
    margin-left: 40px;
}

.xgfc-card-img {
    flex: 0 0 34%;
    max-width: 34%;
    min-width: 0;
    overflow: hidden;
    background: #f2f2f2;
}

.xgfc-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 155px;
    object-fit: cover;
    transition: transform .4s ease;
}

.xgfc-card-text {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 22px;
}

.xgfc-card-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    color: #222;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.xgfc-card-date {
    display: block;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #999;
}

.xgfc-card-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.xgfc-card:hover .xgfc-card-title {
    color: #ba2d35;
}

.xgfc-card:hover .xgfc-card-img img {
    transform: scale(1.06);
}

/* 第二行：左右各三条新闻列表 */
.xgfc-lists {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.xgfc-list {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xgfc-list + .xgfc-list {
    margin-left: 40px;
}

.xgfc-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xgfc-item {
    display: flex;
    align-items: center;
    height: 46px;
    font-size: 16px;
    color: #333 !important;
    text-decoration: none;
}

.xgfc-dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    margin-right: 12px;
    background: #ba2d35;
    border-radius: 50%;
}

.xgfc-item-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.xgfc-item-date {
    flex: 0 0 auto;
    padding-left: 16px;
    font-size: 14px;
    color: #999;
}

.xgfc-item:hover {
    color: #ba2d35 !important;
    text-decoration: none;
}

.xgfc-item:hover .xgfc-item-date {
    color: #ba2d35;
}

/* 响应式 */
@media (max-width: 992px) {
    .xgfc-head {
        padding: 34px 0 6px;
        margin-bottom: 26px;
    }

    .xgfc-head .xgfc-h2 {
        font-size: 24px;
    }

    .xgfc-cards,
    .xgfc-lists {
        display: block;
    }

    .xgfc-card + .xgfc-card,
    .xgfc-list + .xgfc-list {
        margin-left: 0;
    }

    .xgfc-card + .xgfc-card {
        margin-top: 22px;
    }

    .xgfc-list + .xgfc-list {
        margin-top: 6px;
    }

    .xgfc-card-img {
        flex: 0 0 42%;
        max-width: 42%;
    }

    .xgfc-card-img img {
        min-height: 120px;
    }

    .xgfc-card-text {
        padding-left: 16px;
    }

    .xgfc-card-title {
        font-size: 16px;
    }

    .xgfc-card-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .xgfc-card-desc {
        font-size: 13px;
        line-height: 1.7;
        -webkit-line-clamp: 2;
    }

    .xgfc-item {
        height: 40px;
        font-size: 15px;
    }
}