/* ============================================================
   喜跃发集团官网 站点样式（配合 Bootstrap 5）
   ============================================================ */

:root {
    --site-primary: #0a3d6b;   /* 主色：深蓝 */
    --site-primary-dark: #06294a;
    --site-accent: #07c160;    /* 点缀色：绿 */
    --site-text: #333333;
    --site-muted: #8a94a6;
    --site-bg: #f5f7fa;
}

body {
    color: var(--site-text);
    background-color: #eef3f8;
    /* 字体对齐 www.xiyuefa.com 老站：老站全局未声明 font-family，实为浏览器默认字体
       （macOS=苹方，Windows=微软雅黑）。因此苹方优先：macOS 命中苹方与老站一致；
       若微软雅黑放首位，macOS 装了 Office 等自带雅黑的机器会用雅黑渲染，笔画明显偏粗。
       全部为系统字体声明，不下载 webfont、无商业字体 */
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

a {
    color: var(--site-primary);
    text-decoration: none;
}

a:hover {
    color: var(--site-accent);
}

/* ---------- 顶部品牌区（官网样式：logo + 公司名 + 标语 + 热线） ---------- */
.brand-topbar {
    background-color: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f5;
}

.brand-topbar .brand {
    text-decoration: none;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.brand-name {
    margin-left: 12px;
    color: #1a2733;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-name:hover {
    color: var(--site-primary);
}

.brand-name-mobile {
    margin-left: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    white-space: normal;
    line-height: 1.2;
}

/* 红色标语（对齐老站 www.xiyuefa.com：继承 body 系统默认字体，不引用任何第三方 webfont） */
.brand-slogan {
    color: #d22b2b;
    font-size: 22px;
    letter-spacing: 5px;
    white-space: nowrap;
}

/* 右侧热线：蓝圆白话筒 + 蓝色号码 */
.brand-phone {
    text-decoration: none;
    flex-shrink: 0;
}

.phone-icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background-color: var(--site-primary);
    flex-shrink: 0;
}

.phone-number {
    margin-left: 8px;
    color: var(--site-primary);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.phone-number:hover {
    color: var(--site-accent);
}

/* ---------- 主导航：深蓝通栏 ---------- */
.site-navbar {
    background-color: #2f5398;
    box-shadow: 0 2px 12px rgba(27, 42, 79, 0.35);
}

.site-navbar .navbar {
    min-height: 50px;
}

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    padding: 14px 28px;
    transition: background-color 0.25s;
}

.site-navbar .nav-link:hover {
    color: #ffffff;
    background-color: rgba(76, 117, 194, 0.55);
}

/* 选中态：#4C75C2 色块上下填满导航条（官网样式，仅变色不加粗，对齐老站） */
.site-navbar .nav-item.active > .nav-link {
    color: #ffffff;
    background-color: #4c75c2;
}

/* 移动端汉堡按钮：深色圆角实底 + 白色横条，居导航条最左侧 */
.site-navbar .navbar-toggler {
    border: none;
    border-radius: 8px;
    background-color: #1b2f57;
    padding: 5px 8px;
    margin-right: 10px;
    flex-shrink: 0;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

/* 移动端右侧操作区：圆形语言按钮 + 汉堡按钮 */
.mobile-nav-actions {
    gap: 8px;
    flex-shrink: 0;
}

.mobile-lang-btn {
    /* 自适应宽度：EN/中文 两字符仍命中 min-width 呈正圆，한국어 三字符撑为胶囊形 */
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-lang-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.18);
}

.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-navbar .dropdown-menu {
    border: none;
    border-radius: 4px;
    background-color: rgba(47, 83, 152, 0.85);
    box-shadow: 0 10px 30px rgba(10, 20, 45, 0.4);
    padding: 8px 0;
    margin-top: 0;
    min-width: 150px;
}

/* 下拉菜单居中于父菜单，caret 完整露出（配合 data-bs-display=static 禁用 Popper 定位）
 * margin-top 8px 预留 caret 高度，避免三角与一级菜单色块重叠；
 * 间隙带来的 hover 断裂由下方「延迟消失」过渡弥补（鼠标快速穿过间隙仍能选中） */
.site-navbar .nav-item.dropdown > .dropdown-menu {
    top: 100% !important;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px !important;
}

.site-navbar .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(47, 83, 152, 0.85);
}

.site-navbar .dropdown-item {
    font-size: 14px;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-navbar .dropdown-menu > li:last-child > .dropdown-item {
    border-bottom: none;
}

.site-navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* 桌面端：hover 展开下拉；移动端：点击展开（Bootstrap JS） */
@media (min-width: 992px) {
    /* 菜单等分容器宽度（自适应）：选中色块填满整格，不固定宽度不溢出 */
    .site-navbar .navbar-nav {
        width: 100%;
        justify-content: space-between;
        align-items: stretch;
    }
    /* 选中色块上下填满：去除 navbar 垂直 padding 并拉伸各级 flex 容器 */
    .site-navbar .navbar {
        padding-top: 0;
        padding-bottom: 0;
        min-height: 56px;
        align-items: stretch;
    }
    .site-navbar .navbar-collapse {
        align-items: stretch;
    }
    .site-navbar .nav-item {
        flex: 1 1 0;
        display: flex;
        justify-content: center;
    }
    .site-navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 12px;
    }
    @media (max-width: 1199.98px) {
        .site-navbar .nav-link {
            padding: 0 8px;
            font-size: 14px;
        }
    }
    /* 桌面端 hover 展开下拉：visibility+opacity 过渡实现「延迟消失」，
     * 鼠标快速穿过 caret 间隙（8px）移入菜单时 hover 不中断，二级/三级均可选中 */
    .site-navbar .dropdown > .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.18s ease 0s, visibility 0s linear 0.3s;
    }
    .site-navbar .dropdown:hover > .dropdown-menu,
    .site-navbar .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.18s ease 0s;
    }
    .site-navbar .dropdown-submenu {
        position: relative;
    }
    .site-navbar .dropdown-submenu > .dropdown-menu.submenu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.18s ease 0s, visibility 0s linear 0.3s;
    }
    .site-navbar .dropdown-submenu:hover > .dropdown-menu.submenu,
    .site-navbar .dropdown-menu.submenu.show {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.18s ease 0s;
    }
    .site-navbar .dropdown-menu.submenu {
        top: -6px;
        left: 100%;
        margin-left: 2px;
    }
}

/* ---------- 首页轮播 ---------- */
.banner-carousel {
    overflow: hidden;
    background-color: #e9edf2;
    border-radius: 8px;
    /* 与导航栏之间留 20px 间距 */
    margin-top: 20px;
    /* 与下方内容区实际宽度对齐（container 最大宽减去左右 12px padding）：
       xl(1200-1399) = 1140-24 = 1116px；xxl(≥1400) = 1320-24 = 1296px */
    max-width: 1116px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1400px) {
    .banner-carousel {
        max-width: 1296px;
    }
}

.banner-img {
    display: block;
    width: 100%;
    height: auto;
}

/* 百叶窗遮罩条：切换时依次向上滑出（百叶窗动画） */
.banner-carousel .blinds {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
    pointer-events: none;
}

.banner-carousel .blinds-bar {
    flex: 1;
    height: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    transform: translateY(0);
}

/* 仅切换时（.animating）播放百叶窗动画：旧图切片依次滑出露出新图 */
.banner-carousel .carousel-item.active .blinds.animating .blinds-bar {
    animation: blinds-open 0.6s ease-in-out forwards;
    animation-delay: calc(var(--i) * 70ms);
}

@keyframes blinds-open {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-101%);
    }
}

/* 横条百叶窗（第二种效果）：水平长条依次向两侧滑出 */
.banner-carousel .blinds-h {
    flex-direction: column;
}

.banner-carousel .blinds-bar-h {
    flex: 1;
    width: 100%;
    background-color: transparent;
    background-repeat: no-repeat;
    transform: translateX(0);
}

.banner-carousel .carousel-item.active .blinds.animating-h .blinds-bar-h {
    animation-duration: 0.6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: calc(var(--i) * 60ms);
}

/* 奇数条向左滑出、偶数条向右滑出（左右交替更生动） */
.banner-carousel .carousel-item.active .blinds.animating-h .blinds-bar-h:nth-child(odd) {
    animation-name: blinds-open-left;
}

.banner-carousel .carousel-item.active .blinds.animating-h .blinds-bar-h:nth-child(even) {
    animation-name: blinds-open-right;
}

@keyframes blinds-open-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-101%);
    }
}

@keyframes blinds-open-right {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(101%);
    }
}

/* 中分百叶窗（第二种效果）：竖条从中间向两边依次滑出，斜下方落下并淡出 */
.banner-carousel .carousel-item.active .blinds.animating-mid .blinds-bar {
    animation-duration: 0.7s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

/* 左 5 条向左下、右 5 条向右下（延迟由 JS 按离中线距离依次设置） */
.banner-carousel .carousel-item.active .blinds.animating-mid .blinds-bar:nth-child(-n+5) {
    animation-name: blinds-mid-left;
}

.banner-carousel .carousel-item.active .blinds.animating-mid .blinds-bar:nth-child(n+6) {
    animation-name: blinds-mid-right;
}

@keyframes blinds-mid-left {
    from {
        transform: translate(0, 0);
        opacity: 1;
    }
    to {
        transform: translate(-101%, 40px);
        opacity: 0;
    }
}

@keyframes blinds-mid-right {
    from {
        transform: translate(0, 0);
        opacity: 1;
    }
    to {
        transform: translate(101%, 40px);
        opacity: 0;
    }
}

/* 轮播指示器：正圆点样式（官网风格，padding 归零防压扁） */
.banner-carousel .carousel-indicators [data-slide-to] {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    padding: 0;
    flex: 0 0 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background-color: transparent;
    opacity: 0.9;
    margin: 0 6px;
    transition: background-color 0.3s;
}

.banner-carousel .carousel-indicators [data-slide-to].active {
    background-color: #ffffff;
    border-color: #ffffff;
}

/* 左右切换箭头：半透明白 */
.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    width: 56px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    background-color: rgba(0, 0, 0, 0.25);
}

.banner-carousel:hover .carousel-control-prev,
.banner-carousel:hover .carousel-control-next {
    opacity: 0.85;
}

.banner-carousel .carousel-control-prev:hover,
.banner-carousel .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

.banner-carousel .carousel-control-prev-icon,
.banner-carousel .carousel-control-next-icon {
    width: 28px;
    height: 28px;
}

.banner-carousel .carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 0 20px;
    text-align: left;
    padding-left: 48px;
}

.banner-carousel .carousel-caption h5 {
    font-size: 26px;
    letter-spacing: 2px;
}

/* 移动端 banner 等比缩放：高度随宽度按图片自身比例自适应，完整显示不裁切 */
@media (max-width: 768px) {
    .banner-img {
        height: auto;
    }

    /* 手机端轮播图左右留白 12px，与下方内容区边缘对齐，不再贴边 */
    .banner-carousel {
        margin-left: 12px;
        margin-right: 12px;
    }
}

/* ---------- 通用区块 ---------- */
.home-section {
    padding: 64px 0;
}

.btn-brand {
    background-color: var(--site-primary);
    color: #ffffff;
    border-radius: 4px;
    padding: 10px 32px;
    font-size: 15px;
}

.btn-brand:hover {
    background-color: var(--site-primary-dark);
    color: #ffffff;
}

/* ---------- 通用"更多"链接（视频卡/要闻卡头部共用，字号对齐老站 15px） ---------- */
.section-more {
    font-size: 15px;
    color: var(--site-muted);
}

.section-more:hover {
    color: var(--site-accent);
}

.news-empty {
    padding: 16px 4px;
    color: var(--site-muted);
    text-align: center;
}

/* ---------- 首页视频 + 广告轮播（轮播图下方） ---------- */
.video-news-section {
    background-color: #eef3f8;
    /* 区块间垂直间距统一 40px：由下一个区块的 padding-top 承担 */
    padding: 40px 0 0;
}

/* 左侧视频卡片：微信绿渐变标题条 + 视频铺满整卡（与右侧要闻卡等高对齐） */
.video-news-section .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.video-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #4c75c2 0%, #07c160 100%);
    padding: 10px 16px;
}

.video-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
}

.video-card-head .section-more {
    color: rgba(255, 255, 255, 0.85);
}

.video-card-head .section-more:hover {
    color: #ffffff;
}

.home-video {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 360px;
    /* 封面图用 CSS 背景铺满：部分浏览器（如 Safari）对 <video> 的 poster 不应用 object-fit，
       会以原始比例留黑边，背景 cover 可保证封面始终平铺整个视频区域 */
    background: #000 url("../img/video-poster.jpg") center / cover no-repeat;
    object-fit: cover;
}

/* 移动端视频恢复 16:9 自适应高度（必须重置桌面 min-height，否则容器被撑高、画面左右被裁） */
@media (max-width: 767.98px) {
    .home-video {
        flex: none;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* 右侧集团要闻卡：白底圆角，与左侧视频卡等高对齐 */
.group-news-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 16px 20px;
    transition: box-shadow 0.25s;
}

.group-news-card:hover {
    box-shadow: 0 8px 24px rgba(10, 61, 107, 0.1);
}

.group-news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 10px;
    margin-bottom: 2px;
}

.group-news-title {
    font-size: 22px;
    font-weight: 700;
    color: #2f5398;
    margin: 0;
}

.group-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-news-list li a {
    display: flex;
    align-items: center;
    padding: 6px 2px;
    color: var(--site-text);
    font-size: 16px;
}

.group-news-dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #555f6e;
    margin-right: 12px;
}

.group-news-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-news-date {
    flex: none;
    margin-left: 12px;
    color: var(--site-muted);
    font-size: 16px;
    white-space: nowrap;
}

.group-news-list li a:hover .group-news-text {
    color: var(--site-primary);
}

.group-news-list li a:hover .group-news-dot {
    background-color: var(--site-accent);
}

/* ---------- 首页集团工作三等分：集团要闻 + 党建工作 + 路管家 ---------- */
.triple-section {
    background-color: #eef3f8;
    padding: 40px 0 0;
}

/* 三列均为纵向 flex 容器，卡片/轮播用 flex:1 撑满实现完全等高 */
.triple-section .col-lg-4 {
    display: flex;
    flex-direction: column;
}

.triple-section .group-news-card {
    height: auto;
    flex: 1;
}

/* 三等分列表卡（图一样式）：黑色标题 + 蓝色更多 + 条目分割线、隐藏圆点 */
.triple-section .group-news-title {
    color: #222222;
    font-size: 20px;
}

.triple-section .group-news-head {
    padding-bottom: 12px;
    border-bottom: 2px solid #2f5398;
}

.triple-section .group-news-head .section-more {
    color: #2f5398;
}

.triple-section .group-news-head .section-more:hover {
    color: var(--site-accent);
}

.triple-section .group-news-dot {
    display: none;
}

.triple-section .group-news-list li a {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f2f6;
}

.triple-section .group-news-list li:last-child a {
    border-bottom: 0;
}

.triple-section .group-news-date {
    font-size: 14px;
    color: #aab3c2;
}

/* 中部广告位轮播：白底圆角边框，与左右栏目卡完全等高 */
.home-ad-carousel {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 360px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

/* 轮播高度固定（只由容器/列表决定，不随图片变化）：
   inner 绝对定位铺满轮播，高度由容器 inset 决定、与内容完全无关，
   从根源切断长图自然高度对布局的影响（百分比高度链在容器高度未定时会回退按内容计算）；
   图片经 object-fit:cover 等比裁剪填满，不参与撑高 */
.home-ad-carousel .carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex: none;
    min-height: 0;
    overflow: hidden;
}

.home-ad-carousel .carousel-item {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.home-ad-carousel .carousel-item > a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}

.home-ad-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 描述条：底部半透明黑条，标题居左（为右侧方形指示点预留空间） */
.home-ad-desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 10px 72px 10px 14px;
}

.home-ad-desc-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
}

/* 方形指示点：置于描述条右侧，active 态由 Bootstrap 管理 */
.home-ad-indicators {
    left: auto;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    margin: 0;
    justify-content: flex-end;
    gap: 8px;
}

.home-ad-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 0;
    margin: 0;
    background-color: #666666;
    opacity: 1;
}

.home-ad-indicators .active {
    background-color: #4c75c2;
}

/* 移动端广告轮播与视频同比例 16:9 等比缩放：
   必须写在桌面 .home-ad-carousel 定义之后，否则同特异性下桌面的 min-height:360px 会覆盖本规则 */
@media (max-width: 767.98px) {
    .home-ad-carousel {
        flex: none;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* ---------- 首页抖音视频：竖版封面无缝跑马灯（集团工作与产品展示之间） ---------- */
.douyin-section {
    background-color: #eef3f8;
    padding: 40px 0 0;
}

/* 跑马灯视口：裁剪溢出的轨道 */
.douyin-marquee {
    overflow: hidden;
}

/* 轨道 = 两组完全相同的卡片，translateX(-50%) 无缝循环；时长由模板按条数动态设置 */
.douyin-track {
    display: flex;
    width: max-content;
    animation: douyin-scroll 40s linear infinite;
}

.douyin-group {
    display: flex;
}

/* 少于 5 条：静止展示不滚动（必须写在 .douyin-track 之后覆盖 animation） */
.douyin-track-static {
    animation: none;
}

/* 悬停暂停，方便点击 */
.douyin-marquee:hover .douyin-track {
    animation-play-state: paused;
}

@keyframes douyin-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 竖版封面卡 3:4（间距用 margin-right 而非 gap，保证轨道两半宽度完全一致） */
.douyin-card {
    position: relative;
    display: block;
    flex: none;
    width: 180px;
    margin-right: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf3;
}

.douyin-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* 底部渐变标题条 */
.douyin-card-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 10px 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停浮现居中播放钮 */
.douyin-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.douyin-card:hover .douyin-play {
    opacity: 1;
}

/* 移动端：卡片缩小（必须写在桌面 .douyin-card 定义之后） */
@media (max-width: 767.98px) {
    .douyin-card {
        width: 140px;
        margin-right: 12px;
    }
}

/* ---------- 首页底部展示区块：产品展示 + 精品案例（基层动态已隐藏） ---------- */
.showcase-section {
    background-color: #eef3f8;
    padding: 40px 0 0;
}

/* 区块：标题行 + 卡片网格，两区块上下排列 */
.showcase-block + .showcase-block {
    margin-top: 40px;
}

.showcase-block-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

/* 标题组：左侧深蓝竖条 + 英文小标题 + 中文大标题 */
.showcase-block-title {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.showcase-block-bar {
    width: 5px;
    height: 32px;
    border-radius: 2px;
    background-color: #2f5398;
    margin-bottom: 2px;
}

.showcase-block-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.showcase-block-en {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #2f5398;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.showcase-block-cn {
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin: 0;
}

.showcase-block-more {
    font-size: 14px;
    color: #2f5398;
    padding-bottom: 2px;
}

.showcase-block-more:hover {
    color: var(--site-accent);
}

/* 展示卡片：上部固定比例图片（案例 16:9、展品 4:3）+ 下部标题；hover 整体上移 5% + 蓝色阴影 */
.showcase-grid-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10, 61, 107, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-grid-card:hover {
    transform: translateY(-5%);
    box-shadow: 0 14px 36px rgba(109, 152, 233, 0.35);
}

/* 图片区固定 16:9 比例，等比裁剪，竖长图不会撑高 */
.showcase-grid-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #dfe8f2;
    overflow: hidden;
}

.showcase-grid-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品展示：图片高于区域时等比缩小显示全图（contain 不裁切不撑高），卡片宽高仍由固定 16:9 区域保证一致，留白由底色填充 */
.showcase-block--products .showcase-grid-thumb img {
    object-fit: contain;
}

/* 产品展示：图片区改 4:3（案例保持基础 16:9），留白底色白色；分类标签移至图片右下角，半透明底 + 白字保证可读 */
.showcase-block--products .showcase-grid-thumb {
    aspect-ratio: 4 / 3;
    background: #ffffff;
}

.showcase-block--products .showcase-grid-tag {
    left: auto;
    right: 12px;
    background: rgba(4, 95, 65, 0.6);
    color: #ffffff;
}

/* 分类标签：默认图片左下角，半透明黑底 + 白字（产品展示限定为右下角） */
.showcase-grid-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: #ffffff;
    font-size: 13px;
}

/* 卡片文字区：只保留标题（描述、时间已按需求移除）；上距图片 16px、下 10px，总高与原 12+14 保持一致 */
.showcase-grid-body {
    padding: 16px 16px 10px;
}

.showcase-grid-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    line-height: 1.45;
    text-align: center;
    /* 最多两行，超出省略，保证卡片高度一致；单行时靠下对齐，与图片拉开距离 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-pack: end;
    overflow: hidden;
    min-height: 46px;
}

.showcase-grid-card:hover .showcase-grid-title {
    color: var(--site-primary);
}

/* 栏目页横幅大图（官网集团图，已本地化并按 1600x226 等比裁切）
   与下方内容等宽，height:auto 等比显示，不做 cover 遮罩裁切 */
.column-banner {
    margin-top: 12px;
}

.column-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* 二级标签栏：居中白底边框按钮（官网样式） */
.column-tabs {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 28px 0 8px;
}

.column-tabs a {
    display: block;
    padding: 10px 36px;
    border: 1px solid #d8dde5;
    background-color: #ffffff;
    color: #333333;
    font-size: 15px;
    transition: color 0.25s, border-color 0.25s;
}

.column-tabs li.active a,
.column-tabs a:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
}

/* 荣誉资质：证书卡片网格（图片+名称，官网展示风格） */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 28px 0;
}

.honor-card {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.honor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(47, 83, 152, 0.18);
}

.honor-img {
    height: 200px;
    padding: 16px;
    background-color: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honor-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.honor-name {
    margin: 0;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    line-height: 1.5;
    min-height: 45px;
    /* 最多两行，超出省略，保证卡片高度一致 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.honor-card:hover .honor-name {
    color: var(--site-primary);
}

/* 荣誉大图灯箱：当前页内切换大图，下方显示标题 */
.honor-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.honor-lightbox.open {
    display: block;
}

/* 打开时：遮罩淡入，灯箱内容从底部滑入（先过冲 10% 再回弹居中，无淡入） */
.honor-lightbox.open .honor-lightbox-mask {
    animation: honor-mask-in 0.35s ease-out both;
}

.honor-lightbox.open .honor-lightbox-body {
    animation: honor-body-up 0.9s ease-in-out both;
}

@keyframes honor-mask-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes honor-body-up {
    0% {
        transform: translateY(105%);
    }
    55% {
        transform: translateY(-10%);
    }
    80% {
        transform: translateY(2%);
    }
    100% {
        transform: translateY(0);
    }
}

.honor-lightbox-mask {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 25, 45, 0.75);
}

.honor-lightbox-body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 64px;
}

.honor-lightbox-figure {
    width: min(720px, 90vw);
    margin: 0;
    text-align: center;
}

/* 舞台：固定尺寸叠放两张图，切换时交叉平移、布局不跳动 */
.honor-lightbox-stage {
    position: relative;
    width: 100%;
    height: 68vh;
    overflow: hidden;
}

.honor-lightbox-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 4px;
    /* 非当前图默认藏在舞台右侧 */
    transform: translateX(100%);
}

.honor-lightbox-img.is-current {
    transform: translateX(0);
}

/* 打开时大图 1.05 倍缩放，1 秒内恢复原尺寸 */
.honor-lightbox-img.zoom-settle {
    animation: honor-zoom-settle 1s ease-out both;
}

@keyframes honor-zoom-settle {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

.honor-lightbox-figure figcaption {
    margin-top: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.honor-lightbox-count {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.honor-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.honor-lightbox-nav {
    flex: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s;
}

.honor-lightbox-nav:hover,
.honor-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.32);
}

/* ---------- 富文本图片灯箱：点击放大、居中显示、半透明遮罩、可关闭 ---------- */
.rich-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    animation: rich-lightbox-in 0.25s ease-out both;
}

.rich-lightbox.open {
    display: flex;
}

@keyframes rich-lightbox-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.rich-lightbox-img {
    display: block;
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.rich-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 26px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s;
}

.rich-lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.32);
}

/* 富文本图片 hover 提示可点击放大 */
.rich-content img {
    cursor: zoom-in;
}

/* 卡片式两栏列表（科普专栏等）：左图右文，hover 上浮 */
.card-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.card-list-item {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(47, 83, 152, 0.15);
}

.card-list-thumb {
    position: relative;
    flex: none;
    width: 320px;
    /* 列表图片统一 16:9：宽 320px 高 180px，文字区高度低于图片，卡片高度由图片决定、图片填满无留白 */
    aspect-ratio: 16 / 9;
    background-color: #f7f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 渐变底兜底：非渐进式图片下载完成前显示，保证不留空 */
    background-image: linear-gradient(135deg, #e4ebf4 0%, #cfdcec 45%, #e4ebf4 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.card-list-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 占位即模糊图片：加载中 20px 强模糊+微放大（模糊边缘不外露），完成后渐变到清晰 */
    filter: blur(20px);
    transform: scale(1.1);
    transition: filter 0.6s ease-out, transform 0.6s ease-out;
}

.card-list-thumb.thumb-ready img {
    filter: blur(0);
    transform: scale(1);
}

.card-list-body {
    flex: 1;
    min-width: 0;
    /* 文字区高度低于左侧 16:9 图片高度（180px），保证图片填满卡片 */
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
}

.card-list-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.5;
    /* 固定占两行高度：标题短时也占位，保证各卡片等高 */
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-list-item:hover .card-list-title {
    color: var(--site-primary);
}

.card-list-summary {
    margin: 0 0 auto;
    font-size: 13px;
    color: #888888;
    line-height: 1.6;
    /* 固定占两行高度：无摘要时为空段落也占位，meta 始终沉底对齐 */
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-list-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaaaaa;
}

/* 中等屏（lg）：图片回退到 260px，避免两栏卡片中文字区过窄 */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .card-list-thumb {
        width: 260px;
    }
}

/* 平板（md，仍两栏）：图片回退到 200px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .card-list-thumb {
        width: 200px;
    }
}

/* ---------- 新闻中心（news.html）：左侧栏目导航 + 右侧图文卡片 ---------- */
.news-page {
    margin-top: 32px;
}

/* 侧栏随滚动条吸顶（top 预留 sticky 主导航约 50px + 间距） */
.news-sidebar {
    position: sticky;
    top: 70px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.news-sidebar-title {
    margin: 0;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--site-text);
    border-bottom: 1px solid #eef2f7;
}

.news-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.news-sidebar-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: var(--site-muted);
    border-left: 3px solid transparent;
    transition: color 0.25s, background-color 0.25s;
}

.news-sidebar-menu a:hover {
    color: var(--site-primary);
    background-color: #f0f5fb;
}

.news-sidebar-menu li.active a {
    color: var(--site-primary);
    font-weight: 600;
    background-color: #d6e4f7;
    border-left-color: var(--site-primary);
}

/* 右侧标题区：栏目标题（左蓝边线） */
.news-header {
    position: relative;
    padding-left: 16px;
    margin-bottom: 20px;
}

.news-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 4px;
    border-radius: 2px;
    background-color: var(--site-primary);
}

.news-header-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #0b3d6b;
}

/* 图文卡片：左方形缩略图 + 右信息区（分类标签/标题/摘要/日期） */
.news-card-list {
    margin-bottom: 8px;
}

.news-card-item {
    display: flex;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    /* PC 悬停：向上微动 + 周边阴影 */
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 61, 107, 0.18);
}

.news-card-thumb {
    flex: none;
    width: 240px;
    aspect-ratio: 4 / 3;
    background-color: #f7f9fc;
}

.news-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    flex: 1;
    min-width: 0;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
}

.news-card-tag {
    align-self: flex-start;
    padding: 2px 10px;
    margin-bottom: 8px;
    font-size: 12px;
    border-radius: 4px;
    background-color: #d6e4f7;
    color: var(--site-primary);
}

.news-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--site-text);
    line-height: 1.5;
}

.news-card-item:hover .news-card-title {
    color: var(--site-primary);
}

.news-card-summary {
    margin: 0 0 auto;
    font-size: 14px;
    color: var(--site-muted);
    line-height: 1.8;
    /* 固定占两行高度：无摘要时为空段落也占位，日期始终沉底对齐 */
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    margin-top: 10px;
    font-size: 13px;
    color: var(--site-muted);
}

/* 移动端：侧栏堆叠在上方菜单横排（取消吸顶），卡片纵向改为图片在上文字在下 */
@media (max-width: 991.98px) {
    .news-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .news-sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 16px;
    }

    .news-sidebar-menu a {
        padding: 8px 16px;
        border-left: none;
        border-radius: 4px;
    }

    .news-card-item {
        flex-direction: column;
    }

    /* 触屏设备无 hover，点击后避免上浮态粘滞 */
    .news-card-item:hover {
        transform: none;
        box-shadow: none;
    }

    .news-card-thumb {
        width: 100%;
    }
}

/* ---------- 产品展示（products.html）：产品网格卡片（图上文下，三列） ----------
   侧栏/标题区/页面容器与新闻中心共用 news-* 样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.product-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
    /* PC 悬停：向上微动 + 周边阴影 */
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 61, 107, 0.18);
}

.product-card-img {
    aspect-ratio: 4 / 3;
    background-color: #f7f9fc;
}

.product-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-name {
    margin: 0;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--site-text);
    text-align: center;
    line-height: 1.5;
    /* 最多两行，超出省略，保证卡片名称区等高 */
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-card-name {
    color: var(--site-primary);
}

/* 展品栏目页：与首页产品展示同方式，contain 等比缩小显示全图、留白白色；4:3 尺寸保持原样（cases 共用基础类，用修饰类隔离） */
.product-grid--fullimg .product-card-img {
    background-color: #ffffff;
}

.product-grid--fullimg .product-card-img img {
    object-fit: contain;
}

/* 移动端：两列网格 + 触屏取消 hover 上浮粘滞 */
@media (max-width: 991.98px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ---------- 媒体之声（mediaReports.html）：16:9 封面卡片（图上文下，三列，hover 扫光上浮） ----------
   侧栏/标题区/页面容器与新闻中心共用 news-* 样式 */
.media-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.media-card {
    position: relative;
    display: block;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
    /* PC 悬停：向上微动 + 周边阴影 */
    transition: transform 0.3s, box-shadow 0.3s;
}

.media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10, 61, 107, 0.18);
}

.media-card-img {
    aspect-ratio: 16 / 9;
    background-color: #f7f9fc;
}

.media-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 扫光带：hover 时从卡片左侧扫到右侧（left 位移在伪元素上，不与卡片 transform 冲突） */
.media-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 2;
}

.media-card:hover::after {
    animation: media-card-shine 0.9s ease forwards;
}

@keyframes media-card-shine {
    0% {
        left: -75%;
    }
    100% {
        left: 135%;
    }
}

.media-card-title {
    margin: 0;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--site-text);
    line-height: 1.5;
    /* 最多两行，超出省略，保证各卡片标题区等高 */
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-card:hover .media-card-title {
    color: var(--site-primary);
}

/* 移动端：两列网格 + 触屏取消 hover 扫光上浮粘滞 */
@media (max-width: 991.98px) {
    .media-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .media-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* 产品/案例三级分类筛选标签栏（圆角胶囊标签，选中深蓝实底） */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tab {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #d0d7e2;
    border-radius: 20px;
    font-size: 14px;
    color: #5a667d;
    background: #ffffff;
    transition: all 0.25s;
    text-decoration: none;
}

.filter-tab:hover {
    color: var(--site-primary);
    border-color: var(--site-primary);
    text-decoration: none;
}

.filter-tab.active {
    background: var(--site-primary);
    color: #ffffff;
    border-color: var(--site-primary);
}

@media (max-width: 991.98px) {
    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 5px 14px;
        font-size: 13px;
    }
}

/* 分页（官网样式：白底灰边按钮、间距、首页/末页） */
.site-pagination {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 24px 0;
}

.site-pagination .page-btn a {
    display: inline-block;
    min-width: 42px;
    padding: 8px 14px;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    color: #333333;
    font-size: 14px;
    transition: color 0.25s, border-color 0.25s;
}

.site-pagination .page-btn a:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
}

.site-pagination .page-btn.active a {
    background-color: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff;
}

.site-pagination .page-btn.disabled a {
    color: #c0c4cc;
    cursor: not-allowed;
}

@media (max-width: 991.98px) {
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    /* 移动端下拉菜单靠左展开，避免居中偏移出屏 */
    .site-navbar .nav-item.dropdown > .dropdown-menu {
        left: 0;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .honor-lightbox-body {
        padding: 16px 8px;
        gap: 4px;
    }
    .honor-lightbox-nav {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .card-list {
        grid-template-columns: 1fr;
    }
    /* 手机端卡片改上下结构：图片在上满宽 16:9，文字在下 */
    .card-list-item {
        flex-direction: column;
    }
    .card-list-thumb {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .footer-main {
        gap: 24px;
        padding: 32px 0 24px;
    }
    .footer-qrcodes {
        margin-left: 0;
    }
}

/* ---------- 面包屑 ---------- */
.crumb-nav {
    padding: 12px 0;
    font-size: 14px;
    color: var(--site-muted);
}

/* 详情页面包屑容器：与 760px 正文卡片同宽居中（.container 自带 margin auto），
   左缘与白卡对齐，避免卡片限宽后通栏靠左的面包屑视觉孤儿化 */
.article-crumb {
    max-width: 760px;
}

/* 首页前的小房子图标 */
.crumb-home-icon {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    vertical-align: -2px;
    color: var(--site-muted);
}

.crumb-nav a {
    color: var(--site-muted);
}

.crumb-nav a:hover {
    color: var(--site-primary);
}

.crumb-sep {
    margin: 0 8px;
}

.crumb-current {
    color: var(--site-text);
}

/* ---------- 页面主体 ---------- */
.page-main {
    padding-bottom: 64px;
    min-height: 400px;
}

/* ---------- 单页模型 ---------- */
.single-page {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e8edf3;
}

/* 单页底部地图（公司简介/企业文化等） */
.single-map {
    margin-top: 32px;
    border: 1px solid #e8edf3;
    border-radius: 6px;
    overflow: hidden;
}

.single-map img {
    display: block;
    width: 100%;
    height: auto;
}

.single-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--site-primary);
    text-align: center;
    margin-bottom: 24px;
}

/* ---------- 文章列表 ---------- */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list-item {
    display: flex;
    gap: 24px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.25s;
}

.article-list-item:hover {
    box-shadow: 0 6px 20px rgba(10, 61, 107, 0.1);
}

.article-list-main {
    flex: 1;
}

.article-list-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-list-title a {
    color: var(--site-text);
}

.article-list-title a:hover {
    color: var(--site-primary);
}

.article-list-summary {
    color: var(--site-muted);
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.article-list-meta {
    font-size: 13px;
    color: var(--site-muted);
}

.article-list-meta .meta-click {
    margin-left: 16px;
}

.article-list-thumb {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-list-empty {
    padding: 48px 0;
    text-align: center;
    color: var(--site-muted);
}

/* ---------- 分页 ---------- */
.page-nav {
    margin-top: 32px;
}

.page-nav .page-link {
    color: var(--site-primary);
    border-color: #e8edf3;
}

.page-nav .page-item.active .page-link {
    background-color: var(--site-primary);
    border-color: var(--site-primary);
    color: #ffffff;
}

/* ---------- 文章详情 ---------- */
/* PC 端限宽居中：677px 正文栏（对齐微信公众号排版宽度）+ 两侧 40px 内边距 ≈ 760px，
   微信编辑器粘贴的正文内联样式按 677px 设计，占满 container 会被拉散；
   移动端 container 本身窄于 760px，不受影响 */
.article-detail {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e8edf3;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.article-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--site-text);
    text-align: center;
    margin-bottom: 16px;
}

.article-meta {
    text-align: center;
    font-size: 13px;
    color: var(--site-muted);
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.article-meta span {
    margin: 0 12px;
}

.article-prev-next {
    margin-top: 32px;
    border-top: 1px solid #eef2f7;
    padding-top: 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.prev-next-item {
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prev-next-item.next-item {
    text-align: right;
}

.prev-next-label {
    color: var(--site-muted);
}

@media (max-width: 767.98px) {
    .article-prev-next {
        flex-direction: column;
        gap: 8px;
    }
    .prev-next-item.next-item {
        text-align: left;
    }
}

/* ---------- 回到顶部按钮（滚动超过一屏后出现） ---------- */
.back-top {
    position: fixed;
    right: 20px;
    bottom: 110px;
    z-index: 1500;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background-color: var(--site-primary);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(10, 61, 107, 0.3);
    /* 显隐只动位移与透明度，不叠加其他 transform 源，避免动画互相覆盖 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.25s, box-shadow 0.25s;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background-color: var(--site-accent);
    box-shadow: 0 6px 18px rgba(200, 162, 94, 0.45);
}

.back-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 767.98px) {
    .back-top {
        right: 12px;
        bottom: 90px;
        width: 40px;
        height: 40px;
    }
    .back-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ---------- 富文本内容 ---------- */
.rich-content {
    font-size: 16px;
    line-height: 2;
    color: #3a4356;
    word-break: break-word;
}

/* 正文图片自适应：!important 覆盖迁移正文内联的 max-width:50% 等限宽样式，
   使图片随容器宽度自适应（移动端撑满）；max-width 只封顶不拉伸，小图不会被放大 */
.rich-content img {
    max-width: 100% !important;
    height: auto !important;
}

.rich-content table {
    max-width: 100%;
    border-collapse: collapse;
}

.rich-content td,
.rich-content th {
    border: 1px solid #e8edf3;
    padding: 8px 12px;
}

.rich-content p {
    margin-bottom: 12px;
}

/* 富文本视频：预加载完成前显示浅灰底（避免黑屏观感），宽度自适应、圆角 */
.rich-content video {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #eef1f5;
}

/* ---------- 页脚（官网样式：深蓝灰背景、多列链接、二维码、版权） ---------- */
.site-footer {
    background-color: #2c3140;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 32px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    padding: 48px 0 40px;
}

.footer-brand {
    flex: 1 1 320px;
    min-width: 260px;
}

.footer-brand-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col {
    flex: none;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-qrcodes {
    flex: none;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-left: auto;
}

.footer-qrcode {
    width: 110px;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 6px;
}

.footer-qrcode img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0 22px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 2;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- 错误页 ---------- */
.error-page {
    background-color: var(--site-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.error-box {
    width: 100%;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--site-primary);
    line-height: 1.2;
}

.error-text {
    color: var(--site-muted);
    font-size: 16px;
    margin: 16px 0 32px;
}

/* ---------- 首页底部：联系我们横幅 + 右侧抽屉表单 ---------- */
.contact-cta-section {
    /* 顶部 40px 与精品案例间隔统一；底部 8px + 页脚 margin-top 32px = 40px */
    padding: 40px 0 8px;
}

/* 深蓝圆角横幅：左侧标题/描述，右侧两个操作按钮 */
.contact-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    background-color: #2e5398;
    border-radius: 8px;
    padding: 40px 56px;
}

.contact-cta-title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
}

.contact-cta-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    max-width: 640px;
}

.contact-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.contact-cta-btn {
    height: 46px;
    padding: 0 36px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

/* 主按钮：白底深蓝字 */
.contact-cta-btn-primary {
    background-color: #ffffff;
    color: #1a2335;
    border: 1px solid #ffffff;
}

.contact-cta-btn-primary:hover {
    background-color: #e8edf5;
    border-color: #e8edf5;
}

/* 次按钮：透明白字白边 */
.contact-cta-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.contact-cta-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.14);
}

/* 抽屉遮罩 */
.contact-drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 45, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1600;
}

.contact-drawer-mask.open {
    opacity: 1;
    visibility: visible;
}

/* 抽屉：固定右侧靠底部，从右侧滑入 */
.contact-drawer {
    position: fixed;
    right: 0;
    bottom: 24px;
    width: 420px;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px 0 0 12px;
    box-shadow: -12px 0 40px rgba(10, 20, 45, 0.25);
    transform: translateX(105%);
    transition: transform 0.35s ease;
    z-index: 1700;
    padding: 20px 28px 28px;
}

.contact-drawer.open {
    transform: translateX(0);
}

.contact-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef1f5;
}

.contact-drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2733;
    margin: 0;
}

.contact-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #8a94a6;
    cursor: pointer;
    padding: 0 4px;
}

.contact-drawer-close:hover {
    color: #1a2733;
}

/* 表单 */
.contact-form-item {
    margin-bottom: 16px;
}

.contact-form-label {
    display: block;
    font-size: 13px;
    color: #555f6e;
    margin-bottom: 6px;
}

.contact-form-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d8dde5;
    border-radius: 6px;
    font-size: 14px;
    color: #1a2733;
    background: #ffffff;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}

.contact-form-input:focus {
    border-color: #2f5398;
    box-shadow: 0 0 0 3px rgba(47, 83, 152, 0.12);
}

.contact-form-textarea {
    height: auto;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.6;
}

.contact-form-submit {
    display: block;
    width: 100%;
    height: 46px;
    margin-top: 22px;
    border: none;
    border-radius: 6px;
    background-color: #2f5398;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s;
}

.contact-form-submit:hover {
    background-color: #4c75c2;
}

.contact-form-submit:disabled {
    background-color: #9fb3d6;
    cursor: not-allowed;
}

.contact-form-tip {
    margin: 12px 0 0;
    font-size: 12px;
    color: #aab3c2;
    text-align: center;
}

.contact-form-tip.success {
    color: #07c160;
}

/* 移动端：横幅纵向排列，按钮铺满一行 */
@media (max-width: 767.98px) {
    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 28px 24px;
    }

    .contact-cta-actions {
        width: 100%;
    }

    .contact-cta-btn {
        flex: 1;
        padding: 0 16px;
    }
}

/* ---------- 多语言排版与语言切换器 ---------- */
.site-navbar .language-switcher {
    flex: 0 0 auto;
}

.site-navbar .language-switcher > .nav-link {
    white-space: nowrap;
}

.site-navbar .dropdown-item.active,
.site-navbar .dropdown-item.active:hover {
    background-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 600;
}

html:lang(en) .brand-slogan,
html:lang(ko) .brand-slogan {
    max-width: 320px;
    letter-spacing: 0;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
}

html:lang(en) .brand-name,
html:lang(ko) .brand-name {
    max-width: 440px;
    letter-spacing: 0;
    line-height: 1.35;
}

html:lang(en) .site-navbar .nav-link,
html:lang(ko) .site-navbar .nav-link {
    min-height: 56px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

html:lang(en) .site-navbar .dropdown-item,
html:lang(ko) .site-navbar .dropdown-item {
    min-width: 150px;
    max-width: 260px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

html:lang(en) .contact-cta-title,
html:lang(ko) .contact-cta-title,
html:lang(en) .footer-title,
html:lang(ko) .footer-title {
    line-height: 1.4;
    overflow-wrap: anywhere;
}

html:lang(en) .contact-cta-btn,
html:lang(ko) .contact-cta-btn {
    height: auto;
    min-height: 46px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

html:lang(en) .footer-col,
html:lang(ko) .footer-col {
    max-width: 190px;
}

html:lang(en) .footer-address,
html:lang(ko) .footer-address {
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .site-navbar .language-switcher > .dropdown-menu {
        left: 0;
        right: auto;
        transform: none;
    }

    html:lang(en) .brand-slogan,
    html:lang(ko) .brand-slogan {
        max-width: 230px;
    }
}

/* ---------- 移动端左侧抽屉菜单（<992px，把 Bootstrap collapse 改造为 offcanvas） ---------- */
@media (max-width: 991.98px) {
    /* 单行布局：汉堡（左）+ 品牌（中，自适应）+ 语言按钮（右），禁止换行 */
    .site-navbar .navbar {
        flex-wrap: nowrap;
    }
    /* 品牌名限宽两行，占满中间剩余宽度把语言按钮顶到右侧 */
    .site-navbar .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 12px;
    }
    .site-navbar .navbar-brand .brand-logo-img {
        width: 36px;
        height: 36px;
    }
    .brand-name-mobile {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 语言切换已前移到头部圆形按钮，抽屉内不再重复展示 */
    .site-navbar .language-switcher {
        display: none;
    }

    /* 抽屉主体：固定左侧深色竖排菜单，复用 collapse 事件控制滑入滑出；
     * display/height 强制覆盖 Bootstrap 的 display:none 与高度动画，改用 transform 平移 */
    .site-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 78vw;
        max-width: 320px;
        z-index: 1601;
        background-color: #242c3d;
        padding: 8px 0 32px;
        overflow-y: auto;
        display: block !important;
        height: auto !important;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    .site-navbar .navbar-collapse.collapsing {
        height: auto !important;
        overflow-y: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    /* 打开态写在 .collapsing 之后（同特异性靠顺序取胜）：打开时 visibility 立即生效，
     * 关闭时回落 .collapsing 的延迟 visibility，保证滑出动画完整播放 */
    .site-navbar.nav-drawer-open .navbar-collapse {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s ease;
    }

    /* 菜单项：整行铺满 + 细分隔线 + 右侧箭头（展开时旋转朝下） */
    .site-navbar .navbar-nav {
        align-items: stretch;
    }
    .site-navbar .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .site-navbar .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
    }
    .site-navbar .nav-item.dropdown > .nav-link::after,
    .site-navbar .dropdown-submenu > .dropdown-item::after {
        content: "";
        flex-shrink: 0;
        width: 8px;
        height: 8px;
        margin-left: 12px;
        border-right: 2px solid rgba(255, 255, 255, 0.65);
        border-bottom: 2px solid rgba(255, 255, 255, 0.65);
        transform: rotate(-45deg);
        transition: transform 0.2s;
    }
    .site-navbar .nav-item.dropdown > .nav-link[aria-expanded="true"]::after,
    .site-navbar .dropdown-submenu > .dropdown-item[aria-expanded="true"]::after {
        transform: rotate(45deg);
    }

    /* 二/三级：内嵌手风琴面板，去掉桌面浮层的定位/阴影/caret 三角 */
    .site-navbar .nav-item.dropdown > .dropdown-menu {
        position: static !important;
        transform: none;
        margin: 0 !important;
        padding: 0;
        min-width: 0;
        border-radius: 0;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.22);
    }
    .site-navbar .nav-item.dropdown > .dropdown-menu::before {
        display: none;
    }
    .site-navbar .dropdown-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 12px 20px 12px 34px;
    }
    .site-navbar .dropdown-menu.submenu {
        background-color: rgba(0, 0, 0, 0.18);
    }
    .site-navbar .dropdown-menu.submenu .dropdown-item {
        padding-left: 48px;
        font-size: 13px;
    }
}

/* 抽屉打开时抬高导航栏层叠上下文，使抽屉盖在 body 遮罩之上 */
.site-navbar.nav-drawer-open {
    z-index: 1601;
}

/* 抽屉遮罩：半透明黑，点击关闭（site.js 动态创建） */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background-color: rgba(8, 14, 28, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.show {
    opacity: 1;
}

/* ========== 国际版首页 Hero 轮播（index-global，英/韩站专用） ========== */
.hero-carousel {
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: linear-gradient(112deg, #0a2a66 0%, #124a9e 48%, #1c66c9 100%);
}

/* 背景为后台真实 banner 图，铺满整屏等比裁剪 */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左深右浅遮罩：保证白色文案在任意图片上可读 */
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 22, 55, 0.78) 0%, rgba(7, 22, 55, 0.55) 45%, rgba(7, 22, 55, 0.22) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 2px;
}

.hero-badge::before,
.hero-badge::after {
    content: "\00B7";
}

.hero-title {
    margin: 26px 0 0;
    color: #fff;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.35;
}

.hero-title-line {
    display: block;
}

/* 文案改为单行大标题后，空行 span 不再占一行高度 */
.hero-title-line:empty {
    display: none;
}

.hero-title-accent {
    color: #8fb8ff;
    margin-left: 14px;
}

.hero-desc {
    margin: 22px 0 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 16px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 46px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.hero-btn-primary {
    background-color: #1677ff;
    color: #fff;
}

.hero-btn-primary:hover {
    background-color: #3f8dff;
    color: #fff;
}

.hero-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.hero-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* 左右圆形切换按钮（覆盖 Bootstrap 默认的整条透明热区） */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    margin: 0 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.14);
    opacity: 1;
    transition: background-color 0.2s ease;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.28);
}

.hero-control-icon {
    color: #fff;
    font-size: 24px;
    line-height: 1;
    margin-top: -3px;
}

/* 英/韩文案较长，标题适当缩小避免溢出 */
html:lang(en) .hero-title,
html:lang(ko) .hero-title {
    font-size: 38px;
}

@media (max-width: 991.98px) {
    .hero-slide {
        height: 460px;
    }
    .hero-title {
        font-size: 30px;
    }
    html:lang(en) .hero-title,
    html:lang(ko) .hero-title {
        font-size: 27px;
    }
}

@media (max-width: 767.98px) {
    /* 固定高度：两屏文案行数不同，auto 会随内容忽高忽矮导致切换跳动 */
    .hero-slide {
        height: 420px;
    }
    .hero-content {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .hero-badge {
        font-size: 12px;
        letter-spacing: 1px;
        padding: 4px 14px;
    }
    .hero-title {
        margin-top: 18px;
        font-size: 24px;
    }
    html:lang(en) .hero-title,
    html:lang(ko) .hero-title {
        font-size: 21px;
    }
    .hero-desc {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.8;
    }
    .hero-actions {
        margin-top: 22px;
        gap: 12px;
    }
    .hero-btn {
        min-width: 112px;
        height: 40px;
        font-size: 14px;
        padding: 0 18px;
    }
    /* 小屏隐藏箭头，靠 Bootstrap 自带的触摸滑动切换 */
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }
}
