.list {
    margin-bottom: 20px;
}

.list h2 {
    color: #371a45;
    padding-bottom: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 26px;
}

.big-box {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.new-box {
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.new-box .img-box::before {
    padding-top: 100%;
}

.new-text {
    padding: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    transition: .3s;
    color: #000;
}

.new-box:hover .new-text {
    color: #fc7c00;
}

.hot-box {
    border-radius: 5px;
    overflow: hidden;
    display: block;
    box-shadow: 0 0 10px #0002;
}

.hot-box .img-box::before {
    padding-top: 70%;
}

.hot-text {
    padding: 8px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hot-text h3 {
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
}

.hot-text span {
    color: #0077ff;
    text-transform: uppercase;
    font-size: 14px;
}

.hot-text button {
    font-weight: 700;
    font-size: 15px;
    color: rgba(27, 27, 27, 0.637);
}

.all-box {
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    padding: 15px 15px 10px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    transition: .4s;
}

.all-box:hover {
    background-color: #f1f5ff;
    border: 1px solid #3d7eff;
}

.all-box .img-box {
    border-radius: 5px;
    overflow: hidden;
}

.all-box .img-box::before {
    padding-top: 100%;
}

.all-text h3 {
    font-size: 14px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #000;
    font-weight: 500;
}

.all-text span {
    text-transform: uppercase;
    color: #0077ff;
    font-size: 16px;
}

.more {
    display: block;
    margin: 20px auto 0;
    font-size: 22px;
    border: 1px solid #000;
    background-color: #000;
    color: #fff;
    padding: 6px 50px;
    transition: .4s;
}

.more:hover {
    background-color: #fff;
    color: #000;
}

@media screen and (min-width:770px) {
    .new-box {
        width: calc((100% - 4%) / 5);
        margin-right: 1%;
    }

    .new-box:nth-of-type(5n),
    .hot-box:nth-of-type(4n),
    .all-box:nth-of-type(7n) {
        margin-right: 0;
    }

    .hot-box {
        width: calc((100% - 6%) / 4);
        margin-right: 2%;
    }

    .all-box {
        width: calc((100% - 60px) / 7);
        margin-right: 10px;
    }
}

@media screen and (max-width:769px) {
    main {
        padding: 0 5px;
    }

    .new-box {
        width: calc((100% - 1%) / 2);
        margin-right: 1%;
    }

    .new-box:nth-of-type(2n),
    .all-box:nth-of-type(3n) {
        margin-right: 0;
    }

    .hot-box {
        width: 100%;
    }

    .all-box {
        width: calc((100% - 2%) / 3);
        margin-right: 1%;
    }
}