.swiper-slide {
    width: 100% !important;
}

.index-header {
    position: relative;
}

.header {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: end;
    margin-top: 10px;
    top: 0;
    z-index: 99;
    width: 100%;
}

.header h1 {
    margin: 0;
}

.header a {
    display: block;
}

.logo-link {
    padding-bottom: 15px;
    font-size: 20px;
}

.logo-image {
    display: block;
    width: 450px;
    margin: 0 auto;
}

/** HEADER MOBILE **/
.header-m {
    display: none;
}

/** HEADER SUB TITLE **/
.logo-sub-name {
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.logo-sub-name span {
    display: flex;
    align-items: center;
}

.logo-sub-name span:after {
    display: block;
    margin-left: 13px;
    content: '';
    width: 2px;
    height: 18px;
    background-color: #000000;
    border-radius: 4px;
}

.logo-sub-name span:last-child::after {
    display: none;
}

.qr-code-container {
    margin-top: 20px;
}

.pop-up {
    position: absolute;
    top: -35px;
    left: -150px;
    right: initial;
    background-color: #fff;
    padding: 7px;
    display: none;
}

.pop-up::after {
    content: '';
    display: block;
    position: absolute;
    right: -44px;
    top: calc(50% - 23px);
    border: 23px solid transparent;
    border-left: 23px solid #ffffff;
}

.qr-code {
    width: 100px;
    height: 100px;
}

/* HEADER SWIPER */
.index-header,
.swiper {
    height: calc(100vh - 64px);
    width: 100%;
}

.swiper-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination {
    margin-bottom: 90px;
}

.swiper-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 5px;
    border-radius: 8px;
    background-color: #ffffff88;
    transition: width 200ms ease-in-out;
}

.swiper-bullet-active {
    width: 50px;
    background-color: #fff;
}

.show-more-large {
    color: #CF1322;
    border: 1px solid #CF1322;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    margin: 10px;
}

@media screen and (max-width: 1200px) {
    .logo-sub-name {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .header {
        display: none;
    }

    .swiper {
        width: 100%;
        height: 400px;
    }

    .index-header {
        height: initial;
    }

    /** HEADER **/
    .header-m {
        background-color: #CF1322;
        padding: 10px;
        display: flex;
        align-items: center;
    }

    .logo-m-container {
        flex: 1;
    }

    .logo-m {
        width: 153px;
        height: 45px;
    }

    .menu {
        width: 25px;
        padding: 0 10px;
    }

    .swiper-pagination {
        margin-bottom: 0;
    }

    .swiper-bullet {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin: 5px;
        border-radius: 8px;
        background-color: #ffffff88;
        transition: width 200ms ease-in-out;
    }

    .swiper-bullet-active {
        background-color: #CF1322;
    }
}


@media screen and (max-width: 500px) {
    .swiper {
        height: 250px;
    }
}


/** NAVI BAR **/
.nav-bar {
    position: relative;
    margin-top: -60px;
    z-index: 999;
    padding: 0 40px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #fff;
}

.nav-item {
    border-radius: 0;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.nav-icon {
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.nav-list {
    display: flex;
    justify-content: center;
}

.nav-item {
    flex: 1;
    box-shadow: none;
}

.nav-name {
    margin-top: 14px;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
}


.sub-menu {
    position: absolute;
    color: #ffffff;
    width: 100%;
    display: none;
    z-index: 88;
    top: initial;
}

.sub-menu-item {
    padding: 10px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    background-color: #DF0000;
    border-radius: 0;
    margin-top: 0;
}

@media screen and (max-width: 1000px) {
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-y: scroll;
        background-color: #fff;
        transform: translateX(100%);
        transition: transform 1s ease-in-out;
    }

    .nav-bar.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-item {
        box-shadow: none;
        margin:  0;
    }

    .nav-btn {
        flex-direction: row;
        padding: 10px 20px;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-icon {
        width: 30px;
    }

    .nav-name {
        margin: 0 10px;
        font-size: 18px;
    }

    .sub-menu {
        display: none!important;
    }

    .close-m {
        display: block;
        width: 30px;
        height: 30px;
        margin: 20px 20px 10px;
    }
}


/** NEWS BLOCK **/
.news-block-outer {
    background-image: url(../assets/news-bg.png);
    background-size: cover;
    background-position: bottom;
}

.news-block {
    padding: 40px;
    display: flex;
}

.news-container {
    box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
    background-color: #fff;
    margin: 10px;
    flex: 1;
    width: 0;
}

.news-container .block-title-block {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #CF1322;
}

.news-container .block-title {
    color: #CF1322;
    flex: 1;
    font-size: 40px;
}

.news-container .show-more {
    font-size: 14px;
    border-radius: 6px;
    border: 2px solid #CF1322;
    color: #CF1322;
    padding: 4px 13px;
}

/** LIST NEWS MODULE **/
.news-container .news-list {
    padding: 10px 10px 10px;
    height: 304px;
}

.news-container .news-item {
    padding: 10px 0;
    margin: 0 10px;
    border-bottom: 1px solid #EEEEEE;
}

.news-container .news-title {
    display: block;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.news-container .news-date {
    margin-top: 10px;
    font-size: 14px;
    color: #CF1322;
}

/** CARD NEWS MODULE **/
.news-container .news-card-item {
    margin: 20px;
    border: 1px solid #CF1322;
}

.news-container .news-card-img {
    background-color: #999;
    height: 250px;
    width: 100%;
}

.news-card-title {
    display: block;
    font-size: 18px;
    margin: 15px;
}

.news-card-date {
    color: #CF1322;
    margin: 0 20px 20px;
    text-align: right;
}

@media screen and (max-width: 1200px) {
    .news-block {
        flex-direction: column;
        gap: 20px;
        padding: 40px 10px;
    }

    .news-container .news-card-img {
        height: 450px;
    }
}

@media screen and (max-width: 1000px){
    .news-container {
        width: inherit;
    }

    .news-container .news-card-img {
        height: 250px;
    }
}

/** BLOCK 2 **/
.block-2-container {
    display: flex;
    padding: 80px 50px;
}

.activity-container {
    flex: 1;
    margin-right: 10px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.news-container-right .title-left,
.news-container-right .title-right {
    display: flex;
    align-items: center;
}

.news-container-right .title-right {
    flex-direction: row-reverse;
}

.news-container-right .title-text {
    font-size: 28px;
    color: #CF1322;
    letter-spacing: 0.2em;
}

.news-container-right .title-en {
    color: #AFAFAF;
    font-size: 24px;
    text-transform: uppercase;
    margin-right: 10px;
}

.activity-content {
    margin-top: 45px;
}

.activity-news {
    position: relative;
    padding: 30px;
    border: 1px solid #CCCCCC;
    margin-top: 30px;
}

.activity-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 34px;
}

.activity-desc {
    color: #9E9E9E;
    font-size: 14px;
    line-height: 26px;
}

.activity-date {
    position: absolute;
    padding: 0 14px;
    color: #CF1322;
    background-color: #fff;
    font-size: 24px;
    line-height: 34px;
    left: 30px;
    top: -17px;
}

.news-container-right .show-more-l,
.news-container-right .show-more-r {
    display: inline-block;
    margin-top: 50px;
    padding: 17px 54px;
    border: 2px solid #CF1322;
    border-radius: 6px;
    font-size: 14px;
    color: #CF1322;
}

/** BLOCK 2 _ RIGHT BLOCK **/
.news-container-right {
    flex: 1;
    padding: 20px;
}

.style-container,
.forum-container {
    display: flex;
    flex-direction: column;
    justify-content: right;
    /*align-items: flex-end;*/
}

.style-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
}

.style-news-link,
.style-news {
    /*flex: 1;*/
    width: 30%;
}

.style-img-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
}

.style-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #999;
}

.style-title {
    margin-top: 10px;
    font-size: 18px;
    line-height: 26px;
    color: #353535;
    text-align: center;
}

.forum-content-swiper {
    position: relative;
    margin: 20px;
    overflow: hidden;
}

.forum-img {
    width: 100%;
    height: 250px;
    background-color: #f55;
}

.forum-news-mask {
    position: absolute;
    bottom: 0;
    padding: 13px 35px 20px;
    background: linear-gradient(180deg, rgba(44,44,44,0.80) 0%,
                rgba(44,44,44,0.80) 0%,
                #D0D0D0 100%, #D0D0D0 100%);
    width: calc(100% - 35px - 35px);
}

.forum-news-title {
    font-size: 16px;
    line-height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #ffffff;
}

.forum-news-date {
    margin-top: 12px;
    color: #CF1322;
    font-size: 14px;
}

/** FORUM SWIPER _ PAGINATION **/
.forum-swiper-pagination {
    display: flex;
    position: absolute;
    left: initial!important;
    right: 38px;
    bottom: 20px!important;
    z-index: 99;
    width: initial!important;
}

.forum-swiper-pagination-bullet {
    display: block;
    border-radius: 16px;
    margin: 0 5px;
    width: 16px;
    height: 16px;
    background: rgba(0, 0, 0, 0.3);
}

.forum-swiper-pagination-bullet-active {
    background-color: #fff;
}

@media screen and (max-width: 1400px) {
    .style-news-link,
    .style-news {
        /*flex: 1;*/
        width: 45%;
    }

    .style-news:nth-child(3n) {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .style-news-link,
    .style-news {
        /*flex: 1;*/
        width: 30%;
    }

    .style-news:nth-child(3n) {
        display: block;
    }

    .forum-img {
        height: 400px;
    }
}

@media screen and (max-width: 1000px) {
    .news-container-right .title-text {
        font-size: 28px;
    }

    .news-container-right .title-en {
        font-size: 18px;
        letter-spacing: 0.5em;
        margin-right: 0;
    }
}

@media screen and (max-width: 1000px) {
    .news-container-right-container {
        flex-direction: column;
        padding: 10px;
    }

    .style-content {
        margin: 40px 0;
    }

    .style-container,
    .forum-container,
    .activity-container {
        align-items: center;
    }

    .forum-img {
        height: 300px;
    }

    .news-container-right .title-left,
    .news-container-right .title-right {
        display: flex;
        align-items: center;
        flex-direction: column;
        letter-spacing: 1em;
        margin-left: 1em;
        margin-top: 40px;
    }

    .activity-container,
    .news-container-right {
        margin: 0;
    }

    .contribution-box {
        width: 100%;
    }
}

/** SERVICE BLOCK **/
.service-block {
    display: flex;
}

.service-outer {
    flex: 1;
}

.block-name {
    font-size: 48px;
    color: #CF1322;
    padding: 30px 0;
    margin: 20px 20px;
    border-bottom: 20px solid #EEEEEE;
    text-align: center;
}

.service-container {
    margin: 35px 20px;
    background-image: url(../assets/news-bg.png);
    background-size: cover;
    background-position-y: bottom;
    border-radius: 6px;
    box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.16);
}

.service-list {
    display: flex;
    flex-flow: row wrap;
}

.service-item {
    width: 25%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

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

.service-icon {
    width: 110px;
    height: 110px;
    border-radius: 6px;
    border: 1px solid #000000;
}

.service-name {
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 0;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    /*width: 100%;*/
    /*height: 100%;*/
    /*background: rgba(0, 0, 0, 0.6);*/
    color: #333333;
    font-size: 18px;
    /*opacity: 0;*/
    /*transition: opacity .4s;*/
}

/*.service-item:hover .service-name {*/
/*    opacity: 1;*/
/*    cursor: pointer;*/
/*}*/

/** CONTRIBUTE BLOCK */

.contribute-outer {
    width: 450px;
}

.contribute-container {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    width: 100%;
}

.contribute-btn {
    color: #FFFFFF;
    margin: 10px 10px;
    text-align: center;
    padding: 20px 0;
    border-radius: 6px;
}

.wx-qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wx-qr-code-name {
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
}

.wx-qr-code-img {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
}

@media screen and (max-width: 1000px) {
    .block-name {
        font-size: 38px;
    }
}

@media screen and (max-width: 1200px) {
    .service-container {
        margin: 60px 40px;
    }
}

@media screen and (max-width: 1200px) {
    .service-block {
        flex-direction: column;
    }

    .contribute-outer {
        margin: 0 20px;
        width: inherit;
    }
}

@media screen and (max-width: 1000px) {
    .block-name {
        margin: 20px 10px;
        font-size: 38px;
    }

    .service-container {
        margin: 60px 10px;
    }

    .service-item {
        width: 33%;
    }

    .service-item-container {
        height: initial;
        border: none;
    }

    .service-icon {
        height: 110px;
    }

    .service-name {
        position: relative;
        opacity: 1;
        height: initial;
        background: transparent;
        color: #000000;
    }
}

/** IMAGE MODULE **/
.image-container {
    display: flex;
    padding: 50px 60px;
}

.image-title {
    writing-mode: vertical-lr;
    display: flex;
    flex-direction: column-reverse;
}

.image-title-name {
    font-size: 40px;
    color: #CF1322;
}

.image-title-en {
    color: #AFAFAF;
    font-size: 40px;
}

.image-news-list {
    display: flex;
    flex: 1;
    margin-left: 141px;
    /* Firefox Flex需要最小宽度限制 */
    min-width: 0;
}

.image-news-item {
    position: relative;
    height: 600px;
    flex: 1;
    margin: 10px;
    writing-mode: vertical-lr;
    user-select: none;
    cursor: pointer;
    transition: transform .5s;
}

.image-news-item:hover {
    transform: translateY(-20px);
}

.image-news-item::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0005;
    z-index: 1;
}

.image-news-title {
    position: absolute;
    left: 45px;
    top: 45px;
    color: #fff;
    font-size: 24px;
    letter-spacing: 15px;
    z-index: 2;
}

.image-news-tag {
    position: absolute;
    right: 64px;
    bottom: 0;
    display: flex;

    color: #fff;
    font-size: 14px;
    z-index: 2;
}

.image-news-tag::after {
    content: '';
    margin-left: 5px;
    margin-top: 5px;
    display: block;
    height: 58px;
    width: 2px;
    background-color: #fff;
}

@media screen and (max-width: 1400px) {
    .image-news-list {
        margin-left: 30px;
    }
}

@media screen and (max-width: 1200px) {
    .image-news-item {
        height: 400px;
    }

    .image-news-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 1000px) {
    .image-container {
        flex-direction: column;
        padding: 10px;
    }

    .image-title {
        flex-direction: column;
        writing-mode: initial;
        text-align: center;
    }

    .image-title-name {
        font-size: 38px;
    }

    .image-title-en {
        margin-top: 10px;
        font-size: 24px;
    }

    .image-news-list {
        margin-top: 20px;
    }

    .image-news-item:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .image-news-item {
        height: 300px;
    }

    .image-title-name {
        font-size: 24px;
    }

    .image-title-en {
        font-size: 18px;
    }

    .image-news-title {
        left: 20px;
        top: 20px;
    }

    .image-news-tag {
        right: 10px;
        bottom: 10px;
    }

    .image-news-tag::after {
        display: none;
    }
}

.express-container {
    padding: 0 40px;
}

.express-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.express-item {
    display: flex;
    justify-content: center;
    width: 25%;
    margin: 20px 0;
}

.express-image {
    width: 200px;
    height: 80px;
}

@media screen and (max-width: 1000px) {
    .express-image {
        width: 150px;
        height: 60px;
    }
}

@media screen and (max-width: 1000px) {
    .express-item {
        width: 33.33%;
    }
}

@media screen and (max-width: 500px) {
    .express-item {
        width: 50%;
    }
}
