/* team.html 专用样式 */

.lawyer-search-section {
    min-height: 700px;
    background-size: cover;
    background-color: var(--color-blue);
    position: relative;
}

.lawyer-search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
}

.search-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1440px;
    background: rgba(255,255,255,0.95);
    padding: 4vw 5vw 5vw;
}

.search-card .card-title {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 32px;
    color: #222;
    text-align: center;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 6vw;
}

.search-card .card-title span {
    display: block;
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    margin-top: 8px;
    font-family: "思源黑体", "Microsoft YaHei", sans-serif;
}

.search-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form .form-group {
    position: relative;
    flex: 1;
    min-width: 130px;
}

.search-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    position: absolute;
    top: -28px;
    left: 0;
}

.search-form .form-group input,
.search-form .form-group select {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #f1f1f1;
    border: none;
    color: rgba(0,34,34,0.5);
    font-size: 14px;
    padding-left: 16px;
    outline: none;
    font-family: inherit;
}

.search-form .form-group input:focus,
.search-form .form-group select:focus {
    background: #ebebeb;
}

.search-form .form-group select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='12'%3E%3Cpath d='M1 2l7.5 7L16 2' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.search-form .search-btn {
    flex: 0 0 13.8%;
    min-width: 100px;
    height: 50px;
    background: #C41E3A;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 2px;
    transition: background 0.2s;
    font-family: inherit;
}

.search-form .search-btn:hover {
    background: #A01830;
}

.search-form .search-btn svg {
    width: 18px;
    height: 18px;
}

.letter-filter {
    display: flex;
    justify-content: space-between;
    margin-top: 4%;
    flex-wrap: wrap;
}

.letter-filter a {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    color: #222;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 2px;
}

.letter-filter a:hover {
    color: #C41E3A;
}

.letter-filter a.active {
    background: #C41E3A;
    color: #fff;
}

.results-section {
    background: #FAFAFA;
    padding: 50px 0 80px;
}

.lawyer-grid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.lawyer-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.lawyer-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.lawyer-card .photo {
    background: #e8e8e8;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.lawyer-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-card .info {
    padding: 20px;
}

.lawyer-card .name {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 6px;
}

.lawyer-card .level {
    font-size: 12px;
    color: #C41E3A;
    margin-bottom: 10px;
}

.lawyer-card .fields {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.no-result {
    text-align: center;
    padding: 80px 20px;
    color: #bbb;
    font-size: 16px;
}

@media (max-width: 1024px) {
    .lawyer-grid { grid-template-columns: repeat(2, 1fr); }
    .search-card { padding: 8vw 6vw 10vw; }
}

@media (max-width: 768px) {
    .lawyer-grid { grid-template-columns: 1fr; }
    .search-form .form-group { flex: 1 1 48%; }
    .search-form .search-btn { flex: 1 1 100%; }
    .lawyer-search-section { height: auto; padding: 60px 0; }
    .search-card { position: static; transform: none; margin: 0 auto; }
}
