/* =====================================================
   qing-breadcrumb  —  面包屑导航
   前缀: qpb-
   对应源码 .pd-breadcrumb
   ===================================================== */

.qpb-wrap {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.qpb-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 50px;
  box-sizing: border-box;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.qpb-inner a {
  color: #666;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.qpb-inner a:hover {
  color: #111;
}

/* ---------- 分隔符 ---------- */
.qpb-sep {
  margin: 0 10px;
  color: #ccc;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  flex: 0 0 auto;
  /* 纯装饰，读屏软件跳过（渲染时同时加 aria-hidden） */
  user-select: none;
}

/* ---------- 当前页（无链接） ---------- */
.qpb-current {
  color: #111;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 当前项过长时截断，避免面包屑折成多行 */
.qpb-current--truncate {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* ---------- 首项图标（可选） ---------- */
.qpb-home-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  font-size: 1em;
  line-height: 1;
}

.qpb-home-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* =====================================================
   响应式
   说明：内边距、字号、分隔符间距等均由 Elementor 响应式控件
   按断点输出内联 CSS；同一属性不在此重复声明，否则桌面默认值
   会压掉媒体查询。此处仅保留没有控件默认值的属性。

   注：源码只在 ≤1080px 改了左右内边距（0 24px），已交由控件处理。
   ===================================================== */

@media (max-width: 560px) {
  /* 窄屏允许换行，且当前项不再截断，改为整段折行 */
  .qpb-current--truncate {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}
