@charset "utf-8";
/**
 * @author https://www.cosmosfarm.com
 * @modified for Research Lab Profile Card - Compact Version
 */

/* 기본 버튼 및 유틸리티 */
a.kboard-thumbnail-button-small,
input.kboard-thumbnail-button-small,
button.kboard-thumbnail-button-small { position: relative; display: inline-block; margin: 0; padding: 0 10px; width: auto; height: 28px; line-height: 28px; font-size: 14px; font-weight: normal; letter-spacing: normal; color: #545861 !important; background: #eaeaea !important; border: none; border-radius: 0; text-decoration: none !important; cursor: pointer; vertical-align: middle; text-shadow: none; box-shadow: none; transition-duration: 0.3s; box-sizing: content-box; }
a.kboard-thumbnail-button-small:hover, button.kboard-thumbnail-button-small:hover { opacity: 0.7; }

.kboard-thumbnail-poweredby { float: left; padding-bottom: 15px; width: 100%; font-size: 14px; }
.kboard-thumbnail-new-notify { display: inline-block; padding: 2px 2px; line-height: 10px; font-size: 10px; color: white; background-color: #f61b5d; font-weight: normal; }

/* 리스트 컨테이너 */
#kboard-thumbnail-list { display: block; margin: 0; width: 100% !important; clear: both; }

#kboard-thumbnail-list .kboard-list-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; width: 100%; }
#kboard-thumbnail-list .kboard-list-header .kboard-total-count { font-size: 14px; }
#kboard-thumbnail-list .kboard-list-header .kboard-sort select { height: 26px; font-size: 13px; color: #666; border: 1px solid #f1f1f1; background: white; }

.kboard-list-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 25px;
    justify-content: flex-start;
    padding: 20px 0;
    background-color: transparent;
    width: 100% !important;
    box-sizing: border-box;
}

/* 개별 카드 디자인 - 세로 길이 축소 */
.kboard-profile-card {
    flex: 0 0 calc(33.333% - 17px) !important;
    min-width: 280px !important;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 30px 25px; /* 상하 패딩 축소 */
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    text-align: center;
    display: block !important;
}

.kboard-profile-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.kboard-profile-card a {
    text-decoration: none !important;
    display: block;
    width: 100%;
}

/* 프로필 이미지 */
.profile-image img {
    width: 130px; /* 크기 살짝 조정 */
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
}

.no-image-placeholder {
    width: 130px;
    height: 130px;
    line-height: 130px;
    border-radius: 50%;
    background: #eee;
    margin: 0 auto 20px auto;
    color: #999;
}

/* 텍스트 정보 스타일 */
.profile-name {
    font-size: 22px; /* 가독성을 위해 살짝 조절 */
    font-weight: 600;
    color: #19335A;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.profile-role {
    font-size: 17px;
    color: #444;
    margin: 0;
    font-weight: 500;
}

.profile-period {
    font-size: 14px;
    color: #888;
    margin: 2px 0 0 0;
}

.profile-divider {
    width: 100%;
    height: 1px;
    background-color: #f0f0f0;
    margin: 15px 0; /* 간격 축소 */
}

/* 카드 바디 - 정보 밀집도 향상 */
.profile-body {
    text-align: left;
    word-break: keep-all;
}

.info-item {
    margin-bottom: 10px; /* 항목 간 간격 축소 */
}

.info-item strong {
    display: block;
    font-size: 14px; /* 제목 폰트 살짝 축소 */
    color: #333;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item p {
    font-size: 14px; /* 내용 폰트 살짝 축소 */
    color: #666;
    line-height: 1.4; /* 줄 간격 대폭 축소 */
    margin: 0;
    display: block;
}


/* 하단 검색 및 버튼 */
.kboard-pagination { float: left; padding: 15px 0; width: 100%; text-align: center; }
.kboard-pagination .kboard-pagination-pages { list-style: none; padding: 0; display: inline-block; }
.kboard-pagination .kboard-pagination-pages li { display: inline-block; margin: 0 2px; }
.kboard-pagination .kboard-pagination-pages li a { padding: 5px 10px; background: #f9f9f9; color: #999; text-decoration: none; }
.kboard-pagination .kboard-pagination-pages li.active a { background: #eaeaea; color: #545861; font-weight: bold; }

.kboard-search { float: left; padding: 20px 0; width: 100%; text-align: center; }
.kboard-control { float: left; padding-bottom: 15px; width: 100%; text-align: right; }

/* 반응형 */
@media screen and (max-width: 1100px) {
    .kboard-profile-card { flex: 0 0 calc(50% - 13px) !important; }
}

@media screen and (max-width: 680px) {
    .kboard-profile-card { 
        flex: 0 0 100% !important; 
        min-width: 100% !important;
        padding: 25px 20px;
    }
    .kboard-list-container { justify-content: center; }
}