/* 就业信息列表样式 */
.jiuye_list{
    display: flex;
    flex-wrap: wrap;
}

.jy_item{
    width: calc(25% - ((20px * 3) / 4));
    height: auto;
    background: #ffffff;
    margin-right: 20px;
    margin-bottom: 20px;

    box-sizing: border-box;
    border: 1px solid #f7f8fc;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .05);
    margin-top: 0;
}

.jy_item:nth-child(4n){
    margin-right: 0;
}

.jy_cover{
    width: 100%;
    height: 100px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.jy_item img{
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: cover;
    transition: all .5s;
    margin: 0 auto;
}

.jy_item p{
    font-size: 18px;
    color: #333333;
    line-height: 28px;
    text-align: center;
    background: #f7f8fc;

    box-sizing: border-box;
    padding: 10px 0;
}

.jy_item:hover .jy_cover img{
    transform: scale(1.2);
}

.jy_item:hover p{
    color: #2017a6;
    font-weight: bold;
}

@media screen and (max-width: 1400px) {
    .jy_cover{
        height: 80px;
    }

    .jy_item p{
        font-size: 16px;
    }
}

@media screen and (max-width: 998px) {
    .jy_cover{
        height: 60px;
    }

    .jy_item p{
        font-size: 14px;
        padding: 6px 0;
    }
}

@media screen and (max-width: 768px){
    .jy_item{
        width: calc(33.3% - ((12px * 2) / 3));
        margin-right: 12px;
        margin-bottom: 12px;
    }

    .jy_item:nth-child(4n){
        margin-right: 12px;
    }

    .jy_item:nth-child(3n){
        margin-right: 0;
    }
}

@media screen and (max-width: 540px){
    .jy_item{
        width: calc(50% - ((12px * 1) / 2));
        margin-right: 12px;
    }

    .jy_item:nth-child(3n){
        margin-right: 12px;
    }

    .jy_item:nth-child(2n){
        margin-right: 0;
    }
}
