.mobile-break {
    display: none !important; /* 强制在PC端隐藏这个br标签 */
}

/* 
 * 云南震序律师事务所网站 - 团队列表页面样式
 */

/* 团队列表页 */
.team-list-page {
    padding: 80px 0;
    /* background: url(...) no-repeat center center; background-size: cover; */ /* 背景图建议保留在HTML或通过更高层CSS控制 */
}

/* 团队banner */
.team-banner {
    position: relative;
    width: 100%;
    height: 730px;
    margin-top: 120px;
    background-size: cover;
}

.team-banner .container {
    height: 100%;
    position: relative;
}

.team-banner .banner-content {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    z-index: 2;
}

.team-banner h2 {
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: bold;
}

.team-banner h2:last-of-type {
    line-height: 1.5;
    margin-bottom: 25px;
}

.team-banner .highlight {
    color: #F4AD03;
}

.team-banner .white-text {
    color: #ffffff;
}

.team-banner .banner-subtitle {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 300;
    opacity: 0.9;
}

.team-banner .banner-subtitle p {
    margin: 0;
}

/* 向下滚动箭头 */
.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 0px;
    z-index: 3;
    cursor: pointer;
}

.scroll-down img {
    width: 24px;
    height: auto;
    animation: bounce 2s infinite;
}

/* 箭头动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.scroll-down {
    transition: opacity 0.3s ease;
}

.scroll-down:hover {
    opacity: 0.8;
}

/* 视频容器 */
.team-video-container video {
    width: 575px;
    height: 325px;
    object-fit: contain;
}

/* 团队过滤器 */
.team-filter {
    margin-bottom: 40px;
    text-align: center;
}

.team-filter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.team-filter li {
    display: inline-block;
    margin: 0 5px 10px;
}

.team-filter li a {
    display: block;
    padding: 8px 20px;
    background-color: #f5f5f5;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.team-filter li a:hover,
.team-filter li a.active {
    background-color: #002b70;
    color: #fff;
}

/* 团队网格 */
.team-grid {
    display: flex; /* 使用 Flexbox 布局 */
    flex-wrap: wrap; /* 允许换行 */
    margin: 0 -15px; /* 负边距用于抵消列的内边距 */
}

/* 团队网格项 (每列) */
.team-grid-item {
    width: 33.333%; /* PC端默认三列布局 */
    padding: 0 15px; /* 列之间的水平间距 */
    margin-bottom: 30px; /* 行之间的垂直间距 */
}

/* 团队成员卡片容器 (通用样式) */
.team-card {
    background-color: #fff; /* 卡片背景色 */
    border-radius: 5px; /* 卡片圆角 */
    overflow: hidden; /* 隐藏溢出内容 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* 卡片阴影 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

/* 卡片悬停效果 */
.team-card:hover {
    transform: translateY(-5px); /* 向上移动 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* 增强阴影 */
}

/* 卡片图片容器 */
.team-card-img {
    position: relative; /* 相对定位，用于可能的内部绝对定位元素 */
    overflow: hidden; /* 隐藏图片溢出部分 */
}

/* 卡片图片本身 */
.team-card-img img {
    width: 100%; /* 图片宽度充满容器 */
    height: auto; /* 图片高度自适应 */
    display: block; /* 防止图片下方出现空隙 */
    transition: all 0.3s ease; /* 图片过渡效果 */
}

/* 卡片图片悬停效果 */
.team-card:hover .team-card-img img {
    transform: scale(1.05); /* 轻微放大 */
}

/* 卡片信息区域 */
.team-card-info {
    padding: 20px 15px; /* 信息区域内边距 */
    text-align: center; /* 文字居中 */
}

/* 卡片信息区域 - 标题 (律师姓名) */
.team-card-info h3 {
    font-size: 18px; /* 姓名文字大小 */
    font-weight: 600; /* 姓名文字粗细 */
    margin-bottom: 5px; /* 姓名下方间距 */
    color: #002b70; /* 姓名文字颜色 */
}

/* 卡片信息区域 - 段落 (律师头衔/描述) */
.team-card-info p {
    color: #666; /* 头衔/描述文字颜色 */
    font-size: 14px; /* 头衔/描述文字大小 */
    margin-bottom: 15px; /* 段落下方间距 */
}

/* 卡片信息区域 - "更多" 按钮/链接 */
.team-card-more {
    display: inline-block; /* 行内块元素 */
    padding: 5px 15px; /* 按钮内边距 */
    background-color: #f5f5f5; /* 按钮背景色 */
    border-radius: 3px; /* 按钮圆角 */
    font-size: 13px; /* 按钮文字大小 */
    color: #333; /* 按钮文字颜色 */
    text-decoration: none; /* 去除下划线 */
    transition: all 0.3s ease; /* 按钮过渡效果 */
}

/* "更多" 按钮/链接悬停效果 */
.team-card-more:hover {
    background-color: #002b70; /* 悬停背景色 */
    color: #fff; /* 悬停文字颜色 */
}

/* 实际使用的律师信息区域 (.lawyer-info) */
.lawyer-info {
    padding-top: 20px;
    padding-bottom: 0px;
    padding-left: 25px;
    padding-right: 25px;
    position: relative; /* 保持相对定位 */
    background: #fff; /* 背景色 */
    /* 其他基础样式可以在这里添加 */
}

/* --- 以下为针对 HTML 中 lawyer-profile-card 的补充样式 (如果存在) --- */
/* (如果基础样式中没有针对 lawyer-profile-card 的特定规则，则此部分为空) */

/* 分页导航 */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

.pagination ul li {
    display: inline-block;
    margin: 0 5px;
}

.pagination ul li a {
    display: block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 3px;
}

/* 分页链接悬停和激活状态 */
.pagination ul li a:hover,
.pagination ul li.active a {
    background-color: #002b70;
    color: #fff;
}



/* 律师卡片样式 */
.lawyer-profile-card {
    width: 265px;
    height: 600px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0 auto; /* 卡片在父列容器中居中 */
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    transition: all 0.3s ease; /* 保留一个平滑过渡效果 */
    cursor: pointer; /* 保留手型指针 */
}

.lawyer-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 律师照片区域 */
.lawyer-profile-card .lawyer-photo {
    width: 100%; /* 改为100%以适应父容器，之前是写死的265px */
    height: 400px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.lawyer-profile-card .lawyer-photo img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: top;
}

/* 律师信息区域 */
.lawyer-profile-card .lawyer-info {
    position: relative; 
    background: #fff;
    padding: 15px 20px 10px 20px; 
    box-sizing: border-box;
    display: flex; 
    flex-direction: column;
    height: 200px; 
}

/* 姓名和英文名区域的父div */
.lawyer-profile-card .lawyer-info > div:nth-child(1) {
    margin-bottom: 5px; 
    flex-shrink: 0; 
    /* 估算高度: 1行名字，约22px */
    height: 22px; /* 估算单行名字+英文名的高度 */
    overflow: hidden;
}
/* 姓名 (包含英文名span) */
.lawyer-profile-card .lawyer-info > div:nth-child(1) > h5 {
    font-size: 20px;
    color: #002B70;
    margin: 0;
    line-height: 1.2; 
    display: flex;
    align-items: baseline; /* 改为 baseline 对齐 */
    justify-content: flex-start; 
    gap: 8px;
    font-weight: bold;
}
/* 英文名 */
.lawyer-profile-card .lawyer-info > div:nth-child(1) > h5 > span {
    font-size: 14px; 
    color: #000000; 
    font-weight: normal;
    line-height: 1.2; /* 尝试与中文名行高一致，配合baseline对齐 */
    /*  padding-bottom: 1px; */ /* 另一个微调选项，如果需要的话 */
}

/* 律师头衔区域的父div */
.lawyer-profile-card .lawyer-info > div:nth-child(2) {
    margin-bottom: 15px;
    text-align: left; /* 父级div保持left，让内部h5自己控制 */
    flex-shrink: 0; 
    height: 73px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
}
/* 律师头衔 (两个h5) */
.lawyer-profile-card .lawyer-info > div:nth-child(2) > h5 {
    font-size: 13px;
    color: #F4AD03;
    line-height: 1.2; 
    margin: 0 0 2px 0; 
    text-align: justify; /* 改为 justify */
    flex-shrink: 0; 
}
.lawyer-profile-card .lawyer-info > div:nth-child(2) > h5:last-child {
    margin-bottom: 0;
}

/* 分割线 - 绝对定位 */
.lawyer-profile-card .lawyer-info > div:nth-child(3) {
    position: absolute;
    top: 95px; 
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* 改为100%，使其宽度等于.lawyer-info的内容区宽度 */
    max-width: 225px; /* 可选：确保不超过一个最大值，例如265(卡片)-20*2(padding) = 225px */
    height: 1px;
    background-color: #888888;
}

/* 业务领域容器 - 使用绝对定位精确控制位置和大小 */
.lawyer-profile-card .lawyer-info .business-area { 
    position: absolute;
    top: 105px; /* 更新为110px，增加与分割线的间距 */
    bottom: 10px; 
    left: 20px;  
    right: 20px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    overflow: hidden; 
    box-sizing: border-box;
}
/* 业务领域标题 */
.lawyer-profile-card .lawyer-info .business-area > h5:first-child {
    font-size: 16px;
    color: #F4AD03;
    margin: 0 0 8px 0; 
    line-height: 1; 
    font-weight: bold;
    text-align: justify; /* 改为 justify */
    flex-shrink: 0;
    width: 100%; /* 确保标题也尝试占满宽度以应用justify */
}
/* 业务领域内容 */
.lawyer-profile-card .lawyer-info .business-area > h5:last-child {
    font-size: 13px;
    color: #000000;
    line-height: 1.5; 
    margin: 0;
    font-weight: 400; 
    text-align: justify; /* 改为 justify */
    width: 100%; 
}

/* 确保链接不带下划线 */
.team-list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 头部标题区域 */
.team-list-page .container > div:first-child { /* 指向 "专业团队" 的父div */
    margin-bottom: 60px;
    text-align: center;
}
.team-list-page .container > div:first-child h2 { /* "专业团队" */
    color:#002B70;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
}
.team-list-page .container > div:first-child p { /* "PROFESSIONAL TEAM" */
    color:#000000;
    font-size: 24px;
    letter-spacing: 0px;
    text-transform: uppercase;
}

/* 律师卡片列容器 */
.team-list .col-md-3.col-sm-6.col-6 { 
    margin-bottom: 30px;
}

/* 律师卡片链接 */
.team-list a.lawyer-card-link { /* 假设a标签会添加这个class */
    text-decoration: none;
    display: block;
}
/* 如果a标签没有特定class，但其父级是 .col-md-3...，可以使用如下选择器 */
.team-list .col-md-3.col-sm-6.col-6 > a {
    text-decoration: none;
    display: block;
}

/* == PC端律师团队介绍 - 图文底部对齐 (确保强制生效) == */
.team-introduction-row { 
    display: flex !important;
    align-items: stretch !important; /* 核心：使左右两列等高 */
    flex-wrap: wrap;
    /* position: static; /* .row 默认就是 static 或继承 */
}

.team-introduction-row > .col-md-6 { 
    display: flex !important; 
    flex-direction: column !important;
    min-height: 1px; /* 防止列意外折叠或有默认最小高度 */
}

.team-introduction-row > .col-md-6:first-child { /* 左侧文字列 */
    justify-content: flex-start; /* 让内容从顶部开始排列，高度由内容决定 */
    padding-right: 20px; 
    box-sizing: border-box;
}

.team-introduction-row > .col-md-6:nth-child(2) { /* 右侧视频列 */
    justify-content: flex-end !important; /* 将视频容器推到此列的底部 */
    /* position: static; /* col-md-6 默认就是 static */
}

.team-introduction-row .team-video-container {
    position: static !important; 
    width: 100% !important;     
    margin: 0 auto 0 auto !important; /* 改为上下0，左右auto */
    padding: 0 !important;
    box-sizing: border-box !important;
    /* flex-grow: 0; /* 确保视频容器不参与父flex列的多余空间分配 */
    /* flex-shrink: 0; */
}

.team-introduction-row .team-video-container video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 575px; 
    margin: 0 auto !important; /* 确保视频本身在容器中居中 */
}
/* == PC端律师团队介绍 - 图文底部对齐 (END) == */
