/* ===========================================
   전문가 소개 - 이미지 크기 축소
   =========================================== */

/* 전문가 사진 크기 축소 */
.expert-photo {
    width: 85% !important;  /* 100%에서 85%로 축소 */
    max-width: 400px !important;  /* 최대 크기 제한 */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;  /* 가운데 정렬 */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 호버 효과 유지 */
.expert-profile:hover .expert-photo {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 전문가 그리드 이미지도 축소 */
.experts-image {
    width: 85% !important;
    max-width: 400px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 아바타 크기도 약간 축소 */
.expert-avatar {
    width: 100px !important;  /* 120px에서 100px로 */
    height: 100px !important;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem !important;  /* 2rem에서 1.8rem로 */
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* 모바일에서는 더 작게 */
@media (max-width: 768px) {
    .expert-photo,
    .experts-image {
        width: 90% !important;
        max-width: 300px !important;
    }
    
    .expert-avatar {
        width: 80px !important;
        height: 80px !important;
        font-size: 1.5rem !important;
    }
}
