@charset "utf-8";

#Student { width:100%; margin: 0 auto; }

#Student > ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    margin: 0 auto 10px;
    padding: 0;
    list-style: none;
    align-items: stretch;
}

#Student > ul > li.cate_year {
    grid-column: 1 / -1; 
    position: relative; 
    width: 100%; 
    margin: 30px 0 0; 
    line-height: 1; 
}
#Student > ul > li.cate_year .cateName {
    color: #042b70; font-size: 28px; font-weight: 700; width: 100%; 
    border-bottom: 2px solid #042b70; padding: 0 0 12px 0; letter-spacing: -0.5px;
}

#Student ul li.cbdb {
    display: flex; 
    flex-direction: row; 
    align-items: flex-start;
    width: 100%; 
    padding: 30px; 
    box-sizing: border-box; 
    border: 1px solid #eaeaea; 
    background: #fff; 
    position: relative; 
    transition: all 0.3s; 
    border-radius: 12px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* 애니메이션 및 호버 */
#Student ul li.ani { opacity: 0; transform: translateY(5%); }
#Student ul li.ani.in-view { opacity: 1; transform: translateY(0); }
#Student > ul > li.cbdb:hover { border-color: #042b70; box-shadow: 0 8px 20px rgba(4, 43, 112, 0.1); }

/* 좌측 이미지 */
#Student .img {
    flex-shrink: 0;
    width: 200px; 
    height: 230px; 
    position: relative; 
    overflow: hidden; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#Student .img img {
    width: 100%; height: 100%; object-fit: cover; 
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
}

/* 우측 텍스트 콘텐츠 */
#Student .cnt {
    flex-grow: 1;
    padding-left: 25px; 
    box-sizing: border-box;
}
#Student .cnt.view { border: 1px solid #eaeaea; padding: 32px; border-radius: 12px; }

/* 텍스트 디테일 */
#Student .cnt h1 { font-size: 26px; line-height: 1.2; color: #222; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.5px; }
#Student .cnt h1 span { font-size: 20px; color: #042b70; font-weight: 500; margin-left: 5px; }
#Student .cnt dl { margin-top: 12px; }
#Student .cnt dl p { word-break: keep-all; }
#Student .ca_name { font-size: 16px; color: #042b70; font-weight: 600; }

#Student .mcontact { border-top: 1px dotted #ddd; padding-top: 16px; margin-top: 16px; display: flex; flex-direction: column; }
#Student .cnt dt { font-size: 16px !important; font-weight: 700; margin-bottom: 5px; color: #222; }
#Student .cnt dd { line-height: 1.4; font-size: 16px !important; color: #555; }
#Student .cnt dd b { font-weight: 600; }
#Student .cnt .gray { font-size: 15px; color: #666; font-weight: 600; }

#Student .cnt .course-con { margin: 12px 0; display: flex; flex-direction: column; gap: 4px; }
#Student .cnt .course-wrap { margin: 6px 0; }
#Student .cnt .course-wrap span { display: block; }
#Student .cnt .course { display: block; font-size: 15px; font-weight: 500; color: #042b70; }
#Student .cnt .period { display: inline-block; font-size: 15px; color: #555; font-weight: 500; }

#Student .cnt .job { display: flex; align-items: center; gap: 3px; font-size: 16px; color: #444; font-weight: 500; }
#Student .cnt .job i { color: #042b70; font-size: 20px; }
#Student .cnt .point { color: #042b70; }
#Student .cnt p.list { padding-left: 12px; position: relative; }
#Student .cnt p.list::before { left: 0; top: 10px; background: #042b70; width: 4px; height: 4px; border-radius: 50%; content: ""; position: absolute; }

#Student .tel i, #Student i { margin-right: 6px; color: #042b70; font-size: 16px; display: inline-block; vertical-align: middle; }
#Student .tel { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 8px; display: block; }
#Student .email { font-size: 15px; font-weight: 500; color: #555; display: flex; align-items: center; gap: 6px; transition: all 0.2s; word-break: break-all; } /* 긴 이메일 줄바꿈 */
#Student .email:hover { color: #042b70; text-decoration: underline; }

/* 연구 분야 (Research interests) */
#Student .rsh_interest { border-top: 1px dotted #ddd; padding-top: 16px; margin-top: 16px; display: flex; flex-direction: column; }
#Student .rsh_interest .rsh_tit { color: #222; font-size: 16px; font-weight: 700; margin-bottom: 5px; }
#Student .rsh_interest ul { padding-left: 0; display: block; }
#Student .rsh_interest li { font-size: 15px; color: #555; word-break: keep-all; position: relative; padding-left: 12px; margin-bottom: 4px; line-height: 1.4; display: block; }
#Student .rsh_interest li:last-child { margin-bottom: 0; }
#Student .rsh_interest li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: #042b70; border-radius: 50%; } 
#Student .rsh_interest p { font-size: 15px; line-height: 1.5; color: #555; word-break: keep-all; }

/* 우측 하단 수정(EDIT) 링크 */
#Student .link { box-sizing: border-box; display: inline-block; border: 1px solid #ddd; border-radius: 50%; position: absolute; right: 20px; top: 20px; width: 45px; height: 45px; text-align: center; transition: all .3s; overflow: hidden; font-size: 12px; font-weight: 500; color: #bbb; background: #fff; z-index: 11; }
#Student .link a { box-sizing: border-box; transition: all .3s; display: block; width: 100%; height: 100%; line-height: 45px; position: relative; z-index: 1; }
#Student .link::before { content: ''; position: absolute; top: 50%; left: -1px; transform: translate(-100%, -50%); width: 200%; height: 200%; background: #042b70; transition: transform 0.25s cubic-bezier(.7,0,.9,1); }
#Student > ul > li .link:hover:before { transform: translate(0, -50%); border-color: #042b70; }
#Student > ul > li .link:hover { border: 1px solid #042b70; }
#Student > ul > li .link:hover a { color: #fff; }

#Student li.empty_list { border: 0; width: 100%; text-align: center; padding: 50px 0; color: #777; grid-column: 1 / -1; }
#Student .td_chk { position: absolute; left: 20px; top: 20px; z-index: 10; }
#gall_allchk { margin-bottom: 10px; }

@media (max-width: 1280px) {
    #Student > ul {
        grid-template-columns: repeat(1, 1fr);
    }
    #Student .cnt h1 { font-size: 24px; line-height: 1.3; }
}

@media (max-width: 768px) {
    #Student > ul { gap: 16px; }
    #Student ul li.cbdb { padding: 25px; }
}

@media (max-width: 600px) {
    #Student ul li.cbdb {
        flex-direction: column;
        align-items: center;
        padding: 24px 15px; 
        text-align: center;
    }

    #Student .img {
        width: 140px;
        height: 165px; 
        margin-bottom: 20px;
    }

    #Student .cnt {
        width: 100%;
        padding-left: 0;
    }

    #Student .cnt h1 { font-size: 22px; }
    #Student .cnt h1 span { display: block; margin: 5px 0 0 0; }
    #Student .ca_name { font-size: 15px; }

    #Student .mcontact { 
        align-items: center;
    }
    #Student .cnt .job, #Student .email { 
        justify-content: center;
    }
    
    #Student .rsh_interest { 
        text-align: left;
        padding: 15px;         
        background: #f8f9fa;
        border-radius: 8px;
        border-top: none;
    }

    #Student .link { right: 15px; top: 15px; width: 40px; height: 40px; }
    #Student .link a { line-height: 40px; }
}

#bo_cate { padding-bottom: 20px; }
#bo_cate h2 { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }
#bo_cate ul { display: flex; flex-wrap: wrap; align-items: center; }
#bo_cate ul:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_cate a { display: block; padding: 10px 22px!important; font-size: 15px; font-weight: 500; line-height: 1!important; margin: 0 8px 8px 0; border-radius: 30px!important; border: 1px solid #ddd!important; color: #555!important; background: #fff!important; transition: all .3s ease; }
#bo_cate #bo_cate_on { z-index: 2; background: #042b70 !important; color: #fff !important; font-weight: 600; border-color: #042b70!important; box-shadow: 0 4px 10px rgba(4, 43, 112, 0.2); }
.td_subject img { margin-left: 5px; }
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active { background: #f8f9fa !important; color: #042b70 !important; border-color: #042b70!important; }

@media (max-width: 564px) {
    #bo_cate a { padding: 8px 15px !important; font-size: 14px; }
}

.selec_chk { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; outline: 0; z-index: -1; overflow: hidden; }
.chk_box { position: relative; margin-bottom: 10px; }
.chk_box.gall_chk { position: absolute; top: 5px; left: 5px; }
.chk_box input[type="checkbox"] + label { position: relative; color: #676e70; display: flex; align-items: center; gap: 4px; }
.chk_box input[type="checkbox"] + label:hover { color: #042b70; }
.chk_box input[type="checkbox"] + label span { width: 15px; height: 15px; display: block; background: #fff; border: 1px solid #d0d4df; border-radius: 3px; }
.chk_box input[type="checkbox"]:checked + label { color: #000; }
.chk_box input[type="checkbox"]:checked + label span { background: url(./img/chk.png) no-repeat 50% 50% #042b70; border-color: #042b70; }

a.btn01, button.btn01 { padding: 7px; border: 1px solid #ccc; background: #fafafa; color: #000; height: 45px; line-height: 45px; font-size: 14px; margin: 0; }
a.btn02, button.btn02 { padding: 7px; border: 1px solid #042b70; background: #042b70; color: #fff; height: 45px; line-height: 45px; font-size: 14px; margin: 0; }
a.btn_b01, .btn_b01 { background: #999; padding: 0 15px; color: #fff; height: 45px; line-height: 45px; font-size: 14px; }
a.btn_b02, .btn_b02 { background: #042b70; padding: 0 15px; color: #fff; height: 45px; line-height: 45px; font-size: 14px; }
a.btn_b03, .btn_b03 { background: #fff; border: 1px solid #b9bdd3; color: #646982; height: 45px; line-height: 45px; font-size: 14px; }
a.btn_b03:hover, .btn_b03:hover { background: #ebedf6; }
a.btn_b04, .btn_b04 { background: #fff; border: 1px solid #ccc; color: #707070; height: 45px; line-height: 45px; font-size: 14px; }
a.btn_b04:hover, .btn_b04:hover { color: #333; background: #f9f9f9; }
a.btn_admin, .btn_admin { background: #fff; padding: 0 10px; color: #333; border: solid 1px #bbb; height: 45px; line-height: 45px; font-size: 14px; } 
.btn_admin:hover, a.btn_admin:hover { color: #fff; background: #aaa; }

#bo_sch { clear: both; width: 385px; margin: 0 auto; padding: 0; border: 1px solid #ddd; background: #fff; border-radius: 30px; overflow: hidden; }
#bo_sch:after { display: block; visibility: hidden; clear: both; content: ""; }
#bo_sch legend { position: absolute; margin: 0; padding: 0; font-size: 0; line-height: 0; text-indent: -9999em; overflow: hidden; }
#bo_sch select { border: 0; margin: 9px 10px; height: 20px; float: left; background: #fff; border-right: 1px solid #eee; outline: none; color: #444; }
#bo_sch .sch_input { height: 38px; border: 0; padding: 0 0 0 10px; background: transparent; width: 45%; line-height: 38px; float: left; outline: none; color: #222; }
#bo_sch .sch_btn { height: 38px; float: right; background: #042b70; border: 0; width: 50px; font-size: 15px; color: #fff; cursor: pointer; }
@media (max-width: 767px) {
    #bo_sch { width: 100%; }
}

#bo_btn_top { margin: 10px 0; display: flex; justify-content: space-between; align-items: flex-end; width: 100%; }
.bo_fx { margin-bottom: 40px; float: right; zoom: 1; }
.bo_fx:after { display: block; visibility: hidden; clear: both; content: ""; }
.bo_fx ul { margin: 0; padding: 0; list-style: none; }
#bo_list_total { line-height: 30px; font-size: 0.92em; color: #666; }
.btn_bo_user { float: right; margin: 0; padding: 0; list-style: none; }
.btn_bo_user li { float: left; margin-left: 5px; }
.btn_bo_adm { float: left; }
.btn_bo_adm li { float: left; margin-right: 5px; }

#bo_v { margin-bottom: 20px; box-sizing: border-box; margin-top: 20px; }
#bo_v_title { text-align: center; }
#bo_v_title .bo_v_cate { display: inline-block; line-height: 20px; background: #efefef; color: #444; padding: 5px 10px; border-radius: 3px; }
#bo_v_title .bo_v_tit { display: block; font-size: 2em; margin: 5px 0 12px; word-break: break-all; }
#bo_v_info { margin: 0; border-bottom: 1px solid #f1f1f1; color: #666; }

#bo_w .th {margin-top: 15px; margin-bottom: 4px;}

#bo_w .bo_w_flie .frm_file {
    width: 100%;
    height: 42px;
    padding: 5px 10px;
    border: 1px solid #e1e1e1; 
    border-radius: 3px;
    background: #fff;
    color: #555;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
}

#bo_w .bo_w_flie .frm_file::file-selector-button {
    background: #f8f9fa;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    padding: 0 15px;
    height: 30px;
    color: #444;
    cursor: pointer;
    margin-right: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

#bo_w .bo_w_flie .frm_file::file-selector-button:hover {
    background: #eaeaea;
    border-color: #ccc;
}