.hero__container {
    position: relative;
    width: 100%;
    height: 4rem;
    background-image: url(../images/hero-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero__title {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 0.38rem;
    color: #ffffff;
    text-align: center;
    margin-top: 0.86rem;
}

.hero__searchWarp {
    position: relative;
    width: 6.58rem;
    height: 1.04rem;
    margin-top: 0.44rem;
    margin-bottom: 0.46rem;
}

/* .hero__inputWarp {
    flex: 1;
    display: flex;
    height: 100%;
    background: #ffffff;
    border-radius: 0.52rem;
    z-index: 10;
} */

.hero__searchInput {
    position: relative;
    width: 100%;
    height: 100%;
    font-weight: 400;
    font-size: 0.28rem;
    border: none;
    outline: none;
    padding: 0.38rem 2.46rem 0.38rem 0.54rem;

    background: #ffffff;
    border-radius: 0.52rem;
    z-index: 10;

    border-bottom: 1px solid #1472ff;
}

.hero__searchInput::placeholder {
    color: #7d7d7d;
}

.hero__searchBtn {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.36rem;
    height: 1.04rem;
    background: #ff6b6b;
    border-radius: 0.52rem;
    font-weight: 400;
    font-size: 0.3rem;
    color: #ffffff;
    line-height: 0.09rem;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.hero__searchBtn:hover {
    background: #ff4f4f;
}

/* search css -------------- start */
.suggest-box {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 0.12rem 0.12rem;
    list-style: none;
    padding-top: 0.52rem;
    margin: 0;
    display: none;
    /* max-height: 200px; */
    overflow-y: auto;
    z-index: 9;
}

.suggest-box li {
    padding: 0.2rem 0.18rem;
    cursor: pointer;
    font-weight: 400;
    font-size: 0.20rem;
    color: #000000;
    display: flex;
    align-items: center;
}

.suggest-box li:hover {
    background: #f5f5f5;
}

.suggest-index {
    width: 0.25rem;
    height: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.18rem;
    background: #D2DFF5;
    color: #ffffff;
}

/* search css -------------- end */


.hero__desc {
    width: 5.31rem;
    height: 0.98rem;
    font-weight: 400;
    font-size: 0.26rem;
    color: #bedcfe;
}

.hero__analysis {
    position: absolute;
    top: 4.6rem;
    width: 6.9rem;
    height: 2.65rem;
    background: #ffffff;
    box-shadow: 0rem 2px 4px 0rem rgba(137, 166, 222, 0.25);
    border-radius: 0.25rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 0.46rem;
    column-gap: 0.5rem;
    padding: 0.37rem 0.5rem;
}

.hero__analysis--item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__analysis--number {
    font-family: PingFang SC;
    font-weight: 800;
    font-size: 0.38rem;
    line-height: 0.21rem;
}

.hero__analysis--label {
    font-weight: 400;
    font-size: 0.2rem;
    color: #636363;
    margin-top: 0.28rem;
    line-height: 0.09rem;
}

.hero__analysis--blue {
    color: #0073fe;
}

.hero__analysis--purple {
    color: #815ffe;
}

.hero__analysis--yellow {
    color: #ff9f00;
}

.recommend__title {
    margin-top: 0.7rem;
    margin-bottom: 0.32rem;
}

.test__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.test__category {
    width: 6.9rem;
    display: flex;
    flex-direction: column;
    margin-top: 0.62rem;
}

.verticalBar {
    width: 0.09rem;
    height: 0.37rem;
    background: #1472ff;
    border-radius: 0.04rem;
}

.test__more {
    display: block;
    position: absolute;
    right: 0.4rem;
    font-weight: 400;
    font-size: 0.24rem;
    color: #6e747e;
    /* line-height: 0.09rem; */
}

.test__list {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0.18rem;

    margin-top: 0.33rem;
}

.test__itemWrap {
    width: 3.36rem;
    height: 3.06rem;
    background: #ffffff;
    box-shadow: 0rem 2px 4px 0rem rgba(109, 126, 161, 0.1);
    border-radius: 0.08rem;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.test__itemImg {
    width: 100%;
    height: 1.76rem;
    border-radius: 0.08rem 0.08rem 0rem 0rem;
    overflow: hidden;
}

.test__itemImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test__itemInfo {
    flex: 1;
}

.test__itemTitle {
    font-weight: 400;
    font-size: 0.24rem;
    color: #333333;
    line-height: 0.09rem;

    margin-left: 0.14rem;
    margin-top: 0.22rem;
}

.test__itemTextWrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0.39rem;
    margin-left: 0.14rem;
    gap: 0.16rem;
}

.test__itemText {
    font-weight: 400;
    font-size: 0.22rem;
    color: #666666;
}

.test__itemBtn {
    position: absolute;
    top: 0.02rem;
    right: 0.21rem;

    /* height: 0.14rem; */
    color: #1472ff;
}

.test__itemBtn svg {
    width: 0.28rem;
    color: #1472ff;
}

.test__itemBtn .btn {
    display: none;
    transition: var(--default-transition);
}

.test__itemBtn .btn:hover {
    opacity: 0.8;
}

.allTest__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 6.9rem;
    margin: 0 auto;
}

.allTest__header {
    margin-top: 0.61rem;
    width: 100%;
}

.allTest__list {
    width: 100%;
    margin-top: 0.61rem;

    display: flex;
    flex-direction: column;
}

.allTest__item {
    display: flex;
    align-items: center;

    padding-left: 0.19rem;
    padding-right: 0.3rem;
    padding-bottom: 0.29rem;
    margin-bottom: 0.29rem;
    border-bottom: 0.02rem solid #dee2eb;
}

.allTest__itemIcon {
    width: 0.15rem;
    height: 0.2rem;
}

.allTest__itemName {
    margin-left: 0.15rem;
    font-weight: 400;
    font-size: 0.28rem;
    color: #010101;
}

.allTest__itemCount {
    margin-left: auto;
    font-weight: 400;
    font-size: 0.22rem;
    color: #666666;
}

/* PC 端样式（>750px 时） */
@media screen and (min-width: 750px) {
    .hero__container {
        height: 3rem;
    }

    .hero__title {
        margin-top: 0.7rem;
        font-weight: bold;
        font-size: 0.38rem;
        color: #ffffff;
    }

    .hero__searchWarp {
        width: 10.78rem;
        height: 0.56rem;
        border-radius: 0.28rem;
        margin-top: 0.34rem;
        margin-bottom: 0.28rem;
    }

    .hero__searchInput {
        padding: 0.2rem 2.46rem 0.2rem 0.39rem;
        font-weight: 400;
        font-size: 0.16rem;
        line-height: 0.09rem;
    }

    .hero__searchBtn {
        width: 2.36rem;
        height: 0.56rem;
        background: #ff6b6b;
        border-radius: 0.28rem;

        font-weight: 400;
        font-size: 0.18rem;
        color: #ffffff;
        line-height: 0.09rem;
    }

    .suggest-box {
        padding-top: 0.28rem;
    }

    .suggest-box li {
        font-size: 0.16rem;
    }

    .suggest-index {
        width: 0.2rem;
        height: 100%;
        margin-right: 0.12rem;
    }

    .hero__desc {
        width: 9.65rem;
        height: 0.16rem;
        text-align: center;
        font-weight: 400;
        font-size: 0.16rem;
        color: #bedcfe;
    }

    .hero__analysis {
        top: 3.8rem;
        width: 15rem;
        height: 1.5rem;
        background: #ffffff;
        box-shadow: 0rem 0rem 0rem 0rem rgba(137, 166, 222, 0.25);
        border-radius: 0.25rem;

        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 0.47rem 0.82rem 0.39rem;
    }

    .hero__analysis--number {
        font-size: 0.34rem;
    }

    .hero__analysis--label {
        font-size: 0.14rem;
    }

    .test__container {
        display: flex;
        flex-direction: row;
        align-items: start;
    }

    .test__category {
        flex: 1;
    }

    .verticalBar {
        width: 0.07rem;
        height: 0.3rem;
    }

    .test__more {
        font-size: 0.16rem;
    }

    .test__list {
        margin-top: 0.3rem;
        gap: 0.2rem;
    }

    .test__itemWrap {
        width: 3.6rem;
        height: 3.28rem;
    }

    .test__itemImg {
        height: 1.9rem;
    }

    .test__itemTitle {
        font-weight: 400;
        font-size: 0.18rem;
        color: #333333;

        margin-top: 0.29rem;
        margin-left: 0.28rem;
    }

    .test__itemTextWrap {
        margin-top: 0.47rem;
        margin-left: 0.28rem;
        gap: 0.19rem;
    }

    .test__itemText {
        font-size: 0.14rem;
    }

    .test__itemBtn {
        top: auto;
    }

    .test__itemBtn svg {
        display: none;
    }

    .test__itemBtn .btn {
        display: block;
        font-weight: 400;
        font-size: 0.16rem;
        color: #ffffff;
        background-color: #1472ff;
        padding: 0.06rem 0.1rem;
        border-radius: 0.04rem;
    }

    .test__ranking {
        width: 3.6rem;
    }

    .allTest__header {
        margin-top: 0.52rem;
    }

    .allTest__list {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 0.41rem;
    }

    .allTest__item {
        width: 4.7rem;
        display: flex;
        align-items: center;

        padding-left: 0.09rem;
        padding-right: 0.2rem;
        padding-bottom: 0.19rem;
        margin-bottom: 0.19rem;
    }

    .allTest__itemIcon {
        width: 0.05rem;
        height: 0.1rem;
    }

    .allTest__itemName {
        font-size: 0.16rem;
        margin-left: 0.05rem;
    }

    .allTest__itemCount {
        margin-left: auto;
        font-weight: 400;
        font-size: 0.14rem;
        color: #666666;
    }
}