.aum-header-moker-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.aum-header-moker-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.aum-header-moker-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 260px;
}

.aum-header-moker-logo {
    width: 100px;
    height: auto;
    display: block;
}

.aum-header-moker-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.aum-header-moker-dividing-line {
    height: 40px;
    width: 1px;
    background: #eee;
}

.aum-header-moker-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b1b2a;
}

.aum-header-moker-subtitle {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(11, 27, 42, .62);
}

/* PC 菜单 */
.aum-header-moker-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.aum-header-moker-menu {
    list-style: none;
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.aum-header-moker-menu a {
    text-decoration: none;
    color: rgba(11, 27, 42, .78);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aum-header-moker-menu a:hover {
    color: #0b1b2a;
}

/* 子菜单：悬停展开 */
.aum-header-moker-menu .menu-item-has-children {
    position: relative;
}

.aum-header-moker-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    display: none;
}

.aum-header-moker-menu .sub-menu a {
    padding: 10px 14px;
    width: 100%;
    display: flex;
}

.aum-header-moker-menu .menu-item-has-children:hover>.sub-menu {
    display: block;
}

/* PC：给有子菜单的父级菜单项右侧加箭头 */
.aum-header-moker-menu .menu-item-has-children>a {
    position: relative;
    padding-right: 24px;
    /* 给箭头留空间 */
}

/* 用 CSS 画一个小箭头（不依赖 svg） */
.aum-header-moker-menu .menu-item-has-children>a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-55%) rotate(45deg);
    opacity: .7;
}


/* 右侧操作 */
.aum-header-moker-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.aum-header-moker-search-toggle {
    border: none;
    background: transparent;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 10px;
    color: rgba(11, 27, 42, .78);
    ;
}

.aum-header-moker-search-toggle:hover {
    background: rgba(0, 0, 0, .05);
}

.aum-header-moker-search-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 12px;
    width: 340px;
}

.aum-header-moker-search-form {
    display: flex;
    gap: 8px;
}

.aum-header-moker-search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 10px;
}

.aum-header-moker-search-input:focus {
    outline: none;
    box-shadow: none;
    border-color: rgba(0, 0, 0, .35);
}

.aum-header-moker-search-submit {
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.aum-header-moker-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff !important;
    font-size: 14px;
    white-space: nowrap;
    background: #1e6fff;
    transition: all .3s;
}

.aum-header-moker-cta:hover {
    color: #fff;
    background: #1d4ed8;
}

/* 移动端汉堡按钮：PC隐藏 */
.aum-header-moker-burger {
    display: none;
    border: none;
    background: transparent;
    padding: 10px 10px;
    cursor: pointer;
    border-radius: 10px;
}

.aum-header-moker-burger:hover {
    background: rgba(0, 0, 0, .05);
}

.aum-header-moker-burger-lines {
    width: 20px;
    height: 14px;
    display: inline-block;
    position: relative;
}

.aum-header-moker-burger-lines::before,
.aum-header-moker-burger-lines::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #0b1b2a;
    border-radius: 2px;
}

.aum-header-moker-burger-lines::before {
    top: 2px;
}

.aum-header-moker-burger-lines::after {
    bottom: 2px;
}

/* 抽屉（默认隐藏，JS加 open 类） */
/* 抽屉：用 opacity/visibility 控制，保证动画稳定 */
.aum-header-moker-drawer{
  position: fixed;
  inset: 0;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.aum-header-moker-drawer.aum-header-moker-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility 0s linear 0s;
}

/* 背景遮罩也做个淡入 */
.aum-header-moker-drawer-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .2s ease;
}

.aum-header-moker-drawer.aum-header-moker-open .aum-header-moker-drawer-backdrop{
  opacity: 1;
}

/* 右侧面板：滑入动画 */
.aum-header-moker-drawer-panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(92vw, 420px);
  background: #fff;

  transform: translateX(100%);
  transition: transform .28s ease;
  padding: 18px 16px;
  overflow: auto;
  will-change: transform;
}

.aum-header-moker-drawer.aum-header-moker-open .aum-header-moker-drawer-panel{
  transform: translateX(0);
}

.aum-header-moker-drawer-close {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    padding: 10px 12px;
    border-radius: 10px;
    display: block;
    margin-left: auto;
}

.aum-header-moker-drawer-close:hover {
    background: rgba(0, 0, 0, .05);
}

/* 移动端菜单：一行一个 */
.aum-header-moker-drawer-menu {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.aum-header-moker-drawer-menu>li {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.aum-header-moker-drawer-menu>li:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.aum-header-moker-drawer-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #0b1b2a;
    padding: 16px 6px;
    font-size: 16px;
}

/* 子菜单：移动端折叠 */
.aum-header-moker-drawer-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 0;
    display: none;
}

.aum-header-moker-drawer-menu .sub-menu a {
    padding: 12px 6px 12px 18px;
    font-size: 14px;
    color: rgba(11, 27, 42, .76);
}

.aum-header-moker-drawer-menu .aum-header-moker-sub-open>.sub-menu {
    display: block;
}

/* 首页头部透明样式 */
.home .aum-header-moker-header.aum-header-home {
    position: fixed;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* 首页元素颜色 */
.home .aum-header-moker-header.aum-header-home * {
    color: #fff;
    transition: all 0.3s ease;
}

.home .aum-header-moker-header.aum-header-home .aum-header-moker-drawer-panel * {
    color: #000;
}

.home .aum-header-moker-header.aum-header-home .aum-header-moker-burger-lines::before, .home .aum-header-moker-header.aum-header-home .aum-header-moker-burger-lines::after {
    background: #fff;
}

/* 首页分隔线颜色 */
.home .aum-header-moker-header.aum-header-home .aum-header-moker-dividing-line {
    background: rgba(255, 255, 255, 0.3);
}

/* 首页滚动后的样式 */
.home .aum-header-moker-header.aum-header-home.aum-header-scrolled {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* 首页滚动后元素颜色变回 */
.home .aum-header-moker-header.aum-header-home.aum-header-scrolled * {
    color: #0b1b2a;
}

.home .aum-header-moker-header.aum-header-home.aum-header-scrolled .aum-header-moker-dividing-line {
    background: #eee;
}

/* 滚动后Logo切换 - 增加选择器特异性 */
.aum-header-home .aum-header-logo-default {
    display: block;
}

.aum-header-home .aum-header-logo-scrolled {
    display: none;
}

.home .aum-header-moker-header.aum-header-home.aum-header-scrolled .aum-header-logo-default {
    display: none !important;  /* 使用!important确保覆盖 */
}

.home .aum-header-moker-header.aum-header-home.aum-header-scrolled .aum-header-logo-scrolled {
    display: block !important;  /* 使用!important确保覆盖 */
}

/* 响应式：移动端隐藏 PC 菜单和搜索按钮，显示汉堡 */
@media (max-width: 900px) {
    .aum-header-moker-inner {
        justify-content: space-between;
        padding-left: 20px;
        padding-right: 20px;
    }

    .aum-header-moker-nav {
        display: none;
    }

    .aum-header-moker-search-toggle,
    .aum-header-moker-search-panel,
    .aum-header-moker-cta {
        display: none !important;
    }

    .aum-header-moker-burger {
        display: inline-flex;
    }

    .aum-header-moker-brand {
        min-width: 0;
    }
}