/* Compact shared footer */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 56px;
    border: 0;
    padding: 0;
    background: #061a32;
    color: #c6d5e7;
}

.site-footer::before {
    position: absolute;
    top: -210px;
    right: -120px;
    width: min(48vw, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, .24), rgba(14, 116, 144, 0) 68%);
    content: "";
    pointer-events: none;
}

.site-footer .site-footer-inner {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, .92fr) minmax(220px, .86fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
    margin: 0 auto;
    padding: 38px 0 26px;
}

.site-footer .site-footer-intro,
.site-footer .site-footer-company,
.site-footer .site-footer-resources {
    min-width: 0;
}

.site-footer .site-footer-head {
    display: flex;
    gap: 13px;
    align-items: center;
}

.site-footer .site-footer-mascot {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border: 1px solid rgba(166, 241, 220, .26);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    padding: 5px;
    filter: none;
}

.site-footer .footer-brand-copy {
    min-width: 0;
}

.site-footer .site-footer-eyebrow,
.site-footer .footer-section-title {
    margin: 0;
    color: #8fe7d0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.site-footer .site-footer-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0 0;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.site-footer .site-footer-brand i,
.site-footer .footer-company-details i {
    color: #8fe7d0;
}

.site-footer .site-footer-tagline {
    max-width: 500px;
    margin: 10px 0 0;
    color: #b5c6d9;
    font-size: 14px;
    line-height: 1.6;
}

.site-footer .footer-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.site-footer .site-footer-line,
.site-footer .site-footer-wechat {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 10px;
    padding: 8px 11px;
    background: rgba(255, 255, 255, .06);
    color: #f5fbff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.site-footer .site-footer-line {
    border-color: rgba(112, 230, 169, .42);
    background: rgba(6, 199, 85, .12);
}

.site-footer .site-footer-line > .fa-line,
.site-footer .site-footer-wechat > .fa-weixin {
    color: #8fe7d0;
    font-size: 16px;
}

.site-footer .site-footer-line > .fa-arrow-up-right-from-square {
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
}

.site-footer .site-footer-line:hover,
.site-footer .site-footer-line:focus-visible,
.site-footer .site-footer-wechat:hover,
.site-footer .site-footer-wechat:focus-visible {
    border-color: #8fe7d0;
    background: rgba(143, 231, 208, .14);
    color: #fff;
    outline: none;
}

.site-footer .site-footer-company,
.site-footer .site-footer-resources {
    display: block;
    margin: 0;
    padding-left: clamp(20px, 3vw, 34px);
    border-left: 1px solid rgba(255, 255, 255, .13);
}

.site-footer .footer-company-details {
    display: grid;
    gap: 9px;
    margin: 13px 0 0;
    color: #c6d5e7;
    font-size: 13px;
    font-style: normal;
    line-height: 1.5;
}

.site-footer .footer-company-details > a,
.site-footer .footer-company-details > span {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.site-footer .footer-company-details > span {
    grid-template-columns: 16px minmax(0, 1fr);
}

.site-footer .footer-company-details > a {
    min-height: 32px;
}

.site-footer .site-footer-company .footer-company-details > a > span,
.site-footer .site-footer-company .footer-company-details > span > span {
    width: auto !important;
    min-height: 0 !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}

.site-footer .footer-company-details i {
    margin-top: 2px;
    font-size: 13px;
}

.site-footer .footer-company-details .fa-arrow-up-right-from-square {
    color: rgba(255, 255, 255, .5);
    font-size: 9px;
}

.site-footer .footer-company-details a:hover,
.site-footer .footer-company-details a:focus-visible {
    color: #fff;
    outline: none;
}

.site-footer .site-footer-eyebrow,
.site-footer .site-footer-brand,
.site-footer .site-footer-tagline,
.site-footer .footer-section-title,
.site-footer .footer-company-details,
.site-footer .footer-company-details > a,
.site-footer .footer-company-details > span,
.site-footer .footer-links a,
.site-footer .site-footer-copyright,
.site-footer .footer-translate,
.site-footer .footer-translate-title,
.site-footer .footer-translate-select {
    color: #fff !important;
}

.site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
    margin-top: 9px;
}

.site-footer .footer-links a {
    min-height: 34px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
    color: #d8e3ef;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
    border-color: #8fe7d0;
    color: #fff;
    outline: none;
}

.site-footer .site-footer-bottom {
    position: relative;
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(260px, 330px);
    gap: 18px 28px;
    align-items: center;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 15px 0 18px;
}

.site-footer .visitor-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: #b6c8db;
    font-size: 11px;
}

.site-footer .visitor-stat-label,
.site-footer .visitor-stats .visitor-stat {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, .045);
    color: inherit;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.site-footer .visitor-stat-label {
    border-color: transparent;
    padding-left: 0;
    background: transparent;
    color: #f5fbff;
}

.site-footer .visitor-stat-label i {
    color: #8fe7d0;
}

.site-footer .visitor-stats .visitor-stat-primary {
    border-color: rgba(143, 231, 208, .34) !important;
    background: rgba(143, 231, 208, .1) !important;
}

.site-footer .visitor-stats strong {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.site-footer .visitor-stats a.visitor-stat {
    min-height: 40px;
}

.site-footer .visitor-stats a.visitor-stat:hover,
.site-footer .visitor-stats a.visitor-stat:focus-visible {
    border-color: #8fe7d0;
    color: #fff;
    outline: none;
}

.site-footer .site-footer-copyright {
    margin: 0;
    color: #8ea7c0;
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
    white-space: nowrap;
}

.site-footer .footer-language-wrap {
    min-width: 0;
}

.site-footer .site-footer-bottom > .footer-language-bottom {
    width: min(100%, 330px);
    justify-self: end;
    margin-left: auto;
    text-align: right;
}

.site-footer .site-footer-bottom > .footer-language-bottom .footer-translate {
    margin-left: auto;
    justify-self: end;
}

.site-footer .footer-translate {
    width: 100%;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 9px;
    align-items: center;
    padding: 0;
    color: #d8e3ef;
}

.site-footer .footer-translate-label {
    gap: 7px;
    min-width: 0;
    flex: 0 0 auto;
    justify-content: flex-end;
    text-align: right;
}

.site-footer .footer-translate-control {
    width: 132px;
    flex: 0 0 132px;
}

.site-footer .footer-translate-icon {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(143, 231, 208, .23);
    border-radius: 8px;
    background: rgba(143, 231, 208, .09);
    color: #8fe7d0;
    box-shadow: none;
}

.site-footer .footer-translate-title {
    color: #f5fbff;
    font-size: 12px;
}

.site-footer .footer-translate-subtitle {
    display: none;
}

.site-footer .footer-translate-select {
    width: 100%;
    min-height: 38px;
    border-color: rgba(255, 255, 255, .2);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #f5fbff;
    font-size: 13px;
    box-shadow: none;
}

.site-footer .footer-translate-select:hover,
.site-footer .footer-translate-select:focus {
    border-color: #8fe7d0;
    box-shadow: 0 0 0 3px rgba(143, 231, 208, .12);
}

.site-footer .footer-translate-select option {
    background: #0c2849;
    color: #fff;
}

.site-footer .footer-translate-arrow {
    color: #8fe7d0;
}

@media (max-width: 980px) {
    .site-footer .site-footer-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    }

    .site-footer .site-footer-resources {
        grid-column: 1 / -1;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .13);
    }

    .site-footer .site-footer-bottom {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    }

    .site-footer .site-footer-copyright {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-footer {
        margin-top: 44px;
    }

    .site-footer .site-footer-inner,
    .site-footer .site-footer-bottom {
        width: min(100% - 32px, 1180px);
    }

    .site-footer .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0 20px;
    }

    .site-footer .site-footer-company,
    .site-footer .site-footer-resources {
        grid-column: auto;
        padding: 18px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .13);
        border-left: 0;
    }

    .site-footer .site-footer-bottom {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 14px 0 18px;
    }

    .site-footer .footer-language-bottom {
        width: min(100%, 330px);
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .site-footer .site-footer-head {
        align-items: flex-start;
    }

    .site-footer .site-footer-mascot {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .site-footer .site-footer-brand {
        font-size: 19px;
    }

    .site-footer .footer-links {
        grid-template-columns: 1fr;
    }

    .site-footer .visitor-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .site-footer .visitor-stat-label {
        grid-column: 1 / -1;
    }

    .site-footer .visitor-stats .visitor-stat {
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer .site-footer-line,
    .site-footer .site-footer-wechat,
    .site-footer .footer-links a {
        transition: none;
    }
}
