/* ============ 模板七 查询页样式（仅 .query7 作用域） ============ */

/* 紧挨 Banner 的壳：负 margin 必须写在 Banner 的下一个兄弟块上才叠得上去 */
.query7-wrap {
    margin-top: -40px;
    background: #f1f3f8;
    padding: 0 0 35px;
    position: relative;
    z-index: 3;
}

.query7.query-warp {
    min-height: auto;
    height: auto;
    position: static;
    padding: 0;
    margin: 0;
    background: transparent;
}

.query7 .query-content {
    width: 1200px;
    max-width: 96%;
    height: auto;
    margin: 0 auto;
    padding: 48px 60px 36px;
    background: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    box-sizing: border-box;
}

.query7 .content-top {
    height: auto;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 24px;
    margin-bottom: 0;
    display: block;
    text-align: center;
    line-height: 1.5;
    font-family: inherit;
}

.query7 .content-top .tip {
    display: none;
}

.query7 .content-middle {
    padding: 40px 0 20px;
}

.query7 #query {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.query7 #query > br {
    display: none;
}

.query7 .query-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 420px;
    max-width: 100%;
    font-size: 15px;
    padding: 0;
    margin-bottom: 20px;
    gap: 12px;
}

.query7 .query-wrap .query-span {
    min-width: 64px;
    text-align: right;
    color: #333;
    font-weight: 700;
    flex-shrink: 0;
}

.query7 .query-wrap .query-span::after {
    content: '：';
}

.query7 .query-wrap input {
    flex: 1;
    width: auto;
    height: 40px;
    text-indent: 12px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    outline: none;
    box-sizing: border-box;
    color: #333;
}

.query7 .query-wrap input:focus {
    border-color: #1F3A91;
}

.query7 .query-wrap input::placeholder {
    color: #bbb;
}

.query7 .btns,
.query7 #query-btn {
    width: 120px;
    height: 40px;
    margin: 12px auto 0;
    display: block;
    background: #1F3A91;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.query7 .btns:hover,
.query7 #query-btn:hover {
    background: #16296B;
}

.query7 .content-footer {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding-top: 8px;
    text-align: center;
    color: #999;
    font-size: 13px;
    line-height: 1.8;
}

.query7 .content-footer p {
    margin: 0;
}

.query7 .mobile-footer {
    display: none;
}

/* 查询结果区 */
.query7 #result {
    width: 100%;
}

.query7 .table-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.query7 .stuInfo_list {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
}

.query7 .stuInfo_list_lable {
    min-width: 90px;
    color: #666;
    font-weight: 600;
}

.query7 .stuInfo_list_center {
    color: #222;
}

.query7 .result_right {
    display: block;
    margin: 20px auto 0;
    max-width: 160px;
}

.query7 .footer_btn {
    display: block;
    text-align: center;
    margin-top: 24px;
}

.query7 .back_btn {
    min-width: 120px;
    height: 40px;
    background: #1F3A91;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.query7 .back_btn:hover {
    background: #16296B;
}

/* 响应式 */
@media (max-width: 1023px) {
    .query7-wrap {
        margin-top: -40px;
        padding-bottom: 32px;
    }

    .query7 .query-content {
        padding: 28px 16px 24px;
    }

    .query7 .content-top {
        font-size: 18px;
        padding-bottom: 18px;
    }

    .query7 .query-wrap {
        width: 100%;
    }

    .query7 .query-wrap .query-span {
        min-width: 56px;
        font-size: 14px;
    }
}
