/* 导航栏容器：透明背景 + 绝对定位 + 最高层级 */
.site-header {
    background-color: transparent !important; /* 强制透明，透出背景图 */
    position: absolute !important; /* 悬浮在背景图上方 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important; /* 确保导航栏在最上层 */
    box-shadow: none !important; /* 去掉默认阴影，更通透 */
}

.home-filter--content {
    margin-top: -80px !important; /* 向上移动（数值匹配导航栏高度，可微调） */
    padding-top: 120px !important; /* 预留空间，避免搜索框等内容被遮挡 */
    background-position: top center !important; /* 背景图顶部对齐，保证显示完整 */
}

.nav-list > li > a {
    color: #ffffff !important; /* 白色文字与背景图形成对比 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 轻微阴影提升可读性 */
}

/* 增高背景图容器高度（上下内边距越大，图片显示越高） */
.home-filter--content {
    /* 调整顶部内边距（之前是120px，增大到180px，顶部高度增加） */
    padding-top: 280px !important;
    /* 增加底部内边距（让图片底部也增高，整体更协调） */
    padding-bottom: 100px !important; /* 可根据需要调整，比如80px、120px */
}


/* 文章页：导航栏恢复半透明背景（保证文字可读） */
body.single .site-header {
    background-color: rgba(255, 255, 255, 0.9) !important; /* 白色半透明背景，可根据需求改为深色（如 rgba(0,0,0,0.8)） */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 可选：添加轻微阴影，增强层次感 */
    position: relative !important; /* 还原为相对定位（避免遮挡文章内容） */
}

/* 文章页：导航文字改为深色（与白色背景对比） */
body.single .nav-list > li > a {
    color: #333 !important; /* 深色文字，若背景改为深色则换为 #fff */
    text-shadow: none !important; /* 去掉主页的文字阴影（可选） */
}

.header-gap {
    height:5px !important;
}

.filter--content{
    margin-top:-50px !important;
}

/* 搜索结果页：优化顶部标题区域的间距与对齐 */
.term-bar {
    padding: 90px 0px 60px !important; /* 减少上下内边距，让区域更紧凑（原可能是60px，可按需调为20px/30px） */
}
.term-bar .term-title {
    line-height: 1.5; /* 调整文字行高，垂直方向更舒展 */
    margin: 0; /* 清除默认外边距，避免错位 */
}



/* 面包屑容器：渐变背景+定位参考 */
.breadcrumbs {
  background: linear-gradient(to right, #1E88E5, #64B5F6) !important; /* 深蓝→浅蓝渐变，科技感拉满 */
  color: #ffffff !important; /* 白色文字，与蓝色对比清晰 */
  padding: 35px 15px 35px; /* 内边距更舒展 */
  margin-bottom:0px !important;
  position: relative !important; /* 为波浪SVG提供定位参考 */
  overflow: hidden !important; /* 隐藏超出容器的波浪 */
}

/* 极小密集波浪：纯白色不透明 */
.breadcrumbs::before {
  content: "";
  position: absolute;
  bottom: 0; /* 靠底部对齐 */
  left: 0;
  width: 200%; /* 双倍宽度，无缝滚动 */
  height: 14px; /* 波浪高度（极小，仅8px） */
  /* 极小密集波浪SVG：每个单元宽10px，波峰仅3px，纯白色不透明 */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 10' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.9' d='M0,5L10,7C20,9,40,11,60,8C80,5,100,0,120,2C140,4,160,10,180,9C200,8,220,2,240,1C260,0,280,4,300,5C320,6,340,5,360,3C380,1,400,0,420,2C440,4,460,10,480,9C500,8,520,2,540,1C560,0,580,4,600,5C620,6,640,5,660,3C680,1,700,0,720,2C740,4,760,10,780,9C800,8,820,2,840,1C860,0,880,4,900,5C920,6,940,5,960,3C980,1,1000,0,1020,2C1040,4,1060,10,1080,9C1100,8,1120,2,1140,1C1160,0,1180,4,1200,5L1200,10L1180,10C1160,10,1140,10,1120,10C1100,10,1080,10,1060,10C1040,10,1020,10,1000,10C980,10,960,10,940,10C920,10,900,10,880,10C860,10,840,10,820,10C800,10,780,10,760,10C740,10,720,10,700,10C680,10,660,10,640,10C620,10,600,10,580,10C560,10,540,10,520,10C500,10,480,10,460,10C440,10,420,10,400,10C380,10,360,10,340,10C320,10,300,10,280,10C260,10,240,10,220,10C200,10,180,10,160,10C140,10,120,10,100,10C80,10,60,10,40,10C20,10,10,10,0,10Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  animation: tinyWaveScroll 20s linear infinite; /* 6秒快速循环，匹配密集节奏 */
  z-index: 1;
}

/* 极小波浪滚动动画 */
@keyframes tinyWaveScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 无缝滚动 */
}


/* 面包屑链接：白色 + hover 透明效果 */
.breadcrumbs a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
}
.breadcrumbs a:hover {
  text-shadow: 0 0 3px rgba(255,255,255,0.8); /* hover时轻微发光，增强交互 */
}
.breadcrumbs span, .breadcrumbs a {
  position: relative;
  z-index: 2;
}

.site-content {
    position: relative !important;
    padding-top: 50px;/* 强制生效，避免被主题样式覆盖 */
}

/* 主页菜单下拉半透明效果 */
.mega-menu {
    background-color: rgba(239, 239, 239, 0.7) !important; /* 半透明背景（保持之前的设置） */
    border-radius: 20px !important; /* 圆角半径，数值越大圆角越明显（可改10px、12px等） */
    /* 可选：若有边框，可加 border: 1px solid #ddd; 让圆角更清晰 */
}

/* 热门搜索容器：强制子元素垂直居中对齐 */
.popular-searches {
    margin-top: 5px !important; /* 大幅缩小与搜索框的间距，可微调为2px/0px */
    max-width: 846px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: transparent; /* 透明背景，避免遮挡文字 */
}

/* 清除标题和列表的默认边距，避免错位 */
.popular-searches h4 {
    margin: 0; /* 清除默认上下边距，避免标题偏上/偏下 */
    padding: 0;
    line-height: 1; /* 文字行高与容器对齐 */
}

.popular-searches ul {
    margin: 0; /* 清除列表默认边距 */
    padding: 0;
    display: flex;
    gap: 15px;
    align-items: center; /* 列表内部项也垂直居中 */
}

.popular-searches li {
    margin: 0; /* 清除旧间距 */
    line-height: 1; /* 文字行高统一 */
}

.form-box.search-properties,
.form-box.search-properties input,
.form-box.search-properties button {
    box-sizing: border-box !important;
}