.professional-banner .wrap,
.team-intro-section .wrap {
    width: 1644rem;
}

/* ========== 专业人士搜索区域 ========== */
.professional-banner {
    position: relative;
    z-index: 2;
    padding: 200rem 0 140rem;
    color: #fff;
}

.professional-title {
    margin-bottom: 50rem;
    letter-spacing: 2px;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28rem;
    margin-bottom: 40rem;
}

.alphabet-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
    min-width: 24rem;
    text-align: center;
}

.alphabet-nav a.active {
    color: #fff;
    transform: scale(1.15);
    font-weight: 600;
}

.alphabet-nav a.is-disabled {
    color: rgba(255, 255, 255, 0.28);
    cursor: default;
    pointer-events: none;
}

.search-box {
    position: relative;
    width: 95%;
    max-width: 1440rem;
    margin: 0 auto 40rem;
}

.search-input {
    width: 100%;
    padding: 28rem 60rem 28rem 40rem;
    background: #fff;
    color: #333;
    border-radius: 4rem;
    outline: none;
}

.search-input::placeholder {
    color: #b8c0d1;
}

.search-btn {
    position: absolute;
    right: 35rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    cursor: pointer;
    color: #282737;
    transition: all 0.3s;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40rem;
    width: 95%;
    max-width: 1440rem;
    margin: 0 auto;
}

.filter-item {
    position: relative;
}

.custom-dropdown {
    width: 100%;
    position: relative;
}

.dropdown-selected {
    padding: 18rem 45rem 18rem 0;
    color: #fff;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-selected span {
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10rem;
    height: 10rem;
    border-right: 2px solid rgba(255, 255, 255, 1);
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.35s ease;
    margin-top: -2rem;
}

.custom-dropdown.active .dropdown-arrow {
    transform: translateY(-50%) rotate(-135deg);
    margin-top: 4rem;
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 15rem);
    left: -10rem;
    right: -10rem;
    background: #fff;
    border-radius: 8rem;
    box-shadow: 0 10rem 40rem rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10rem);
    transition: all 0.35s ease;
    z-index: 1000;
    max-height: 300rem;
    overflow-y: auto;
}

.custom-dropdown.active .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-options li {
    padding: 14rem 24rem;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.dropdown-options li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 100%;
    background: #005ca7;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.dropdown-options li.selected {
    background: linear-gradient(90deg,
            rgba(0, 92, 167, 0.12) 0%,
            transparent 100%);
    color: #005ca7;
    font-weight: 600;
}

.dropdown-options li.selected::after {
    content: "✓";
    position: absolute;
    right: 20rem;
    top: 50%;
    transform: translateY(-50%);
    color: #005ca7;
    font-weight: bold;
}

/* ========== 团队介绍板块 ========== */
.team-intro-section {
    padding: 200rem 0 310rem;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}

.team-intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(240, 240, 240, 0.95);
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.team-intro-layout {
    display: flex;
    gap: 80rem;
    position: relative;
    z-index: 1;
}

.team-intro-left {
    flex: 0 0 380rem;
}

.team-intro-title {
    line-height: 1.2;
    color: #000000;
}

.team-intro-right {
    flex: 1;
}

.team-intro-text {
    line-height: 2.2;
    color: #000;
    margin-bottom: 36rem;
    text-align: justify;
}

.team-intro-text:last-child {
    margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {

    .search-box,
    .filter-row {
        width: 100%;
    }

    .professional-banner {
        padding: 140rem 0 100rem;
    }

    .alphabet-nav {
        gap: 10rem;
    }

    .filter-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25rem;
    }

    .dropdown-selected {
        padding: 16rem 40rem 16rem 0;
    }

    .dropdown-options {
        left: -5rem;
        right: -5rem;
    }

    .team-intro-section {
        padding: 100rem 0;
    }

    .team-intro-layout {
        flex-direction: column;
        gap: 50rem;
    }

    .team-intro-left {
        flex: none;
    }
}

@media only screen and (max-width: 767px) {
    .professional-banner {
        padding: 120rem 0 80rem;
    }

    .professional-title {
        margin-bottom: 35rem;
    }

    .alphabet-nav {
        gap: 10rem;
        margin-bottom: 30rem;
    }

    .alphabet-nav a {
        min-width: 20rem;
    }

    .search-input {
        padding: 16rem 50rem 16rem 18rem;
    }

    .search-btn {
        right: 15rem;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 18rem;
    }

    .dropdown-selected {
        padding: 14rem 38rem 14rem 0;
    }

    .dropdown-options {
        left: 0;
        right: 0;
        max-height: 250rem;
    }

    .dropdown-options li {
        padding: 12rem 18rem;
    }

    .dropdown-arrow {
        width: 8px;
        height: 8px;
    }

    .team-intro-section {
        padding: 70rem 0;
    }

    .team-intro-section::before {
        width: 100%;
        clip-path: none;
    }

    .team-intro-text {
        line-height: 1.75em;
        margin-bottom: 22rem;
    }
}

/* ========== 律师列表板块 ========== */
.lawyer-list-section {
    padding: 100rem 60rem 120rem;
    background: #fff;
}

.filter-tags-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40rem;
}

.selected-tags {
    display: flex;
    align-items: center;
    gap: 10rem;
    flex-wrap: wrap;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 15rem;
    padding: 8rem 18rem;
    background: #fff;
    border: 1px solid #00205c;
    border-radius: 20rem;
    color: #000000;
    transition: all 0.3s;
}

.selected-tags .tag-item:last-child {
    margin-right: 20rem;
}

.tag-close {
    cursor: pointer;
    color: #01215d;
    transition: all 0.3s;
    line-height: 1;
}

.clear-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.result-count {
    color: #000000;
}

.count-num {
    color: #aa0f1e;
    margin: 0 4rem;
}

.lawyer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20rem;
    margin-bottom: 60rem;
}

.lawyer-card {
    position: relative;
    display: flex;
    overflow: hidden;
    transition: all 0.4s ease;
    background: url(../images/team/bg03.jpg) no-repeat center center/cover;
}

.card-img {
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
    margin-top: 25rem;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-info {
    flex: 1;
    padding: 28rem 25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.lawyer-name {
    color: #222;
    font-weight: 600;
    margin-bottom: 25rem;
    letter-spacing: 0.5rem;
    line-height: 1.3em;
    position: relative;
    padding-bottom: 20rem;
}

.lawyer-name::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 27rem;
    height: 4rem;
    background: #09275f;
}

.lawyer-email {
    margin-bottom: 30rem;
    word-break: break-all;
    font-weight: 600;
}

.lawyer-email a {
    color: #09275f;
    text-decoration: none;
    border-bottom: 1px solid #09275f;
    transition: all 0.3s;
}

.lawyer-location {
    color: #09275f;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.lawyer-location i {
    color: #09275f;
}

/* 响应式适配 */
@media only screen and (max-width: 1024px) {
    .lawyer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24rem;
    }

    .lawyer-card.featured {
        grid-column: span 1;
    }

    .filter-tags-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20rem;
    }
}

@media only screen and (max-width: 767px) {
    .lawyer-list-section {
        padding: 50rem 3% 80rem;
    }

    .filter-tags-bar {
        margin-bottom: 35rem;
    }

    .selected-tags {
        gap: 8rem;
    }

    .tag-item,
    .clear-all-btn {
        padding: 6rem 14rem;
    }

    .lawyer-grid {
        grid-template-columns: 1fr;
        gap: 20rem;
        margin-bottom: 50rem;
    }

    .lawyer-card {
        min-height: auto;
    }

    .card-img {
        width: 40%;
    }

    .card-info {
        padding: 20rem 18rem;
    }

    .lawyer-name {
        margin-bottom: 14rem;
    }
}

.lawyer-banner {
    padding-bottom: 0;
}

.lawyer-info-container {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
}

.lawyer-left-content {
    flex: 1;
    color: #fff;
    max-width: 60%;
}

.lawyer-name-row {
    display: flex;
    align-items: end;
    margin-bottom: 20rem;
}

.lawyer-name-text {
    font-weight: bold;
    margin-right: 30rem;
    line-height: 1.1;
}

.location-icon {
    margin-right: 8rem;
}

.lawyer-title-row {
    margin-bottom: 60rem;
}

.lawyer-contact-row {
    margin-bottom: 32rem;
    display: flex;
    align-items: center;
    gap: 40rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item .contact-label {
    margin-right: 6rem;
}

.contact-value a {
    color: #fff;
}

.contact-item:first-child .contact-value a {
    text-decoration: underline;
}

.lawyer-action-row {
    display: flex;
    gap: 40rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.lawyer-right-image {
    flex: 0 0 auto;
    max-width: 38%;
}

.lawyer-right-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 律师详情页板块 ========== */
.lawyer-detail-section {
    background: #fff;
}

.lawyer-detail-section .wrap {
    width: 1540rem;
}

.detail-layout {
    display: flex;
    gap: 80rem;
    align-items: flex-start;
}

.detail-left {
    flex: 0 0 400rem;
    position: sticky;
    top: 100rem;
}

.detail-right {
    flex: 1;
    min-width: 0;
}

.section-title {
    margin-bottom: 0;
    color: #000;
    letter-spacing: 1px;
    line-height: 1.3;
}

.detail-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10rem;
    color: #000;
    text-decoration: none;
    margin-top: 30rem;
    transition: all 0.3s;
    cursor: pointer;
}

.toggle-more-btn .btn-text {
    text-decoration: underline;
}

.toggle-more-btn .btn-icon {
    display: inline-block;
    line-height: 1;
    transition: all 0.3s;
    font-weight: bold;
    text-decoration: none;
}

.toggle-more-btn.expanded .btn-icon {}

/* 可折叠内容样式 */
.collapsible-content .content-hidden {
    display: none;
    overflow: hidden;
}

.collapsible-content.expanded .content-hidden {
    display: block;
}

/* 简介板块 */
.detail-intro-section {
    padding: 100rem 0;
}

.intro-content {
    height: var(--intro-collapsed-height, 10em);
    overflow: hidden;
}

.intro-content.expanded,
.intro-content.is-short {
    height: auto;
}

.detail-intro-section .toggle-more-btn[hidden] {
    display: none;
}

.intro-content p {
    line-height: 2;
    color: #333;
    margin-bottom: 24rem;
    text-align: justify;
}

.intro-content p:last-of-type {
    margin-bottom: 0;
}

/* 荣誉奖项板块 */
.detail-honor-section {
    padding: 100rem 0;
}

.honor-list {
    margin-bottom: 20rem;
}

.honor-list .honor-item:nth-child(n + 6) {
    display: none;
}

.honor-list.expanded .honor-item:nth-child(n + 6) {
    display: flex;
}

.honor-item {
    display: flex;
    gap: 35rem;
    padding: 24rem 0;
    border-bottom: 1px solid #BFBFBF;
}

.honor-year {
    flex-shrink: 0;
    width: 80rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 0;
}

.honor-text {
    flex: 1;
    color: #000;
    line-height: 1.6;
}

/* 代表业绩板块 */
.detail-achievement-section {
    padding: 100rem 0;
}

.achievement-tags {
    display: flex;
    gap: 20rem;
    margin-bottom: 35rem;
    flex-wrap: wrap;
}

.achievement-tags .tag {
    cursor: pointer;
    transition: all 0.3s;
    color: #000;
    margin-right: 20rem;
    padding-bottom: 10rem;
    position: relative;
}

.achievement-tags .tag::after {
    content: "";
    position: absolute;
    right: -20rem;
    top: 7rem;
    width: 2rem;
    height: 16rem;
    background: #000;
    transform: rotate(20deg);
}

.achievement-tags .tag:last-child::after {
    display: none;
}

.achievement-tags .tag.active {
    font-weight: bold;
    border-bottom: 2rem solid #000;
}

.achievement-list {
    margin-bottom: 20rem;
}

.achievement-list .achievement-item:nth-child(n + 11) {
    display: none;
}

.achievement-list.expanded .achievement-item:nth-child(n + 11) {
    display: flex;
}

.achievement-item {
    display: flex;
    gap: 15rem;
    margin-bottom: 18rem;
    line-height: 1.8;
}

.achievement-item .bullet,
.qual-list li::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #005ca7;
}

.achievement-item .bullet {
    overflow: hidden;
    color: transparent;
    flex-shrink: 0;
    margin-top: calc(.9em - 2px);
}

.achievement-item p {
    flex: 1;
    color: #333;
    margin: 0;
}

/* 资格履历板块 */
.detail-qualification-section {
    padding: 100rem 0;
}

.qualification-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 0 20rem;
}

.qualification-item:last-child {
    border-bottom: none;
}

.qual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28rem 0;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.qualification-item:first-child .qual-header {
    padding-top: 0;
}

.qual-title {
    color: #000;
    margin: 0;
}

.qual-toggle-icon {
    color: #000000;
    transition: all 0.3s ease;
    display: inline-block;
    width: 30rem;
    text-align: center;
    line-height: 1;
}

.qualification-item.active .qual-toggle-icon {
    content: "−";
    color: #005ca7;
}

.qualification-item.active .qual-title {
    color: #081E52
}

.qual-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease;
    padding: 0 0;
}

.qualification-item.active .qual-content {
    max-height: 500rem;
    padding: 0 0 30rem 0;
}

.qual-list {
    min-height: 0;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.qual-list li {
    position: relative;
    padding-left: 20rem;
    margin-bottom: 15rem;
    line-height: 1.7;
    color: #4C4D51;
}

.qual-list li::before {
    content: "";
    position: absolute;
    top: calc(.85em - 2px);
    left: 0;
}

.qual-list li:last-child {
    margin-bottom: 0;
}

.qual-header:focus-visible,
.achievement-tags .tag:focus-visible {
    outline: 2px solid #1a3a6b;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .qual-content {
        transition: none;
    }
}

/* 相关阅读板块 */
.detail-reading-section {
    padding: 100rem 0;
}

.reading-layout .detail-left {
    display: flex;
    flex-direction: column;
    gap: 60rem;
}

.reading-categories-vertical {
    display: flex;
    flex-direction: column;
    gap: 35rem;
    margin-left: 100rem;
}

.reading-categories-vertical .category-item {
    color: #666;
    text-decoration: none;
    position: relative;
    padding-left: 45rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.reading-categories-vertical .category-item::before {
    content: "";
    position: absolute;
    right: calc(100% - 33rem);
    top: 50%;
    transform: translateY(-50%);
    width: 12rem;
    height: 1rem;
    background: #000;
    transition: width 0.3s ease;
}

.reading-categories-vertical .category-item.active {
    color: #000;
    font-weight: bold;
}

.reading-categories-vertical .category-item.active::before {
    width: 62rem;
}


.reading-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20rem 20rem;
    margin-bottom: 30rem;
    margin-left: -20rem;
}

/* 默认隐藏第7个及以后的reading-card（只显示前6条） */
.reading-cards-grid .reading-card:nth-child(n + 7) {
    display: none;
}

/* 展开时显示所有reading-card */
.reading-cards-grid.expanded .reading-card:nth-child(n + 7) {
    display: block;
}

.reading-card {
    background: url(../images/team/bg09.png) 0 0 no-repeat;
    background-size: cover;
    transition: all 0.3s;
}

.reading-card a {
    display: block;
    height: 100%;
    color: #333;
}

.card-content {
    padding: 50rem;
}

.card-date {
    color: #000000;
    display: block;
    margin-bottom: 18rem;
}

.reading-card .card-title {
    color: #333;
    line-height: 1.5;
    height: 4.5em;
    max-height: 4.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 20rem 0;
    font-weight: 500;
}

.card-arrow {
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}


/* 响应式适配 - 详情页 */
@media only screen and (max-width: 1024px) {
    .lawyer-left-content {
        max-width: 55%;
    }

    .lawyer-name-text {
        margin-right: 16rem;
    }

    /* 平板改为逐行显示联系方式，避免邮箱与电话互相挤压。 */
    .lawyer-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12rem;
    }

    .lawyer-contact-row .contact-item {
        max-width: 100%;
        align-items: baseline;
    }

    .lawyer-contact-row .contact-label {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .lawyer-contact-row .contact-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .lawyer-contact-row a[href^="tel:"] {
        white-space: nowrap;
    }

    .action-btn {
        width: 48rem;
        height: 48rem;
    }

    .lawyer-right-image {
        max-width: 42%;
    }

    .detail-layout {
        gap: 50rem;
    }

    .detail-left {
        flex: 0 0 220rem;
    }

    .honor-item {
        gap: 25rem;
        padding: 20rem 0;
    }

    .honor-year {
        width: 70rem;
    }

    .reading-card {
        background: #fff;
        box-shadow: 0 0 10rem rgba(0, 0, 0, 0.1);
    }

    .reading-cards-grid {
        grid-template-columns: 1fr;
        gap: 20rem;
        margin-left: 0;
    }

    .card-content {
        padding: 30rem;
    }

    .card-title {
        height: auto;
    }
}

@media only screen and (max-width: 767px) {
    .lawyer-info-container {
        flex-direction: column;
        gap: 30rem;
    }

    .lawyer-left-content {
        max-width: 100%;
        text-align: center;
    }

    .lawyer-name-row {
        justify-content: center;
        margin-bottom: 18rem;
        flex-wrap: wrap;
    }

    .lawyer-name-text {
        margin-right: 12rem;
    }

    .lawyer-title-row {
        margin-bottom: 18rem;
    }

    .lawyer-contact-row {
        margin-bottom: 24rem;
        flex-direction: column;
        align-items: center;
        gap: 12rem;
    }

    .contact-item {
        justify-content: center;
    }

    .lawyer-action-row {
        justify-content: center;
        gap: 16rem;
    }

    .action-btn {
        width: 44rem;
        height: 44rem;
    }

    .lawyer-right-image {
        max-width: 70%;
        margin: 0 auto;
    }

    .detail-layout {
        flex-direction: column;
        gap: 30rem;
    }

    .detail-left {
        flex: none;
        position: static;
    }

    .detail-right {
        width: 100%;
    }

    .detail-intro-section,
    .detail-honor-section,
    .detail-achievement-section,
    .detail-qualification-section,
    .detail-reading-section {
        padding: 50rem 0;
    }

    .section-title {
        margin-bottom: 25rem;
    }

    .intro-content p {
        line-height: 1.8;
        margin-bottom: 18rem;
    }

    .honor-list .honor-item:nth-child(n + 6) {
        display: none;
    }

    .honor-list.expanded .honor-item:nth-child(n + 6) {
        display: flex;
    }

    .honor-item {
        flex-direction: column;
        gap: 10rem;
        padding: 18rem 0;
    }

    .honor-year {
        width: auto;
    }

    .achievement-tags {
        gap: 12rem;
        margin-bottom: 25rem;
    }

    .achievement-tags .tag {
        padding: 8rem 18rem;
    }

    .achievement-list .achievement-item:nth-child(n + 11) {
        display: none;
    }

    .achievement-list.expanded .achievement-item:nth-child(n + 11) {
        display: flex;
    }

    .achievement-tags .tag::after {
        top: 10px;
    }

    .achievement-item {
        margin-bottom: 14rem;
    }

    .qual-header {
        padding: 20rem 0;
    }

    .qualification-item.active .qual-content {
        padding-left: 20rem;
    }

    .qual-list li {
        margin-bottom: 12rem;
    }

    .reading-categories {
        gap: 20rem;
        margin-bottom: 30rem;
    }

    .reading-layout .detail-left {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15rem;
        margin-bottom: 25rem;
    }

    .reading-categories-vertical {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10rem;
        margin-lefT: 0rem;
    }

    .reading-categories-vertical .category-item {
        padding-left: 38rem;
    }

    .reading-categories-vertical .category-item.active::before {
        width: 24rem;
    }

    /* 移动端：默认隐藏第7个及以后的reading-card */
    .reading-cards-grid .reading-card:nth-child(n + 7) {
        display: none;
    }

    /* 移动端：展开时显示所有reading-card */
    .reading-cards-grid.expanded .reading-card:nth-child(n + 7) {
        display: block;
    }

    .detail-more-link {
        margin-top: 20rem;
    }
}


@media only screen and (min-width: 1025px) {
    .alphabet-nav a:hover {
        color: #fff;
        transform: scale(1.15);
        font-weight: 600;
    }

    .alphabet-nav a.is-disabled:hover {
        color: rgba(255, 255, 255, 0.28);
        transform: none;
        font-weight: inherit;
    }

    .search-btn:hover {
        color: #005ca7;
    }

    .dropdown-selected:hover {
        border-bottom-color: rgba(255, 255, 255, 0.7);
    }

    .dropdown-options li:hover {
        background: linear-gradient(90deg,
                rgba(0, 92, 167, 0.08) 0%,
                transparent 100%);
        color: #005ca7;
        padding-left: 30rem;
    }

    .dropdown-options li:hover::before {
        transform: scaleY(1);
    }

    .tag-item:hover {
        background: #e8ecf2;
        border-color: #c5cad3;
    }

    .tag-item:hover .tag-close {
        color: #c41e1e;
        transform: scale(1.15);
    }

    .clear-all-btn:hover {
        color: #333;
    }

    .lawyer-card-clickable:hover .card-img img {
        transform: scale(1.08);
    }

    .lawyer-card-clickable:hover {
        background: url(../images/team/bg04.jpg) no-repeat center center/cover;
        box-shadow: 0 12rem 35rem rgba(0, 0, 0, 0.12);
    }

    .lawyer-card-clickable:hover .lawyer-name,
    .lawyer-card-clickable:hover .lawyer-email a,
    .lawyer-card-clickable:hover .lawyer-location,
    .lawyer-card-clickable:hover .lawyer-location i {
        color: #fff;
    }

    .lawyer-card-clickable:hover .lawyer-name::before {
        background: #fff;
    }

    .lawyer-card-clickable:hover .lawyer-email a {
        border-bottom-color: #fff;
    }

    .lawyer-email a:hover {
        color: #fff !important;
    }

    .achievement-tags .tag:hover {
        font-weight: bold;
        border-bottom: 2rem solid #000;
    }

    .action-btn:hover {
        transform: translateY(-3rem);
    }

    .detail-more-link:hover {
        color: #005ca7;
        gap: 10rem;
    }

    .qual-header:hover {
        color: #005ca7;
    }

    .reading-categories-vertical .category-item:hover {
        color: #000;
        font-weight: bold;
    }

    .reading-categories-vertical .category-item:hover::before {
        width: 62rem;
    }

    .reading-card:hover {
        transform: translateY(-4rem);
        background: url(../images/team/bg10_clean.png) 0 0 no-repeat;
        background-size: cover;
    }

    .reading-card:hover a,
    .reading-card:hover .card-date,
    .reading-card:hover .card-title,
    .reading-card:hover .card-arrow {
        color: #fff;
    }
}

/* 展开入口仅移动加号，不改变原来的展开/收起状态。 */
.detail-more-link:focus-visible {
    color: #005ca7;
}

.detail-more-link:hover .btn-icon,
.detail-more-link:focus-visible .btn-icon {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {

    .detail-more-link,
    .detail-more-link .btn-icon {
        transition: none;
    }
}

/* 原生整卡详情链接与邮箱分离；无详情卡片不显示可跳转悬停反馈。 */
.card-detail-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.lawyer-card .lawyer-email a {
    position: relative;
    z-index: 3;
}

.card-detail-link:focus-visible {
    outline: 2px solid #005ca7;
    outline-offset: -3px;
}

/* 深色阅读卡片中链接本人也需保持白色，避免公共a:hover蓝色覆盖。 */
@media only screen and (min-width: 1025px) {
    .reading-card:hover>a {
        color: #fff !important;
    }
}

/* 仅专业人士列表页生效 */
body:has(.team-intro-section) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

/* 隐藏团队介绍 */
.team-intro-section {
    display: none;
}

/* 主体填满页脚以外的剩余空间 */
body:has(.team-intro-section)>.main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* 搜索区域自然填充，不再单独占满一屏 */
body:has(.team-intro-section) .professional-banner {
    flex: 1 0 auto;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    padding-bottom: 50rem;
}

/* 页脚保持正常高度 */
body:has(.team-intro-section)>.footer {
    flex-shrink: 0;
}

/* 移动端律师详情顶部：左侧人物，右侧资料 */
@media only screen and (max-width: 767px) {
    .lawyer-banner {
        padding: 0;
        overflow: hidden;
    }

    .lawyer-banner>.wrap {
        width: 100%;
        max-width: none;
    }

    .lawyer-banner .lawyer-info-container {
        position: relative;
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-end;
        gap: 0;
        min-height: 52vw;
    }

    /* 右侧资料 */
    .lawyer-banner .lawyer-left-content {
        position: relative;
        z-index: 1;
        display: flex;
        flex: 0 0 48%;
        flex-direction: column;
        min-width: 0;
        max-width: none;
        margin-right: 2%;
        padding: 15.5vw 0 4vw;
        text-align: left;
    }

    /* 姓名 */
    .lawyer-banner .lawyer-name-row {
        position: relative;
        order: 0;
        justify-content: flex-start;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .lawyer-banner .lawyer-name-text {
        margin: 0;
        font-size: clamp(16px, 3vw, 23px);
        line-height: 1.3;
    }

    /* 姓名下方白色短线 */
    .lawyer-banner .lawyer-name-row::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 24px;
        height: 3px;
        background: #fff;
    }

    /* 邮箱、电话 */
    .lawyer-banner .lawyer-contact-row {
        order: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
    }

    .lawyer-banner .contact-item {
        justify-content: flex-start;
        min-width: 0;
        max-width: 100%;
        font-size: clamp(11px, 2.25vw, 17px);
        font-weight: 500;
        line-height: 1.4;
    }

    /* 保留邮箱、电话标签 */
    .lawyer-banner .lawyer-contact-row .contact-label {
        display: inline;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .lawyer-banner .contact-value {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .lawyer-banner .contact-value a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .lawyer-banner .lawyer-contact-row a[href^="tel:"] {
        white-space: normal;
    }

    /* 办公地点放到联系方式下方 */
    .lawyer-banner .lawyer-title-row {
        order: 2;
        margin-bottom: 8px;
        font-size: clamp(11px, 2.25vw, 17px);
        line-height: 1.5;
    }

    /* PDF、电子名片 */
    .lawyer-banner .lawyer-action-row {
        order: 3;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0;
        margin-left: -8px;
    }

    .lawyer-banner .action-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* 手机端隐藏打印按钮 */
    .lawyer-banner .print-btn {
        display: none;
    }

    /* 左侧人物，底部对齐 */
    .lawyer-banner .lawyer-right-image {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 44%;
        height: 87%;
        max-width: none;
        margin: 0;
    }

    .lawyer-banner .lawyer-right-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left bottom;
    }
}