/* 筛选头部 */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
}
.main {
    background: #f8f8f8;
    min-height: calc(100vh - 100px);
}

.filter-title {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #333;
}

.highlight-blue {
    color: #183F99;
}

.filter-controls {
    gap: 15px;
}

.filter-input,
.filter-select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filter-input {
    width: 180px;
}

.city-select { width: 90px; }
.type-select { width: 100px; }
.lawyer-select { width: 120px; }
/* 律师列表 */
.list {
    padding-left: 0;
}
.lawyer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    width: 100%; /* 新增 */
    padding: 0 120px; /* 调整左右内边距 */
    box-sizing: border-box; /* 新增 */
}

.lawyer-item {
    width: calc((100% - 80px) / 5); /* 计算5个元素的宽度 */
    /* 原高度和样式保持不变 */
    /* width: 210px; */
    /* height: 305px; */
    background: #FFFFFF;
    cursor: pointer;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15);
    border-radius: 6px;
}

.avatar {
    width: 100%;
    height: 157px;
    overflow: hidden;
    text-align: center;
    border-radius: 6px 6px 0 0;
}

.avatar-img {
width: 113px;
height: 142px;
    object-fit: cover;
}

.info {
    padding: 10px;
}

.info-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 16px;

}

.name {
    font-size: 16px;
    color: #333;
}

.star-icon {
    width: 20px;
    height: 20px;
    margin-left: 20px;
}

.info-experience {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}

.tag-list {
    margin-bottom: 16px;
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-item {
    margin-right: 8px;
    border-radius: 6px 6px 6px 6px;
    /* border: 1px solid #666666; */
    opacity: 0.7;
    font-weight: 400;
    font-size: 10px;
    color: #666666;
    line-height: 12px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    }

.info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.service-count {
    color: #666;
}

.consult-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
}
/* 右侧咨询框 */
.consult-box {
    padding-top: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.lines-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.lines-line {
    width: 94px;
    border-top: 1px solid #999999;
}

.consult-title {
    font-size: 14px;
    color: #666;
}

.consult-number {
    font: bold 24px/28px 'Source Han Sans CN';
    color: #333;
    margin-bottom: 25px;
}

.consult-btn-right {
    width: 130px;
    height: 35px;
    background: #4077F7;
    color: white;
    border: none;
    border-radius: 4px;
    margin-bottom: 15px;
    cursor: pointer;
}
.consult-btn-right:hover {
    background: #183F99;
    color: #fff;
}
.consult-btn-right a:hover {
    color: #fff !important;
}
.consult-description {
    font: 14px/16px 'Source Han Sans CN';
    color: #999;
}
/* 右侧区块公共样式 */
.right-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.red-icon {
    width: 4px;
    height: 20px;
    background: #FF6C6C;
}

.section-title {
    font-size: 16px;
    color: #333;
    margin-left: 8px;
}

.section-list {
    list-style: none;
    padding: 0;
}

.list-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #666;
    margin-right: 8px;
}

/* 链接样式 */
.topic-link,
.knowledge-link {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

/* 区块间距调整 */
.hot-topics {
    margin-top: 20px;
}

.legal-knowledge {
    margin-top: 30px;
}