.lawyer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.lawyer-card {
    position: relative;
    width: calc(33.33% - 14px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lawyer-card .card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.lawyer-avatar {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.lawyer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lawyer-info {
    padding: 15px;
    text-align: center;
}

.lawyer-name {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.lawyer-detail {
    display: flex;
    gap: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.08); */
}

.lawyer-detail .left {
    padding-right: 30px;
    flex: 0 0 300px;
    text-align: center;
    border-right: 1px solid #f1f1f1;
}

.detail-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-info {
    flex: 1;
}

.detail-name {
    font-size: 28px;
    color: #2c3e50;
    margin: 20px 0;
    font-weight: 600;
}

.detail-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.detail-meta {
    margin-bottom: 15px;
}

.detail-meta-item {
    font-size: 15px;
    color: #666;
    margin: 10px 0;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.meta-label {
    width: 80px;
    color: #333;
    font-weight: bold;
}

.detail-info-box {
    margin-bottom: 30px;
}

.box-title {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .lawyer-detail {
        flex-direction: column;
        padding: 20px;
    }

    .lawyer-detail .left {
        flex: none;
        width: 100%;
    }

    .detail-photo {
        height: 300px;
    }

    .detail-name {
        font-size: 24px;
    }
}
