@charset "utf-8";
/* =====================================================================
   배터리 교수진 스킨
   [00] 공통 변수  /  [A] 리스트(목록·플립카드) PC→반응형  /  [B] 뷰(상세) PC→반응형
===================================================================== */

/* ---- [00] 공통 변수 ---- */
:root {
    --bm-prof: var(--main, #C8005F);
    /* 정교수(핑크) */
    --bm-ja: var(--sub2, #64696E);
    /* JA교수(슬레이트) */
    --bm-adj: var(--main3, #FFB300);
    /* 겸임(옐로) */
    --bm-navy: var(--navy, #1F2A44);
    --bm-line: var(--line, #E2E4E8);
}

#allWrap { background: #fff; }

.sub_menu .vNav ul { background: #fff; }

/* ===================================================================== 
[A] 리스트 페이지 — 교수진 목록 플립카드 (.lab-p2-grid) 
===================================================================== */ 
/* ===== [A] 리스트 · PC ===== */ 
.lab-p2-grid .btm-chk { position: absolute; top: 12px; left: 12px; z-index: 5; background: rgba(255,255,255,.9); border-radius: 6px; padding: 3px 4px 0; line-height: 0; }
.lab-p2-grid .btm-chk input { width: 16px; height: 16px; accent-color: var(--bm-prof); }
.lab-p2-grid .fac_item { position: relative; min-width: 0; width: 333px; }
.lab-p2-grid .fac_link { display: block; }
.lab-p2-grid .fac_card { position: relative; width: 100%; height: 480px; perspective: 1500px; }
.lab-p2-grid .fac_inner { position: relative; width: 100%; height: 100%; -webkit-transition: -webkit-transform .8s cubic-bezier(.4,0,.2,1); transition: transform .8s cubic-bezier(.4,0,.2,1); -webkit-transform-style: preserve-3d;   /* ★ iOS Safari : 이거 없으면 3D 컨텍스트가 안 생겨 앞/뒷면이 같이 보임 */ transform-style: preserve-3d; }
.lab-p2-grid .fac_card:hover .fac_inner { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.lab-p2-grid .fac_front, .lab-p2-grid .fac_back { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.lab-p2-grid .fac_front { background: #f2f2f2; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);   /* ★ iOS Safari: 앞면을 독립 합성 레이어로 올려 뒷면이 비쳐 보이는 버그 차단 (index #Sec5 와 동일 처리 → 정상 동작) */ }
.lab-p2-grid .fac_back { background: var(--bm-prof); color: #fff; padding: 48px 40px; -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.lab-p2-grid .fac_card.type-adjunct .fac_front { background: #E7E6EB; }
.lab-p2-grid .fac_card.type-ja .fac_front { background: #E1E4EF; }
.lab-p2-grid .fac_card.type-adjunct .fac_back { background: var(--bm-adj); }
.lab-p2-grid .fac_card.type-ja .fac_back { background: var(--bm-ja); }
.lab-p2-grid .fac_head h4 { font-family: var(--tit,sans-serif); font-size: 28px; font-weight: 300; letter-spacing: -.02em; color: #1a1a1a; }
.lab-p2-grid .fac_head h4 em { margin-left: 5px; font-size: 18px; font-family: var(--txt); font-weight: 600; font-style: normal; color: var(--sub2,#64696E); }
.lab-p2-grid .fac_en { color: var(--sub,#8B8D8F); font-family: var(--txt); font-size: 16px; font-weight: 400; line-height: 100%; margin-top: 16px; display: block; }
.lab-p2-grid .fac_front .fac_head { position: absolute; top: 48px; left: 40px; right: 40px; z-index: 2; }
.lab-p2-grid .fac_photo { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.lab-p2-grid .fac_photo img { width: auto; max-width: 100%; display: inline-block; vertical-align: bottom; }
.lab-p2-grid .fac_photo .fac_noimg { display: flex; align-items: center; justify-content: center; height: 300px; font-size: 90px; color: #cfd2d8; }
.lab-p2-grid .fac_back .fac_head h4 { color: #fff; }
.lab-p2-grid .fac_back .fac_head h4 em { color: rgba(255,255,255,.85); }
.lab-p2-grid .fac_back .fac_en { color: #fff; }
.lab-p2-grid .fac_info { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.lab-p2-grid .fac_info li { display: flex; align-items: center; gap: 8px; overflow: hidden; color: #fff; text-overflow: ellipsis; white-space: nowrap; font-family: var(--txt); font-size: 16px; font-weight: 500; line-height: 100%; letter-spacing: -0.32px; }
.lab-p2-grid .fac_info i { font-size: 17px; opacity: .9; flex: none; }

/* 연구관심사 칩 */ 
.lab-p2-grid .fac_tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 6px; position: relative; z-index: 2; }
.lab-p2-grid .fac_tags span { display: inline-block; padding: 8px 10px; border-radius: 999px; border: 1px solid #fff; color: #fff; font-family: var(--txt); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; backdrop-filter: blur(2px); }
.lab-p2-grid .fac_vname { display: block; height: 100%; position: absolute; right: 8px; bottom: -46%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; color: transparent; pointer-events: none; -webkit-text-stroke-width: 0.5px; -webkit-text-stroke-color: rgba(255,255,255,.5); font-family: var(--eng); font-size: 48px; font-weight: 900; line-height: 110%; }
.lab-p2-grid .fac_thumb { position: absolute; right: 40px; bottom: 48px; width: 82px; height: 82px; border-radius: 50%; overflow: hidden; background: #f2f2f2; }
.lab-p2-grid .fac_thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; position: absolute; top: 20px; left: 50%; transform: translateX(-50%) scale(1.2); }
.lab-p2-grid .fac_btn { position: absolute; left: 40px; bottom: 48px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); overflow: hidden; background: #fff; }
.lab-p2-grid .fac_btn img { width: 14px; display: block; filter: brightness(0) invert(1); }
.lab-p2-grid .fac_link:hover .fac_btn { /* background: #fff; */ }
.lab-p2-grid .fac_link .fac_btn img { transform: translateX(-100px); filter: drop-shadow(100px 0 0 var(--bm-prof)); }
.lab-p2-grid .fac_link .fac_card.type-ja .fac_btn img { filter: drop-shadow(100px 0 0 var(--bm-ja)); }
.lab-p2-grid .fac_link .fac_card.type-adjunct .fac_btn img { filter: drop-shadow(100px 0 0 var(--bm-adj)); }
.lab-p2-grid .fac_card.type-adjunct .fac_link:hover .fac_btn img, .lab-p2-grid .fac_card.type-ja .fac_link:hover .fac_btn img { filter: none; transform: none; }

/* ===== [A] 리스트 · 반응형 ===== */ 
	@media (max-width: 768px) { 
		
	}

	@media (max-width: 564px) { 
		.lab-p2-grid .fac_item { width:100%; height: 340px; }
		.lab-p2-grid { padding: 0; }
		.lab-p2-grid .fac_card { height: 340px; }
		.lab-p2-grid .fac_en { margin-top: 4px; }
		.lab-p2-grid .fac_info { margin-top: 32px; }
		.lab-p2-grid .fac_btn { display: none; }
		.lab-p2-grid .fac_thumb { bottom: inherit; top: 19px; right: 32px; }
		.lab-p2-grid .fac_vname { font-size: 34px; }
		.lab-p2-grid .fac_photo img { max-width: 240px; }
		.lab-p2-grid .fac_back { padding: 32px; }
		.lab-p2-grid .fac_front .fac_head { top: 32px; left: 32px; }
		.lab-p2-grid .fac_tags { flex-wrap: wrap; }
		.lab-p2-grid .fac_tags span { font-size: 12px; } 
		.lab-p2-grid .fac_head h4 {font-size:24px;}
		.lab-p2-grid .fac_head h4 em {font-size:14px;}
		.lab-p2-grid .fac_en {font-size:14px;}
		.lab-p2-grid .fac_info li {font-size:14px;}
		.lab-p2-grid .fac_tags span{font-size:12px;}
	}

/* ===================================================================== 
[B] 뷰 페이지 — 교수 상세 (.btmv-*) 
===================================================================== */
/* ===== [B] 뷰 · PC ===== */ 
.btmv .btm-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--bm-line); background: #fff; font-family: var(--txt); font-size: 15px; font-weight: 600; color: var(--ink,#111); letter-spacing: -0.02em; transition: background .2s,border-color .2s; }
.btmv .btm-btn:hover { box-shadow: 0 6px 16px rgb(171 0 73 / 22%); }
.btmv .btm-btn.dark { background: var(--main); color: #fff; }
.btmv .btm-btn i { font-size: 1.05em; }
.btmv { font-family: var(--txt); color: var(--ink,#111); }

/* 상단바 + 히어로 */ 
.btmv-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--bm-line); }
.btmv-crumb { font-family: var(--txt); font-size: clamp(16px,1.6vw,20px); font-weight: 700; color: var(--bm-navy); letter-spacing: -0.02em; }
.btmv-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btmv-hero { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: end; padding: 0 40px; border-radius: 28px; background: var(--paper,#f2f2f2); overflow: hidden; min-height: 430px; }
.btmv-watermark { position: absolute; top: 8px; left: 16px; z-index: 0; font-family: var(--eng,sans-serif); font-weight: 900; font-size: clamp(46px,7.5vw,110px); line-height: 1; color: rgba(0,0,0,.045); white-space: nowrap; overflow: hidden; letter-spacing: -0.02em; pointer-events: none; text-transform: uppercase; }
.btmv-photo { position: relative; z-index: 1; align-self: end; text-align: center; }
.btmv-photo img { max-width: 405px; object-fit: contain; object-position: bottom; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }
.btmv-photo .btmv-noimg { display: flex; align-items: center; justify-content: center; height: 360px; font-size: 120px; color: #cfd2d8; }
.btmv-meta { position: relative; z-index: 1; align-self: center; }
.btmv-badge { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--bm-prof); color: #fff; font-family: var(--txt); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.btmv-name { margin-top: 16px; font-family: var(--tit,sans-serif); font-weight: 100; font-size: clamp(38px,5vw,62px); color: var(--ink,#111); line-height: 1.05; letter-spacing: -0.02em; }
.btmv-en { display: block; margin-top: 0; font-family: var(--eng,sans-serif); font-size: clamp(16px,1.5vw,20px); font-weight: 500; color: var(--sub,#8B8D8F); }
.btmv-tagline { margin-top: 16px; font-family: var(--txt); font-size: clamp(15px,1.4vw,18px); font-weight: 600; color: var(--bm-prof); letter-spacing: -0.02em; word-break: keep-all; }
.btmv-contact { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.btmv-contact li { display: flex; align-items: center; gap: 11px; font-family: var(--txt); font-size: clamp(15px,1.35vw,17px); color: var(--ink-2,#4A4F58); letter-spacing: -0.02em; }
.btmv-contact li i { width: 20px; font-size: 19px; color: var(--bm-prof); flex: none; }
.btmv-contact li a { color: var(--ink-2,#4A4F58); }
.btmv-contact li a:hover { color: var(--bm-prof); }
.btmv-contact li .lnk { margin-left: 4px; color: var(--bm-prof); }

/* 본문: About / 타임라인 / 칩 / 갤러리 */ 
.btmv-about { margin: 0; font-family: var(--txt); font-size: clamp(15px,1.7vw,20px); font-weight: 400; line-height: 1.75; color: var(--ink-2,#4A4F58); letter-spacing: -0.02em; word-break: keep-all; }
.btmv-tlwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 60px; }
.btmv-block { min-width: 0; }
.btmv-block.full { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--bm-line); }
.btmv-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 26px; padding-bottom: 15px; border-bottom: 2px solid var(--bm-navy); }
.btmv-h .en { font-family: var(--eng,sans-serif); font-size: clamp(19px,2vw,40px); font-weight: 700; color: var(--ink,#111); letter-spacing: -0.01em; }
.btmv-h .kr { font-family: var(--txt); font-size: clamp(14px,2vw,18px); font-weight: 600; color: var(--sub,#8B8D8F); }
.btmv-timeline { position: relative; }
.btmv-timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--bm-line); }
.btmv-timeline li { position: relative; padding: 0 0 24px 30px; }
.btmv-timeline li:last-child { padding-bottom: 0; }
.btmv-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--bm-prof); box-sizing: border-box; }
.btmv-timeline .yr { display: block; font-family: var(--txt,sans-serif); font-size: clamp(15px,1.4vw,17px); font-weight: 700; color: var(--bm-prof); }
.btmv-timeline .tx { display: block; margin-top: 4px; font-family: var(--txt); font-size: clamp(15px,1.4vw,17px); color: var(--ink-2,#4A4F58); line-height: 1.5; letter-spacing: -0.02em; word-break: keep-all; }
.btmv-timeline .tx b { width: 200px; display: block; color: var(--main); }
.btmv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.btmv-chips span { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--bm-prof); font-family: var(--txt); font-size: clamp(14px,1.3vw,16px); font-weight: 600; color: var(--bm-prof); letter-spacing: -0.02em; }
.btmv-gal { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.btmv-gal .git { position: relative; display: block; aspect-ratio: 4/3; border-radius: 16px; background: #eee center/cover no-repeat; overflow: hidden; transition: transform .3s,box-shadow .3s; }
.btmv-gal .git:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31,42,68,.14); }
.btmv-gal .git .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 12px; font-family: var(--txt); font-size: 13px; font-weight: 600; color: #fff; letter-spacing: -0.02em; background: linear-gradient(0deg,rgba(0,0,0,.65),transparent); }
.btmv-foot { display: flex; justify-content: center; margin-top: 56px; }
.btmv-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.btmv-pn a { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border: 1px solid var(--bm-line); border-radius: 16px; transition: border-color .2s,background .2s; }
.btmv-pn a:hover { border-color: var(--bm-navy); background: #fafafb; }
.btmv-pn a.next { text-align: right; }
.btmv-pn .k { font-family: var(--txt); font-size: 13px; font-weight: 600; color: var(--sub,#8B8D8F); }
.btmv-pn .t { font-family: var(--txt); font-size: clamp(16px,1.4vw,18px); font-weight: 700; color: var(--ink,#111); }

/* 논문·발표 */ 
.btmv-pubs { display: flex; flex-direction: column; gap: 18px; }
.btmv-pubs li { display: grid; grid-template-columns: 60px 92px 1fr; gap: 14px; align-items: start; }
.btmv-pubs .yr { font-family: var(--eng,sans-serif); font-size: 15px; font-weight: 700; color: var(--bm-navy); padding-top: 2px; }
.btmv-pubs .bd { display: inline-flex; align-items: center; justify-content: center; padding: 4px 10px; border-radius: 6px; font-family: var(--txt); font-size: 12px; font-weight: 700; white-space: nowrap; height: fit-content; }
.btmv-pubs .bd.j { background: rgba(200,0,95,.10); color: var(--bm-prof); }
.btmv-pubs .bd.c { background: rgba(43,95,158,.10); color: #2B5F9E; }
.btmv-pubs .ti { font-family: var(--txt); font-size: clamp(15px,1.4vw,17px); line-height: 1.55; color: var(--ink-2,#4A4F58); letter-spacing: -0.02em; word-break: keep-all; }
.btmv-pubs .ti a { color: var(--ink-2,#4A4F58); }
.btmv-pubs .ti a:hover { color: var(--bm-prof); }

/* Lab Gallery 슬라이더 */ 
.btmv-slider { position: relative; }
.btmv-slider .bs-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.btmv-slider .bs-track::-webkit-scrollbar { display: none; }
.btmv-slider .bs-item { position: relative; flex: 0 0 clamp(240px,32%,360px); aspect-ratio: 4/3; background: #f2f2f2 center/contain no-repeat; overflow: hidden; scroll-snap-align: start; border-radius: 20px; }
.btmv-slider .bs-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px 12px; font-family: var(--txt); font-size: 13px; font-weight: 600; color: #fff; letter-spacing: -0.02em; background: linear-gradient(0deg,rgba(0,0,0,.65),transparent); }
.btmv-slider .bs-arw { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bm-line); background: #fff; color: var(--bm-navy); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: background .2s,color .2s; }
.btmv-slider .bs-arw:hover { background: var(--bm-prof); color: #fff; border-color: var(--bm-prof); }
.btmv-slider .bs-arw.prev { left: -12px; }
.btmv-slider .bs-arw.next { right: -12px; }

/* 인스타 QR 박스 (히어로 오른쪽 칼럼) */ 
.btmv-qr { display: inline-flex; align-items: center; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--bm-line); border-radius: 16px; background: #fff; text-align: center; margin: 40px; align-self: center; }
.btmv-qr a { display: flex; align-items: center; justify-content: center; flex: none; width: 240px; height: 240px; border-radius: 12px; overflow: hidden; position: relative; }
.btmv-qr img { width: 100%; height: 100%; max-width: 100%; box-sizing: border-box; object-fit: cover; object-position: center 33%; display: block; }
.btmv-qr span { font-family: var(--txt); font-size: 14px; font-weight: 700; color: var(--bm-navy); letter-spacing: -0.02em; line-height: 1.4; }
.btmv-qr span em { display: block; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 500; color: var(--sub,#8B8D8F); }
.btmv-hero.has-qr { grid-template-columns: 1fr 1fr auto; }

/* 관리자 전용 "갤러리 관리" 버튼 / 빈 안내 */ 
.btmv-galbtn { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--bm-line); background: #fff; font-family: var(--txt); font-size: 13px; font-weight: 600; color: var(--bm-navy); letter-spacing: -0.02em; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btmv-galbtn:hover { background: var(--bm-navy); color: #fff; border-color: var(--bm-navy); }
.btmv-galbtn i { font-size: 1.15em; }
.btmv-galbtn em { font-style: normal; font-weight: 500; opacity: .7; }
.btmv-galempty { font-family: var(--txt); font-size: 15px; line-height: 1.6; color: var(--sub,#8B8D8F); letter-spacing: -0.02em; word-break: keep-all; }
.btmv-galempty code { padding: 2px 7px; border-radius: 5px; background: rgba(0,0,0,.05); font-family: var(--eng,monospace); font-size: .92em; color: var(--bm-prof); }
.btmv-galempty em { font-style: normal; color: var(--ink-3,#8B8D8F); font-size: .9em; }

/* ===== [B] 뷰 · 반응형 ===== */ 
	@media (max-width: 1200px) { 
		.btmv-qr { margin:0 20px; padding: 12px; }
		.btmv-qr a { width: 120px; height: 120px; } 
	}

	@media (max-width: 991px) { 
		.btmv-hero { grid-template-columns:1fr; padding: 40px 30px 0; min-height: 0; }
		.btmv-hero { grid-template-columns: 1fr !important; background: #fff; }
		.btmv-meta { /* padding-bottom: 26px; */ display: flex; flex-direction: column; align-items: center; }
		.btmv-photo { /* order: 2; */ margin: auto; background: var(--paper,#f2f2f2); width: 333px; height: 400px; overflow: hidden; border-radius: 30px; margin-top: 15px; } .btmv-photo img {/* position:initial; *//* transform: translate(0); */max-width: 100%;}
		.btmv-tlwrap { grid-template-columns: 1fr; gap: 40px; }
		.btmv-gal { grid-template-columns: repeat(2,1fr); }
		.btmv-pn { grid-template-columns: 1fr; }
		.btmv-pn a.next { text-align: left; }
		.btmv-hero.has-qr { grid-template-columns: 1fr; background: #fff; }
		.btmv-qr { align-self: center; } .btmv-watermark {top: 0;left: 50%;transform: translateX(-50%);font-size: 10vw;}
	}

	@media (max-width: 600px) { 
		.btmv-gal { grid-template-columns: 1fr; }
		.btmv-pubs li { grid-template-columns: 1fr; gap: 4px; }
		.btmv-slider .bs-item { flex-basis: 80%; }
		.btmv-slider .bs-arw { display: none; } 
	} 

	@media (max-width: 564px) { 
		.btmv-photo {width: 270px;height: 320px;} 
		.btmv-hero{padding:0; padding-top:24px;} 
		.btmv-tagline {text-align:center;} .btmv-contact {padding-bottom:16px;} 
	}