:root {
    --vt-c-white: #ffffff;
    --vt-c-white-soft: #f8f8f8;
    --vt-c-white-mute: #f2f2f2;

    --vt-c-black: #181818;
    --vt-c-black-soft: #222222;
    --vt-c-black-mute: #282828;

    --vt-c-indigo: #2c3e50;

    --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
    --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
    --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
    --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);

    --vt-c-text-light-1: var(--vt-c-indigo);
    --vt-c-text-light-2: rgba(60, 60, 60, 0.88);
    --vt-c-text-light-3: rgba(60, 60, 60, 0.66);
    --vt-c-text-dark-1: var(--vt-c-white);
    --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);

    --center-width: 1200px;
    --zgc-bottom-height: 400px;
    --zgc-bottom-news-margin-botton: 20px;
    --zgc-bottom-news-height: 113px;
}

:root {
    --color-background: var(--vt-c-white);
    --color-background-soft: var(--vt-c-white-soft);
    --color-background-mute: var(--vt-c-white-mute);

    --color-border: var(--vt-c-divider-light-2);
    --color-border-hover: var(--vt-c-divider-light-1);

    --color-heading: var(--vt-c-text-light-1);
    --color-text: var(--vt-c-text-light-1);

    --section-gap: 160px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-background: var(--vt-c-black);
        --color-background-soft: var(--vt-c-black-soft);
        --color-background-mute: var(--vt-c-black-mute);

        --color-border: var(--vt-c-divider-dark-2);
        --color-border-hover: var(--vt-c-divider-dark-1);

        --color-heading: var(--vt-c-text-dark-1);
        --color-text: var(--vt-c-text-dark-2);
    }
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

body {
    margin: 0;
    min-height: 100vh;
    color: var(--color-text);
    background: var(--color-background);
    transition: color 0.5s, background-color 0.5s;
    line-height: 1.6;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
}

*::after {
    margin: 0 auto
}
.newsTopNav{
    background: url(../images/inv.zgc.banner-2.jpg) no-repeat center;
}
.zgc-model {
    margin: 0vh 0 3vh;
}
.display-mobile {
    display: none !important;
}
.cn_btn {
    position: absolute;
    top: 36%;
    left: 83%;
}
/* 中文版按钮样式 */
.cn-button {
    /* 基础样式 */
    display: inline-block;
    padding: 6px 20px;
    background-color:  rgba(30, 104, 177, 0.5); /* 图片中的蓝色背景 */
    color: #ffffff; /* 白色文字 */
    font-family: "Microsoft Yahei", "微软雅黑", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: 1px solid #d7d5d5;
    border-radius: 4px; /* 轻微圆角，和图片一致 */
    cursor: pointer;
    /* 阴影效果增强质感 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* 过渡动画 */
    transition: background-color 0.2s ease;
}

/* 鼠标悬停效果 */
.cn-button:hover {
    background-color: #185799; /* 略深的蓝色 */
}

/* 点击按下效果 */
.cn-button:active {
    background-color: #144880;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
}

/* 禁用状态（可选） */
.cn-button:disabled {
    background-color: #94b8e0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.zgc-bg {
    background: #f4f6f7;
    display: flex;
    justify-content: center;
    font-size: 18px;
}

.zgc-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*padding: 3.5vh 0 3.5vh 0;*/
    width: var(--center-width);
}


.zgc-banner {
    width: 100%;
}

.zgc-banner img {
    width: 100%;
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

.zgc-forum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 3em 0 3em;
}

.zgc-forum-content {
    display: flex;
    justify-content: flex-start;
    height: 80px;
    margin: 1em 0 1em;
}

.zgc-forum-content-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* 相对定位 */
}

.zgc-forum-content-node :first-child {
    z-index: 1;
}

.zgc-forum-vertical-line {
    width: 2px;
    height: calc(100% + 2em);
    background-color: lightgray;
    position: absolute; /* 绝对定位 */

}

.zgc-forum-content-font {
    margin-left: 1.5em;
    color: var(--vt-c-text-light-2);
    text-align: justify;
    line-height: 1.5;
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/
.zgc-sections-mobile {
    display: none;
}
.zgc-sections {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.zgc-sections-tags {
    display: flex;
    width: 100%;
    height: 350px;
}
.zgc-sections-left {
    display: flex;
    flex-direction: column;
    width: 25%;
    padding: 30px 25px;
    background-color: #2982df;
    border-radius: 10px 0 0 10px;
}
.zs-tag-ele {
    display: flex;
    align-items: center;
    width: 100%;
    height: 58px;
    padding-left: 10px;
    border-bottom: #fff dashed 1px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
.zs-tag-ele>img {
    width: 25px;
    height: 25px;
}
.zs-tag-ele>p {
    margin-left: 20px;
    font-size: 16px;
}
.triangle-right {
    position: absolute;
    left: 36.3%;
    transform: translateX(-50%);
    border-left: 10px solid white;    /* 控制三角形宽度 */
    border-top: 10px solid transparent;   /* 控制三角形高度 */
    border-bottom: 10px solid transparent;
}
.active {
    background-color: white;
    color: #0b5fb3;
}
.zs-right-triangle {
    border-left: 15px solid #2259ae;    /* 控制三角形宽度 */
    border-top: 25px solid transparent;   /* 控制三角形高度 */
    border-bottom: 0 solid transparent;
}
.zgc-sections-right {
    width: 70%;
}
.zs-right-content {
    height: 73%;
    padding: 30px;
    font-size: 16px;
    color: white;
    line-height: 2em;
    border-radius: 0 10px 10px 0;
}
.zrc-1 {
    background: url("/images/bg_01.png") ;
    background-size: cover;
}
.zrc-2 {
    background: url("/images/bg_02.png") ;
    background-size: cover;
}
.zrc-3 {
    background: url("/images/bg_03.png") ;
    background-size: cover;
    line-height: 1.8em;
    padding-top: 10px;
    height: 79%;
}
.zrc-4 {
    background: url("/images/bg_04.png") ;
    background-size: cover;
}
.zrc-5 {
    background: url("/images/bg_05.png") ;
    background-size: cover;
}



.zgc-sections-cards {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
}

.zgc-sections-cards-m {
    /*width: calc(33.333% - 20px);*/
    margin-bottom: 2em;
    text-align: center;
    height: 21em;
    position: relative;
}

.content-overflow {
    font-size: 15px;
}

/* 卡片正面 */
.front {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    border-radius: 20px; /* 设置四角的弧形，注意这里需要设置大于或等于子元素间距的值 */
    color: white;
    text-align: center;
}
.active .front {
    display: none;
}
/* 鼠标悬停时翻转卡片 */
/*.zgc-sections-cards-m:hover .front {*/
/*    transform: rotateY(180deg);*/
/*}*/

.zgc-sections-cards-m .front div {
    margin-top: 0.8em;
    color: var(--vt-c-white);
    font-size: 20px;
    font-weight: bolder;
}

/* 卡片反面 */
.back {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    border-radius: 20px;
    transform-origin: center;
    /*transform: rotateY(-180deg);*/
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.active .back {
    display: block;
}

.back-content {
    /*margin: 0.6em 1em auto 1em;*/
    color: var(--vt-c-white);
    line-height: 1.5;
    text-align: justify;
}

.zgc-sections-cards-m:hover .back {
    /*transform: rotateY(0deg);*/
    opacity: 1;
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

.zgc-highlight {
    background-image: url("../images/inv.zgc_highlignt.png");
    width: 99.1vw;
    height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zgc-title {
    display: flex;
    justify-content: center;
    color: var(--vt-c-black);
    font-size: 26px;
    font-weight: bolder;
    margin: 1em 0 1em;
    position: relative; /* 添加相对定位为了下边的线 */
}

.zgc-title-line {
    width: 1.5em;
    height: 4px;
    background-color: #487cbc;
    position: absolute;
    bottom: 0;
}

.zgc-highlight-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: var(--center-width);
    height: 100%;
}

.zgc-highlight-content-carousel {
    width: 68%;
    height: auto;
}

.zgc-highlight-content-carousel-phrase {
    margin: 1em 0 1em;
    color: var(--vt-c-white);
    font-size: 18px;
    font-weight: bolder;
    line-height: 1.5;
}

.zgc-highlight-content-carousel-font {
    /*color: var(--vt-c-text-dark-2);*/
    color: var(--vt-c-white);
/*    font-size: 16px;*/
    line-height: 1.5;
}

.swiper {
    height: 100%;
    --swiper-pagination-bullet-horizontal-gap: 8px;
    text-align: justify;
}


.swiper-pagination {
    margin-bottom: 30px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
}

.swiper-pagination-bullets .swiper-pagination-bullet {
    background: #ffffff;
    width: 15px;
    height: 15px;
}

.swiper-pagination-bullets .swiper-pagination-bullet-active {
    background: #ffffff;
}

.zgc-highlight-content-pic {
    display: flex;
    justify-content: center;
    height: 22em;
}

.zgc-highlight-content-pic-rectangle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    background-color: transparent;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.zgc-highlight-content-pic-rectangle > div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rectangle-top {
    background-color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.rectangle-top > div:nth-child(1) {
    font-size: 23px;
    font-weight: bolder;
    color: #122d47;
}

.rectangle-top > div:nth-child(2) {
    color: #737980;
   /* width: 11em;*/
    text-align: center;
}

.rectangle-mid {
    background-color: #1463b2;
}

.rectangle-mid > div:nth-child(1) {
    font-size: 23px;
    font-weight: bolder;
    color: #ffffff;
}

.rectangle-mid > div:nth-child(2) {
    color: #ffffff;
    width: 11em;
    text-align: center;
}

.rectangle-bottom {
    background-color: #ffffff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.rectangle-bottom > div:nth-child(1) {
    font-size: 23px;
    font-weight: bolder;
    color: #122d47;
}

.rectangle-bottom > div:nth-child(2) {
    color: #737980;
    width: 11em;
    text-align: center;
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

.zgc-reviews {
    width: 110%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.zgc-reviews-cards {
    width: 100%;
    margin-top: 45px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.reviews-swiper {
    width: 91%;
}

.zgc-reviews-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 2px solid #e1e2e3;
    border-radius: 10px;
    background-color: transparent;
    height: 18em;
    width: 15em;
    margin: auto;
}

.zgc-reviews-card:hover {
    border: 2px solid #2884e0;
    background-color: #2884e0;
}

.zgc-reviews-card:hover div:nth-child(2) {
    color: var(--vt-c-white);
}

.zgc-reviews-card:hover div:nth-child(3) {
    color: var(--vt-c-white-soft);
}

.zgc-reviews-card > div:nth-child(1) {
    margin-top: 5px;
    height: 22%;
}

.zgc-reviews-card > div:nth-child(2) {
    font-size: 30px;
    font-weight: bold;
}

.zgc-reviews-card > div:nth-child(3) {
    text-align: center;
    color: #737980;
    width: 60%;
    height: 72px;
    font-size: 17px;
}

/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

.zgc-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 550px;
}

.zgc-news {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
}

.zgc-news-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
    height: var(--zgc-bottom-height);
}

.zgc-news-bg {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--zgc-bottom-news-margin-botton);
    background-color: #ffffff;
    box-shadow: 0 6px 12px rgba(103, 103, 103, 0.1);
    border-radius: 5px;
    width: 100%;
    height: var(--zgc-bottom-news-height);
}

.zgc-news-content {
    margin: 1.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    width: 75%;
}

.zgc-news-date {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5em 1.5em 1.5em auto;
    color: var(--vt-c-divider-light-1);
    font-size: 16px;
}

.zgc-news-more a{
    background-color: transparent;
    border: 2px solid #e1e2e3;
    border-radius: 5px;
    font-size: 15px;
    color: #8E9296;
    width: 6em;
    height: 2em;
}

.zgc-contact {
    display: flex;
    flex-direction: column;
    width: 38%;
}

.zgc-contact-content-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
    background-color: #ffffff;
    box-shadow: 0 6px 12px rgba(103, 103, 103, 0.1);
    border-radius: 5px;
    width: 100%;
    height: calc(var(--zgc-bottom-height) - var(--zgc-bottom-news-margin-botton));
}

.zgc-contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-left: 30px;
}

.zgc-contact-content > div {
    margin: 1.5em 0 1.5em;
    font-size: 18px;
}

.zgc-contact-content > div > span {
}

.zgc-contact-content > div > a {
    color: #368ce2;
}


/*==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ====*/

@media (max-width: 768px) {
    .display-pc, .zgc-sections {
        display: none !important;
    }

    .display-mobile, .zgc-sections-mobile {
        display: block !important;
        width: 99.1vw;
    }

    .cn_btn {
        position: absolute;
        top: 9%;
        left: 74%;
        z-index: 1001;
    }
    .cn-button {
        font-size: 14px;
    }

    :root {
        --zgc-bottom-media-bg: 92vw;
    }

    .zgc-forum {
        margin: 0 1em 0 1em;
    }

    .zgc-forum-content {
        width: 91vw;
        height: 100%;
    }

    .zgc-sections-cards {
        /*flex-direction: column;*/
        /*justify-content: center;*/
    }

    .zgc-sections-cards-m {
        width: 80vw;
        height: 23em;
    }

    .back-content {
        /*margin: 0.7em 1em auto 1em;*/
        line-height: 1.5em;
        text-align: justify;
        padding: 10px 15px;
    }
    .back-content-long {
        line-height: 1em;
    }
    .back-bg {
        border-radius: 20px;
        height: 100%;
        background-size: cover;
    }

    .zgc-highlight {
        height: 1050px;
    }

    .zgc-highlight-content {
        flex-direction: column;
        align-items: center;
        width: 99.1vw;
        height: auto;
    }

    .zgc-highlight-content-carousel {
        width: 92vw;
    }

    .swiper-pagination {
        display: none;
    }
    .sections-pagination {
        display: block;
        margin-bottom: 15px;
    }

    .zgc-highlight-content-pic {
        margin-top: 1em;
        height: 10em;
        margin-bottom: 5em;
    }

    .zgc-reviews {
        justify-content: flex-start;
        width: 99vw;
    }
    .swiper-sections-m {
        height: 540px;
        width: 90%;
        margin-bottom: 30px;
    }
    .zgc-reviews-cards {
        margin-top: 0.1em;
        height: 366px;
    }

    .zgc-reviews-card {
        height: 80%;
        width: 40vw;
        background-color: white;
    }

    .zgc-reviews-card > div:nth-child(1) {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0;
        height: 14%;
    }

    .zgc-reviews-card > div:nth-child(3) {
        height: 123px;
    }

    .zgc-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 750px;
    }

    .zgc-news {
        width: var(--zgc-bottom-media-bg);
    }

    .zgc-news-content {
        width: 70%;
        margin: 1.5em 1em 1.5em 1em
    }

    .zgc-news-date {
        margin: 1.5em 1em 1.5em auto
    }

    .zgc-contact {
        width: var(--zgc-bottom-media-bg);
    }

    .zgc-contact-content {
        padding-left: 20px;
    }

    .zgc-contact-content-bg {
        height: 100%;
    }

    .zgc-contact-content > div {
        margin: 1em 0 1em;
    }

}
