/* 전체 컨테이너 (그리드 레이아웃) */
.lml-grid-container {
    display: grid;
    /* 최소 300px, 화면 폭에 맞춰 1~3단 자동 조절 */
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 20px;
    margin: 20px 0;
    font-family: inherit;
    font-size: 1rem;
}

/* 개별 연구원 카드 */
.lml-card {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding-top: 1em;
    border-top: 1px solid #f2f4f7;
    /* border-radius: 12px; */
    background-color: #fff;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.03); */
    transition: transform 0.2s, box-shadow 0.2s;
}

/* 왼쪽: 프로필 이미지 (원형 + 흑백) */
.lml-avatar-wrap {
    flex-shrink: 0; /* 크기 축소 방지 */
}

.lml-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* 원형 프레임 */
    object-fit: cover; /* 비율 유지하며 꽉 채우기 */
    filter: grayscale(100%) contrast(1.05); /* 흑백 필터 */
    display: block;
    border: 1px solid #f2f4f7;
}

/* 오른쪽: 텍스트 정보 */
.lml-info-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lml-name {
    margin: 0 0 5px 0;
    font-size: 1.25em;
    font-weight: 400;
    color: #333;
    line-height: 1.2;
}

/* 과정명 색상 처리 */
.lml-course {
    /* font-size: 0.85em; */
    /* font-weight: 800; */
    margin-bottom: 8px;
}

.course-default { color: #666; }
/* 노란색 (가독성을 위해 약간 진한 Goldenrod 색상 사용) */
.course-master { color: #DAA520; } 
/* 하늘색 */
.course-phd { color: #5BC0EB; }

/* 활동 목록 */
.lml-activities {
    /* font-size: 0.85em; */
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* 외부 링크 */
.lml-link {
    text-decoration: none;
    display: inline-block;
}

.lml-link:hover {
    text-decoration: underline;
}

/* 모바일 대응 (아주 작은 화면) */
@media (max-width: 400px) {
    .lml-grid-container {
        grid-template-columns: 1fr;
    }

    .lml-card {
        flex-direction: column;
    }

    /*.lml-activities {
        font-size: 0.875em;
    }*/
}

