@media (max-width:1200px) {

    html {
        font-size: 12px;
    }

    body {
        --aside-size: 140px;
    }

    .wap {
        width: 95%;
    }

    .section4 .wap .card {
        --size: 300px;
    }

    .section4 .wap .card .text .title h4 {
        font-size: 1.6rem;
    }

    .section4 .wap .card .text .title span {
        padding: 6px;
    }
}

@media (max-width:500px) {
    body {
        --aside-size: 50px;
    }

    aside nav a:last-child {
        display: none;
    }

    .section2 {
        overflow: auto;
    }

    .section2 .wap .type {
        flex-wrap: wrap;
        padding-top: 30px;
    }

    .section2 .wap .type .item {
        margin: 5px;
    }

    .section2 .wap ul li {
        flex: 1 1 100%;
    }

    .section2 .wap ul {
        margin-top: 30px;
    }

    .section2 .wap ul li {
        margin-bottom: 15px;
    }

    .section2 .wap ul li .text div {
        margin-top: 10px;
    }

    .section2 .wap ul li .text p {
        height: 40px;
    }

    .section2 .wap .paging {
        padding-bottom: 50px;
    }

    .section3 {
        overflow: auto;
    }

    .section3 .wap {
        flex-direction: column;
        justify-content: start;
    }

    .section3 .wap .image {
        height: 300px;
        margin-top: 30px;
    }

    .section3 .wap .info {
        margin-left: 0;
        margin-top: 30px;
    }

    .section4 .wap .card {
        flex-direction: column;
        --size: 200px;
        padding: 20px;
    }

    .section4 .wap .card .image {
        width: 100%;
    }

    .section4 .wap .card .text {
        margin-left: 0;
        margin-top: 20px;
    }

    .section4 .wap .card .text .sort {
        margin: 5px 0;
    }

    .section4 .wap .card .text p {
        font-size: 1.1rem;
    }

    .section4 .wap .card .text .title h4 {
        font-size: 1.2rem;
    }

    .section4 .wap .card .text .title span {
        padding: 2px;
    }

    .section4 .wap .card .text a button {
        padding: 6px 12px;
        font-size: 1rem;
        margin-top: 10px;
    }
}