/*
 * Harbin Engineering University inspired visual layer.
 * The page's original links, editable regions and content structure stay intact.
 */
:root {
    --heu-blue: #064982;
    --heu-deep: #003765;
    --heu-bright: #0b67a8;
    --heu-ink: #1d2731;
    --heu-paper: #f1f2f3;
    --heu-line: rgba(0, 79, 139, .18);
    --heu-shadow: 0 12px 35px rgba(0, 45, 82, .10);
}

html { scroll-behavior: smooth; }
body {
    margin: 0 !important;
    color: var(--heu-ink) !important;
    background: var(--heu-paper) !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif !important;
    overflow-x: hidden;
}
body::selection { color: #fff; background: var(--heu-blue); }
*, *::before, *::after { box-sizing: border-box; }
a { transition: color .25s ease, background-color .25s ease, transform .25s ease, opacity .25s ease; }
.w1400 { width: min(1216px, calc(100% - 64px)) !important; max-width: none !important; margin: 0 auto !important; }

/* Smooth, one-shot viewport reveals. Classes are added by JavaScript so content
   stays readable when scripting is unavailable. */
.motion-reveal {
    --motion-x: 0px;
    --motion-y: 34px;
    opacity: 0 !important;
    transform: translate3d(var(--motion-x), var(--motion-y), 0) !important;
    transition:
        opacity .82s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms),
        transform .92s cubic-bezier(.22, 1, .36, 1) var(--motion-delay, 0ms) !important;
    will-change: opacity, transform;
}
.new1-l.motion-reveal { --motion-x: -34px; --motion-y: 0px; }
.new1-r.motion-reveal { --motion-x: 34px; --motion-y: 0px; }
.motion-reveal.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: auto;
}

/* Header: one clean navigation row over the hero, then solid blue on scroll. */
.header_box {
    position: absolute !important;
    inset: 0 0 auto !important;
    z-index: 1200 !important;
    height: 82px !important;
    pointer-events: none;
}
.header_box_li { height: 82px !important; }
#header {
    position: absolute !important;
    inset: 0 0 auto !important;
    height: 82px !important;
    padding: 0 !important;
    color: #fff !important;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .66) 0%,
        rgba(0, 0, 0, .28) 68%,
        rgba(0, 0, 0, 0) 100%
    ) !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: background .3s ease, box-shadow .3s ease, height .3s ease !important;
    pointer-events: auto;
}
.header_box_li #header::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
    background: transparent !important;
}
#header.xg {
    position: fixed !important;
    background: linear-gradient(
        180deg,
        rgba(4, 76, 132, .98) 0%,
        rgba(4, 76, 132, .98) 100%
    ) !important;
    backdrop-filter: blur(14px) saturate(1.12);
    box-shadow: 0 5px 18px rgba(0, 37, 69, .22) !important;
}
.header_box_li #header.xg::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
    background: transparent !important;
}
#header .w1400 { height: 100%; position: relative; }
#header .head-b {
    position: absolute !important;
    inset: 0 !important;
    height: 82px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    transform: none !important;
}
#header .head-b > nav {
    width: 39% !important;
    height: 82px !important;
}
#header .head-b > nav ul {
    height: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
#header .head-b > nav li { height: 100% !important; flex: 1 1 auto !important; }
#header .head-b > nav li > a {
    height: 100% !important;
    padding: 0 8px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #fff !important;
    position: relative;
}
#header .head-b > nav li > a::after {
    content: "";
    position: absolute;
    left: 50%; right: 50%; bottom: 8px;
    height: 2px;
    background: #fff;
    transition: left .25s ease, right .25s ease;
}
#header .head-b > nav li:hover > a::after,
#header .head-b > nav li.on > a::after { left: 28%; right: 28%; }
#header .head-b > nav h3 {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    color: inherit !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.18);
}
#header #logo {
    position: static !important;
    width: 22% !important;
    height: 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
}
#header.xg #logo {
    margin: -.4rem 0 0 !important;
}
#header #logo a { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; }
#header #logo img {
    width: min(270px, 100%) !important;
    height: 66px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
    transform: translateY(14px) !important;
    transform-origin: center;
    transition: transform .36s cubic-bezier(.22,1,.36,1), filter .36s ease !important;
}
@media (min-width: 1200px) {
    #header #logo a:hover img,
    #header #logo a:focus-visible img {
        transform: translateY(14px) scale(1.06) !important;
        filter: drop-shadow(0 5px 10px rgba(0,0,0,.26));
    }
}
#header .sub {
    top: 78px !important;
    min-width: 145px !important;
    padding-top: 4px !important;
    background: transparent !important;
}
#header .sub .box {
    padding: 10px 0 !important;
    background: rgba(0, 57, 105, .96) !important;
    box-shadow: 0 12px 22px rgba(0,0,0,.18);
}
#header .sub a { padding: 9px 22px !important; color: rgba(255,255,255,.92) !important; font-size: 13px !important; }
#header .sub a:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
#header #nav ul li .sub::after { content: none !important; display: none !important; }
#header .line_bot { display: none !important; }

/* Zhejiang University inspired moving watermark. */
.scroll-emblem {
    --emblem-y: 0px;
    position: fixed;
    top: 22vh;
    right: -3vw;
    z-index: 9;
    width: clamp(220px, 22vw, 360px);
    aspect-ratio: 187 / 222;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, var(--emblem-y), 0);
    transition: opacity .65s ease;
    will-change: transform, opacity;
    mix-blend-mode: multiply;
}
.scroll-emblem.is-active { opacity: .055; }
.scroll-emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) grayscale(1);
}

/* Hero */
.banner_box { height: min(100vh, 760px) !important; min-height: 650px !important; background: #003765 !important; }
.banner_slider, .banner_slider .slick-list, .banner_slider .slick-track,
.banner_slider li, .banner_slider li > a, .banner_slider li .img { height: 100% !important; }
.banner_slider li a .img .img_hezi { padding: 0 !important; height: 100% !important; }
.banner_slider li a .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: saturate(.94) contrast(1.02);
    transition: transform 8s cubic-bezier(.2, .65, .3, 1), filter .6s ease !important;
}
.banner_slider.on li.slick-current a .img img { transform: scale(1.065) !important; }
.banner_slider li a .img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,34,65,.34) 0, transparent 36%, rgba(0,28,54,.18) 100%);
}
.banner_slider li a .img::after {
    z-index: 2 !important;
    height: 180px !important;
    background: linear-gradient(0deg, rgba(0,43,78,.48), transparent) !important;
}
.banner_slider .slick-arrow {
    z-index: 20 !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid rgba(255,255,255,.38) !important;
    background: rgba(0,55,100,.32) !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center;
    opacity: 0;
    transition: opacity .25s ease, background .25s ease !important;
}
.banner_box:hover .slick-arrow { opacity: 1; }
.banner_slider .slick-arrow:hover { background: rgba(0,73,130,.72) !important; }
.banner_slider .slick-arrow:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px !important;
    opacity: 1;
}
.banner_slider .slick-prev { left: 36px !important; }
.banner_slider .slick-next { right: 36px !important; }
.banner_box > .slick-dots_box {
    position: absolute;
    left: 0;
    bottom: 28px !important;
    z-index: 15 !important;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.banner_box > .slick-dots_box .slick-dots {
    position: static;
    display: flex;
    width: auto;
    margin: 0;
    padding: 0;
    align-items: center;
    list-style: none;
}
.banner_box > .slick-dots_box .slick-dots li { width: auto; height: auto; margin: 0 7px !important; }
.banner_box > .slick-dots_box .slick-dots li button { width: 24px !important; height: 3px !important; padding: 0; border-radius: 0 !important; background: rgba(255,255,255,.52) !important; }
.banner_box > .slick-dots_box .slick-dots li.slick-active button { width: 42px !important; background: #fff !important; }
.banner_box > .slick-dots_box .slick-dots li button:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 4px !important;
}

/* Shared section title */
.newtiti {
    min-height: 58px !important;
    margin: 0 0 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}
.title { color: #272f36 !important; font-family: STKaiti, KaiTi, "Microsoft YaHei", sans-serif !important; }
.title span { padding: 0 14px !important; font-size: 30px !important; font-weight: 400 !important; letter-spacing: .06em; }
.moregd { margin-left: 16px !important; font-size: 12px !important; }
.moregd a { color: #697987 !important; }
.moregd a:hover { color: var(--heu-blue) !important; }

/* Compact service band */
.quick-links {
    padding: 32px 0 30px !important;
    background: linear-gradient(135deg, #003c70, #075891) !important;
    position: relative;
}
.quick-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./logo.png") center / 520px auto no-repeat;
    opacity: .035;
    pointer-events: none;
}
.quick-links ul { gap: 0 !important; justify-content: space-between !important; position: relative; z-index: 1; }
.quick-links li { width: 14.285% !important; padding: 0 10px; }
.quick-links li a {
    height: 92px !important;
    padding: 8px !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.quick-links li:last-child a { border-right: 0 !important; }
.quick-links li a:hover { transform: translateY(-5px) !important; box-shadow: none !important; }
.quick-links li a img { width: 40px !important; height: 40px !important; filter: brightness(0) invert(1); opacity: .9; }
.quick-links li p { margin-top: 10px !important; font-size: 14px !important; font-weight: 400 !important; color: rgba(255,255,255,.94) !important; }

/* PC navigation already contains these seven destinations. */
@media (min-width: 1200px) {
    .quick-links { display: none !important; }
}

/* Main news area */
.new1 {
    position: relative;
    padding: 58px 0 72px !important;
    background: #f2f2f2 !important;
    isolation: isolate;
}
.new1::before {
    content: "译";
    position: absolute;
    left: -45px;
    bottom: -130px;
    z-index: -1;
    font-family: STKaiti, KaiTi, serif;
    font-size: 470px;
    line-height: 1;
    color: rgba(0,69,123,.035);
}
.new1-b { padding: 0 !important; display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px !important; align-items: stretch !important; }
.new1-l, .new1-r { width: auto !important; }
.new1-l {
    background: #fff;
    box-shadow: var(--heu-shadow);
    border-top: 4px solid var(--heu-blue);
}
.new1-l .imged { padding-bottom: 55% !important; border-radius: 0 !important; }
.new1-l .featured-info { padding: 22px 26px 24px !important; }
.new1-l .featured-info h2 { margin: 0 0 10px !important; font-size: 19px !important; line-height: 1.55 !important; }
.new1-l .featured-info p { margin: 0 !important; font-size: 13px !important; line-height: 1.85 !important; color: #66717a !important; }
.new1-l .featured-info span { margin-top: 14px !important; color: #8c969d !important; }
.new1-r { padding: 12px 26px !important; background: #fff !important; box-shadow: var(--heu-shadow); border-top: 4px solid var(--heu-blue); }
.new1-r ul { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.new1-r li { padding: 17px 0 !important; border-bottom: 1px dotted #c8cdd1 !important; }
.new1-r li a { min-height: 32px; }
.new1-r li h2 { max-width: calc(100% - 92px) !important; font-size: 15px !important; font-weight: 600 !important; }
.new1-r li:hover h2 { transform: translateX(6px) !important; }

/* DLUT-inspired synchronized news gallery */
.new1.research-news {
    overflow: hidden;
    padding: 62px 0 68px !important;
    color: #27333c;
    background: #fff !important;
}
.new1.research-news::before {
    content: "";
    inset: 0;
    left: auto;
    bottom: auto;
    width: 58%;
    height: 100%;
    z-index: 0;
    font-size: 0;
    background:
        linear-gradient(135deg, transparent 46%, rgba(0,76,132,.032) 46.2%, transparent 46.5%) 0 0 / 86px 86px,
        linear-gradient(45deg, transparent 46%, rgba(0,76,132,.026) 46.2%, transparent 46.5%) 0 0 / 86px 86px;
    opacity: .72;
}
.new1.research-news::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #e2e8ec;
}
.research-news .w1400 { position: relative; z-index: 2; }
.research-heading,
.newtiti {
    --section-heading-color: #27333c;
    --section-heading-ghost: rgba(0,76,132,.11);
    --section-heading-rule: #0b5b93;
}
.news-section .newtiti {
    --section-heading-color: #fff;
    --section-heading-ghost: rgba(255,255,255,.16);
    --section-heading-rule: rgba(255,255,255,.9);
}
.research-heading { min-height: 58px; margin: 0 0 34px; text-align: center; }
.research-heading h2,
.newtiti .title span {
    position: relative;
    display: inline-block;
    margin: 0 !important;
    padding: 0 18px 10px !important;
    color: var(--section-heading-color) !important;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    letter-spacing: .08em !important;
    line-height: 1.3;
}
.research-heading h2::before,
.newtiti .title span::before {
    content: attr(data-en);
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    color: var(--section-heading-ghost);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .12em;
    white-space: nowrap;
}
.research-heading h2::after,
.newtiti .title span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 46px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--section-heading-rule);
}
.research-showcase { position: relative; outline: 0; }
.research-showcase:focus-visible { outline: 1px solid rgba(11,91,147,.55); outline-offset: 8px; }
.research-visual-stage {
    position: relative;
    height: clamp(330px, 36vw, 455px);
    margin-top: 6px;
    overflow: hidden;
}
.research-visual {
    --research-x: 0%;
    --research-scale: .58;
    --research-opacity: 0;
    --research-z: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(720px, 60vw);
    aspect-ratio: 16 / 9;
    z-index: var(--research-z);
    opacity: var(--research-opacity);
    transform: translate(calc(-50% + var(--research-x)), -50%) scale(var(--research-scale));
    transform-origin: center;
    pointer-events: none;
    transition:
        transform .82s cubic-bezier(.22,1,.36,1),
        opacity .55s ease,
        filter .55s ease;
    will-change: transform, opacity;
}
.research-visual a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #002c50;
    box-shadow: 0 18px 46px rgba(0,42,74,.22);
}
.research-visual a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,20,38,.42);
    transition: opacity .45s ease;
}
.research-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5.5s ease;
}
.research-visual.is-active { pointer-events: auto; }
.research-visual.is-active a::after { opacity: 0; }
.research-visual.is-active img { transform: scale(1.035); }
.research-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(11,91,147,.42);
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #0b5b93;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.research-arrow span { display: block; font: 34px/38px Arial, sans-serif; }
.research-arrow:hover { background: #0b5b93; color: #fff; border-color: #0b5b93; transform: translateY(-50%) scale(1.06); }
.research-arrow:focus-visible {
    outline: 3px solid rgba(11,91,147,.35) !important;
    outline-offset: 3px !important;
    background: #0b5b93;
    color: #fff;
    border-color: #0b5b93;
}
.research-prev { left: calc(20% - 56px); }
.research-next { right: calc(20% - 56px); }
.research-copy-stage {
    position: relative;
    width: min(780px, calc(100% - 160px));
    min-height: 116px;
    margin: 8px auto 0;
}
.research-copy {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    text-align: center;
    transition: opacity .4s ease, transform .52s cubic-bezier(.22,1,.36,1);
}
.research-copy.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.research-copy h3 { margin: 0 0 13px; font-size: 20px; font-weight: 600; line-height: 1.55; }
.research-copy h3 a { color: #263743 !important; text-decoration: none; }
.research-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #667681;
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.research-index {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    color: #82909a;
    font: 12px/1 Georgia, serif;
}
.research-index .research-current { color: #0b5b93; font-size: 18px; }
.research-index i { display: block; width: 46px; height: 1px; background: rgba(11,91,147,.34); }
.research-live-list {
    display: none;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #dce4e9;
}
.research-live-list.has-items { display: block; }
.research-live-list ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.research-live-list li { min-width: 0; }
.research-live-list li a { color: #435864 !important; }

/* Three-column news block */
.news-section {
    position: relative;
    padding: 62px 0 72px !important;
    background: linear-gradient(110deg, rgba(0,49,91,.97), rgba(5,83,139,.92)), url("https://dlufl.edu.cn/__local/2/39/4B/F18CC9C0B5F0D4C7D091CB642C3_D54053C6_37F188.jpg?e=.jpg") center / cover !important;
}
.news-section .title, .news-section .moregd a { color: #fff !important; }
.news-row { margin: 0 -12px !important; }
.news-card {
    min-height: 250px;
    padding: 25px 25px 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 14px 32px rgba(0,26,49,.20);
}
.news-card:hover { transform: translateY(-5px) !important; box-shadow: 0 18px 40px rgba(0,25,47,.28) !important; }
.news-card h4 {
    padding-bottom: 13px !important;
    margin-bottom: 12px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #23303a !important;
    border-bottom: 1px solid #d7dde1 !important;
}
.news-card h4::after { width: 45px !important; height: 3px !important; bottom: -2px !important; background: var(--heu-blue) !important; }

/* Topics */
.topics-section {
    padding: 58px 0 68px !important;
    background: #f3f3f3 !important;
    border-top: 1px solid #e4e6e8;
}
.topics-grid { gap: 18px !important; }
.topic-item { border-radius: 0 !important; box-shadow: 0 10px 26px rgba(0,41,75,.09) !important; }
.topic-img { padding-bottom: 54% !important; }
.topic-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.22);
}
.topic-overlay {
    padding: 42px 16px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: .08em;
    background: linear-gradient(transparent, rgba(0,48,87,.9)) !important;
}

/* Footer */
#footer { color: rgba(255,255,255,.78) !important; background: #002f57 !important; }
#footer .footer1 { padding: 42px 0 32px !important; background: linear-gradient(135deg, #003c6c, #002c50) !important; }
#footer .footer2 { padding: 15px 0 !important; background: #002541 !important; border-top: 1px solid rgba(255,255,255,.08); }
#footer .container { width: min(1216px, calc(100% - 64px)) !important; max-width: none !important; margin: 0 auto !important; }
#footer .widget-title { margin-bottom: 18px !important; padding-bottom: 11px !important; font-size: 16px !important; color: #fff !important; position: relative; }
#footer .widget-title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; background: rgba(255,255,255,.34); }
#footer .widget-body, #footer a { color: rgba(255,255,255,.7) !important; }
#footer a:hover { color: #fff !important; }
#footer .footer1 .footer-wechat,
#footer .footer1 .footer-links { width: 50% !important; }
#footer .footer-wechat .widget-body { display: flex; justify-content: center; align-items: center; }
#footer .footer-wechat-code {
    display: block;
    width: 156px;
    height: 156px;
    object-fit: contain;
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 6px;
}
#footer .friend-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px !important;
    row-gap: 0 !important;
}
#footer .friend-links li {
    min-width: 0;
    border-bottom: 1px solid rgba(151,195,231,.2);
}
#footer .friend-links li a {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 42px;
    width: 100%;
    padding: 0 24px 0 2px !important;
    overflow: hidden;
    color: rgba(180,214,240,.88) !important;
    font: 400 13px/1.5 "Microsoft YaHei", "PingFang SC", sans-serif;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    transform: none !important;
    transition: color .25s ease, padding-left .25s ease;
}
#footer .friend-links li a::after {
    content: "›";
    position: absolute;
    right: 2px;
    top: 50%;
    color: rgba(151,195,231,.72);
    font: 18px/1 Arial, sans-serif;
    transform: translateY(-50%);
    transition: color .25s ease, transform .25s ease;
}
#footer .friend-links li a:hover,
#footer .friend-links li a:focus-visible {
    padding-left: 8px !important;
    color: #fff !important;
    background: transparent !important;
    transform: none !important;
}
#footer .friend-links li a:hover::after,
#footer .friend-links li a:focus-visible::after {
    color: #fff;
    transform: translate(3px, -50%);
}
#footer .footer2 { padding: 22px 0 !important; }
#footer .footer2 .row { align-items: center; flex-wrap: nowrap; }
#footer .footer2 .footer-legal-col {
    width: calc(100% - 112px) !important;
    padding-right: 28px;
}
#footer .footer-legal p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.9;
    text-align: left !important;
}
#footer .footer-legal,
#footer .footer-legal p,
#footer .footer-legal p span,
#footer .footer-legal p a {
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    color: rgba(255,255,255,.76) !important;
}
#footer .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left !important;
}
#footer .footer-legal .footer-legal-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px 18px;
    width: 100%;
    margin: 0;
    text-align: left !important;
}
#footer .footer-legal p + p { margin-top: 0; }
#footer .footer-legal p span { display: inline; margin: 0; }
#footer .footer-legal a {
    display: inline;
    margin: 0;
    text-decoration: none;
}
#footer .footer2 .footer-badge-col {
    display: flex;
    justify-content: flex-end;
    width: 112px !important;
    flex: 0 0 112px;
}
#footer .footer-cert {
    display: block;
    line-height: 0;
    opacity: .9;
    transition: opacity .25s ease, transform .25s ease;
}
#footer .footer-cert:hover { opacity: 1; transform: translateY(-2px); }
#footer .footer-cert img { display: block; width: 82px; height: auto; }

/* DLUT-inspired right-side service rail */
.quick-tools {
    position: fixed;
    right: 0;
    top: 28%;
    z-index: 1000;
    width: 74px;
    padding: 12px 0 10px;
    background: rgba(43,105,167,.62);
    box-shadow: 0 12px 30px rgba(0,35,68,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(110%);
    transition: opacity .3s ease, visibility .3s ease, transform .42s cubic-bezier(.22,1,.36,1);
}
.quick-tools::before,
.quick-tools::after {
    content: "";
    position: absolute;
    left: 0;
    width: 74px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(91,157,214,.82), rgba(41,111,183,.88));
}
.quick-tools::before { top: -13px; height: 14px; border-radius: 38px 38px 0 0; }
.quick-tools::after { bottom: -10px; height: 11px; border-radius: 0 0 38px 38px; }
.quick-tools.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.quick-tools > a,
.quick-tools > button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 74px;
    min-height: 66px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: #fff !important;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .3s ease;
}
.quick-tools > a::after,
.quick-tools > button::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.24);
}
.quick-tools > a:hover,
.quick-tools > button:hover { background: #296fb7; }
.quick-tools svg {
    width: 25px;
    height: 25px;
    margin-bottom: 4px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .5s ease;
}
.quick-tools > a:hover svg,
.quick-tools > button:hover svg,
.quick-tools > a:hover .quick-tools-oa { transform: rotateY(360deg); }
.quick-tools > a span,
.quick-tools > button span { font-size: 12px; line-height: 1.25; white-space: nowrap; }
.quick-tools-oa {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-bottom: 3px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font: 700 10px/1 Arial, sans-serif !important;
    transition: transform .5s ease;
}
.quick-tools .quick-tools-top { min-height: 58px; }
.quick-tools .quick-tools-collapse { min-height: 42px; padding: 5px 4px; }
.quick-tools .quick-tools-collapse::after { display: none; }
.quick-tools .quick-tools-collapse svg { width: 18px; height: 18px; margin: 0; }
.quick-tools .quick-tools-collapse span { font-size: 10px; }
.quick-tools-restore {
    position: fixed;
    right: -40px;
    top: 40%;
    z-index: 999;
    width: 38px;
    height: 190px;
    padding: 14px 8px;
    border: 0;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(180deg, #4884c2, #296fb7);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0,35,68,.2);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: right .4s cubic-bezier(.22,1,.36,1), opacity .3s ease, visibility .3s ease;
}
.quick-tools-restore span { display: block; font-size: 13px; line-height: 1.3; writing-mode: vertical-rl; letter-spacing: .18em; }
.quick-tools-restore.is-visible { right: 0; opacity: 1; visibility: visible; }

/* Mobile */
@media (max-width: 1199.98px) {
    .w1400, #footer .container { width: calc(100% - 40px) !important; }
    .header_box { display: none !important; }
    .m_header_box { display: block !important; }
    #m_header { height: 64px !important; padding-left: 0 !important; background: #064982 !important; box-shadow: 0 3px 14px rgba(0,42,77,.2); }
    #m_header #logo {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        width: auto !important;
        max-width: calc(100% - 60px);
        height: 64px !important;
        margin: 0 !important;
        padding: 0 0 0 4px !important;
    }
    #m_header #logo a { display: flex; align-items: center; width: 100%; height: 100%; }
    #m_header #logo img.mobile-logo-horizontal {
        display: block;
        width: 100% !important;
        height: 34px !important;
        object-fit: contain !important;
        object-position: left center;
    }
    #m_header #nav_btn_box { flex: 0 0 60px; height: 64px; }
    #m_header #nav_btn_box::before {
        inset: 9px 7px;
        border: 1px solid rgba(255,255,255,.72);
        border-radius: 12px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 5px 14px rgba(0,30,55,.22);
    }
    #m_header #nav_btn_box::after { content: none; display: none; }
    #nav_btn .point {
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        appearance: none;
    }
    #nav_btn .navbtn {
        left: 11px;
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #075991;
    }
    #nav_btn .navbtn::before,
    #nav_btn .navbtn::after {
        left: 0;
        height: 2px;
        border-radius: 2px;
        background: #075991;
    }
    #nav_btn .navbtn { top: 22px; }
    #nav_btn .navbtn::after { top: -7px; width: 18px; }
    #nav_btn .navbtn::before { top: 7px; width: 21px; }
    #nav_btn .point:hover .navbtn,
    #nav_btn .point:hover .navbtn::before,
    #nav_btn .point:hover .navbtn::after { width: 24px; }
    #nav_btn .point.on .navbtn { background: transparent; }
    #nav_btn .point.on .navbtn::after,
    #nav_btn .point.on .navbtn::before { top: 0; width: 24px; background: #075991; }
    #nav_btn .point.on .navbtn::after { transform: rotate(45deg); }
    #nav_btn .point.on .navbtn::before { transform: rotate(-45deg); }
    #m_nav {
        padding: 72px 18px 24px;
        overflow: hidden;
        background: #f4f6f8;
    }
    #m_nav .close { display: none !important; }
    .list_box_nav_mobile {
        max-height: calc(100vh - 96px);
        padding: 0 4px 26px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .list_box_nav_mobile > li { overflow: visible; border-bottom: 1px solid #dce3e8; }
    .list_box_nav_mobile > li .a {
        min-height: 52px;
        padding: 0 6px;
        border-bottom: 0;
        color: #263640;
        font-size: 16px;
        font-weight: 500;
    }
    .list_box_nav_mobile > li i {
        top: 0;
        right: 0;
        width: 48px;
        height: 52px;
        background: none !important;
        cursor: pointer;
        transform: none !important;
    }
    .list_box_nav_mobile > li i::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 18px;
        width: 9px;
        height: 9px;
        border-right: 2px solid #547180;
        border-bottom: 2px solid #547180;
        transform: rotate(45deg);
        transition: transform .25s ease, top .25s ease;
    }
    .list_box_nav_mobile > li.on1 i::before { top: 23px; transform: rotate(225deg); }
    .list_box_nav_mobile > li .list {
        margin: 0 0 8px;
        padding: 4px 0 8px 16px;
        border: 0;
        border-left: 2px solid rgba(11,91,147,.24);
        background: rgba(11,91,147,.035);
    }
    .list_box_nav_mobile > li .list a {
        padding: 3px 12px;
        color: #5a6b75;
        font-size: 14px;
        line-height: 2.25;
    }
    .banner_box { height: auto !important; min-height: 0 !important; }
    .ph_banner { display: block !important; margin-top: 64px !important; }
    .ph_banner .bannerimg .img_hezi { padding-bottom: 62% !important; }
    .quick-links { display: none !important; }
    .quick-links::before { display: none !important; }
    .quick-links ul { justify-content: center !important; }
    .quick-links li { width: 25% !important; margin-bottom: 8px; padding: 0 5px !important; }
    .quick-links li a {
        height: 52px !important;
        padding: 6px 4px !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 3px !important;
    }
    .quick-links li a img { display: none !important; }
    .quick-links li p { margin-top: 0 !important; font-size: 13px !important; }
    .new1-b { grid-template-columns: 1fr; }
    .research-visual-stage { height: clamp(300px, 42vw, 430px); }
    .research-visual { width: 68vw; }
    .research-prev { left: calc(16% - 46px); }
    .research-next { right: calc(16% - 46px); }
    .news-row > .news-col { width: 50% !important; margin-bottom: 24px !important; }
    .topics-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .scroll-emblem { display: none !important; }
}

@media (max-width: 979.98px) {
    .quick-tools, .quick-tools-restore { display: none !important; }
}

@media (max-width: 640px) {
    .w1400, #footer .container { width: calc(100% - 28px) !important; }
    #m_header #logo { max-width: calc(100% - 60px); padding-left: 2px !important; }
    #m_header #logo img.mobile-logo-horizontal { height: 30px !important; }
    .research-heading h2, .newtiti .title span { font-size: 26px !important; }
    .newtiti { margin-bottom: 24px !important; }
    .quick-links li { width: 33.333% !important; }
    .new1, .news-section, .topics-section { padding-top: 42px !important; padding-bottom: 48px !important; }
    .new1.research-news { padding-top: 44px !important; padding-bottom: 46px !important; }
    .research-heading { margin-bottom: 20px; }
    .research-heading h2 { font-size: 26px; }
    .research-heading h2::before { font-size: 16px; }
    .research-visual-stage { height: clamp(220px, 54vw, 330px); overflow: visible; }
    .research-visual { width: 78vw; }
    .research-prev { left: 4px; }
    .research-next { right: 4px; }
    .research-arrow { width: 38px; height: 38px; }
    .research-arrow span { font-size: 29px; line-height: 33px; }
    .research-copy-stage { width: 100%; min-height: 148px; margin-top: 4px; }
    .research-copy { padding: 0 10px; }
    .research-copy h3 { font-size: 16px; margin-bottom: 9px; }
    .research-copy p { font-size: 12px; line-height: 1.7; }
    .research-live-list ul { grid-template-columns: 1fr; }
    .new1-r { min-height: 170px; }
    .news-row > .news-col { width: 100% !important; }
    .topics-grid { grid-template-columns: 1fr !important; }
    #footer .footer1 .row { display: block !important; }
    #footer .footer1 .widget { width: 100% !important; margin-bottom: 26px !important; }
    #footer .footer1 .widget:last-child { margin-bottom: 0 !important; }
    #footer .footer-wechat-code { width: 148px; height: 148px; }
    #footer .friend-links { column-gap: 16px !important; row-gap: 0 !important; }
    #footer .friend-links li a { min-height: 38px; font-size: 12px !important; padding: 0 20px 0 2px !important; }
    #footer .friend-links li a:hover,
    #footer .friend-links li a:focus-visible { padding-left: 6px !important; }
    #footer .footer2 .row { display: flex !important; align-items: center; }
    #footer .footer2 .footer-legal-col {
        width: calc(100% - 72px) !important;
        margin-bottom: 0 !important;
        padding-right: 12px;
    }
    #footer .footer2 .footer-badge-col {
        width: 72px !important;
        flex-basis: 72px;
        margin-bottom: 0 !important;
    }
    #footer .footer-legal,
    #footer .footer-legal p,
    #footer .footer-legal p span,
    #footer .footer-legal p a { font-size: 11px !important; line-height: 1.65 !important; }
    #footer .footer-legal { gap: 4px; }
    #footer .footer-legal .footer-legal-line { gap: 1px 8px; }
    #footer .footer-legal p span { margin-right: 8px; }
    #footer .footer-legal a { margin: 0 6px 0 0; }
    #footer .footer-cert img { width: 58px; }
}

@media (max-width: 360px) {
    #footer .friend-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .scroll-emblem { display: none !important; }
    .motion-reveal { opacity: 1 !important; transform: none !important; }
    .research-visual, .research-copy { transition: none !important; }
}
