@charset "UTF-8";
/* =========================================================
   Template: page-professor.php
   Scope: 교수 목록 카드/그리드 스타일
   ========================================================= */

.ee-prof-list .card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;display:flex;gap:30px;padding:16px;margin:0;background:#fff;align-items:stretch}
.ee-prof-list .thumb{flex:0 0 auto;width:150px;height:170px;border-radius:12px;overflow:hidden}
.ee-prof-list .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ee-prof-list .name{font-size:18px;font-weight:700;margin:0}
.ee-prof-list .role{margin-left:8px;font-weight:600;color:#374151}
.ee-prof-list .meta{margin-top:0;color:#374151;font-size:14px}




/* dt/dd를 이미지 높이에 맞춰 분배 */
.ee-prof-list .body{display:flex;align-items:stretch;flex:1}
.ee-prof-list .meta dl{display:flex;flex-direction:column;justify-content:space-between;min-height:170px;margin:0}
.ee-prof-list .meta dt{margin:0 0 8px;font-weight:700}
.ee-prof-list .meta dd{margin:0}
.ee-prof-list .meta br{display:none}
.ee-prof-list .meta dt a{ text-decoration:none; color:inherit; }

/* 아이콘: 연구실/메일/홈페이지/전화 */
.ee-prof-list .meta dd{position:relative;padding-left:26px}
.ee-prof-list .meta dd::before{content:"";position:absolute;left:0;top:2px;width:18px;height:18px;opacity:.9;background-repeat:no-repeat;background-position:center;background-size:contain}
/* 연구실 (플라스크 유사) */
.ee-prof-list .meta dd.lab::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23374151' d='M9 2h6v2h-1v5.5l4.5 7.8A2 2 0 0 1 16.8 20H7.2a2 2 0 0 1-1.7-2.7L10 9.5V4H9zM11 4v6L6.8 18h10.4L13 10V4h-2z'/></svg>")}
/* 메일 (봉투) */
.ee-prof-list .meta dd.email::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='2' y='5' width='20' height='14' rx='2' fill='%23374151'/><path d='M3 6l9 7 9-7' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/></svg>")}
/* 홈페이지 (집) */
.ee-prof-list .meta dd.home::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 10l9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V10z' fill='%23374151'/><rect x='9' y='14' width='6' height='6' fill='%23ffffff'/></svg>")}
/* 전화 (수화기) */
.ee-prof-list .meta dd.tel::before{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23374151' d='M6 2l4 3-2 3c1 2 3 4 5 5l3-2 3 4-2 3c-6 2-14-6-12-12z'/></svg>")}

/* 2열 그리드 레이아웃 */
.ee-prof-list .profile_list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0}
.ee-prof-list .profile_list > li{list-style:none;margin:0}
@media (max-width: 768px){
  .ee-prof-list .profile_list{grid-template-columns:1fr}
}
