.elementor-68442 .elementor-element.elementor-element-4b4dc21{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-68442 .elementor-element.elementor-element-4b4dc21.e-con{--flex-grow:0;--flex-shrink:0;}@media(min-width:769px){.elementor-68442 .elementor-element.elementor-element-4b4dc21{--width:110.714%;}}/* Start custom CSS for html, class: .elementor-element-bf5b250 *//* =========================
   Mega Menu Base Wrapper
========================= */
.wm-mega{
  width: 100%;
  padding: 26px 24px;
}

/* =========================
   Grid Layout (核心：别用 1480，别用 6列等分)
   auto-fit + minmax：列宽在合理区间内自适应
========================= */
.wm-mega__grid{
  max-width: 1480px; /* ✅ 推荐 1100~1240，别太大 */
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px; /* ✅ 列间距固定，不会忽宽忽窄 */
  align-items: start;
}

/* 防止内容（尤其是长标题）把列撑爆 */
.wm-mega__col{
  min-width: 0;
}

/* =========================
   一级标题（不换行、不省略）
   统一高度 + 固定装饰线长度，让视觉更整齐
========================= */
.wm-mega__title{
  position: relative;
  display: flex;
  align-items: center;
  color:#333;
  height: 44px;              /* ✅ 标题区统一高度 */
  margin: 0 0 12px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;       /* ✅ 不换行 */
  overflow: hidden;          /* ✅ 不撑爆列（不会出现省略号） */
}
.wm-mega__title:hover{
    color: #00524f;
  transform: translateY(-1px);
}
/* 固定长度下划线，避免每列不一致 */
.wm-mega__title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 120px;              /* ✅ 固定装饰线长度 */
  height: 2px;
  background: rgba(255,255,255,.22);
  border-radius: 2px;
}

/* =========================
   二级列表：用“卡片行”提升协调感
========================= */
.wm-mega__list{
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 10px; /* 行间距统一 */
}

/* 每个二级项像小卡片 */
.wm-mega__list a{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 12px;

  text-decoration: none;
  color: #333;

  background: rgba(0,0,0,.10);
  transition: background .15s ease, transform .15s ease;
}

.wm-mega__list a:hover{
  background: #00524f;
  transform: translateY(-1px);
  color: #fff;
}

/* 二级文字：默认单行（你也可以改成两行，见下面注释） */
.wm-mega__list a .txt{
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  /* 不加省略号，避免出现 ...（如你也不想要） */
}

/* 如果你愿意二级允许两行更好看，把上面 .txt 那段改为下面这段：
.wm-mega__list a .txt{
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
*/

/* =========================
   子菜单图标：圆角 + 统一占位
========================= */
.wm-mega__itemicon{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  border-radius: 20px !important; 
  object-fit: cover;

  background: rgba(255,255,255,.08);
  overflow: hidden;
}

/* 没图标也要占位，保证文字对齐 */
.wm-mega__itemicon--empty{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 20px !important; 
  background: transparent;
}

/* =========================
   响应式：让窄屏不拥挤
========================= */
@media (max-width: 1200px){
  .wm-mega__grid{
    max-width: 980px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
  }
  .wm-mega__title{
    font-size: 20px;
  }
}

@media (max-width: 900px){
  .wm-mega{
    padding: 22px 16px;
  }
  .wm-mega__grid{
    max-width: 720px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 520px){
  .wm-mega__grid{
    grid-template-columns: 1fr;
  }
  .wm-mega__title{
    font-size: 18px;
  }
}/* End custom CSS */