@charset "utf-8";

.site-main {
    padding-bottom: 0 !important;
    background: #f6f3ed;
}
.gbimh-search {
    min-height: 620px;
    padding: 72px 0 96px;
    background:
        linear-gradient(180deg, rgba(250,250,245,.96) 0%, rgba(246,243,237,1) 100%);
}
.gbimh-search > .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.gbimh-search__head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}
.gbimh-search__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #174fae;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}
.gbimh-search__head h1,
.gbimh-search__head h2 {
    margin: 0;
    color: #1f3a5f;
    font-family: 'Pretendard', 'Pretendard', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}
.gbimh-search__head p {
    margin: 14px 0 0;
    color: #5f6875;
    font-size: 16px;
    line-height: 1.7;
}
#sch_res_detail {
    margin: 0 0 24px;
    padding: 24px;
    min-width: 0;
    min-inline-size: 0;
    border: 1px solid #ebe8e0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 14px 40px rgba(18, 41, 68, .06);
}
#sch_res_detail legend {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden;
}
.search-detail__row {
    display: grid;
    grid-template-columns: 160px 150px minmax(240px, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}
#sch_res_detail select,
#sch_res_detail .frm_input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d6d2c7;
    border-radius: 6px;
    background: #fff;
    color: #24364a;
    box-sizing: border-box;
}
#sch_res_detail select:focus,
#sch_res_detail .frm_input:focus {
    border-color: #235fd3;
    outline: 2px solid rgba(200,169,106,.22);
    outline-offset: 0;
}
#sch_res_detail .sch_wr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px max-content;
    gap: 8px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}
#sch_res_detail .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #1f3a5f;
    font-weight: 700;
    cursor: pointer;
}
#sch_res_detail .btn_submit:hover,
#sch_res_detail .btn_submit:focus {
    background: #122844;
}
.switch_field {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    min-width: 0;
    max-width: 100%;
}
.switch_field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}
.switch_field label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d6d2c7;
    background: #fff;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.switch_field label:first-of-type {
    border-radius: 999px 0 0 999px;
}
.switch_field label:last-of-type {
    margin-left: -1px;
    border-radius: 0 999px 999px 0;
}
.switch_field input:checked + label {
    z-index: 1;
    border-color: #1f3a5f;
    background: #1f3a5f;
    color: #fff;
}
.switch_field input:focus-visible + label {
    outline: 2px solid rgba(200,169,106,.42);
    outline-offset: 2px;
}
#sch_result {
    color: #24364a;
}
#sch_res_ov {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin: 0 0 16px;
    padding: 18px 20px;
    border: 1px solid #ebe8e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 41, 68, .05);
}
#sch_res_ov h2 {
    margin: 0;
    color: #1f3a5f;
    font-size: 22px;
    font-weight: 700;
}
#sch_res_ov h2 strong {
    color: #174fae;
}
#sch_res_ov ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#sch_res_ov li {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #ebe8e0;
    border-radius: 999px;
    background: #fff;
    color: #5d6b7a;
    font-size: 12px;
    font-weight: 700;
}
#sch_res_board {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    min-width: 0;
    max-width: 100%;
}
#sch_res_board li {
    display: inline-flex;
}
#sch_res_board a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid #d6d2c7;
    border-radius: 999px;
    background: #fff;
    color: #1f3a5f;
    font-weight: 700;
    text-decoration: none;
}
#sch_res_board a:focus,
#sch_res_board a:hover,
#sch_res_board .sch_on {
    border-color: #1f3a5f;
    background: #1f3a5f;
    color: #fff;
    text-decoration: none;
}
#sch_res_board .cnt_cmt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(23,59,95,.08);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
}
#sch_result hr {
    display: none;
}
.sch_res_list {
    position: relative;
    margin: 0 0 18px;
}
.sch_res_list .search_board_result {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid #ebe8e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(18, 41, 68, .06);
}
.sch_res_list h2 {
    margin: 0;
    padding: 18px 20px;
    border-bottom: 1px solid #ebe8e0;
    background: #fbfaf6;
    color: #1f3a5f;
    font-size: 19px;
    line-height: 1.35;
}
.sch_res_list h2 a {
    color: inherit;
    text-decoration: none;
}
.sch_res_list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sch_res_list li {
    position: relative;
    padding: 18px 20px;
    border-bottom: 1px solid #ebe8e0;
    background: #fff;
}
.sch_res_list li:last-child {
    border-bottom: 0;
}
.sch_res_list .sch_tit {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.sch_res_title {
    display: inline-block;
    color: #1f3a5f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}
.sch_res_title:hover {
    color: #174fae;
    text-decoration: none;
}
.sch_res_list .pop_a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d6d2c7;
    border-radius: 999px;
    background: #fff;
    color: #667085;
    text-decoration: none;
}
.sch_res_list p {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.75;
}
.sch_res_list .sch_word {
    background: #c70046;
    color: #fff;
}
.sch_res_list .sch_info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #5d6875;
    font-size: 13px;
}
.sch_res_list .sch_author,
.sch_res_list .sch_datetime {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    line-height: 1.45;
}
.sch_res_list .sch_author .sv_wrap,
.sch_res_list .sch_author .sv_member {
    display: inline-flex;
    align-items: center;
}
.sch_res_list .profile_img img {
    border-radius: 50%;
}
.sch_more {
    position: absolute;
    right: 20px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d6d2c7;
    border-radius: 999px;
    background: #fff;
    color: #1f3a5f;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.sch_more:hover,
.sch_more:focus {
    border-color: #174fae;
    color: #174fae;
    text-decoration: none;
}
.sch_author > i {
    display: none !important;
}
.search_font {
    color: #9a6b1f;
    background: #fff1c6;
    font-weight: 700;
}
.empty_list {
    padding: 48px 20px;
    border: 1px solid #ebe8e0;
    border-radius: 8px;
    background: #fff;
    color: #667085;
    text-align: center;
}
.pg_wrap {
    margin-top: 24px;
}
@media (max-width: 800px) {
    .gbimh-search {
        padding: 42px 0 64px;
    }
    .gbimh-search > .container {
        padding: 0 18px;
    }
    .gbimh-search__head {
        margin-bottom: 22px;
        text-align: left;
    }
    .gbimh-search__head h1,
    .gbimh-search__head h2 {
        font-size: 28px;
    }
    .gbimh-search__head p {
        font-size: 14px;
    }
    #sch_res_detail {
        padding: 16px;
    }
    .search-detail__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #sch_res_detail .sch_wr {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) 44px max-content;
    }
    #sch_res_detail .btn_submit {
        width: 100%;
        padding: 0;
    }
    #sch_res_detail .btn_submit span {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    .switch_field {
        justify-content: flex-start;
    }
    .switch_field label {
        min-width: 46px;
        padding: 0 9px;
    }
    #sch_res_ov {
        display: block;
    }
    #sch_res_ov h2 {
        margin-bottom: 12px;
        font-size: 20px;
    }
    #sch_res_ov ul {
        justify-content: flex-start;
    }
    .sch_more {
        position: static;
        display: inline-flex;
        margin: 0 20px 16px;
    }
    .sch_res_list .sch_tit {
        display: grid;
    }
}

@media (max-width: 520px) {
    #sch_res_detail {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    #sch_res_detail .sch_wr {
        grid-template-columns: minmax(0, 1fr) 44px;
        width: 100%;
    }
    #sch_res_detail .btn_submit {
        min-width: 44px;
    }
    .switch_field {
        grid-column: 1 / -1;
        width: 100%;
    }
    .switch_field label {
        flex: 1 1 0;
        min-width: 0;
    }
    #sch_res_board {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
    #sch_res_board li,
    #sch_res_board a {
        width: 100%;
        min-width: 0;
    }
    #sch_res_board a {
        justify-content: center;
        padding: 0 8px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }
}
