@charset "utf-8";
/* =========================================================
   lab_member 스킨 - 희망연구소 구성원 (list / view)
   * 폰트/컬러 토큰 : reset.css (--tit Paperozi, --txt Suit, --main teal)
   * 본문 18px / 최소 16px
   ========================================================= */
.mem_wrap { font-family: var(--txt); color: #333; font-size: 18px; }
.mem_wrap a { color: inherit; text-decoration: none; }
.mem_wrap i { font-style: normal; }

/* ---------- 상단 : 분류 탭 + 관리 ---------- */
.mem_top {display: flex;align-items: center;justify-content: space-between;gap: 20px;flex-wrap: wrap;margin-bottom: 50px;padding-bottom: 24px;/* border-bottom: 1px solid var(--line); */}
.mem_pills { display: flex; flex-wrap: wrap; gap: 5px; background: var(--sub); border: 1px solid #e7edec; border-radius: 999px; padding: 5px; width: fit-content; }
.mem_pill { display: inline-flex; align-items: center; padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; border: none; background: transparent; color: #9aa3a2; transition: .2s; }
.mem_pill:hover { color: #555; }
.mem_pill.on { background: #fff; color: var(--main); box-shadow: 0 2px 8px rgba(0,0,0,.10); }

/* 분류 탭 : lab_paper .lab-pill 디자인 그대로 (lab_member 는 .mem_wrap 래퍼라 토큰도 함께 공급) */
.mem_wrap { --point:var(--main); --point-dark:#00807d; --point-tint:#eef7f6; --point-line:#bfe0de; --ink:#1a1d24; --ink-2:#4b5160; --ink-3:#8a90a0; --line:#e3e6ec; --line-2:#eef0f4; --bg:#f6f7f9; }
.lab-pills { position:relative; display:flex; gap:5px; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:5px; width:fit-content; }
.mem_top .lab-pills { margin-top:0; flex-wrap:wrap; }
.lab-pill { position:relative; z-index:1; display:inline-block; padding:9px 22px; border-radius:999px; font-size:14px; font-weight:700; cursor:pointer; border:none; background:transparent; color:var(--ink-3); white-space:nowrap; transition:color .2s; }
.lab-pill:hover { color:var(--ink-2); }
.lab-pill.on { background:#fff; color:var(--point); box-shadow:0 2px 8px rgba(20,24,40,0.12); }
.mem_wrap a.lab-pill { color:var(--ink-3); }
.mem_wrap a.lab-pill:hover { color:var(--ink-2); }
.mem_wrap a.lab-pill.on { color:var(--point); }
.lab-pill-slider { position:absolute; z-index:0; background:#fff; border-radius:999px; box-shadow:0 2px 8px rgba(20,24,40,0.12); transition:left .28s cubic-bezier(.4,0,.2,1),width .28s cubic-bezier(.4,0,.2,1),top .28s,height .28s,opacity .2s; opacity:0; pointer-events:none; }
.lab-pills.js-slide .lab-pill.on { background:transparent; box-shadow:none; }
.lab-pills.js-slide .lab-pill:hover { color:var(--point); }
.mem_total { font-size: 16px; color: #888; }
.mem_total b { color: var(--main); font-weight: 700; }
.mem_top_util { display: flex; gap: 8px; }

.mem_btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; line-height: 1.5; border: 1px solid #e3e6ec; color: #4b5160; background: #fff; cursor: pointer; transition: .18s; }
.mem_btn i { font-size: 12px; }
.mem_btn:hover { border-color: var(--main); color: var(--main); }
.mem_btn.point { border: none; background: var(--main); color: #fff; }
.mem_btn.point:hover {background: #00807d;color: #fff;box-shadow: 0 6px 16px rgba(15, 37, 87, 0.25);transform: translateY(-1px);}
.mem_btn.dark { border: 1px solid #1a1d24; background: #fff; color: #1a1d24; }
.mem_btn.dark:hover { background: #eef0f4; color: #1a1d24; }

/* ---------- 분류 그룹 헤더 ---------- */
.mem_group_head { display: flex; align-items: center; gap: 22px; margin: 60px 0 28px; }
.mem_group_head:first-of-type { margin-top: 0; }
.mem_group_head .gname {     font-size: 34px; font-weight: 600; font-family: var(--tit); color: var(--point); letter-spacing: -0.02em; line-height: 1;}
.mem_group_head .gline { flex: 1; height: 1px; background: var(--line); }
.mem_group_head .gcount { font-family: var(--eng); font-size: 15px; font-weight: 600; color: var(--main); white-space: nowrap; }
.mem_group_head .gcount em { font-style: normal; color: #aab2b1; font-weight: 500; }

/* ---------- 목록 : 가로 카드 그리드 ---------- */
.mem_grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mem_card { position: relative; }
.mem_card_a {display: flex;gap: 40px;align-items: center;height: 100%;padding: 22px;background: #fff;border: 1px solid #eef1f0;border-radius: 20px;box-shadow: 0 6px 20px rgba(0,0,0,.04);transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;}
.mem_card_a:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow), 0 20px 40px -18px rgba(0,0,0,.25); }

.mem_photo {position: relative;flex: 0 0 40%;max-width: 220px;aspect-ratio: 4 / 5;border-radius: 14px;overflow: hidden;background: var(--sub);}
.mem_photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mem_card_a:hover .mem_photo img { transform: scale(1.06); }
.mem_badge { position: absolute; left: 10px; top: 10px; padding: 5px 12px; border-radius: 30px; background: var(--main); color: #fff; font-size: 12px; font-weight: 600; }
.mem_chk { position: absolute; right: 8px; top: 8px; z-index: 2; }

.mem_info { flex: 1; min-width: 0; }
.mem_name {font-family: var(--tit);font-size: 32px;font-weight: 700;color: #1a1a1a;line-height: 1.3;margin-bottom: 16px;}
.mem_name .eng { display: inline-block; margin-left: 8px; font-family: var(--eng); font-size: 15px; font-weight: 500; color: #9aa3a2; }
.mem_affil {font-size: 18px;color: #666;line-height: 1.5;margin-bottom: 24px;word-break: keep-all;}
.mem_rsch {display: inline-block;/* padding: 7px 14px; *//* border-radius: 30px; *//* background: rgba(0,154,150,.09); */color: var(--main);font-size: 18px;font-weight: 600;margin-bottom: 4px;}
.mem_contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.mem_contact span {display: inline-flex;align-items: center;gap: 7px;font-size: 16px;color: #777;word-break: break-all;}
.mem_contact span i {font-size: 16px;color: var(--main);}
.mem_more {display: inline-flex;align-items: center;gap: 6px;font-family: var(--eng);font-size: 16px;font-weight: 600;color: var(--main);}
.mem_more i { transition: transform .3s ease; }
.mem_card_a:hover .mem_more i { transform: translate(3px,-3px); }

.mem_edit {position: absolute;right: 14px;top: 14px;z-index: 3;width: 34px;height: 34px;display: flex;align-items: center;justify-content: center;border-radius: 8px;background: var(--sub);color: #fff;font-size: 15px;}
.mem_edit:hover { background: var(--main); }
.mem_edit:hover i {color:#fff;}

.mem_empty { text-align: center; padding: 100px 0; color: #999; font-size: 17px; }
.mem_selbtns { display: flex; align-items: center; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.mem_chkall { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: #666; margin-right: auto; }

/* =========================================================
   상세 (view)
   ========================================================= */
.mem_view_top { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 40px; }

.mem_profile {display: grid;grid-template-columns: 400px 1fr;gap: 64px;align-items: center;}
.mem_v_photo .photo_inner { position: sticky; top: 120px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--sub); box-shadow: 0 26px 60px rgba(0,0,0,.14); }
.mem_v_photo .photo_inner img { width: 100%; height: 100%; object-fit: cover; }
.mem_v_photo .mem_badge { left: 16px; top: 16px; font-size: 13px; padding: 6px 14px; }


.mem_v_cate {display: inline-block;font-family: var(--eng);font-size: 18px;font-weight: 600;color: var(--main);margin-bottom: 14px;display: none;}
.mem_v_name { font-family: var(--tit); font-size: 44px; font-weight: 700; color: #1a1a1a; line-height: 1.2; margin-bottom: 16px; }
.mem_v_name .eng { display: inline-block; margin-left: 12px; font-family: var(--eng); font-size: 20px; font-weight: 500; color: #9aa3a2; }
.mem_v_affil {font-size: 20px;color: #555;line-height: 1.6;margin-bottom: 30px;word-break: keep-all;}
.mem_v_rsch { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--sub); border-radius: 14px; margin-bottom: 30px; }
.mem_v_rsch .lbl {flex: 0 0 auto;font-size: 18px;font-weight: 700;color: var(--main);}
.mem_v_rsch .val {font-size: 18px;color: #444;word-break: keep-all;}

.mem_v_meta {/* border-top: 1px solid var(--line); */}
.mem_v_meta li {display: flex !important;align-items: center;gap: 14px;padding: 16px 4px;border-bottom: 1px solid var(--line);font-size: 18px;}
.mem_v_meta li > i { font-size: 20px; color: var(--main); }
.mem_v_meta li .k { flex: 0 0 90px; font-weight: 600; color: #888; }
.mem_v_meta li .v { color: #333; word-break: break-all; }
.mem_v_meta li .v > a { display: inline-flex; align-items: center; gap: 4px; color: var(--main); font-weight: 600; }

/* Link : mem_v_meta 안의 li — 아이콘 링크(Homepage/Lab/Scholar/…) + 추가 텍스트 링크 */
.mem_v_meta li.lnk { align-items:flex-start; }
.mem_v_meta li.lnk > i { padding-top:12px; }
.mem_v_meta li.lnk .k { padding-top:14px; }
.mem_v_meta li.lnk .v { display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; }
.mem_v_meta .lk_icons { display:flex; gap:18px; flex-wrap:wrap; }
.mem_v_meta .lk_ic { display:inline-flex; flex-direction:column; align-items:center; gap:7px; color:#555; font-weight:500; transition:color .2s ease; }
.mem_v_meta .lk_ic_circle { width:46px; height:46px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--sub); border:1px solid var(--line); font-size:19px; transition:all .2s ease; }
.mem_v_meta .lk_ic .lk_lbl { font-size:12px; font-weight:500; letter-spacing:-.01em; color:#777; white-space:nowrap; }
.mem_v_meta .lk_ic:hover { color:var(--main); }
.mem_v_meta .lk_ic:hover .lk_ic_circle { background:var(--main); border-color:var(--main); color:#fff; transform:translateY(-2px); }
.mem_v_meta .lk_ic:hover .lk_lbl { color:var(--main); }
.mem_v_meta .lk_text { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.mem_v_meta .lk_txt { display:inline-flex; align-items:center; gap:3px; padding:7px 15px; border:1px solid var(--line); border-radius:20px; font-size:13.5px; font-weight:600; color:#555; transition:border-color .2s,color .2s,background .2s; }
.mem_v_meta .lk_txt:hover { border-color:var(--main); color:var(--main); background:rgba(0,154,150,.05); }
.mem_v_meta .lk_txt i { font-size:13px; color:#aaa; }
.mem_v_meta .lk_txt:hover i { color:var(--main); }

/* 소개 (My Story) */
.mem_v_story {margin: 46px 0 0;padding: 32px 20px 0;border-top: 2px solid #1a1a1a;}
.mem_v_story > h4 { font-family: var(--eng); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--main); margin-bottom: 22px; }
.mem_v_story .body { font-size: 18px; line-height: 1.95; color: #555; word-break: keep-all; }
.mem_v_story .body p {margin-bottom: 14px;word-break: keep-all;}
.mem_v_story .body p:last-child { margin-bottom: 0; }
.mem_v_story .body img { max-width: 100%; height: auto; }

/* 발행물 */
.mem_v_pub { margin-top: 46px; }
.mem_v_pub .pub_sec:first-child { border-top-width: 2px; border-top-color: #1a1a1a; }
.mem_v_pub .pub_sec { padding: 34px 0; border-top: 2px solid #1a1a1a; }
.mem_v_pub .pub_sec + .pub_sec { border-top-width: 1px; border-top-color: var(--line); }
.mem_v_pub .pub_sec h4 { font-family: var(--tit); font-size: 24px; font-weight: 700; color: #1a1a1a; margin-bottom: 20px; }
.mem_v_pub .pub_body { font-size: 17px; line-height: 1.9; color: #555; }
.mem_v_pub .pub_body img { max-width: 100%; height: auto; }
.mem_v_pub .pub_body p { margin-bottom: 6px; }

/* 관리 버튼 / 이전다음 */
.mem_v_btns { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.mem_v_btns .grp { display: flex; gap: 8px; }
.mem_v_pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.mem_v_pn a { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 16px; transition: .3s; }
.mem_v_pn a:hover { border-color: var(--main); background: var(--sub); }
.mem_v_pn a.next { text-align: right; align-items: flex-end; }
.mem_v_pn a .k { display: inline-flex; align-items: center; gap: 6px; font-family: var(--eng); font-size: 13px; font-weight: 600; color: #9aa3a2; }
.mem_v_pn a .t { font-size: 17px; font-weight: 600; color: #333; }
.mem_v_pn a:hover .t { color: var(--main); }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1200px) {
    .mem_profile {/* grid-template-columns: 320px 1fr; */gap: 44px;}
    .mem_v_name { font-size: 36px; }
}
@media (max-width: 1024px) {
    .mem_grid { gap: 20px; }
    .mem_card_a {gap: 24px;padding: 16px;}
    .mem_name {font-size: 24px;}
}
@media (max-width: 991px) {
    .mem_wrap { font-size: 16px; }
    .mem_top { margin-bottom: 32px; }
    .mem_pill { height: 40px; padding: 0 18px; font-size: 14px; }
    .mem_group_head { margin: 42px 0 20px; }
    .mem_group_head .gname { font-size: 22px; }
    .mem_grid { grid-template-columns: 1fr; gap: 16px; }
    .mem_photo {max-width: 180px;}
    .mem_name {/* font-size: 19px; */}
    .mem_rsch {font-size:16px;}
    .mem_affil, .mem_contact span {font-size: 16px;}

    .mem_profile { grid-template-columns: 1fr; gap: 30px; }
    .mem_v_photo .photo_inner {position: relative;top: 0;max-width: 320px;margin: 0 auto;box-shadow: 4px 4px 10px rgba(0, 0, 0, .14);}
    .mem_v_name {/* font-size: 30px; */text-align: center;}
    .mem_v_name .eng { font-size: 16px; margin-left: 8px; }
    .mem_v_affil {/* font-size: 16px; */margin-bottom: 22px;text-align: center;}
    .mem_v_rsch { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; }
    .mem_v_meta li { font-size: 15px; gap: 10px; }
    .mem_v_meta li .k { flex-basis: 70px; }
    .mem_v_pub .pub_sec h4 { font-size: 20px; }
    .mem_v_btns { flex-wrap: wrap; }
    .mem_v_pn { grid-template-columns: 1fr; }
    .mem_v_pn a.next { text-align: left; align-items: flex-start; }
    #bo_v_con ul {padding-left:0;}
}
@media (max-width: 564px) {
    .mem_card_a {flex-direction:column;}
    .mem_name {text-align:center;}
    .mem_name .eng {display:block;margin-left: 0;}
    .mem_rsch {text-align:center; width:100%;}
    .mem_affil {text-align:center;}
    .mem_info{display:flex; flex-direction:column; align-items:center;}
    .mem_v_name {font-size:26px;}
    .mem_v_affil {font-size:18px;}
    .mem_v_rsch .lbl, .mem_v_rsch .val, .mem_v_story .body {font-size:16px;}
    .mem_v_story {padding: 32px 0 0;}
} 


/* =========================================================
   글쓰기 폼 (write) - 원본(_bak) 디자인 복원 (.lab-wrap 스코프)
   * 필드/라벨은 write.skin.php 현재값 유지, 디자인만 원본으로
   ========================================================= */
.lab-wrap { --point:var(--main); --point-dark:#00807d; --point-tint:#eef7f6; --point-line:#bfe0de;
    --ink:#1a1d24; --ink-2:#4b5160; --ink-3:#8a90a0; --line:#e3e6ec; --line-2:#eef0f4; --bg:#f6f7f9;
    font-family: var(--txt); color: var(--ink); }
.lab-wrap .lab-title { display:flex; flex-direction:column; gap:8px; align-items:center; }
.lab-wrap .lab-title h2 { margin:0; font-size:34px; font-weight:800; letter-spacing:-0.02em; color:var(--ink); }
.lab-wrap .lab-title .lab-title-bar { width:36px; height:3px; background:var(--point); border-radius:2px; }
.lab-w .lab-title { margin-bottom:40px; }

.lab-w-tophead { display:flex; justify-content:space-between; align-items:center; border-bottom:2px solid var(--ink); padding-bottom:16px; }
.lab-w-tophead .opt { display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:600; color:var(--ink-2); cursor:pointer; }
.lab-w-tophead .opt input { width:17px; height:17px; }
.lab-w-tophead .req-note { font-size:13px; color:var(--ink-3); }
.lab-w-tophead .req-note b, .lab-w .req { color:#e5484d; font-weight:700; }

.lab-w-row { display:grid; grid-template-columns:minmax(120px,180px) 1fr; align-items:center; border-bottom:1px solid var(--line-2); padding:10px 0; }
.lab-w-row.top { align-items:start; }
.lab-w-row > label, .lab-w-row > .lab-w-label { padding:0 18px; font-size:14px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:4px; }
.lab-w-row.top > label, .lab-w-row.top > .lab-w-label { padding-top:14px; }
.lab-w-field { padding:6px 8px; min-width:0; }
.lab-w-input { width:100%; padding:12px 15px; border:1px solid var(--line); border-radius:8px; font-size:14.5px; background:#fff; color:var(--ink); box-sizing:border-box; }
.lab-w-input:focus, .lab-w-select:focus { border-color:var(--point); outline:none; }
.lab-w-help { display:block; margin-top:6px; font-size:12.5px; color:var(--ink-3); }
.lab-w-select { width:220px; padding:12px 14px; border:1px solid var(--line); border-radius:8px; font-size:14.5px; background:#fff; color:var(--ink-2); }
.lab-w-editor { border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.lab-w-editor textarea { width:100%; height:220px; border:none; padding:16px; font-size:14.5px; resize:vertical; }
.lab-w-chk { display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:600; color:var(--ink-2); cursor:pointer; }
.lab-w-chk input { width:17px; height:17px; }

.lab-w-foot { display:flex; justify-content:flex-end; gap:8px; margin-top:30px; }
.lab-w-cancel { display:inline-flex; align-items:center; padding:12px 28px; border-radius:8px; border:1px solid var(--line); background:#fff; color:var(--ink-2); font-size:15px; font-weight:600; cursor:pointer; }
.lab-w-cancel:hover { color:var(--ink); }
.lab-w-submit { padding:12px 34px; border-radius:8px; border:none; background:var(--point); color:#fff; font-size:15px; font-weight:700; cursor:pointer; box-shadow:0 4px 14px rgba(0,154,150,0.25); }
.lab-w-submit:hover { background:var(--point-dark); }

@media (max-width:767px) {
    .lab-w-row { grid-template-columns:1fr; }
    .lab-w-row > label, .lab-w-row > .lab-w-label { padding:6px 8px 0; }
    .lab-wrap .lab-title h2 { font-size:27px; }
    .lab-w-select { width:100%; }
    .lab-w-foot { flex-wrap:wrap; }
}


/* =========================================================
   논문·경력 자동 리스트 (lab_parse_list) + 입력 textarea
   ========================================================= */
.mem_v_list { margin: 0; }
.mem_v_list li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: #444; word-break: keep-all; }
.mem_v_list li:last-child { border-bottom: 0; }
.mem_v_list li .h { flex: 0 0 130px; font-weight: 700; color: var(--main); }
.mem_v_list li .b { flex: 1; min-width: 0; }
.mem_v_list .doi_lnk { display:inline-flex; align-items:center; gap:3px; margin-left:6px; padding:1px 9px; border:1px solid var(--main); border-radius:20px; font-size:11.5px; font-weight:700; color:var(--main); vertical-align:middle; letter-spacing:.02em; white-space:nowrap; transition:background .2s,color .2s; }
.mem_v_list .doi_lnk:hover { background:var(--main); color:#fff; }
.mem_v_list .doi_lnk i { font-size:11px; }
.mem_v_list li.noh { position: relative; padding-left: 18px; }
.mem_v_list li.noh::before { content: ""; position: absolute; left: 0; top: 24px; width: 5px; height: 5px; border-radius: 50%; background: var(--main); }

/* 글쓰기 : 논문·경력 textarea (여러 줄 입력) */
.lab-w-area { min-height: 130px; height: auto; padding: 12px 15px; line-height: 1.65; resize: vertical; }

@media (max-width: 767px) {
    .mem_v_list li { flex-direction: column; gap: 4px; padding: 12px 0; }
    .mem_v_list li .h { flex-basis: auto; }
}
