/* 导航容器样式 */
.language-categories-and-switcher-wrapper {
  /* background-color: #ffffff; */
  padding: 10px 20px;
  /* border-bottom: 1px solid #ddd; */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* 顶级菜单样式 */
.language-categories-and-switcher-wrapper > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

/* 顶级菜单项样式 */
.language-categories-and-switcher-wrapper > ul > li {
  position: relative;
}

.language-categories-and-switcher-wrapper a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.language-categories-and-switcher-wrapper a:hover {
  background-color: #f0f0f0;
  color: #000;
  border-radius: 4px;
}

/* 下拉菜单容器（语言切换） */
.language-categories-and-switcher-wrapper li.menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: #ffffff;
  border: 1px solid #ccc;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 显示下拉菜单 */
.language-categories-and-switcher-wrapper li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* 子菜单项 */
.language-categories-and-switcher-wrapper .sub-menu li a {
  padding: 8px 16px;
  display: block;
  white-space: nowrap;
}

.language-categories-and-switcher-wrapper .sub-menu li a:hover {
  background-color: #f8f8f8;
}

/* 当前语言高亮 */
.language-categories-and-switcher-wrapper .current-lang > a {
  font-weight: bold;
  color: #4c0ee9;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .language-categories-and-switcher-wrapper {
    position: relative;
  }

  /* 隐藏 checkbox */
  .menu-toggle-checkbox {
    display: none;
  }

  /* 菜单按钮 */
  .menu-toggle-label {
    display: block;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    width: fit-content;
    user-select: none;
    z-index: 1001;
    position: relative;
  }

  /* 浮层菜单容器 */
  .language-categories-and-switcher-wrapper > ul {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    padding: 60px 20px 20px;
    box-sizing: border-box;
    z-index: 1000;
    overflow-y: auto;
  }

  /* 展开时显示浮层 */
  .menu-toggle-checkbox:checked ~ ul {
    display: flex;
  }

  /* 关闭按钮 */
  .close-menu-label {
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    background: #f8f8f8;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
  }

  /* 子菜单 */
  .language-categories-and-switcher-wrapper .sub-menu {
    position: relative;
    top: 0;
    left: 0;
    border: none;
    box-shadow: none;
  }

  /* 菜单项样式调整 */
  .language-categories-and-switcher-wrapper ul li a {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: block;
  }
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.has-alter-background-color {
  background-color: #ffffff !important;
}


@media (min-width: 768px) {
    .cat-item {
          position: relative; /* 关键！使子菜单以它为参考 */
      }
    .wp-block-navigation__responsive-container-content li{
      height: 40px;
      display: flex; 
      font-weight: 400;
      align-items: center; /* 子元素垂直居中（核心属性） */
    }
.wp-block-navigation__responsive-container-content > .cat-item {
    position: relative;
    padding-bottom: 10px;
}
.wp-block-navigation__responsive-container-content > .cat-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    background-color: #007cba;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 1px;
}

.wp-block-navigation__responsive-container-content > .cat-item:hover::after {
    width: 100%;
}
    /* 默认隐藏子分类 1. 设置子菜单的初始状态：隐藏且略微上移 */
    .cat-item .children {
        /* 初始透明度为0，使其不可见 */
        border-radius: 15px;
        opacity: 0;
        /* 向上平移10像素，为动画提供起点 */
        transform: translateY(-10px);
        /* 动画核心：平滑过渡透明度和位置，持续0.3秒 */
        transition: opacity 0.4s ease, transform 0.4s ease;
        /* 隐藏元素并阻止其被点击，直到父级被悬停 */
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        width: max-content;          /* 宽度由内容决定 */
        min-width: 180px;            /* 可选：设置最小宽度，避免太窄 */
        white-space: nowrap;         /* 防止 ul 本身换行（对齐用） */
        background-color: #ffffff;
        z-index: 99;
        padding-left: 10px;
        padding-right: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
        border: 0px solid rgba(169, 169, 169, 0.15);
        overflow: hidden;
        white-space: normal; /* reset */
        box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    }

/* 2. 鼠标悬停时，子菜单的状态：完全可见并恢复位置 */
    .cat-item:hover > .children {
        /* 将透明度变为1，使其完全可见 */
        opacity: 1;
        /* 将子菜单平移到其最终位置（Y轴为0） */
        transform: translateY(0);
        /* 使子菜单可被点击和交互 */
        visibility: visible;
    }
    .cat-item .children li {
        border-bottom: 0px solid rgba(0, 0, 0, .15);
        height: 25px;
        display: flex; /* 给 li 开启 Flex 布局 */
        align-items: center; /* 子元素垂直居中（核心属性） */
        font-weight: normal;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 15px;
        padding-right: 15px;;
        gap: 10px;
        white-space: nowrap;/*不换行 */
    }
    .cat-item .children li a {
        margin: 0px;
        color: #2b2e2e;
    }
    .cat-item .children li a:hover {
        margin: 0px;
        color: #000000;
    }
    .cat-item.has-children > a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    margin-left: 1px;
    vertical-align: middle;
    }
}

@media (max-width: 767px) {
    /* 移动端默认显示所有子分类 */
    .cat-item .children {
        display: block;
        /* 可选：为移动端子菜单添加一些额外的样式 */
        padding-left: 20px;
        list-style: none;
    }
}
.language-switcher-inline {
    font-size: 14px;
    color: #555;
    display: inline-block;
    user-select: none;
}

.language-switcher-inline a {
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* 当前语言：黑色字体 */
.language-switcher-inline .current-language {
    color: #000 !important;
    font-weight: normal; /* 取消加粗，还原默认常规字重 */
    /* 移除 pointer-events: none，恢复点击能力 */
    cursor: pointer; /* 明确鼠标悬浮为指针样式，提示可点击 */
}

/* 其他语言：弱化颜色 */
.language-switcher-inline .other-language {
    color: #777777;
}

.language-switcher-inline .other-language:hover {
    color: #333;
    background-color: #f5f5f5;
}
.language-switcher-inline .lang-separator {
    font-size: 12px;
    color: #999;
    margin: 0 6px;
}
@media (min-width: 768px) {
.demo-button {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    text-decoration: none;
    font-weight: normal;
    border-radius: 30px;
    transition: background-color 0.3s, color 0.3s;
    background-color: transparent;
    color: #0052D9;
    border: 2px solid #0052D9; 
    text-align: center;
    word-break: break-word;
}
.demo-button:hover {
    background-color: #0052D9;
    color: #ffffff;
}
}
@media (max-width: 767px) {
.demo-button {
  display: none;
}
}

/* 极细样式：针对 is-style-wide 类的分割线 */
hr.wp-block-separator.is-style-wide {
  /* 1. 控制“粗细”核心：用高度/边框实现极细效果（二选一即可，推荐边框方案） */
  /* 方案A：用高度控制（适合纯色无渐变场景） */
  height: 1px; /* 极细高度，可根据需求调整为 0.5px（更细，需兼容屏幕） */
  border: none; /* 取消默认边框，避免叠加变粗 */

  /* 方案B：用边框控制（适合需要保留“上下边”或渐变的场景） */
  /* height: 0; 清空高度，仅靠边框显形 */
  /* border-top: 1px solid #000; 仅上边框显形，实现极细效果 */

  /* 2. 颜色：默认深灰，可根据页面调整（例如浅灰 #eee 更柔和） */
  background-color: #e5e5e5; /* 方案A配套：高度控制时用背景色 */
  /* color: #333; 部分浏览器兼容，与 background-color 同步即可 */

  width: 100%; /* 默认全屏，无需修改；如需窄版可设为 80% */
  max-width: none; /* 清除默认可能的宽度限制 */
  padding: 0; /* 清空内边距 */
  box-sizing: border-box; /* 确保边框/高度不超出容器 */
}

.category-breadcrumb{
  font-size: 12px;
  text-decoration: none;
}
.category-breadcrumb a{
  font-size: 14px;
  text-decoration: none;
}
/* 类名建议语义化，如 .hide 或 .hidden */
body .daohanhide {
  display: none;
}
.zuoduiqi {
 text-align: left;
}
/* 分类模版，左侧tab切换右侧内容 10/15
/* 左侧独立Tab导航 */
.tabs-nav-standalone {

  
    border-right: 1px solid #ddd;
    margin-right: 30px;
}
.tabs-nav-standalone ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tab-item {
    padding: 15px 20px;
    cursor: pointer;
    background: linear-gradient(to bottom, #E7F0FF, #EFF5FF);
    color: #212529; 
    margin: 10px 10px 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: background 0.3s ease-in;
    text-align: center;
    letter-spacing: 0px;
    font-weight: 400;
}
.tab-item:hover,.tab-item.active {
    background: linear-gradient(to bottom, #0052D9, #0052D9);
    color: white;
    box-shadow: 0 2px 6px rgba(157, 157, 157, 0.3);
    transform: translateY(-2px);
}
/* 吸附效果：脱离文档流，固定在视口顶部 */
#tabsNav.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;

    z-index: 999;
}
.main-content {
    margin-left: 0; /* 避开左侧Tab宽度 */
    padding: 0;
}
.tab-content-wrapper {
    max-width: 1000px;
}
.tab-pane {
    display: none;
    padding: 20px;
    border: 0px solid #eee;
    border-radius: 6px;
    margin-bottom: 20px;
}
.tab-pane.active {
    display: block;
}
@media (max-width: 768px) {
    .tabs-nav-standalone {
        width: 100%;
        position: relative;
    }
    .main-content {
        margin-left: 0;
    }
   .tab-item {
  display: inline-block; 
  font-size: 16px;
  padding: 8px 16px;
  cursor: pointer; 
    }
    .tab-list {
  list-style: none;
  padding: 0; 
  margin: 0;
  font-size: 0; 
    }
    .tabs-nav-standalone {
    border-right: 0px solid #ddd;
    margin-right: 0px;
    }
    #tabsNav.sticky {
        height: auto; 
        padding: 10px 0;
}
}
.juzhongyinying {
    justify-content: center;  /* 水平居中 */
    text-align: center;       /* 文字居中对齐 */
    margin: 0 auto;           /* 水平居中于父容器 */
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.2); /* 水平偏移 垂直偏移 模糊度 扩散度 颜色 */
    border-radius: 8px;       /* 可选：圆角更美观 */
}


.main-content figcaption.wp-element-caption {
    background-image: url(aishe.svg);
    background-repeat: no-repeat; 
    font-size: 12px;
    padding-left: 20px;
    background-position: left calc(50% - 1px);
    background-size: auto; 
    padding-top: 5px;
    padding-bottom: 5px;
}

.yingzi {

  /* 2. 初始状态：无投影（阴影大小为0），设置过渡动画 */
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* 初始阴影：透明，无扩散 */
  /* 过渡属性：仅针对 box-shadow 生效，0.3s 渐入（时间可调整），ease 缓动更丝滑 */
  transition: box-shadow 0.3s ease;
}

/* 3. 鼠标 hover 时：显示底部淡淡投影 */
.yingzi:hover {
  /* box-shadow 语法：水平偏移 垂直偏移 模糊度 扩散度 颜色（rgba控制透明度） */
  /* 关键：水平偏移0（不左右扩散）、垂直偏移4px（仅底部向下偏移）、模糊8px（淡淡柔化）、扩散2px（轻微扩大范围）、透明度0.15（淡淡效果） */
  box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
}


.p--large::before{
    content: "";
    display: inline;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06f;
    left: -18px;
    margin-top: 10px;
}

#logo-wrapper {
        height: 122px; 
        overflow: hidden; 
        position: relative; 
        background-color: white; 
    }

    /* =================== 渐变遮罩样式 (保持不变) =================== */

    /* 左侧渐出 */
    #logo-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
        z-index: 2; 
        pointer-events: none;
    }

    /* 右侧渐入 */
    #logo-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
        z-index: 2; 
        pointer-events: none;
    }
    #logo-wrapper:hover #logo-content {
        animation-play-state: paused;
    }
    /* =================== 滚动内容和动画 (移除固定 @keyframes) =================== */

    #logo-content {
        display: flex;
        width: max-content; 
        position: absolute; 
    }

    /* Hover 暂停 (通过 JS 注入的动画名来控制) */
    #logo-wrapper:hover #logo-content {
        animation-play-state: paused;
    }
    
    .logo-item {
        /* 使用 min-width/max-width 或设置宽度百分比来模拟内容不一致 */
        text-align: center;
        line-height: 50px;
        flex-shrink: 0; 
        /* 增加一个 margin 模拟图片间隔，确保计算准确 */
        margin-right: 10px; 
    }

    .img60 {
      opacity: 0.6;
      transition: opacity 0.2s ease;
    }
    .img60:hover {
      opacity: 1;
    }