/* 招生网首页「院系设置」模块：五大学院一行铺满，不做左右切换 */
.column_xy {
    clear: both;
    width: 100%;
    padding: 0 0 26px 0;
    background: #ffffff;
}

/* 标题沿用其它栏目的版式：左侧标题 + 右侧「查看更多」，底部一条深蓝细线 */
.column_xy .titlebox {
    height: 37px;
    width: 1245px;
    margin: 0 auto;
    padding: 14px 0 0 0;
    border-bottom: 2px solid #234670;
}

.column_xy .titlebox .title_l {
    float: left;
    color: #ef0013;
    font-family: "KaiTi", "STKaiti", "SimSun", serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
}

.column_xy .titlebox .title_r {
    float: right;
    padding: 15px 0 0 0;
}

.column_xy .titlebox .title_r a {
    color: #226587;
    font-size: 12px;
    font-family: "NSimSun", "SimSun", serif;
    line-height: 18px;
}

/* 卡片换行交给容器宽度，学院数量变化时自动调整列数，不需要左右箭头 */
.column_xy .xy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 16px;
    width: 1245px;
    margin: 22px auto 0 auto;
}

.column_xy .xy-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e2e7ee;
    box-shadow: 0 1px 3px rgba(35, 70, 112, 0.08);
    text-decoration: none;
}

.column_xy .xy-card:hover {
    box-shadow: 0 3px 10px rgba(35, 70, 112, 0.18);
}

.column_xy .xy-card-img {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: #f2f5f9;
}

.column_xy .xy-card-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片没上传或加载失败时的占位块，保证卡片尺寸一致 */
.column_xy .xy-card-ph {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa7b8;
    font-size: 13px;
}

.column_xy .xy-card-foot {
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    border-top: 1px solid #e2e7ee;
    background: #f2f6fb;
    overflow: hidden;
}

.column_xy .xy-card-name {
    float: left;
    color: #234670;
    font-size: 15px;
}

.column_xy .xy-card:hover .xy-card-name {
    color: #a32c25;
}

.column_xy .xy-card-more {
    float: right;
    color: #226587;
    font-size: 14px;
}

.column_xy .xy-grid-tip {
    grid-column: 1 / -1;
    padding: 40px 0;
    color: #8d9bb0;
    font-size: 14px;
    text-align: center;
}

/* 窄屏：跟着页面宽度收缩，一行放不下时自动折到下一行 */
@media (max-width: 1290px) {
    .column_xy .titlebox,
    .column_xy .xy-grid {
        width: auto;
        margin-left: 12px;
        margin-right: 12px;
    }

    .column_xy .xy-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .column_xy .xy-card-img {
        height: 120px;
    }
}
