/* 滚动公告 */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 16px 0 36px;
    border-radius: 8px;
    background-color: var(--white-color);
    color: #333;
    position: relative;
}

.marquee::before {
    content: '';
    box-sizing: content-box;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;

    background-color: var(--white-color);
    transform: translateY(-50%);
    display: inline-block;
    padding: 0 6px 0 0;
    width: 30px;
    height: 30px;
    background-image: url(/images/HX/gonggao.png);
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
}

.marquee::after {
    content: '';
    box-sizing: content-box;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 1;
    background-color: var(--white-color);
    transform: translateY(-50%);
    display: inline-block;
    padding: 0;
    width: 16px;
    height: 30px;
}

.marquee span {
    line-height: 17px;
    display: inline-block;
    padding-left: 0%;
}

/* banner轮播图 */
.bannerBox {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 8px var(--primary-shadow-color);
}
.bannerBox-H5{
    display: none;
}
.bannerBox-PC{
    display: flex;
}
.bannerBox .swiper-container {
    width: 650px;
    height: 364px;
    margin: 0;
}

.bannerSlideBox {
    width: 215px;
    height: 364px;
    background: var(--white-color);
    padding: 15px;
}

/* .classifyItem::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--white-color);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-35px, -35px) scale(0) rotate(-180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.classifyItem::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: var(--white-color);
    border-radius: 50%;
    opacity: 0;
    transform: translate(35px, 35px) scale(0) rotate(180deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
} */



.swiperBox {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.bannerImg {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.bannerImg img {
    width: 100%;
    height: 100%;
    display: block;
}

.bannerImg span {
    color: var(--white-color);
    left: 0;
    bottom: 0;
    position: absolute;
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    line-height: 1.4;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
    box-sizing: border-box;
    z-index: 4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiperDrop {
    height: 364px;
    width: 215px;
    overflow-y: auto;
}

.swiperDrop ul {
    min-height: 364px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background-color: var(--white-color);
}

.swiperDrop li {
    width: 100%;
    padding: 0 12px 0 20px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    transition: all 0.3s;
    background-color: transparent;
    border-bottom: 1px solid var(--color-efefef);

    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.swiperDrop li:last-child {
    border-bottom: 1px solid transparent;
}

.swiperDrop li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120px;
    width: 90px;
    height: 90px;
    background-color: var(--primary-color-2);
    z-index: 0;
    transform: rotate(50deg) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 15px var(--primary-light-color);
}

.swiperDrop li::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -130px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    z-index: 1;
    transform: rotate(50deg) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 15px var(--primary-light-color);
}

.swiperDrop li a {
    position: relative;
    z-index: 2;
    color: var(--color-333);
}

.swiperDrop li:hover,
.swiperDrop li.active {
    background: linear-gradient(120deg, var(--primary-light-color-2), var(--primary-light-color));
    color: var(--white-color);
}

.swiperDrop li:hover::before,
.swiperDrop li.active::before {
    left: -80px;
    transform: rotate(50deg) scale(1);
    opacity: 1;
    animation: pulseSquareBefore 1s ease-in-out infinite;
}

.swiperDrop li:hover::after,
.swiperDrop li.active::after {
    right: -93px;
    transform: rotate(50deg) scale(1);
    opacity: 1;
    animation: pulseSquareAfter 1s ease-in-out infinite 0.2s;
}

@keyframes pulseSquareBefore {

    0%,
    100% {
        transform: rotate(50deg) scale(1);
    }

    50% {
        transform: rotate(50deg) scale(1.1);
    }
}

@keyframes pulseSquareAfter {

    0%,
    100% {
        transform: rotate(50deg) scale(1);
    }

    50% {
        transform: rotate(50deg) scale(1.1);
    }
}

/* 媒體查詢 */
@media screen and (max-width: 1080px) {
    .bannerBox {
        margin-top: 0;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .bannerBox-PC{
        display: none;
    }
    .bannerBox-H5{
        display: flex;
        padding: 12px 12px 0;
        box-shadow: none;
    }
    .bannerBox-H5 .swiper-slide{
        border-radius: 5px;
        overflow: hidden;
    }
    .swiperBox {
        width: 100%;
        padding-top: 56%;
        position: relative;
    }
    .bannerBox-H5 .swiperBox{
        padding-top: 35%;
    }
    .bannerBox .swiper-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .bannerSlideBox {
        display: none;
    }

    .swiperDrop {
        display: none;
    }

    .bannerImg {
        position: relative;
    }

    .bannerImg span {
        color: var(--white-color);
        left: 0;
        bottom: 0;
        position: absolute;
        display: block;
        width: 100%;
        padding: 30px 15px 0;
        height: 74px;
        font-size: 16px;
        line-height: 44px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .bannerBox-H5 .bannerImg span{
        display: none;
    }
    .marquee {
        background-color: var(--white-color);
    }
    .marquee span {
        font-size: 14px;
    }

    .marquee::after {
        width: 12px;
        background-color: var(--white-color);
    }

    .marquee::before {
        width: 18px;
        height: 18px;
        background-color: var(--white-color);
    }
}