/* 律师详情页响应式样式 */

.tab-content.hide {
    display: none !important;
}

/* 1400px 以上 - 大屏幕 */
@media screen and (min-width: 1400px) {
    .main__container {
        width: 1200px;
    }
    .warp__left {
        width: 820px;
    }
    .warp__right {
        width: 340px;
    }
    .left__nav {
        width: 820px;
    }
    .pie__place {
        width: 410px;
    }
    .pank__place {
        width: 410px;
    }
    .right__statistics,
    .right__achievement,
    .right__intro {
        width: 340px;
    }
}

/* 1260px 以下 - 标准桌面 */
@media screen and (max-width: 1260px) {
    .main__container {
        width: 95%;
    }
    .main__warp {
        width: 95%;
    }
    .warp__left {
        width: calc(100% - 360px);
    }
    .warp__right {
        width: 320px;
    }
    .pie__place {
        width: 48%;
    }
    .pank__place {
        width: 48%;
    }
    .right__statistics,
    .right__achievement,
    .right__intro {
        width: 100%;
    }
}

/* 1024px 以下 - 平板横屏/小屏幕 */
@media screen and (max-width: 1024px) {
    .main__banner {
        height: 120px;
    }
    
    .lawyer__avatar {
        width: 160px;
        height: 160px;
        top: -60px;
    }
    
    .lawyer__avatar img {
        width: 154px;
        height: 154px;
    }
    
    .lawyer__info {
        margin-left: 180px;
    }
    
    .lawyer__name {
        font-size: 24px;
    }
    
    .lawyer__address {
        font-size: 16px;
    }
    
    .lawyer__handle {
        margin-top: 60px;
    }
    
    .handle__common {
        width: 120px;
        line-height: 36px;
        font-size: 14px;
    }
    
    .main__warp {
        width: 96%;
        margin: 50px auto;
    }
    
    .warp__left {
        width: 65%;
        padding: 0 20px;
    }
    
    .warp__right {
        width: 32%;
    }
    
    .left__nav li {
        margin-right: 40px;
    }
    
    .left__nav li a {
        line-height: 60px;
    }
    
    .pie__box {
        margin-bottom: 30px;
    }
    
    #lawyerpie {
        width: 100%;
        height: 300px;
    }
    
    .pie__title {
        bottom: 20px;
    }
    
    .top__three .three__item {
        margin: 0 10px;
    }
    
    .top__other_l {
        width: 48%;
    }
}

/* 768px 以下 - 平板竖屏/手机端 */
@media screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .main__warp {
        display: flex; 
        flex-direction: column;
    }
    
    .main__banner {
        height: 80px;
    }
    
    .main__lawyer_info {
        height: auto;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .main__container {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    .lawyer__avatar {
        position: static;
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
    }
    
    .lawyer__avatar img {
        width: 114px;
        height: 114px;
    }
    
    .lawyer__info {
        margin-left: 0;
        text-align: center;
    }
    
    .lawyer__name {
        font-size: 20px;
    }
    
    .lawyer__address {
        font-size: 14px;
        margin-left: 10px;
    }
    
    .lawyer__info-p2,
    .lawyer__info-p3 {
        margin-top: 10px;
    }
    
    .lawyer__good {
        margin: 5px;
    }
    
    .lawyer__handle {
        float: none;
        margin-top: 20px;
        text-align: center;
    }
    
    .handle__common {
        width: 100px;
        line-height: 32px;
        font-size: 13px;
    }
    
    .main__warp {
        width: 95%;
    }
    
    .warp__left,
    .warp__right {
        width: 100%;
        float: none;
        box-sizing: border-box;
        margin-top: 20px;
    }

    .left__nav {
        width: 100%;
        margin-bottom: 20px;
        padding: 5px 0 0;
    }
    
    .left__nav li {
        margin-right: 20px;
    }
    
    .left__nav li a {
        line-height: 50px;
        font-size: 14px;
    }
    
    .pie__box {
        margin-bottom: 20px;
    }
    
    .pie__place,
    .pank__place {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    #lawyerpie {
        width: 100%;
        height: 250px;
    }
    
    .pie__title {
        bottom: 15px;
        width: 100px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }
    
    .pank__title {
        font-size: 14px;
    }
    
    .top__three {
        margin-top: 20px;
    }
    
    .top__three .three__item {
        width: 70px;
        margin: 0 8px;
    }
    
    .three__icon {
        width: 50px;
        height: 50px;
    }
    
    .three__icon img {
        width: 50px;
        height: 50px;
    }
    
    .three__item .three__title span {
        font-size: 14px;
        max-width: 50px;
    }
    
    .three__item .three__number {
        font-size: 14px;
    }
    
    .top__other {
        margin-top: 20px;
    }
    
    .top__other_l {
        width: 100%;
        float: none;
        border-right: none;
        border-bottom: #D3D9E0 dashed 1px;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .top__other_l:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .answer__li {
        padding: 15px 0;
    }
    
    .answer__li-title {
        font-size: 14px;
    }
    
    .lawyerinfo__avatar img {
        width: 40px;
        height: 40px;
    }
    
    .intro__top-name {
        font-size: 14px;
    }
    
    .answer__li-reply {
        font-size: 13px;
    }
}

/* 480px 以下 - 小屏手机 */
@media screen and (max-width: 480px) {
    .lawyer__name {
        font-size: 18px;
    }
    
    .lawyer__address {
        display: block;
        margin: 5px 0 0 0;
    }
    
    .lawyer__good {
        width: 70px;
        font-size: 12px;
        line-height: 26px;
    }
    
    .handle__common {
        width: 90px;
        font-size: 12px;
    }
    
    .left__nav li {
        margin-right: 15px;
    }
    
    .left__nav li a {
        font-size: 13px;
    }
    
    .three__item .three__title span {
        font-size: 12px;
    }
    
    .answer__li-lawyerinfo {
        margin: 8px 0;
    }
    
    .answer__li-reply {
        font-size: 12px;
    }
}
