.res-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.4rem 0 0.3rem;
}
.res-header .input-box {
    position: relative;
}
.res-header .input-box .input {
    width: 4.18rem;
    padding: 0.1rem 0.18rem;
    padding-right: 0.6rem;
    border: 1px solid #666;
} 
.res-header .input-box .input::placeholder {
    color: #979797;
}
.res-header .input-box .icon {
    position: absolute;
    right: 0.18rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.26rem;
    height: 0.26rem;
    cursor: pointer;
}
.res-nav {
    padding: 0.5rem;
    background: #fbfbfb;
}
.res-nav .type1,
.res-nav .type2 {
    display: flex;
    align-items: flex-start;
}
.res-nav .type1 .title,
.res-nav .type2 .title {
    margin-right: 0.4rem;
}
.res-nav .type1 .title {
    position: relative;
    top: 5px;
    left: 0;
}
.res-nav .type1 .box,
.res-nav .type2 .box {
    flex: 1;
}
.res-nav .type1 .items {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;
    width: 100%;
}
.res-nav .type1 .items .item {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.2rem;
    cursor: pointer;
}
.res-nav .type1 .items .act {
    background: #f1f4f6;
}
.res-nav .type1 .items .act .icon {
    transform: rotate(180deg);
}
.res-nav .type1 .items .item .icon {
    width: 0.08rem;
    margin-left: 4px;
}
.res-nav .type1 .children {
    display: flex;
    align-items: center;
    background: #f1f4f6;
}
.res-nav .type1 .children .item {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.2rem;
}
.res-nav .type1 .children .item span {
    margin-left: 3px;
    position: relative;
    top: 1px;
}
.res-nav .type2 .title {
    padding-top: 0.12rem;
}
.res-nav .type2 .items {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;
    width: 100%;
}
.res-nav .type2 .items .item {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.2rem;
}
.res-nav .type2 .items .item span {
    margin-left: 3px;
    position: relative;
    top: 1px;
}
.res-content {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.2rem;
    row-gap: 0.2rem;
    margin: 0.7rem 0;
}
.res-content .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 0.6rem) / 4);
    aspect-ratio: 405 / 453;
    padding: 0.16rem;
    background: #fff;
    box-shadow: 0px 4px 30px 0px #0000000D;
    cursor: pointer;
}
.res-content .item.item2 {
    aspect-ratio: inherit;
}
.res-content .item .pic {
    position: relative;
    width: 100%;
    aspect-ratio: 374 / 212;
    overflow: hidden;
}
.res-content .item .pic img {
    width: 100%;
    object-fit: cover;
}
.res-content .item .pic-mask {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
}
.res-content .item .pic-mask .icon {
    width: 10%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.res-content .item:hover .pic-mask {
    opacity: 1;
}
.res-content .item:hover .pic img {
    transform: scale(1.05);
}
.res-content .item .txt {
    flex: 1;
    padding: 0.3rem 0.1rem;
}
.res-content .item .txt .time {
    margin-bottom: 0.2rem;
}
.res-content .item .btns {
    display: flex;
    align-items: center;
    column-gap: 0.2rem;
}
.res-content .item .btns .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 0.36rem;
    background: #f1f1f3;
    color: #757D8A;
}
.res-content .item .btns .btn .icon {
    width: 0.2rem;
    margin-right: 0.04rem;
}
.res-content .item:hover .txt .tit {
    color: var(--color-primary);
} 
.res-content .item:hover .btns .btn {
    background: var(--color-primary);
    color: #fff;
}
.res-content .item:hover .btns .btn .icon {
    filter: var(--imgwhite);
}

/* pagination */
.res-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.16rem;
    margin: 0.5rem auto;
}

.res-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 50%;
    color: #D1D1D1;
}

.res-pagination a img {
    width: 0.06rem;
}

.res-pagination a.prev {
    margin-right: 0.16rem;
    transform: rotate(180deg);
}

.res-pagination a.next {
    margin-left: 0.16rem;
}

.res-pagination a.disabled img {
    filter: var(--imggray);
}

.res-pagination a.dots {
    line-height: 1;
}

.res-pagination a.active {
    background: var(--color-primary);
    color: #fff;
}

.res-pagination a.page:hover {
    background: var(--color-primary);
    color: #fff;
}

/* pagination */

/* video modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}
.video-modal .video-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    background: rgba(0, 0, 0, 0.5);
}
.video-modal .video-content video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.video-modal .video-content .image {
    max-width: 100%;
    /*max-height: 100%;*/
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
}
.video-modal .video-content .icon {
    position: absolute;
    top: -0.4rem;
    right: 0;
    width: 0.3rem;
    height: 0.3rem;
    cursor: pointer;
    filter: var(--imgwhite);
}