/* 法律资讯详情页响应式样式 */

/* 1400px 以上 - 大屏幕 */
@media screen and (min-width: 1400px) {
    .inner {
        width: 1200px;
    }
    .right__inner {
        width: 340px;
    }
    .suggest__article, .hot__article, .answers__list {
        width: 340px;
    }
    .lawyer__card {
        width: 820px;
    }
}

/* 1260px 以下 - 标准桌面 */
@media screen and (max-width: 1260px) {
    .inner {
        width: 95%;
    }
    .right__inner {
        width: 300px;
    }
    .suggest__article, .hot__article, .answers__list {
        width: 300px;
    }
    .lawyer__card {
        width: 100%;
    }
    .lawyer__con {
        width: calc(100% - 180px);
    }
}

/* 1024px 以下 - 平板横屏/小屏幕 */
@media screen and (max-width: 1024px) {
    .inner {
        width: 96%;
        margin-bottom: 50px;
    }
    .right__inner {
        width: fit-content;
    }
    .suggest__article, .hot__article, .answers__list {
        width: 100%;
    }
    .article__title {
        font-size: 28px;
        line-height: 1.4;
    }
    .main-content-wrapper {
        flex-direction: column;
    }
}

/* 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);
    }

    .inner {
        width: 100%;
        margin-top: 60px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .left__inner, .right__inner {
        width: 100%;
        float: none;
    }

    .right__inner {
        margin-top: 30px;
    }

    .left__inner-top {
        margin: 15px 0;
        white-space: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    .left__inner-top::-webkit-scrollbar {
        display: none;
    }

    .article__title {
        font-size: 22px;
        line-height: 1.3;
        margin-top: 15px;
    }

    .article__date {
        margin-top: 20px;
        font-size: 14px;
    }

    .article__author {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 15px;
        gap: 8px;
    }

    .article__author .line {
        display: none;
    }

    .article__author img {
        margin-right: 0;
    }

    .article__author .name {
        margin-right: 0;
    }

    .article__subtitle {
        margin-top: 20px;
        font-size: 15px;
        padding: 15px;
        background: #f9f9f9;
        line-height: 1.6;
    }

    .article__txt {
        margin-top: 20px;
    }

    .article__txt p {
        font-size: 16px;
        line-height: 1.8;
    }

    .lawyer__card {
        height: auto;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 25px;
    }

    .lawyer__con {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }

    .lawyer__btn {
        margin-top: 15px;
        float: none !important;
    }

    .lawyer__pro {
        white-space: normal;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.5;
        margin-top: 10px;
    }

    .suggest__article, .hot__article {
        width: 100%;
    }
}

/* 480px 以下 - 小屏手机 */
@media screen and (max-width: 480px) {
    .article__title {
        font-size: 18px;
    }

    .article__author {
        font-size: 12px;
    }

    .article__author img {
        width: 24px;
        height: 24px;
    }

    .article__txt p {
        font-size: 15px;
    }

    .suggest__item-title {
        font-size: 13px;
    }
}
