.main {
    margin-bottom: 50px;
}

body {
    background-color: #f6f6f6;
}
/* 测评基本信息 */
.baseInfo {
    padding: 10px 15px 24px;
    background-color: #fff;
    margin-bottom: 10px;
}

    .baseInfo h2 {
        text-align: center;
        font-size: 18px;
        color: #000;
        font-weight: bold;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 设置最大显示行数 */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .baseInfo p {
        text-align: center;
        margin-top: 10px;
        font-size: 12px;
        color: #999;
    }

    .baseInfo ul {
        padding: 0 22px;
        margin-top: 24px;
        font-size: 12px;
        color: #999;
        display: flex;
        justify-content: space-between;
    }
/* 卡片盒子 */
.cardBox {
    background-color: #fff;
    padding: 25px 15px 25px;
}

    .cardBox h3 {
        text-align: center;
        position: relative;
        font-size: 16px;
        color: #333;
        font-weight: bold;
        padding-bottom: 10px;
    }

        .cardBox h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 34px;
            height: 3px;
            background-color: #ddd;
            border-radius: 2px;
        }

.richTextBox {
    margin-top: 29px;
}

.tagBox {
    margin-top: 18px;
}

    .tagBox span {
        display: inline-block;
        height: 32px;
        line-height: 32px;
        padding: 0 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        color: #333;
        font-size: 14px;
        margin-right: 12px;
    }

.grayCard {
    margin-top: 18px;
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 27px 25px 20px;
}

    .grayCard h3 {
        color: #666;
    }

.descText {
    margin-top: 8px;
}

.grayCard p {
    line-height: 1.8;
    font-size: 14px;
    color: #666;
}
/* 心理测试推荐 */
.recommendList {
    margin-top: 16px;
}

    .recommendList li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 10px;
    }

    .recommendList img {
        object-fit: cover;
    }

.recommendText {
    width: calc(100% - 100px);
    position:relative;
}

    .recommendText h4 {
        font-size: 16px;
        color: #333;
        margin-bottom: 8px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* 设置最大显示行数 */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        line-height:19px;
    }

    .recommendText p, .recommendText span, .recommendImage span {
        font-size: 12px;
        color: #999;
    }

    .recommendText p {
        padding-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1; /* 设置最大显示行数 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 19px;
    }

    .recommendText span {
        margin-right: 6px;
        margin-top:0;
        display: inline-block;
        padding: 3px 6px;
        border-radius: 4px;
        border: 1px solid #ddd;
        position:absolute;
        left:0;
        bottom:0px;
    }

.recommendImage {
    width: 90px;
}

    .recommendImage img {
        width: 90px;
        height: 90px;
        border-radius: 5px;
    }

    .recommendImage span {
        margin-top: 6px;
    }
/* 底部按钮 */
.fixedButton {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .fixedButton a {
        width: 100%;
        height: 100%;
        font-size: 16px;
        color: #333;
        background-image: url(../image/buttonBg-2x.png);
        background-repeat: 0;
        background-size: cover;
        background-position: right;
        display: flex;
        justify-content: center;
        align-items: center;
    }

@media only screen and (min-width: 1000px) {
    .fixedButton {
        width: 550px;
    }
}
