@charset "utf-8";

/* 仅美化内容区块标题，不改动页头/导航/Banner */

:root {
    --block-primary: #1e3578;
    --block-primary-light: #2a4a9e;
    --block-accent: #2797d6;
    --block-accent-hover: #1a7fb8;
    --block-font: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --page-width: 1400px;
    --page-bg: #f0f8fa;
    --banner-width: 1400;
    --banner-height: 400;
}

html,
body {
    background: var(--page-bg);
    overflow-x: hidden;
    max-width: 100%;
}

/* ===== 全局布局对齐（修复线上偏移） ===== */
.px1400 {
    width: 100% !important;
    max-width: var(--page-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.head.px1400 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden;
    padding-bottom: 10px !important;
}

.head.px1400 .logo {
    float: none !important;
    flex-shrink: 0;
}

.head.px1400 .logo a img {
    height: 76px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
}

#divu1 {
    float: none !important;
    flex-shrink: 0;
    margin-top: 0 !important;
}

/* ===== 页头标题 ===== */
.page-slogan {
    padding: 0 0 14px;
    margin-top: -6px;
    text-align: center;
}

.page-slogan__title {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-family: "KaiTi", "STKaiti", "楷体", "楷体_GB2312", serif !important;
    font-size: 42px;
    font-weight: 700 !important;
    line-height: 1.35;
    letter-spacing: 2px;
    color: var(--block-primary);
}

/* ===== Banner 对齐（与 px1400 内容区同宽） ===== */
.banner-wrap {
    position: relative;
    margin-left: auto !important;
    margin-right: auto !important;
    background: var(--page-bg) !important;
}

/* 全宽背景条，避免宽屏两侧露白 */
.banner-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--page-bg);
    z-index: -1;
}

.banner-wrap .banner {
    width: 100% !important;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
    background: var(--page-bg) !important;
}

.banner-wrap .banner .slick-list {
    width: 100% !important;
    background: var(--page-bg) !important;
}

.banner-wrap .banner .slick-track {
    background: var(--page-bg);
}

.banner-wrap .banner .slick-slide {
    text-align: center;
    background: var(--page-bg) !important;
    height: auto !important;
}

.banner-wrap .banner .slick-slide a {
    display: block;
    width: 100%;
    aspect-ratio: var(--banner-width) / var(--banner-height);
    overflow: hidden;
    background: var(--page-bg);
    line-height: 0;
}

.banner-wrap .banner img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
    display: block !important;
    object-fit: cover;
    object-position: center center;
}

.sect1.px1400 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    white-space: normal !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    height: auto !important;
    min-height: 760px !important;
}

/* ===== 区块间距（缩小一半） ===== */
.section1 {
    padding-top: 25px !important;
    background: var(--page-bg) !important;
}

.sect1 > div[style*="width:1400px"][style*="margin-top:40px"] {
    margin-top: 0 !important;
}

/* ===== 搜索框提交按钮 ===== */
.seach {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    margin-top: 0 !important;
    border-radius: 50px !important;
    overflow: hidden;
    background: #fff !important;
}

.seach input[type="text"] {
    border: none !important;
    background: transparent !important;
    font-family: var(--block-font) !important;
    font-size: 14px !important;
    padding-right: 52px !important;
}

.seach input[type="image"] {
    display: none !important;
}

.seach-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--block-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 17px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.seach-btn:hover {
    background-color: var(--block-accent-hover);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 14px rgba(39, 151, 214, 0.35);
}

.seach-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.seach:focus-within {
    box-shadow: 0 0 0 3px rgba(39, 151, 214, 0.15), 0px 0px 16px 0px rgba(0, 38, 105, 0.15) !important;
}

/* ===== 导航栏选项卡边框 ===== */
#nav {
    position: relative;
    z-index: 200;
    overflow: visible !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

#nav .nav {
    overflow: visible !important;
}

#nav .nav > ul {
    display: flex;
    width: 100%;
    overflow: visible !important;
}

#nav .nav > ul > li {
    float: none !important;
    flex: 1 1 0;
    width: auto !important;
    position: relative !important;
    text-align: center;
    line-height: 63px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
}

#nav .nav > ul > li:last-child {
    border-right: none;
}

#nav .nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 12px);
    height: 42px;
    padding: 0 6px;
    margin: 10px 6px;
    line-height: 1.3;
    font-family: var(--block-font);
    font-size: 18px;
    white-space: nowrap;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease,
                box-shadow 0.25s ease;
    transform-origin: center center;
}

#nav .nav > ul > li:hover {
    background: transparent !important;
}

#nav .nav > ul > li:hover > a {
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

#nav .nav > ul > li:first-child > a {
    border-color: rgba(94, 196, 240, 0.55);
    background: rgba(39, 151, 214, 0.18);
    box-shadow: inset 0 0 0 1px rgba(94, 196, 240, 0.2);
}

#nav .nav > ul > li > ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
    padding: 6px 0 !important;
    z-index: 1001 !important;
    border: 1px solid rgba(30, 53, 120, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(30, 53, 120, 0.18);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96) !important;
    transition: none !important;
}

#nav .nav > ul > li > ul > li {
    line-height: 1.4 !important;
}

#nav .nav > ul > li > ul > li > a {
    display: block;
    font-family: var(--block-font);
    font-size: 15px;
    margin: 0 8px !important;
    padding: 9px 10px !important;
    border-bottom: 1px solid rgba(30, 53, 120, 0.06) !important;
    border-radius: 0;
    line-height: 1.4 !important;
    white-space: normal;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}

#nav .nav > ul > li > ul > li:last-child > a {
    border-bottom: none !important;
}

#nav .nav > ul > li > ul > li:hover {
    background: transparent !important;
}

#nav .nav > ul > li > ul > li:hover > a {
    transform: none;
    color: var(--block-accent) !important;
    background: rgba(39, 151, 214, 0.1) !important;
    padding-left: 22px !important;
}

/* ===== 区块标题行 ===== */
.ui-block-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px 0 0 !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(30, 53, 120, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
}

/* 替换原背景图标题，左贴边标签 */
.ui-block-title {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding: 0 20px 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, var(--block-primary) 0%, var(--block-primary-light) 100%) !important;
    border-radius: 0 22px 22px 0 !important;
    box-shadow: 0 4px 14px rgba(30, 53, 120, 0.28);
    font-family: var(--block-font);
    font-size: 16px !important;
    font-weight: 600;
    color: #fff !important;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ui-block-title::before {
    content: "";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18) center / 16px no-repeat;
}

.ui-block-title::after {
    content: "";
    white-space: nowrap;
    position: relative;
    z-index: 1;
    animation: blockTitleShine 0.6s ease both;
}

.ui-block-title:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(30, 53, 120, 0.35);
}

.ui-block-head:hover .ui-block-title::before {
    background-color: rgba(255, 255, 255, 0.28);
}

@keyframes blockTitleShine {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 各区块标题文字与图标 */
.ui-block-title--video::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

.ui-block-title--video::after {
    content: "成果视频";
}

.ui-block-title--intro::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E");
}

.ui-block-title--intro::after {
    content: "成果介绍";
}

.ui-block-title--nav::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
}

.ui-block-title--nav::after {
    content: "快捷导航";
}

.ui-block-title--gallery::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
}

.ui-block-title--gallery::after {
    content: "成果图片";
}

/* 查看更多 */
.ui-block-more {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.ui-block-more a {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 6px 16px !important;
    border-radius: 50px;
    font-family: var(--block-font) !important;
    font-size: 13px !important;
    font-weight: 500;
    color: var(--block-accent) !important;
    background: rgba(39, 151, 214, 0.1);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ui-block-more a::after {
    content: "→";
    display: inline-block;
    transition: transform 0.3s ease;
}

.ui-block-more a:hover {
    background: var(--block-accent);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(39, 151, 214, 0.35);
}

.ui-block-more a:hover::after {
    transform: translateX(3px);
}

/* 卡片容器轻量美化 */
.sect1 > div[style*="e9e4d1"] {
    margin-left: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 16px rgba(30, 53, 120, 0.08);
    border: 1px solid rgba(30, 53, 120, 0.06);
    overflow: hidden;
}

/* 成果视频：16:9 播放器（554×312，原尺寸 1.2 倍） */
.sect1 > div[style*="e9e4d1"]:first-child {
    flex: 0 0 602px !important;
    width: 602px !important;
    max-width: 602px !important;
    height: 420px !important;
}

.sect1 > div[style*="e9e4d1"]:first-child > div[style*="height:280px"] {
    height: 360px !important;
}

.sect1 > div[style*="e9e4d1"]:nth-child(2) {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    height: 420px !important;
}

.sect1 > div[style*="e9e4d1"]:nth-child(2) > div[style*="height:280px"] {
    height: 360px !important;
}

.ui-video-wrap,
.ui-video-wrap #u7,
.ui-video-wrap #u7u7,
.ui-video-wrap #MediaPlayeru7 {
    width: 554px !important;
    height: 312px !important;
    aspect-ratio: 16 / 9;
}

.ui-video-wrap {
    margin: 22px 0 0 24px !important;
}

.ui-video-wrap #u7u7 img:first-child {
    width: 554px !important;
    height: 312px !important;
    object-fit: cover;
}

.ui-video-wrap #u7u7 img[title="点击播放视频"] {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.sect1 > div[style*="e9e4d1"] > div[style*="height:50px"],
.sect1 > div[style*="e9e4d1"] > div[style*="height:280px"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

.sect1 > div[style*="e9e4d1"]:nth-child(2) > div[style*="height:280px"] > div {
    width: calc(100% - 40px) !important;
    max-width: none !important;
}

.sect1 > div[style*="width:1400px"][style*="background:#fff"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 16px rgba(30, 53, 120, 0.08);
    border: 1px solid rgba(30, 53, 120, 0.06);
    overflow: hidden;
}

.sect1 > div[style*="width:1400px"][style*="background:#fff"] > div[style*="height:50px"],
.sect1 > div[style*="width:1400px"][style*="background:#fff"] > div[style*="height:210px"],
.sect1 > div[style*="width:1400px"][style*="background:#fff"] > div[style*=" margin:20px"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ===== 模块进入淡入 ===== */
@keyframes moduleFadeIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sect1 > div {
    opacity: 0;
    animation: moduleFadeIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sect1 > div:nth-child(1) { animation-delay: 0.12s; }
.sect1 > div:nth-child(2) { animation-delay: 0.24s; }
.sect1 > div:nth-child(3) { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .ui-block-title,
    .ui-block-more a {
        transition: none;
        animation: none;
    }

    .sect1 > div {
        opacity: 1;
        animation: none;
        transform: none;
    }

    #nav .nav > ul > li > a,
    #nav .nav > ul > li > ul > li > a {
        transform: none;
        transition: none;
    }
}
