/* 法律咨询详情页响应式样式 */

/* 1400px 以上 - 大屏幕 */
@media screen and (min-width: 1400px) {
    .detail__main {
        width: 1200px;
    }
    .detail__left {
        width: 820px;
    }
    .detail__right {
        width: 340px;
    }
}

/* 1260px 以下 - 标准桌面 */
@media screen and (max-width: 1260px) {
    .detail__main {
        width: 95%;
    }
    .detail__left {
        width: 740px;
    }
    .detail__right {
        width: 320px;
    }
    .lawyer__info {
        width: calc(100% - 64px);
    }
}

/* 1024px 以下 - 平板横屏/小屏幕 */
@media screen and (max-width: 1024px) {
    .detail__main {
        width: 96%;
        margin: 0 auto 50px;
    }
    .detail__left {
        width: 66%;
    }
    .detail__right {
        width: 31%;
    }
    .new__answer {
        width: 100%;
        margin-right: 0;
    }
    .answers__con {
        width: calc(100% - 48px);
    }
    .reply__zhuiwen {
        width: 100%;
    }
}

/* 768px 以下 - 平板竖屏/手机端 */
@media screen and (max-width: 768px) {
    .header {
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .detail__main {
        width: 100%;
        margin-top: 60px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .main__inner {
        padding-top: 15px;
    }

    .detail__left, .detail__right {
        width: 100%;
        float: none;
    }

    .detail__right {
        margin-top: 30px;
    }

    /* 面包屑 */
    .crumbs_title {
        padding-bottom: 10px;
        font-size: 13px;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .crumbs_title::-webkit-scrollbar {
        display: none;
    }

    /* 标题与详情 */
    .detail__title {
        font-size: 18px;
        line-height: 1.4;
    }

    .detail__explain {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    
    .detail__explain span {
        float: none !important;
        margin-right: 12px;
        margin-bottom: 5px;
        line-height: 1.6;
    }

    /* 回复列表 */
    .detail__reply-list {
        margin-top: 30px;
    }

    .reply__item {
        padding: 15px 0;
    }

    .lawyer__avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .lawyer__info {
        width: calc(100% - 60px) !important;
        margin-left: 15px !important;
    }

    .lawyer__name {
        font-size: 15px;
    }

    .lawyer__firm {
        margin-top: 10px;
        font-size: 13px;
    }

    .reply__con {
        font-size: 15px;
        line-height: 1.6;
    }

    .reply__btn {
        width: 70px;
        line-height: 22px;
        font-size: 12px;
    }

    /* 追问 */
    .reply__zhuiwen {
        padding: 0 12px;
    }

    /* 相似问题 */
    .new__answer {
        margin-top: 30px;
        padding-top: 15px;
    }

    .answers__con {
        width: 100%;
        padding: 12px;
    }

    .answers__q {
        font-size: 14px;
    }

    /* 右侧边栏 */
    .question__enter {
        padding: 20px;
        background-size: 100% auto;
    }

    .hotlaw__img {
        width: 80px;
        height: 60px;
    }

    .hotlaw__info {
        width: calc(100% - 95px);
        margin-left: 15px;
    }

    .hotlaw__title {
        font-size: 14px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hotlaw__subtitle {
        display: none;
    }
}

/* 480px 以下 - 小屏手机 */
@media screen and (max-width: 480px) {
    .detail__title {
        font-size: 16px;
    }

    .quality__txt {
        display: none;
    }

    .lawyer__info-top {
        display: flex;
        justify-content: space-between;
    }

    .reply__con {
        font-size: 14px;
    }

    .answers__center a {
        font-size: 13px;
    }
    
    .question__enter-btn {
        height: 40px;
        line-height: 40px;
    }
}
