@import "./common.css";
@import "./animate.css";
@import "./style.css";

.protection {
    padding: 1.1rem var(--content-padding) 1.2rem;
    background: #fff;
}

.protection .in {
    width: var(--content-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.protection .in > .sub-title {
    max-width: 7rem;
}

.protection .content {
    margin-top: .6rem;
    flex-wrap: wrap;
    gap: .7rem .96rem;
    text-align: left;
    padding-bottom: .2rem;
    border-bottom: 1px dashed var(--border-color-light);
}

.protection .legend {
    width: 7rem;
}

.protection .legend img {
    width: 100%;
    object-fit: cover;
}

.protection .text {
    width: 6rem;
}

.protection .text .title {
    font-size: .28rem;
    font-weight: bolder;
    padding-bottom: .24rem;
    border-bottom: 1px solid var(--border-color-light);
    position: relative;
}

.protection .text .title::after {
    content: "";
    width: .26rem;
    height: 2px;
    background: var(--theme);
    border-radius: 2px;
    position: absolute;
    left: 0;
    bottom: -1px;
}

.protection .text .sub-title {
    margin-top: .26rem;
    color: var(--text-color-secondary);
    font-size: .16rem;
    line-height: 1.5;
    font-weight: lighter;
}

.protection .text .imgs {
    margin-top: .4rem; gap: .2rem;
}

.protection .text .imgs img {
    height: .66rem;
    border: 1px solid var(--border-color-light);
    border-radius: 10px;
    padding: .1rem;
}

@media (max-width: 960px) {
    .protection .text .title {
        font-size: .32rem;
    }

    .protection .text .sub-title {
        font-size: .22rem;
    }

    .protection .text .imgs img {
        height: .8rem;
    }
}

@media (max-width: 768px) {
    .protection .content {
        gap: .5rem 0; justify-content: space-between;
    }

    .protection .legend {
        width: 52%;
    }

    .protection .text {
        width: 44%;
    }

    .protection .text .title {
        font-size: 13px;
    }

    .protection .text .sub-title {
        font-size: 10px;
    }

    .protection .text .imgs img {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .protection .content {
        margin-top: 40px;
        gap: 30px;
    }

    .protection .legend {
        width: 100%;
    }

    .protection .text {
        width: 100%;
    }

    .protection .text .title {
        font-size: 16px;
        padding-bottom: 16px;
    }

    .protection .text .sub-title {
        font-size: 12px;
        margin-top: 20px;
        font-weight: normal;
    }

    .protection .text .title::after {
        width: 20px;
    }

    .protection .text .imgs img {
        height: 52px;
    }
}