@import "./common.css";
@import "./style.css";

.block {
    padding: 1.1rem var(--content-padding) 1.2rem;
    background: #fff;
}

.block .in {
    width: var(--content-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.block .in > .title {
    max-width: 12rem;
    margin: 0 auto .18rem;
}

.block .in > .sub-title {
    max-width: 10rem;
    position: relative;
}

.trust .in .pager {
    width: 40px;
    cursor: pointer;
    display: none;
    position: absolute;
    top: 50%; transform: translateY(-50%);
    right: 60px;
}

.trust .in .pager.next-page {
    right: 0;
}

.trust .items {
    margin-top: .6rem;
}

.trust .item {
    width: 4.46rem;
    background: var(--bg-gray-lighter);
    border-radius: 14px;
    overflow: hidden;
}

.trust .item .icon {
    width: 100%;
}

.trust .item .texts {
    width: 100%;
    height: 1.96rem;
    border: 1px solid var(--border-color-little);
    border-radius: 14px;
    background: #fff;
}

.trust .item .texts .name {
    line-height: .64rem;
    font-weight: bolder;
    font-size: .24rem;
}

.trust .item .texts .desc {
    padding: 0 .26rem;
    line-height: 1.5;
    font-size: .16rem;
    color: var(--text-color-secondary);
    font-weight: lighter;
    white-space: normal;
    position: relative;
}

.process {
    padding: .1rem var(--content-padding) 1.3rem;
}

.process .content {
    margin-top: .6rem;
    flex-wrap: wrap;
    gap: .7rem .96rem;
    text-align: left;
}

.process .legend {
    width: 7rem;
}

.process .legend img {
    width: 100%;
    object-fit: cover;
}

.process .text {
    width: 5.9rem;
}

.process .text .title {
    font-size: .28rem;
    font-weight: bolder;
    padding-bottom: .24rem;
    border-bottom: 1px solid var(--border-color-light);
    position: relative;
}

.process .text .title::after {
    content: "";
    width: .26rem;
    height: 2px;
    background: var(--theme);
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: -1px;
}

.process .text .sub-title {
    margin-top: .26rem;
    color: var(--text-color-secondary);
    font-size: .16rem;
    line-height: 1.5;
    font-weight: lighter;
}

.process .separator {
    width: 100%;
    height: 0;
    border-bottom: 1px dashed var(--border-color-light);
}

.manage {
    padding: .1rem var(--content-padding) 0;
}

.manage .content {
    margin-top: .6rem;
    padding-bottom: .4rem;
}

.manage .item {
    width: 6.8rem;
}

.manage .item .icon {
    width: 100%;
    margin-bottom: .26rem;
}

.manage .item .desc {
    font-size: .24rem;
}


@media (max-width: 960px) {
    .trust .item .texts{
        height: 2.3rem;
    }

    .trust .item .texts .desc {
        font-size: 10px;
    }

    .process .text .sub-title {
        font-size: 10px;
    }
}


@media (max-width: 768px) {
    .block .in > .title {
        max-width: 100%;
        margin-bottom: 14px;
    }

    .trust .in .pager {
        display: block;
    }

    .trust .items {
        display: table-caption;
        white-space: nowrap;
        overflow: hidden;
        transition: transform 1s ease-in-out;
    }

    .trust .item {
        display: inline-block;
        width: 290px;
    }

    .trust .item:not(:last-child) {
        margin-right: 15px;
    }

    .trust .item .icon {
        height: 182px;
        object-fit: cover;
    }

    .trust .item .texts {
        height: 144px;
    }

    .trust .item .texts .name {
        font-size: 16px;
        line-height: 50px;
    }

    .trust .item .texts .desc {
        font-size: 12px;
    }

    .trust .sub-title {
        padding-right: 120px;
        max-width: 100%;
        width: 100%;
    }

    .process .content {
        justify-content: space-between;
        gap: 20px 0;
    }

    .process .legend {
        width: 50%;
    }

    .process .text {
        width: 44%;
    }

    .process .text .title {
        font-size: 13px;
    }

    .manage .content {
        flex-wrap: wrap;
    }

    .manage .item {
        width: 48%;
    }

    .manage .item .desc {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .trust .item .texts .desc {
        font-weight: normal;
    }

    .process .content {
        flex-direction: column;
    }

    .process .text .sub-title {
        font-weight: normal;
    }

    .process .legend,.process .text {
        width: 100%;
    }

    .process .text .title {
        font-size: 16px;
        padding-bottom: 16px;
    }

    .process .text .sub-title {
        font-size: 12px;
        margin-top: 20px;
        font-weight: normal;
    }

    .process .text .title::after {
        width: 20px;
    }

    .manage .content {
        margin-top: 20px;
        gap: 20px;
    }

    .manage .item {
        width: 100%;
    }

    .manage .item .icon {
        margin-bottom: 14px;
    }

    .manage .item .desc {
        font-size: 16px;
        font-weight: bolder;
    }
}