main { overflow: hidden; }

/* =================== banner ==================== */
.banner { overflow: hidden; padding-bottom: 55px }

.banner > div:nth-child(1) {
    /* -webkit-transform: translateY(40%);
    -moz-transform: translateY(40%);
    -ms-transform: translateY(40%);
    -o-transform: translateY(40%);
    transform: translateY(40%); */
    margin-top: 160px;
}
.banner-left-decoration,
.banner-right-decoration,
.banner-center-decoration {
    width: 14%;
}

.banner-left-decoration,
.banner-right-decoration {
    background-image: url(../images/public/collection-decoration.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-color: var(--font-brown);
    background-blend-mode: color-burn;
}

.banner-right-decoration {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.banner-bottom-decoration { text-align: center; margin-top: 50px; }

.banner-bottom-decoration img { width: 80%; }

.banner-content {
    position: absolute;
    left: 0; bottom: 0; right: 0;
    width: 100%; height: 100%;
    padding-top: 160px;
}

.banner-content .container {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.line-list {
    position: relative;
    pointer-events: none;
    user-select: none;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.line-list img + img { margin-top: -5%; }

.banner-exhibits-list {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.banner-exhibits-item:nth-child(1) {
    position: absolute;
    left: 1.82%; bottom: 10%;
    width: 10%;
}

.banner-exhibits-item:nth-child(2) {
    position: absolute;
    left: 21.3%; bottom: 15%;
    width: 22%;
    -webkit-transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    -o-transform: rotate(15deg);
    transform: rotate(15deg);
}

.banner-exhibits-item:nth-child(3) {
    position: absolute;
    left: 37.03%; top: 0;
    width: 10%;
}

.banner-exhibits-item:nth-child(4) {
    position: absolute;
    left: 62.76%; top: 30%;
    width: 7%;
}

.banner-exhibits-item:nth-child(5) {
    position: absolute;
    top: 37%; right: 0;
    width: 10%;
}

.banner-exhibits-item img { width: 100%; }

.collection-nav-box{
    height: 0!important;
}

/* 镇院之宝 */
.section-treasure .swiper {
    overflow: visible;
}

.section-treasure .swiper-slide.title-position-top {
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    -o-transform: translateY(50px);
    transform: translateY(50px);
}

.section-treasure .swiper-button-next {
    position: static;
    margin-top: 120px; margin-bottom: 80px;
    width: 47px; height: 48px;
    background-image: url(../images/public/arrow.png);
    background-size: cover;
}

.section-treasure .swiper-button-next::after {
    content: unset;
}

.section-treasure .line-horizontal {
    position: relative;
}

.section-treasure .line-horizontal::after {
    content: "";
    position: absolute;
    top: 50%; left: 120px;
    width: calc(100% - 120px); height: 0px;
    border-bottom: 1px dashed var(--font-white);
}

.section-treasure {
    position: relative;
    margin-bottom: 150px;
}

.section-treasure::before {
    content: "";
    position: absolute;
    right: 0; bottom: 0;
    width: 60%; padding-bottom: 50%;
    background-image: url(../images/collection/藏品-背景纹理-6.png);
    background-repeat: no-repeat;
    background-size: 100%;
    -webkit-transform: translateY(45%);
    -moz-transform: translateY(45%);
    -ms-transform: translateY(45%);
    -o-transform: translateY(45%);
    transform: translateY(45%);
    opacity: .5;
}

.section-treasure::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 23.44%; padding-bottom: 42%;
    background-image: url(../images/collection/藏品-背景纹理-5.png);
    background-size: 100%;
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    opacity: .5;
}

.section-information-slide-item {
    width: 19%;
    position: relative;
}

.section-information-slide-item a { display: block; }

.section-information-slide-title {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
      segoe ui, Roboto, Helvetica, Arial, 
      sans-serif;;
    color: var(--font-white);
    font-size: 24px;
    position: absolute;
    left: 50%; bottom: 8%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    letter-spacing: .5em;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    width: max-content;
}

.section-information-slide-item.title-position-top .section-information-slide-title {
    top: 8%;
}

.section-information-slide-title img { width: 20px; height: 20px; }

.top-corner-mark { margin-bottom: 15px; }

.bottom-corner-mark {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.collection-treasure-images-box {
    padding-bottom: 220%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* 数字文物 */
#masonry-grid .masonry-item:nth-child(n + 4) {
    margin-top: 30px;
}

.masonry-item { position: relative; display: block; overflow: hidden; }

.masonry-item img { display: block; }

.masonry-item:hover .masonry-item-inner {
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transform: translateY(0%);
}

.masonry-item-inner {
    position: absolute;
    top: 0; left: 15px;
    width: calc(100% - 30px); height: 100%;
    background-color: rgba(0, 0, 0, .5);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    padding: 20px;
    transition: transform .6s;
}

.masonry-item-inner .exhibits-name {
    color: var(--font-white);
    font-size: 22px;
    letter-spacing: .1em;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 
      segoe ui, Roboto, Helvetica, Arial, 
      sans-serif;;
}

.masonry-item-inner .exhibits-name img {
    height: 25px;
    margin: 30px auto;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

/* 文物品鉴 */
.collection-digital-exhibits-list,
.collection-central-plains-exhibits-list,
.collection-appraise-exhibits-list {
    padding-top: 80px;
    background-color: var(--font-white);
}

.collection-appraise-exhibits-list .row > div:nth-child(n + 4) {
    margin-top: 30px;
}

.collection-central-plains-exhibits-list .row > div:nth-child(n + 3) {
    margin-top: 30px;
}

.common-play-icon-center::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background-image: url(../images/collection/藏品-中原藏珍-播放器1.png);
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 1199px) {
    .banner-content {
        padding-top: 100px;
    }

    .common-component-collection-title img { width: 30px; }

    .banner > div:nth-child(1) { margin-top: 100px; }

    .banner-bottom-decoration { margin-top: 30px; }
}

@media (max-width: 991px) {
    .banner {
        padding-bottom: 30px;
    }

    .section-treasure {
        margin-bottom: 0!important;
    }

    .collection-appraise-exhibits-list .row > div:nth-child(n + 3) {
        margin-top: 30px;
    }

    .masonry-item-inner {
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
        background-color: transparent;
        background-image: linear-gradient(to bottom, transparent calc(100% - 60px), rgba(0, 0, 0, .6) 100%);
    }

    .masonry-item-inner .exhibits-name { font-size: 18px; }

    .masonry-item-inner .exhibits-name img {
        display: none;
    }

    .collection-digital-exhibits-list,
    .collection-central-plains-exhibits-list,
    .collection-appraise-exhibits-list {
        padding-top: 40px;
    }

    .section-treasure .swiper-slide.title-position-top {
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        -o-transform: translateY(30px);
        transform: translateY(30px);
    }

    .section-information-slide-title { font-size: 18px; }

    .section-information-slide-title img { width: 15px; height: 15px; }

    .common-component-collection-title img { width: 20px; }
}

@media (max-width: 767px) {
    .banner {
        padding-bottom: 15px;
    }

    #masonry-grid .masonry-item:nth-child(n + 3) {
        margin-top: 30px;
    }

    .collection-central-plains-exhibits-list .row > div:nth-child(n + 2) {
        margin-top: 30px;
    }

    .section-treasure .swiper-button-next {
        margin-top: 50px;
        margin-bottom: 0;
    }

    .section-treasure .swiper-slide.title-position-top {
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -ms-transform: translateY(20px);
        -o-transform: translateY(20px);
        transform: translateY(20px);
    }

    .section-information-slide-title { font-size: 15px; letter-spacing: .3em; }

    .section-information-slide-title img { width: 13px; height: 13px; }

    .top-corner-mark { margin-bottom: 5px; }

    .banner-bottom-decoration img { width: 100%; }
}

@media (max-width: 576px) {
    .banner {
        padding-bottom: 0px;
    }

    .banner-content {
        padding-top: 70px;
    }

    #masonry-grid .masonry-item:nth-child(n + 2) {
        margin-top: 30px;
    }

    .collection-appraise-exhibits-list .row > div:nth-child(n + 2) {
        margin-top: 30px;
    }

    .masonry-item-inner .exhibits-name { font-size: 16px; }

    .collection-digital-exhibits-list,
    .collection-central-plains-exhibits-list,
    .collection-appraise-exhibits-list {
        padding-top: 30px;
    }

    .section-information-slide-title { 
        font-size: 12px;
        bottom: 3%;
    }

    .section-information-slide-item.title-position-top .section-information-slide-title {
        top: 3%;
    }

    .section-information-slide-title img { width: 13px; height: 13px; }

    .banner > div:nth-child(1) { margin-top: 80px; }
}
