@media screen and (max-width: 767px) {
    .model_square {
        padding-top: 20rem;
    }

    .square_top_title {
        font-size: 10rem;
    }

    .square_top_sub {
        font-size: 4rem;
        margin-top: 4rem;
        margin-bottom: 6rem;
    }

    .square_top_search {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 10rem;
    }

    .type_nav_box {
        margin-bottom: 10rem;
    }

    .type_nav_list {
        width: 100%;
    }

    .type_nav_item {
        padding: 0 6rem 4rem;
        font-size: 8rem;
    }

    .square_model_nav {
        position: relative;
        padding: 0 4rem;
    }

    .square_model_nav_item {
        min-width: 30rem;
        height: 10rem;
        border-radius: 10rem;
        font-size: 4rem;
    }

    .square_model_nav_right i,
    .square_model_nav_left i {
        font-size: 10rem;
    }

    .square_model_nav_right {
        right: -10rem;
    }

    .square_model_images {
        padding: 8rem 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 3rem;
    }

    .model_image_item {
        width: 100%;
        /*min-height: 100rem;
        */
        aspect-ratio: 214 / 274;
        border-radius: 4rem;

    }

    .model_image_item_img {
        /* border-radius: 6rem; */
        border-radius: 4rem;
    }

    .model_image_item_describe {
        font-size: 6rem;
        /* line-height: 8rem; */
        /* border-radius: 6rem; */
        padding: 2rem;
        /* padding: 7rem; */
        height: 18rem;
    }

    .model_image_item_describe_name {
        font-size: 5rem;
    }

    .model_image_item_describe_title {
        font-size: 4rem;
        margin-top: 1rem;
    }

    .model_image_item_type {
        font-size: 4rem;
        padding: 0 5rem;
        height: 10rem;
        top: 4rem;
        left: 4rem;
        border-radius: 2rem;
    }

}

@media screen and (min-width: 768px) {
    .model_square {
        padding-top: 6.4rem;
    }

    .square_top_title {
        font-size: 2.8rem;
    }

    .square_top_sub {
        font-size: 1.8rem;
        margin-top: 1rem;
        margin-bottom: 3.2rem;
    }

    .square_top_search {
        width: 54.8rem;
        height: 6.4rem;
        margin: 0 auto;
        margin-bottom: 2.4rem;
    }

    .type_nav_box {
        margin-bottom: 2.4rem;
    }

    .type_nav_list {
        min-width: 10rem;
    }

    .type_nav_item {
        padding: 0 2.7rem 1.4rem;
        font-size: 1.8rem;
    }

    .square_model_nav {
        position: relative;
        padding: 0 4rem;
    }

    .square_model_nav_item {
        min-width: 8.8rem;
        height: 3.6rem;
        font-size: 1.4rem;
        border-radius: 1.9rem;
    }

    .square_model_nav_right i,
    .square_model_nav_left i {
        font-size: 3rem;
    }

    .square_model_nav_right {
        right: -1rem;
    }

    .square_model_images {
        padding: 2.4rem 1rem 1rem;
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        /* grid-gap: 3rem; */
        grid-gap: 1.6rem;
        /* display: flex;
        flex-wrap: wrap; */
        /* justify-content: space-between; */
    }

    .model_image_item {
        width: 100%;
        aspect-ratio: 214 / 274;
        /* width: 21.4rem;
        height: 27.4rem; */
        border-radius: 1.1rem;
        /* margin: 1rem; */
    }

    .model_image_item_img {
        border-radius: 1.1rem;
    }

    .model_image_item_describe {
        height: 6.8rem;
        line-height: 1.6rem;
        font-size: 1.4rem;
        border-radius: 1.1rem;
        padding: 1.4rem 1.4rem 1.4rem 1.4rem;
    }

    .model_image_item_describe_name {
        font-size: 1.6rem;
    }

    .model_image_item_describe_title {
        font-size: 1.4rem;
        margin-top: 0.8rem;
    }

    .model_image_item_type {
        padding: 0 1.1rem;
        height: 3rem;
        font-size: 1.4rem;
        top: 1.2rem;
        left: 1.2rem;
        border-radius: 0.5rem;
    }

}

/* 顶部 */
.model_square {
    background: url('../images/inspiration_bg.webp');
    background-size: 100% auto;
    background-repeat: no-repeat;
    /* margin-top: 8rem; */

    padding-bottom: 7.4rem;
}

.model_square_top {}

.square_top_title {
    font-weight: 600;

    color: #333333;
    text-align: center;
}

.square_top_sub {
    font-weight: 500;

    color: #8C8C8C;

    text-align: center;
}



.search_input_box .el-input__wrapper {
    border-radius: 6rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #FFFFFF;
    box-shadow: none;
    box-sizing: border-box;
}

/* 作品/模型 导航 */

.type_nav_list {
    display: flex;

    justify-content: center;
}

.type_nav_item {

    cursor: pointer;
    color: #666;

    font-weight: 700;
}

.item_active {
    color: #000;
    border-bottom: 2px solid #222;
}

/* main */
.model_square_main {
    position: relative;
}



.square_model_nav_box {
    width: 100%;
    display: flex;
    gap: 1.6rem;
    overflow-x: auto;
}

::-webkit-scrollbar {
    background-color: transparent;
    width: 0;
    display: none;
    z-index: 999;
}

.square_model_nav_item {

    /* background: #F2F2F2; */
    background: #0000000d;
    font-weight: 500;
    /* color: #272727; */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex: 1;
    transition: all .2s ease-in-out;
    white-space: nowrap;
}

.square_model_nav_item a {
    color: #666;
}

.square_model_nav_active {
    background: #8465FF;
    color: #fff;
}

.square_model_nav_active a {
    color: #fff;
}

.square_model_nav_left {
    cursor: pointer;
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translate(-50%, -50%);
}

.square_model_nav_right {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* .square_model_images {
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
} */

.model_image_item {
    position: relative;
    /* width: 21.4rem;
    height: 27.4rem; */
    /* line-height: 0; */
    background: #D9D9D9;
    overflow: hidden;
    cursor: pointer;
    /* border-radius: 1.1rem;
    margin: 1rem; */
}

.model_image_item:hover .model_image_item_img {
    transform: scale(1.1);
}

.model_image_item video {
    width: 100%;
    height: 100%;
}

.model_image_item_img,
.video_cover {
    width: 100%;
    height: 100%;
    /* border-radius: 1.1rem; */
    object-fit: cover;
    transition: all .2s ease-in-out;
    transform: scale(1);
}

.model_image_item_describe {
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 500;

    color: #FFFFFF;

    width: 100%;
    box-sizing: border-box;
    /* background-color: rgba(0, 0, 0, .3); */
    background: rgba(0, 0, 0, .3);
    backdrop-filter: saturate(200%) blur(40px);
}

.model_image_item_describe_name {
    font-weight: bold;
    color: #e7e9eb;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

}

.model_image_item_describe_title {

    color: #e7e9eb;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

}

.model_image_item_type {
    /* background: rgba(0, 0, 0, 0.5); */
    position: absolute;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .3);
    backdrop-filter: saturate(200%) blur(40px);
}

.square_main_paging {
    margin-top: 3.6rem;
    display: flex;
    justify-content: center;
}

/* h5 分类导航 */
.square_model_nav_app {
    width: 100%;
    /* background-color: #8465FF; */
    display: flex;
    align-items: center;
    
}
.square_model_nav_app::after {
    position: absolute;
    content: '';
    right: 24px;
    top: 0;
    width: 56px;
    height: 17rem;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) , rgba(255, 255, 255, 1));
}
.square_model_nav_app img {
    position: relative;
}

.square_model_nav_app_content {
    width: calc(100% - 24px);
    /* display: grid; */
    position: relative;
    overflow-x: auto;
    height: 17rem;
    /* grid-auto-flow: column; */
    scrollbar-width: thin;
    /* grid-auto-columns: minmax(min-content, max-content);  */
    display: flex;
    flex-wrap: nowrap;
    /* gap: 4rem; */
}

.square_model_nav_app_item {
    font-weight: 500;
    color: rgba(0,0,0,0.6);
    font-size: 7.16rem;
    /* width: 45rem; */
    padding: 0 4rem;
    /* min-width: 50rem; */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}
.square_model_nav_app_item_active {
    font-weight: 600;
    font-size: 8.19rem;
    color: #000000;
    position: relative;
}
.square_model_nav_app_item_active::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 4rem;
    background-image: url('../images/square_active.svg');
    background-size: 100% 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.nav_drawer_header {
    font-size: 8.19rem;
    font-weight: 600;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
}
.el-drawer {
    border-radius: 8.19rem 8.19rem 0px 0px;
    -webkit-border-radius: 8.19rem 8.19rem 0px 0px;
    -moz-border-radius: 8.19rem 8.19rem 0px 0px;
    -ms-border-radius: 8.19rem 8.19rem 0px 0px;
    -o-border-radius: 8.19rem 8.19rem 0px 0px;
}
.el-drawer__body {
    border-top: 1px solid #E4E5E7;
}
.nav_drawer_list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap:  7.16rem 9.21rem; 
}
.nav_drawer_item {
    background: #F6F6F6;
    border-radius: 9.21rem;
    -webkit-border-radius: 9.21rem;
    -moz-border-radius: 9.21rem;
    -ms-border-radius: 9.21rem;
    -o-border-radius: 9.21rem;
    color: #333333;
    font-size: 7.16rem;
    font-weight: 500;
    padding: 3.58rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav_drawer_item_active {
    background: #8465FF;
    color: #FFFFFF;
}
.nav_drawer_footer {
    width: 155.14rem;
    height: 24.58rem;
    color: #FFFFFF;
    font-size: 7.16rem;
    background: #8465FF;
    border-radius: 12.28rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}