/* ===== WORKBUDDYAI_UPDATE_B [SITE] [2026-10-23 主题站点样式 - Default] =====
   说明：
     1. 这套样式只服务 pages_template 下的站点页面（首页 / 栏目列表 / 关于我们）。
        CMS 内容详情页用的是另一套 cms-front.css，两者互不干扰。
     2. 换肤只改 :root 里的变量，不要改下面的规则 —— 主题目录复制走后
        改 8 个变量就能换出一个新主题。
     3. 断点：1024（平板横） / 820（平板竖） / 560（手机）。 */

:root {
    --brand: #008fcd;
    --brand-2: #17449e;
    --brand-soft: #e8f5fb;
    --ink: #1b2230;
    --ink-2: #4e4e4e;
    --ink-3: #8b95a5;
    --line: #dee2e6;
    --bg: #ffffff;
    --bg-soft: #f5f7fa;
    --dark: #101828;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 8px 30px rgba(18, 38, 80, 0.08);
    --shadow-hover: 0 14px 40px rgba(18, 38, 80, 0.14);
    --container: 1200px;
}

/* ---------------- 基础 ---------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.site-body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.75;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.site-body img {
    max-width: 100%;
    display: block;
}

.site-body a {
    color: inherit;
    text-decoration: none;
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4 {
    margin: 0;
    line-height: 1.35;
    font-weight: 700;
}

.site-body p {
    margin: 0;
}

.site-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* 滚动淡入：已迁到 site-fx.css（.reveal 那套从未被任何模板使用，且它是无条件 opacity:0，
   脚本挂了内容就永久不可见）。新方案用 html.fx-on 门控，见 site-fx.css 文件头说明。 */

/* ---------------- 顶部信息条 ---------------- */
.site-topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12.5px;
    line-height: 36px;
}

.site-topbar__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-topbar__item {
    white-space: nowrap;
}

.site-topbar__item:hover {
    color: #fff;
}

.site-topbar__spacer {
    flex: 1 1 auto;
}

/* ===== WORKBUDDYAI_UPDATE_B [i18n] [2026-11-06 顶部信息条：语言选择器] =====
   原来是一排并排文字（简体中文 | 繁體中文 | English | Deutsch | Français）：
   桌面端就此占掉 200px 以上；手机端只能 flex-wrap 折成两三行 12.5px 小字，
   既压高度又完全不像「语言设置」。现在收成一个入口 + 一个面板：
     · 触发按钮 = 地球 + 当前语言 + 箭头，全站只此一处常驻；
     · 桌面 = 右上角下拉面板（两列语言卡）；
     · 手机（≤820px）= 底部抽屉 + 遮罩（同一份 DOM，纯 CSS 换容器）。
   实现用 <details>/<summary>：无 JS 也能展开收起，site.js 只补「点遮罩 / 点外部 / Esc 关闭」。
   🔴 面板标题走 Cms:Front:ChooseLanguage，新增语种时必须一起补键，否则标题回落中文。 */

.lang-switch {
    position: relative;
    flex: 0 0 auto;
    /* 🔴 details 自己也要是 flex：它默认是 block，高度被内部空白行盒撑到 27px，
       在 36px 的信息条里 align-items:center 一算，按钮就整体上浮 1.5px
       （实测上留 4.5 / 下留 7.5）。改成 flex + align-items:center 后，
       容器高度严格等于按钮高度，上下各 6px。 */
    display: flex;
    align-items: center;
    align-self: center;
}

/* 去掉 summary 默认的三角（Safari 走 ::-webkit-details-marker） */
.lang-switch > summary {
    list-style: none;
}

.lang-switch > summary::-webkit-details-marker {
    display: none;
}

/* 触发按钮：24px 高，和 topbar 的 12.5px 文字同一视觉重量，靠描边让它「看得出能点」 */
.lang-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 8px 0 7px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font: inherit;
    font-size: 12.5px;
    /* 🔴 不能写 line-height:1：按钮高 24、内容区 22，行盒只有 12.5px 时
       汉字字形在盒内偏下，配上 flex 居中会明显看出「文字压在下边框上」。
       这里让行盒等于内容区高度（24 - 上下 border 各 1px），三段（图标 / 文字 / 箭头）才真正同轴。 */
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lang-switch__trigger:hover,
.lang-switch[open] .lang-switch__trigger {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.lang-switch__globe {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    opacity: 0.9;
}

/* 展开时箭头翻转，作为「已打开」的唯一动效提示 */
.lang-switch__chev {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    opacity: 0.65;
    transition: transform 0.2s ease;
}

.lang-switch[open] .lang-switch__chev {
    transform: rotate(180deg);
}

/* 面板本体。🔴 必须把字号 / 行高 / 颜色重置回正文值：
   它挂在 36px 行高的深色信息条里，不重置会继承 12.5px 与白色文字。 */
.lang-switch__panel {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 80;
    width: 344px;
    overflow: hidden;
    padding-bottom: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(13, 32, 74, 0.18);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
    transform-origin: top right;
    animation: langDrop 0.17s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 面板顶部 2px 品牌渐变线：桌面下拉与手机抽屉共用，作为「语言面板」的识别点 */
.lang-switch__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2) 52%, rgba(23, 68, 158, 0) 100%);
}

/* 桌面端不需要遮罩，也不需要手机抽屉的把手；关闭按钮同理（点外部即可） */
.lang-switch__scrim,
.lang-switch__grip,
.lang-switch__close {
    display: none;
}

.lang-switch:not([open]) .lang-switch__panel {
    display: none;
}

.lang-switch__panel-head {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 13px 14px 9px;
}

.lang-switch__panel-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

/* 英文小字是装饰性副标（Language），故意不翻译 —— 它本身就是「语言」的英文写法 */
.lang-switch__panel-sub {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.lang-switch__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 0 12px;
    list-style: none;
}

/* 语言卡：左上语言代码 + 下方母语自称。
   🔴 代码用 <span> 单独渲染，不靠 CSS 截取 DisplayName —— 「繁體中文」取不出 ZHT。 */
.lang-switch__opt {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    height: 66px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color 0.14s, background 0.14s, color 0.14s;
}

.lang-switch__opt:hover {
    border-color: #bfe2f2;
    background: #fafdff;
    color: var(--ink);
}

.lang-switch__code {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: var(--brand-2);
}

.lang-switch__name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 当前语言：描边 + 浅底 + 左侧色条 + 右上勾，四重提示不会认错 */
.lang-switch__opt.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--ink);
    font-weight: 600;
    cursor: default;
}

.lang-switch__opt.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 7px 0 0 7px;
    background: var(--brand);
}

.lang-switch__opt.is-active .lang-switch__code {
    color: var(--brand);
}

.lang-switch__opt.is-active .lang-switch__name {
    color: var(--ink);
    font-weight: 600;
}

.lang-switch__check {
    display: none;
    position: absolute;
    top: 7px;
    right: 7px;
    width: 17px;
    height: 17px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
}

.lang-switch__check svg {
    width: 9px;
    height: 9px;
}

.lang-switch__opt.is-active .lang-switch__check {
    display: flex;
}

@keyframes langDrop {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* 两个抽屉动效写在顶层：@keyframes 放进 @media 里老内核会整段忽略 */
@keyframes langScrim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes langSheet {
    from {
        transform: translateY(28px);
        opacity: 0.6;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 手机抽屉打开时锁住背景滚动（site.js 在 details 的 toggle 事件里加 / 删这个类） */
.site-body.lang-panel-open {
    overflow: hidden;
}
/* ===== WORKBUDDYAI_UPDATE_E ===== */

/* ---------------- 导航 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(18, 38, 80, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 74px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.site-logo__text {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--ink);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    /* 不能加 overflow-x:auto：它会把绝对定位的下拉菜单（.site-nav__menu）裁剪掉。
       菜单项过多时由 flex 自然收缩，真正的「超宽处理」交给外层 .site-header__inner。 */
    overflow: visible;
}

.site-nav__link {
    position: relative;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.site-nav__link.is-active {
    color: var(--brand);
    font-weight: 600;
}

/* 当前栏目下划线：只给桌面端，抽屉里不需要 */
.site-nav__link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
}

/* ---------------- 导航下拉菜单 ---------------- */
.site-nav__group {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

/* 主标题（可点击进入栏目页）——复用 .site-nav__link 的字体/颜色/悬浮 */
.site-nav__item {
    /* 去掉 link 默认的左右 padding，改成「标题 + 箭头」整体一个可点区 */
    padding-right: 2px;
}

/* 箭头：独立按钮，点它才展开/收起子菜单，不抢主标题的跳转 */
.site-nav__caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 30px;
    margin-left: 1px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.site-nav__caret:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.site-nav__caret svg {
    transition: transform 0.2s ease;
}

.site-nav__group.is-open .site-nav__caret svg {
    transform: rotate(180deg);
}

.site-nav__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 160px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 38, 80, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 70;
}

/* 展开由「箭头点击」切换的 .is-open 态驱动（桌面 hover 也保留，便于鼠标用户） */
.site-nav__group.is-open .site-nav__menu,
.site-nav__group:hover .site-nav__menu,
.site-nav__group:focus-within .site-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.site-nav__menu-link {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

.site-nav__menu-link:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

/* 手机上 dropdown 退化为普通链接，不悬浮展开：子菜单直接平铺，箭头隐藏 */
@media (max-width: 820px) {
    .site-nav__group {
        display: block;
    }

    .site-nav__item {
        display: inline-block;
    }

    .site-nav__caret {
        display: none;
    }

    .site-nav__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 14px;
        min-width: 0;
    }

    .site-nav__group:hover .site-nav__menu,
    .site-nav__group:focus-within .site-nav__menu,
    .site-nav__group.is-open .site-nav__menu {
        transform: none;
    }
}

.site-search {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    height: 36px;
    padding: 0 6px 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-soft);
}

.site-search input {
    width: 118px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    color: var(--ink);
}

.site-search input::placeholder {
    color: var(--ink-3);
}

.site-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.site-search button:hover {
    background: var(--brand-soft);
    color: var(--brand);
}

/* 汉堡按钮：桌面隐藏 */
.site-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
}

.site-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-burger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.site-burger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------------- 通用区块 ---------------- */
.site-main {
    min-height: 40vh;
}

.site-section {
    padding: 72px 0;
}

.site-section--soft {
    background: var(--bg-soft);
}

.site-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
}

.site-section__title {
    position: relative;
    padding-bottom: 14px;
    font-size: 28px;
    letter-spacing: 0.5px;
}

.site-section__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand);
}

.site-section__sub {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ink-3);
}

.site-section__more {
    flex: 0 0 auto;
    padding-bottom: 16px;
    font-size: 14px;
    color: var(--ink-2);
}

.site-section__more::after {
    content: " →";
}

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

.site-section--center .site-section__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-section--center .site-section__title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---------------- 按钮 ---------------- */
.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-btn:hover {
    background: var(--brand-2);
    transform: translateY(-1px);
}

.site-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.site-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-btn--line {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.site-btn--line:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

/* ---------------- 首页主视觉（横向轮播） ---------------- */
.site-hero {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    background: var(--dark);
    scrollbar-width: none;
}

.site-hero::-webkit-scrollbar {
    display: none;
}

.site-hero__item {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: clamp(340px, 44vw, 560px);
    scroll-snap-align: start;
    overflow: hidden;
}

.site-hero__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片上的压暗层：没有它，白字在浅色照片上完全看不清 */
.site-hero__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 40, 0.72) 0%, rgba(10, 20, 40, 0.32) 52%, rgba(10, 20, 40, 0.12) 100%);
}

.site-hero__caption {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    padding: 0 20px 84px;
    transform: translateX(-50%);
    color: #fff;
}

.site-hero__caption strong {
    display: block;
    max-width: 620px;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.site-hero__caption em {
    display: block;
    max-width: 560px;
    margin-top: 14px;
    font-size: clamp(14px, 1.3vw, 17px);
    font-style: normal;
    color: rgba(255, 255, 255, 0.86);
}

.site-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.site-hero__dot {
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.site-hero__dot.is-active {
    width: 40px;
    background: #fff;
}

/* 没有轮播时的纯色主视觉 */
.site-hero--plain {
    display: block;
    background: linear-gradient(120deg, #12213f, #1c4ca5);
}

.site-hero__plain {
    max-width: var(--container);
    margin: 0 auto;
    padding: 110px 20px;
    color: #fff;
}

.site-hero__plain h1 {
    font-size: clamp(28px, 3.6vw, 46px);
    letter-spacing: 1px;
}

.site-hero__plain p {
    max-width: 560px;
    margin-top: 16px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
}

/* ---------------- 卡片网格 ---------------- */
.site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 26px;
}

.site-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-hover);
}

.site-card__cover {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eef2f8, #dfe7f3);
    overflow: hidden;
}

.site-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-card:hover .site-card__cover img {
    transform: scale(1.05);
}

/* 无封面时的占位：只显示一个淡淡的品牌字，不留白洞 */
.site-card__cover--empty::after {
    content: "图片";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(28, 76, 165, 0.28);
    font-size: 14px;
    letter-spacing: 4px;
}

/* 视频卡片上的播放按钮：居中，不依赖任何图标库 */
.site-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background 0.2s ease;
}

.site-card:hover .site-card__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.site-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 20px;
}

.site-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16.5px;
    line-height: 1.5;
}

.site-card:hover .site-card__title {
    color: var(--brand);
}

.site-card__meta {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink-2);
}

.site-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13px;
    color: var(--ink-3);
}

.site-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #c8331f;
}

.site-card__badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 12px;
}

/* ---------------- 两栏图文 ---------------- */
.site-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.site-split__media {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    aspect-ratio: 4 / 3;
}

.site-split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-split__body {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--ink-2);
}

.site-split__body h2 {
    margin-bottom: 18px;
    font-size: 27px;
    color: var(--ink);
}

.site-split__body p + p {
    margin-top: 14px;
}

.site-split__actions {
    margin-top: 26px;
}

/* ---------------- 页头横幅（关于我们等内页） ---------------- */
.site-pagehead {
    padding: 60px 0 52px;
    background: linear-gradient(135deg, var(--brand-soft), #f0f7ff);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.site-pagehead__title {
    font-size: 34px;
    letter-spacing: 0.5px;
}

.site-pagehead__sub {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ---------------- 数据里程碑 ---------------- */
.site-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.site-stat {
    padding: 30px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.site-stat__num {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.2;
}

.site-stat__label {
    display: block;
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--ink-2);
}

/* ---------------- 四大优势 ---------------- */
.site-svc {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 52px;
}

.site-svc__item {
    padding: 30px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-svc__item:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow);
}

.site-svc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 22px;
    font-weight: 700;
}

.site-svc__title {
    font-size: 17px;
}

.site-svc__en {
    display: block;
    margin: 4px 0 10px;
    font-size: 11.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-3);
}

.site-svc__desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--ink-2);
}

/* ---------------- 应用场景 ---------------- */
.site-scenes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.site-scene {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
}

.site-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.site-scene:hover img {
    transform: scale(1.06);
}

.site-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0) 42%, rgba(10, 20, 40, 0.74) 100%);
}

.site-scene__label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
}

.site-scene__label strong {
    display: block;
    font-size: 18px;
}

.site-scene__label em {
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.72);
}

/* 无图兜底场景：品牌色实底 + 居中标签，保证白字可读 */
.site-scene--plain {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-2, #17449e) 0%, var(--brand, #008fcd) 100%);
}

.site-scene--plain::after {
    display: none;
}

.site-scene--plain .site-scene__label {
    position: static;
    text-align: center;
}

.site-scene--plain .site-scene__label strong {
    font-size: 20px;
}

/* ---------------- 富文本 ---------------- */
.site-prose {
    font-size: 15.5px;
    line-height: 1.95;
    color: var(--ink-2);
}

.site-prose > :first-child {
    margin-top: 0;
}

.site-prose h2,
.site-prose h3 {
    margin: 28px 0 12px;
    color: var(--ink);
}

.site-prose p {
    margin: 12px 0;
}

.site-prose img {
    margin: 18px 0;
    border-radius: var(--radius-sm);
}

.site-prose ul,
.site-prose ol {
    padding-left: 22px;
    margin: 12px 0;
}

/* ---------------- 栏目页头图 ---------------- */
.site-page-hero {
    position: relative;
    padding: 62px 0;
    background: linear-gradient(120deg, #12213f 0%, #1c4ca5 100%);
    color: #fff;
}

.site-page-hero__title {
    font-size: clamp(24px, 2.6vw, 34px);
    letter-spacing: 1px;
}

.site-page-hero__sub {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.site-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.site-crumbs a:hover {
    color: #fff;
}

.site-crumbs span.sep {
    opacity: 0.45;
}

/* ---------------- 筛选栏 ---------------- */
.site-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.site-filter__label {
    margin-right: 4px;
    font-size: 13.5px;
    color: var(--ink-3);
}

.site-chip {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: var(--ink-2);
    transition: all 0.2s ease;
}

.site-chip:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.site-chip.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.site-filter__count {
    margin-left: auto;
    font-size: 13px;
    color: var(--ink-3);
}

/* ---------------- 分页 ---------------- */
.site-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
}

.site-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14px;
    color: var(--ink-2);
    transition: all 0.2s ease;
}

.site-pagination__item:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.site-pagination__item.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.site-pagination__item.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* ---------------- 空状态 ---------------- */
.site-empty {
    padding: 72px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    text-align: center;
    color: var(--ink-3);
}

.site-empty strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--ink-2);
}

/* ---------------- 404（页内内容区，外壳由主题 _Layout 提供） ----------------
   选择器统一带 .site-empty 前缀：.site-body p { margin: 0 } 是指定元素级规则，
   单写 .site-404__code 会被它盖掉内外边距。 */
.site-404 {
    padding: 72px 20px 96px;
}

.site-empty .site-404__code {
    margin: 0 0 10px;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--line);
}

.site-empty .site-404__hint {
    margin: 0 0 24px;
}

/* ---------------- 图集（详情页/列表） ---------------- */
.site-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.site-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-soft);
    cursor: zoom-in;
}

.site-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-gallery__item:hover img {
    transform: scale(1.06);
}

/* 图集列表的标题：压在图片底部，不占额外高度 */
.site-gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 26px 14px 10px;
    font-size: 13.5px;
    color: #fff;
    background: linear-gradient(180deg, rgba(10, 20, 40, 0) 0%, rgba(10, 20, 40, 0.78) 100%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------- 视频 ---------------- */
.site-video {
    margin: 34px 0;
}

.site-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0b1220;
    cursor: pointer;
}

.site-video__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
}

.site-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand);
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.site-video__frame:hover .site-video__play {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
}

.site-video__player {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #000;
}

.site-video__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--ink-2);
}

.site-video__links a {
    color: var(--brand);
}

/* ---------------- 灯箱 ---------------- */
.site-lightbox {
    width: min(92vw, 1080px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: #0b1220;
    color: #fff;
    overflow: visible;
}

.site-lightbox::backdrop {
    background: rgba(6, 12, 24, 0.86);
}

.site-lightbox img {
    width: 100%;
    max-height: 84vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.site-lightbox__caption {
    padding: 10px 16px 14px;
    font-size: 13px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.site-lightbox__caption:empty {
    display: none;
}

.site-lightbox__close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.site-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ---------------- 返回顶部 ---------------- */
.site-totop {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(16, 24, 40, 0.72);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, background 0.2s ease;
}

.site-totop:hover {
    background: var(--brand);
}

/* 滚动超过一屏才出现：由 JS 给 body 加 class */
.site-body.is-scrolled .site-totop {
    opacity: 1;
    pointer-events: auto;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
    margin-top: 0;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.68);
    font-size: 13.5px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 62px;
    padding-bottom: 46px;
}

.site-footer__logo {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.site-footer__desc {
    max-width: 300px;
    line-height: 1.9;
}

.site-footer__contact {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    line-height: 2;
}

.site-footer__title {
    margin-bottom: 16px;
    font-size: 15px;
    color: #fff;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 2.1;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__hours {
    margin: 16px 0 0;
    font-size: 12.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__qr {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.site-footer__qr-tip {
    font-size: 12.5px;
}

.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__bar-right {
    display: flex;
    gap: 18px;
}

.site-footer__bar-right a:hover {
    color: #fff;
}

.site-footer__icp {
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__icp:hover {
    color: #fff;
}

/* ===== WORKBUDDYAI_UPDATE_B [LEGAL] [2026-11-02 第三方图标署名（Font Awesome Free 要求保留归属） ===== */
.site-footer__credit a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.site-footer__credit a:hover {
    color: #fff;
}
/* ===== WORKBUDDYAI_UPDATE_E ===== */

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
    .site-section {
        padding: 56px 0;
    }

    .site-split {
        gap: 32px;
    }

    .site-svc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 820px) {
    .site-header__inner {
        height: 64px;
        gap: 12px;
    }

    .site-burger {
        display: flex;
    }

    /* 抽屉：导航从顶部整块落下，不做侧滑（手机上侧滑要处理手势冲突） */
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        max-height: 70vh;
        padding: 10px 16px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(18, 38, 80, 0.12);
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__link {
        padding: 12px 14px;
        font-size: 15.5px;
    }

    .site-nav__link.is-active::after {
        display: none;
    }

    .site-nav__link.is-active {
        background: var(--brand-soft);
    }

    .site-search {
        display: none;
    }

    .site-topbar__item--hide-sm {
        display: none;
    }

    /* ===== WORKBUDDYAI_UPDATE_B [i18n] [2026-11-03 窄屏：信息条允许换行] =====
       电话 + 三种语言 + 会员中心并排约 410px，375px 屏上会横向溢出（整页出现底部滚动条）。
       靠 flex-wrap 掉到第二行，比压小字号或横向滚动都好读；spacer 此时没有意义，隐藏。 */
    .site-topbar__inner {
        flex-wrap: wrap;
        gap: 0 14px;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .site-topbar__spacer {
        display: none;
    }

    /* ===== WORKBUDDYAI_UPDATE_B [i18n] [2026-11-06 窄屏：语言选择器改成底部抽屉] =====
       同一份 DOM，只换容器：下拉面板在手机上既挡不住底部内容、也离拇指远，
       改成从底部升起的抽屉（遮罩 + 把手 + 关闭按钮），语言卡两列更好点。
       panel 用 position:fixed 是故意的：它虽然是 <details> 的子元素，
       fixed 只认视口，所以抽屉贴的是屏幕底而不是按钮下方。 */
    .lang-switch {
        margin-left: auto;
    }

    .lang-switch__scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 900;
        background: rgba(11, 20, 38, 0.46);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        animation: langScrim 0.22s ease both;
    }

    .lang-switch:not([open]) .lang-switch__scrim {
        display: none;
    }

    .lang-switch__panel {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 901;
        width: auto;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        border: 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -12px 44px rgba(13, 32, 74, 0.2);
        transform-origin: bottom center;
        animation: langSheet 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .lang-switch__grip {
        display: block;
        width: 38px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 99px;
        background: #dfe5ee;
    }

    .lang-switch__panel-head {
        padding: 14px 18px 12px;
        /* 平板（768 竖屏）上抽屉是全宽的，不限宽的话一行卡片能拉到 370px、
         两行小字浮在中间很空。560 + 左右 18 的留白，和手机上的卡片宽度一致。 */
        max-width: 596px;
        margin: 0 auto;
    }

    .lang-switch__panel-title {
        font-size: 16px;
    }

    .lang-switch__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        margin-left: auto;
        align-self: center;
        border: 0;
        border-radius: 50%;
        background: #f2f5f9;
        color: #6b7789;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
    }

    .lang-switch__close:hover {
        background: #e7ecf3;
        color: var(--ink);
    }

    .lang-switch__list {
        gap: 10px;
        padding: 0 18px;
        max-width: 596px;
        margin: 0 auto;
    }

    .lang-switch__opt {
        height: 74px;
        padding: 0 14px;
        border-radius: 8px;
        -webkit-tap-highlight-color: transparent;
    }

    .lang-switch__opt.is-active::before {
        border-radius: 8px 0 0 8px;
    }

    .lang-switch__code {
        font-size: 15px;
    }

    .lang-switch__name {
        font-size: 13.5px;
    }

    .lang-switch__check {
        top: 8px;
        right: 8px;
    }
    /* ===== WORKBUDDYAI_UPDATE_E ===== */

    .site-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-split__media {
        aspect-ratio: 16 / 10;
    }

    .site-scenes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-section__title {
        font-size: 23px;
    }

    .site-hero__caption {
        padding-bottom: 64px;
    }
}

@media (max-width: 560px) {
    .site-container {
        padding: 0 16px;
    }

    .site-section {
        padding: 44px 0;
    }

    .site-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .site-card__body {
        padding: 12px 12px 14px;
    }

    .site-card__title {
        font-size: 14.5px;
    }

    .site-card__meta {
        display: none;
    }

    .site-svc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .site-svc__item {
        padding: 20px 14px;
    }

    .site-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .site-stat {
        padding: 20px 14px;
    }

    .site-stat__num {
        font-size: 24px;
    }

    .site-pagehead {
        padding: 42px 0 36px;
    }

    .site-pagehead__title {
        font-size: 26px;
    }

    .site-scenes {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 42px;
    }

    .site-footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .site-page-hero {
        padding: 40px 0;
    }

    .site-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .site-totop {
        right: 14px;
        bottom: 16px;
    }
}
/* ===== WORKBUDDYAI_UPDATE_E [SITE] ===== */

/* ===== WORKBUDDYAI_UPDATE_B [i18n] [2026-11-03 超窄屏（≤480）：顶栏保住一行] =====
   电话(约150px) + 三种语言(约201px) + 登录(约40px) 在 390px 屏上放不下，
   实测会挤成两行、且「登录」孤零零吊在第二行。
   手机上的电话号在正文「电话咨询」按钮与页脚里都有，这里收起不影响访客联系，
   换来一条干净的单行条。放在文件末尾而不是嵌进上面的 820 媒体查询里：
   @media 嵌套只有新浏览器认，老内核会整段忽略。 */
@media (max-width: 480px) {
    .site-topbar__item--phone {
        display: none;
    }

    /* 电话收起后左端会空出来：恢复弹簧，让语言靠左、登录靠右，两侧都有落点 */
    .site-topbar__spacer {
        display: block;
    }

    .lang-switch {
        margin-left: 0;
    }

    /* 320px 这类屏上当前语言名可能很长（Português (Brasil)），按钮里截断，不把顶栏顶成两行 */
    .lang-switch__current {
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* ===== WORKBUDDYAI_UPDATE_E ===== */
