main {
    width: var(--all-width);
    margin: 0 auto;
    display: flex;
}

.main-left {
    width: calc(var(--all-width) * 0.7);
    border: 1px solid rgb(212, 212, 212);
    padding: 20px 20px 40px;
}

.main-right {
    flex: 1;
    border: 1px solid rgb(212, 212, 212);
    border-left: 0;
    padding: 20px;
    position: sticky;
    top: 20px;
    margin-bottom: auto;
}

.main-left h2 {
    padding: 0 10px 0 34px;
    margin-bottom: 20px;
    border-bottom: 2px solid #C10D0C;
    font-size: 21px;
    position: relative;
}

.main-left h2::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 4px solid #C10D0C;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

main .big-box {
    display: flex;
    flex-wrap: wrap;
}

.all-items .img-box .all-type {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 8px 10px;
    color: #ccc;
    background-color: #00000060;
    border-top: 1px solid #0000007c;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 13px;
}

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

.all-items p {
    color: #000;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.main-left .list .more {
    display: block;
    margin: 0 auto;
    padding: 8px 25px;
    background-color: #CD081E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
    border: 1px solid #8a060b;
}

.main-left .list .no-more {
    background-color: gray;
    color: #ffffff;
    border-color: #ccc;
}

.main-right h2 {
    border-bottom: 1px solid #ccc;
    color: #333;
    font-size: 19px;
    font-weight: normal;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.hot-items {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.hot-items .img-box {
    width: 25%;
}

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

.hot-items .hot-text {
    width: 75%;
    background-color: #fafafa;
    border: 1px solid #e9e9e9;
    padding-left: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #666;
    row-gap: 8px;
}

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

.hot-items .hot-text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    font-size: 13px;
}

.type-what {
    display: flex;
    gap: 20px;
    align-items: center;
}

.type-what p {
    font-size: 15px;
    padding-bottom: 5px;
    color: #C10D0C;
}

@media screen and (min-width:770px) {
    .all-items {
        width: calc((100% - 120px) / 4);
        margin-right: 40px;
        margin-bottom: 40px;
    }

    .all-items:nth-of-type(4n) {
        margin-right: 0;
    }
}

@media screen and (max-width:769px) {
    .main-left {
        width: 100%;
    }

    .all-items {
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .all-items:nth-of-type(2n) {
        margin-right: 0;
    }

    .main-right {
        display: none;
    }

    .type-what {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
}