/* pc-头部 */
.pc-herder {
    height: 1rem;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 99;
    padding: 0 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0)
}

.pc-herder.active {
    background-color: #FFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}

.head-container,
.herder-nav-ul,
.web-features {
    display: flex;
    align-items: center;
    height: 100%;
}

.web-navigation {
    margin-left: 0.9rem;
    margin-right: 0.4rem;
    height: 100%;
}

.herder-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.web-logo {
    height: 0.8rem;
}

.stock-code-icon {
    height: 0.48rem;
    transform: translateY(0.05rem);
    margin-left: 0.2rem;
}

.email {
    margin: 0 0.4rem;
    width: 0.24rem;
    height: 0.24rem;
}

.email img {
    width: 100%;
}

.serch-btn {
    width: 0.24rem;
    height: 0.24rem;
    cursor: pointer;
}

.serch-btn img {
    width: 100%;
}

.herder-nav-li {
    margin-left: 0.4rem;
    height: 100%;
}

.herder-nav-li a {
    position: relative;
    font-size: 0.18rem;
    display: flex;
    color: #fff;
    height: 100%;
    align-items: center;

}

.herder-nav-li>a {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.78);
}

.herder-nav-li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    /* 从中间开始 */
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s;
    transform: translateX(-50%);
}

.herder-nav-li a:hover::after {
    width: 100%;
    /* 展开到全宽 */
    left: 50%;
    /* 保持居中 */
    transform: translateX(-50%);
    /* 保持居中 */
}

.pc-herder.active .herder-nav-li a {
    color: rgba(69, 74, 77, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
}

.pc-herder.active .herder-nav-li a:hover::after {
    background-color: rgba(0, 104, 207, 1);
}

.language a {
    font-size: 0.18rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.78);
}

.pc-herder.active .language a {
    color: rgba(69, 74, 77, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
}


.pull-down {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0;
    min-width: 160px;
    width: auto;
    height: auto;
    border-radius: 4px;
}

.pull-down li {
    padding: 8px 24px;
    margin: 0;
    text-align: center;
    list-style: none;
}

.pull-down li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s;
    white-space: nowrap;
}

.pull-down li:hover a {
    color: rgb(0, 79, 153);
}

.pull-down li:hover {
    background-color: #f8f9fa;
}


.herder-nav-li {
    position: relative;
}

.herder-nav-li:hover .pull-down {
    display: block;
}



/* 小三角形指示器 */
.p-down::before,
.pull-down::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.herder-nav-li:hover .p-down {
    display: flex;
}

/* 修改业务布局下拉菜单样式，使其符合图片中的三列布局 */
.herder-nav-li .p-down {
    display: none;
    background: #fff;
    width: 7rem;
    position: absolute;
    flex-direction: column;
    transform: translateX(-50%);
    padding: 0.2rem;
    border-radius: 0.12rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    top: 100%;
    left: 50%;
    z-index: 1000;
}



/* 三列主容器 */
.herder-nav-li .level-1-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0.4rem;
    flex-direction: column;
}

/* 每列样式 - 对应图片中的三个主分类 */
.herder-nav-li .level-1 {
    /* flex: 1; */
    /* min-width: 0; */
    display: flex;
    flex-direction: row;
}

/* 主分类标题样式 */
.herder-nav-li .level-1>a {
    font-weight: 600;
    font-size: 0.18rem;
    color: #333;
    text-decoration: none;
    text-align: center;
    display: flex;
    border-right: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    height: auto;
    width: 1.4rem;
    align-items: center;
    justify-content: center;
}

.herder-nav-li .level-1:hover>a {
    color: #024287;
    border-bottom-color: #024287;
}

/* 二级菜单容器 */
.herder-nav-li .level-1-sub {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* 二级菜单项样式 */
.herder-nav-li .level-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
    margin: 0 5px;
}

.level-2-sub {
    display: none;
}

/* 二级菜单链接 */
.herder-nav-li .level-2>a {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 0.08rem 0;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.herder-nav-li .level-2>a:hover {
    color: #024287;
}

.herder-nav-li .level-2>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #024287;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.herder-nav-li .level-2>a:hover::after {
    width: 80%;
}

/* 三级菜单容器 */
.herder-nav-li .herder-nav-li .level-2-sub {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.1rem;
}

/* 三级菜单项样式 */
.herder-nav-li .level-3 {
    width: 100%;
    margin-bottom: 0.08rem;
    text-align: center;
}

.herder-nav-li .level-3>a {
    font-size: 0.16rem;
    color: #666;
    text-decoration: none;
    padding: 0.05rem 0;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.herder-nav-li .level-3>a:hover {
    color: #024287;
    transform: translateX(3px);
}


.herder-nav-li .level-3>a:hover::before {
    opacity: 1;
    background-color: #024287;
}



/* 响应式调整 */
@media (max-width: 1024px) {
    .herder-nav-li .p-down {
        width: 8rem;
    }
}

@media (max-width: 768px) {
    .herder-nav-li .p-down {
        width: 6rem;
        left: 0;
        transform: translateX(0);
    }

    .herder-nav-li .level-1-wrapper {
        flex-direction: column;
    }

    .herder-nav-li .level-1 {
        margin-bottom: 0.2rem;
    }
}

/* 移动端头部 */
.mobile-herder {
    display: none;
    height: 66px;
    background-color: #FFF;
}


.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding-top: 40px;
}

.mobile-nav.active {
    left: 0;
}


.mobile-nav-ul {
    list-style: none;
    padding: 0;
}

.mobile-nav-li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.mobile-nav-li a:hover {
    background-color: #f8f9fa;
}

.mobile-nav-li.has-children>a {
    position: relative;
}

.mobile-nav-li.has-children>a::after {
    content: '›';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.mobile-nav-li.has-children.active>a::after {
    transform: rotate(90deg);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #f9f9f9;
}

.mobile-nav-li.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li {
    border-bottom: 1px solid #eaeaea;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    padding-left: 40px;
    font-size: 14px;
    color: #666;
}

.hamburger-menu {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    margin-left: 15px;
    position: relative;
    z-index: 1001;
    margin-right: 15px;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-header.active .hamburger-menu span {
    background-color: #fff;
}

.mobile-header-container {
    display: flex;
    height: 100%;
    justify-content: space-between;
}

.mobile-logo {
    display: flex;
    height: 100%;
    align-items: center;
    padding-left: 10px;
}

.mobile-logo img {
    height: 42px;
}

.mobile-features {
    display: flex;
    align-items: center;
}

.mobile-features .mobile-language {
    margin-left: 15px;
}

.mobile-language a {
    color: #000;
    font-size: 16px;
}

/* 底部 */
.foot {
    background-image: url(/ycig/lib/public/images/footer-bg.png);
    background-size: 100% 100%;
    width: 100%;
    overflow: hidden;
}

.foot .w1400 {
    padding: 1rem 0 0.4rem 0;
    width: 14rem;
    margin: 0 auto;
}

.web-info {
    display: flex;
    justify-content: space-between;
}

.web-info p {
    color: rgba(136, 136, 136, 1);
    font-size: 0.16rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-content .footer-nav {
    width: 5.6rem;
    display: flex;
    flex-wrap: wrap;
}

.footer-content .footer-nav .nav-item {
    margin-right: 0.74rem;
    margin-bottom: 0.52rem;
}

.footer-content .footer-nav .nav-item:nth-child(4) {
    margin-right: 0;
}

.footer-content .footer-nav .nav-item .nav-level-1 {
    margin-bottom: 0.2rem;
}

.footer-content .footer-nav .nav-item .nav-level-1 a {
    color: rgba(26, 26, 26, 1);
    font-size: 0.2rem;
    font-weight: 500;
}

.footer-content .footer-nav .nav-item .nav-level-ul li {
    margin-bottom: 8px;
}

.footer-content .footer-nav .nav-item .nav-level-ul li a {
    color: rgba(136, 136, 136, 1);
    font-size: 0.16rem;
}


.footer-content .Contact-Info-mb {
    display: none;
}

.footer-content .Contact-Info-mb .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-content .Contact-Info-mb .item img {
    margin-right: 10px;
}

.footer-content .Contact-Info .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.footer-content .Contact-Info .item img {
    margin-right: 0.12rem;
}

.footer-content .Contact-Info .item>div p:first-child {
    color: rgba(26, 26, 26, 1);
    font-size: 0.2rem;
    margin-bottom: 0.1rem;
}

.footer-content .Contact-Info .item>div p:last-child {
    color: rgba(136, 136, 136, 1);
    font-size: 0.16rem;
}

.friend-links {
    position: relative;
    display: inline-block;
    width: 175px;
    height: 40px;
}

.friend-links-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.friend-links-toggle:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.expand {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #888;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.friend-links-dropdown {
    width: 140%;
    position: absolute;
    top: 100%;
    left: -18%;
    right: 0;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.friend-links-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.friend-links-dropdown li {
    padding: 0;
    margin: 0;
}

.friend-links-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.friend-links-dropdown a:hover {
    background-color: #f5f5f5;
    color: #333;
    padding-left: 20px;
}

/* 下拉菜单展开时箭头旋转 */
.friend-links.active .expand {
    transform: rotate(180deg);
}

.expand {
    background-image: url(/ycig/lib/public/images/icon-expand.svg);

}

.footer-content .footer-nav .nav-item .nav-level-1:after {
    display: none;
}

@media screen and (max-width: 750px) {
    .pc-herder {
        display: none;
    }

    .footer-content .Contact-Info {
        display: none;
    }

    .mobile-herder {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .foot .w1400 {
        width: 95.2%;
    }

    .footer-content .footer-nav {
        width: 100%;
        margin-right: 0;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }

    .footer-content .footer-nav .nav-item .nav-level-1 a,
    .footer-content .footer-nav .nav-item .nav-level-ul li a {
        font-size: 16px;
    }

    .footer-content .footer-nav .nav-item .nav-level-ul {
        display: none;
    }

    .footer-content .footer-nav .nav-item {
        border-bottom: 1px solid #ccc;
        padding-bottom: 8px;
        margin: 8px !important;
    }

    .footer-content .footer-nav .nav-item .nav-level-1 {
        position: relative;
        margin-bottom: 8px;
    }

    .footer-content .footer-nav .nav-item .nav-level-1:after {
        display: block;
        content: '';
        width: 26px;
        height: 26px;
        background: url(/ycig/lib/public/images/drop-icon.png) no-repeat right center;
        background-size: 100%;
        position: absolute;
        right: 5px;
        bottom: 0px;
        transition: all .3s;
    }

    .footer-content .footer-nav .nav-item .nav-level-1.active::after {
        transform: rotate(180deg);
    }

    .friend-links {
        display: none;
    }

    .web-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .web-info p {
        font-size: 14px;
    }

    .footer-content .footer-nav .nav-item .nav-level-1 a {
        position: relative;
        z-index: 2;
        pointer-events: none;
        /* 让点击事件穿透到伪元素 */
    }
}