/* 导航栏样式 */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none;
}
.navbar .container {
    width: calc(100% - 128px);
    max-width: 1792px;
    height: 64px;
    background: #FFFFFF;
    border-radius: 32px;
    margin: 16px auto 0 auto;
    padding: 0 32px;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.navbar .gs-name {
    width: 369px;
    height: 40px;
    background: url('../img/江河信息矢量 1.svg') center/contain no-repeat;
}
.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    font-weight: 500;
    font-size: 20px;
    padding: 0.6rem 1rem !important;
    margin: 0 1rem;
    line-height: 1.4;
    transition: all 0.3s;
    text-decoration: none;
    border-radius: 24px;
    color: #333 !important;
    overflow: visible;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #006CFF !important;
    background: linear-gradient(270deg, rgba(0,108,255,0.2) 0%, rgba(0,108,255,0) 100%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
            content: '';
            display: block;
            position: absolute;
            right: -12px;
            bottom: 0;
            width: 16px;
            height: 16px;
            background-image: url('../home/Union\ \(1\).png');
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 1;
}
/* 产品与服务下拉菜单不显示三角图标 */
.navbar-nav .nav-link.dropdown-toggle::after {
    content: none !important;
}

.nav-link-button {
    position: relative;
    width: 170px;
    height: 40px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    background: #eff6ff;
}
.nav-link-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(to top right, transparent 0%, rgba(255,255,255,0.5) 35%, rgba(255,255,255,0.5) 65%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.nav-search-item {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav-search-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 108, 255, 0.16);
    border-radius: 50%;
    color: #006cff;
    background: #eff6ff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 79, 179, 0.08);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-search-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.nav-search-button:hover,
.nav-search-button.active {
    color: #fff;
    border-color: #006cff;
    background: #006cff;
    transform: translateY(-1px);
}

.nav-search-button:focus-visible {
    outline: 3px solid rgba(0, 108, 255, 0.28);
    outline-offset: 3px;
}

/* 页脚样式 */
.footer {
    position: relative;
    background: linear-gradient(81deg, #363C87 0%, #0E204C 26.86%);
    color: rgba(255, 255, 255, 0.6);
    width: 100%;
    padding: 1.5rem 0;
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
    gap: 36px;
    margin-top: 20px;
    padding-top: 2rem;
    border-top: 1px solid #3e4d70;
}
.footer-copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
    padding: 0 0 0 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.26);
}
.footer-copyright p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}
.footer-owner {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.footer-meta-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.footer-meta-icon--icp {
    background-image: url('../img/footer-icp.png');
}
.footer-meta-icon--police {
    background-image: url('../img/footer-police-emblem.png');
}
.footer-meta-icon--company {
    background-image: url('../img/favicon.svg');
}
.footer-utility-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 14px;
    line-height: 1.6;
}
.footer-utility-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-utility-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-utility-links a:focus-visible {
    color: #fff;
    outline: 2px solid rgba(143, 181, 234, 0.9);
    outline-offset: 3px;
    border-radius: 2px;
}
.footer-logo {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-logo img {
    height: 30px;
}
.footer-links {
    flex: 1 1 720px;
    width: min(100%, 760px);
    min-width: 0;
    margin-left: auto;
}
.footer-link-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}
.footer-link-group {
    position: relative;
    min-width: 0;
}
.footer-link-group summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 42px 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-link-group summary::-webkit-details-marker {
    display: none;
}
.footer-link-group summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 17px;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}
.footer-link-group summary:hover,
.footer-link-group summary:focus-visible,
.footer-link-group[open] summary {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    outline: none;
}
.footer-link-group summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(106, 174, 255, 0.35);
}
.footer-link-group[open] summary::after {
    transform: translateY(-25%) rotate(225deg);
}
.footer-link-panel {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    z-index: 40;
    width: min(680px, calc(100vw - 48px));
    max-height: min(380px, 55vh);
    padding: 20px;
    overflow-y: auto;
    border: 1px solid rgba(20, 55, 109, 0.12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(3, 17, 48, 0.28);
    color: #303744;
    transform: translateX(-50%);
}
.footer-link-group:first-child .footer-link-panel {
    left: 0;
    transform: none;
}
.footer-link-group:last-child .footer-link-panel {
    right: 0;
    left: auto;
    transform: none;
}
.footer-link-group--compact .footer-link-panel {
    width: min(420px, calc(100vw - 48px));
}
.footer-link-panel-title {
    margin: 0 0 14px;
    padding-left: 10px;
    border-left: 3px solid #1677ff;
    color: #17233d;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}
.footer-link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.footer-link-list--agencies {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.footer-link-item {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 5px;
    background: #f4f6f9;
    color: #4c5565 !important;
    font-size: 14px;
    line-height: 1.5;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-link-item:hover,
.footer-link-item:focus-visible {
    background: #eaf3ff;
    color: #0969da !important;
    outline: none;
    transform: translateY(-1px);
}
.footer-link-empty {
    grid-column: 1 / -1;
    padding: 18px;
    border-radius: 5px;
    background: #f4f6f9;
    color: #7a8494;
    font-size: 14px;
    text-align: center;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}
.footer-bottem {
    display: flex;
    gap: 2.5rem;
    min-width: 0;
}
.footer-info {
    width: 100%;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
}
.footer-info p {
    margin-bottom: 5px;
}
.footer-qr {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}
.qr-img {
    margin-left: 5px;
    background-color: #FFFFFF;
    border-radius: 4px;
    width: 88px;
    height: 88px;
}
.qr-img img {
    margin: 3px 3px;
    width: 80px;
    height: 80px;
}

.footer-qr p {
    font-size: 14px;
    font-weight: 400;
}
.footer a {
    color: #ccc;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .footer-links {
        flex-basis: auto;
        width: 100%;
        margin-left: 0;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-copyright {
        padding: 1.5rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .footer-link-groups {
        grid-template-columns: 1fr;
    }
    .footer-link-panel,
    .footer-link-group:first-child .footer-link-panel,
    .footer-link-group:last-child .footer-link-panel,
    .footer-link-group--compact .footer-link-panel {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        max-height: 320px;
        margin-top: 8px;
        padding: 15px;
        transform: none;
    }
    .footer-link-list,
    .footer-link-list--agencies {
        grid-template-columns: 1fr;
    }
    .footer-bottem {
        display: grid;
        grid-template-columns: 100px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        width: 100%;
        text-align: left;
    }
    .footer-qr {
        align-items: center;
        min-width: 0;
        white-space: normal;
    }
    .footer-qr .qr-img {
        margin-left: 0;
    }
    .footer-qr p {
        margin: 0;
        font-size: 12px;
        line-height: 1.45;
        white-space: nowrap;
    }
    .footer-info {
        min-width: 0;
        font-size: 12px;
        line-height: 1.65;
        text-align: left;
        overflow-wrap: anywhere;
    }
    .footer-info p {
        margin-bottom: 4px;
    }
    .footer-copyright {
        align-items: center;
        text-align: center;
    }
    .footer-copyright p,
    .footer-utility-links {
        justify-content: center;
    }
}

/* 所有内容页都会加载本文件：折叠导航的 mega 菜单需以整行宽度计算。 */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        width: 100%;
        align-items: stretch !important;
    }

    .navbar .navbar-nav > .nav-item,
    .navbar .mega-dropdown {
        width: 100%;
    }

    .navbar .mega-dropdown > .mega-menu {
        width: 100% !important;
        max-width: 100%;
        overflow-x: hidden;
    }
}

@font-face {
    font-family: 'AlimamaShuHeiTi';
    src: url('../fonts/AlimamaShuHeiTi-Bold.woff2') format('woff2'),
         url('../fonts/AlimamaShuHeiTi-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Alibaba PuHuiTi 3.0"; display: flex; flex-direction: column; color: #333; }
main { flex: 0 0 auto; }
.hero-content {position: relative; left: max(0px, calc((100vw - 1200px) / 2)); z-index: 1;}
.hero-content h2 {  font-size: 44px; font-weight: 700; margin-bottom: 12px !important;}
.hero-content p { font-size: 16px; font-weight: 500;line-height: 1.6; margin-bottom: 1rem; opacity: 0.95; margin-top: 0 !important;}
