.solicitor-content-box {
    display: flex;
    flex-flow: wrap;
    margin-bottom: 60px;
}

.solicitor {
    width: 278px;
    height: 515px;
    border-radius: 4px;
    border: 0.5px solid #e4e4e4ff;
    background: #ffffffff;
    margin-top: 24px;
    margin-right: 24px;
}

.solicitor:nth-child(4n) {
    margin-right: 0;
}

.solicitor-avatar {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solicitor-avatar a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solicitor-avatar img {
    max-width: 100%;
    max-height: 100%;
}

.solicitor-detail {
    padding: 12px 12px 0;
}

.solicitor-title-box {
    display: flex;
}

.solicitor-title {
    color: #000000db;
    font-size: 18px;
    font-weight: 500;
    font-family: "Source Han Sans CN";
    margin-right: 14px;
}

.solicitor-title a {
    color: #000000db;
}

.solicitor-popular {
    display: flex;
    align-items: center;
}

.solicitor-popular img {
    width: 11px;
    margin-right: 7px;
}

.solicitor-popular span {
    margin-right: 7px;
    color: #e43939ff;
    font-size: 13px;
    font-weight: 400;
    font-family: "Source Han Sans CN";
}

.solicitor-intro {
    margin-top: 5px;
    margin-bottom: 6px;
    color: #0000004d;
    font-size: 12px;
    font-weight: 400;
    font-family: "Source Han Sans CN";
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.solicitor-info-item {
    margin: 6px 0;
    color: #00000099;
    font-size: 13px;
    font-weight: 400;
    font-family: "Source Han Sans CN";
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}

.solicitor-message {
    width: 100%;
    margin-top: 17px;
    border-radius: 4px;
    opacity: 1;
    border: 1px solid #063c92ff;
    color: #063c92ff;
    font-size: 12px;
    font-weight: 400;
    font-family: "Source Han Sans CN";
    text-align: center;
}

.solicitor-message a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 5px 0;
}

@media (min-width: 1001px) and (max-width: 1300px) {
    .solicitor {
        margin-right: calc((100% - 280px * 3) / 2) !important;
    }

    .solicitor:nth-child(3n) {
        margin-right: 0 !important;
    }
}

@media (min-width: 685px) and (max-width: 1000px) {

    .solicitor {
        width: calc(50% - 14px) !important;
    }

    .solicitor:nth-child(2n) {
        margin-right: 0 !important;
    }

    .solicitor-avatar {
        width: 100% !important;
    }
}

@media (max-width: 684px) {
    .solicitor {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .solicitor-avatar {
        width: 100% !important;
    }
}
