/* 律师搜索框 —— 配色沿用站点主色 #caa97b，高度对齐左侧筛选标签 */
/* 筛选行改 flex：标签列按内容自适应宽度（不会换行），搜索列吃掉剩余空间。
   关掉 Bootstrap .row 的 clearfix 伪元素，否则会多出一个 flex 项。 */
.teamSearchRow{display:flex;flex-wrap:wrap;align-items:flex-start;}
.teamSearchRow:before,.teamSearchRow:after{display:none;content:none;}
.teamSearchRow > .col-md-6:first-child{flex:0 0 auto;width:auto;float:none;}
/* .page 原本是 width:98%，会让 flex 项算不出内容宽度并触发标签换行，这里放开 */
.teamSearchRow > .col-md-6:first-child .page{width:auto;}
.teamSearchCol{flex:1 1 auto;float:none;width:auto;min-width:240px;padding-right:15px;position:relative;}

.teamSearchBox{position:relative;display:flex;align-items:stretch;margin-top:22px;
  border:1px solid #ccc;background:#fff;}
.teamSearchBox .iconfont{position:absolute;left:10px;top:50%;transform:translateY(-50%);
  color:#caa97b;font-size:15px;pointer-events:none;}
.teamSearchBox input[type=text]{flex:1 1 auto;min-width:0;border:0;outline:0;background:transparent;
  font-size:14px;color:#333;line-height:22px;padding:3px 8px 3px 33px;font-family:inherit;
  -webkit-appearance:none;box-shadow:none;}
.teamSearchBox input[type=text]::placeholder{color:#a6a7a8;}
.teamSearchBox input[type=text]:focus{outline:0;}
.teamSearchBox .teamSearchClear{flex:0 0 22px;line-height:30px;text-align:center;
  color:#c9c9c9;font-size:17px;cursor:pointer;visibility:hidden;}
.teamSearchBox.hasText .teamSearchClear{visibility:visible;}
.teamSearchBox .teamSearchClear:hover{color:#caa97b;}
.teamSearchBox .teamSearchBtn{flex:0 0 auto;border:0;border-left:1px solid #ccc;background:#caa97b;
  color:#fff;font-size:14px;line-height:22px;padding:3px 18px;cursor:pointer;
  font-family:inherit;-webkit-appearance:none;}
.teamSearchBox .teamSearchBtn:hover{background:#bd9a68;}

/* 提示行绝对定位：不占高度 → 结果条出现/消失都不会把下方卡片网格推来推去 */
.teamSearchTip{position:absolute;right:15px;top:58px;margin:0;font-size:13px;color:#a6a7a8;
  text-align:right;white-space:nowrap;}
.teamSearchTip b{color:#caa97b;font-weight:normal;}
.teamSearchTip .teamSearchReset{color:#caa97b;cursor:pointer;margin-left:10px;}
.teamSearchTip .teamSearchReset:hover{text-decoration:underline;}

/* 结果区：完全复用站点既有的 personBox 卡片，这里只补空结果与高亮 */
.teamSearch mark{background:transparent;color:#caa97b;font-weight:bold;}
.personBox .personA .name mark{color:#ffd89b;}
.teamSearchEmpty{width:100%;float:none;padding:70px 20px;text-align:center;color:#a6a7a8;font-size:15px;line-height:2;}
.teamSearchEmpty b{color:#caa97b;font-weight:normal;}

@media (max-width:991px){
  .teamSearchRow{display:block;}
  .teamSearchRow > .col-md-6:first-child{width:100%;}
  .teamSearchCol{width:100%;padding-left:30px;padding-right:30px;}
  .teamSearchTip{position:static;text-align:left;margin-top:7px;white-space:normal;}
}
