.banner{height: 525px; position: relative;}
.banner .banner_img{height: 525px;  /* object-fit: cover; */}
.banner .banner_txt{width: 42vw;
    height: auto;
    top: 76px;
    left: 5vw;
    border-radius: 16px;
    border-left-width: 2px;
    background: #fff;
    position: absolute;
    padding-left: 3.5vw;
    padding-right: 1vw;
    padding-top: 2vw;
    padding-bottom: 2vw;
    display: flex;
    flex-direction: column;
}
.banner .banner_txt_1{font-size: 32px;
    font-weight: 700;
    color: rgba(216, 40, 28, 1);
    line-height: 37px;
    letter-spacing: 0px;
    text-align: left;
}
.banner .banner_txt_2{font-size: 24px;
    font-weight: 400;
    color: rgba(162, 0, 0, 1);
    line-height: 30px;
    letter-spacing: 0px;
    text-align: left;
    margin-top: 37px;
}
.banner .banner_btn1{
    width: 209px;
    height: 51px;
    background: rgba(162, 0, 0, 1);
    line-height: 51px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-size: 20px;
    font-weight: 700;
    border-radius: 300px;
    margin-top: 42px;
}

.banner-panel.active {
    display: block;
  }

  .banner-panel {
    display: none;
  }

  .tab-btn.active, .tab-btn:hover {
    background: #A20000;
    color: #fff;
  }

  .banner {
	position: relative;
	min-height: 525px;
	/* margin-top: 50px; */
	display: flex;
  	justify-content:center;
max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
}

/* 公共的banner */
.banner_bg {
	width: 100%;
  height: 100%;
  position: absolute; /* 新增：绝对定位 */
  top: 0;             /* 新增：顶部对齐 */
  left: 0;            /* 新增：左侧对齐 */
  object-fit: cover;  /* 新增：保持宽高比填充容器，超出部分裁剪 */
  z-index: 1; 
}

.banner_box {
	width: 100%;
    display: flex;
    align-items: center;
    z-index: 2; /* 确保内容在图片上方 */
    position: relative; /* 确保内容可以覆盖在图片上 */
    height: 100%; /* 确保内容区域也撑满banner高度，以便垂直居中 */
}

.banner_content {
  width: 1560px;
  margin: 0 auto;
	max-width: 1560px;
  padding: 0 20px;
}


.banner_title  {
	font-size: 48px;
	font-weight: bold;
  color: #fff;
}


.banner_subtitle {
	font-size: 48px;
	margin-bottom: 25px;
	opacity: 0.9;
  color: #fff;
}

.banner_btn {
	display: inline-block;
	background-color: #CC9522;
	color: #fff;
	padding: 12px 64px;
	border-radius: 30px;
	font-size: 20px;
	font-weight: bold;
	text-decoration: none;
	transition: all 0.3s ease;
  margin-left: 20px;
}
.team-tabs-bg {
    position: absolute;
    top: 462px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.team-tabs {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
}
.tab-btn {
  min-width: 160px;
  height: 39px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 85%);
  color: #222;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 39px;
  box-shadow: 
  0 2px 4px rgba(0,0,0,0.04),
  0 4px 8px rgba(0,0,0,0.04),
  inset 0 -1px 2px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 2px;
}
.tab-btn.active {
  background: #A20000;
  color: #fff;
  box-shadow: none;
}
/* .tab-btn:hover:not(.active) {
  box-shadow: 0 0 0 4px #ffd6c2 inset, 0 4px 16px rgba(214,0,0,0.08);
} */

.lawyer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  box-sizing: border-box;
}

.lawyer-card-detail {
  display: flex;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  overflow: hidden;
  align-items: stretch;
  transition: box-shadow 0.2s;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.lawyer-photo {
  flex: 0 0 44%;
  justify-content: center;
  overflow: hidden;
  min-width: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #f4f5f7 url(../img/cardBg.png) no-repeat center/cover;
}

.lawyer-photo img {
  max-width: 325px;
  height: 355px;
  object-fit: cover;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.lawyer-info {
  flex: 1 1 0;
  padding: 60px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  gap: 12px;
  overflow: hidden;
}

@media screen and (min-width: 1025px) {
  .lawyer-card-detail {
    height: 420px;
  }
  .lawyer-photo {
    height: 420px;
  }
}
.lawyer-title-block {
  border-bottom: 1px solid #ececec;
  padding-bottom: 10px;
}
.base{
  text-align: center;
  font-size: 20px;
  color: #585656;
}

.lawyer-title {
  font-size: 30px;
  color: #000;
  text-align: center;
}
.lawyer-title a{
  color: #000;
  font-weight: 600!important;
}
.lawyer-title a span{
  font-size: 22px;
  color: #585656;
  font-weight: 400;
}
.lawyer-title a span::before{
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: #CC9522;
  margin: 0 12px;
  vertical-align: -0.1em;
}

.lawyer-info-block {
  border-top: 1px solid #ececec;
  font-size: 15px;
  color: #666;
  line-height: 28px;
  padding-top: 16px;
  margin-top: 60px;
}

.lawyer-info-block:last-child {
  border-bottom: none;
}

.lawyer-pos {
  font-size: 1em;
  font-weight: normal;
  color: #444;
  margin-left: 8px;
}

.lawyer-city {
  font-size: 18px;
  color: #666;
  margin: 10px 0 2px 0;
  text-align: left;
}

.lawyer-field, .lawyer-biz {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 6px;
  word-break: break-all;
  line-height: 1.2;
}
.lawyer-field a, .lawyer-biz a {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 6px;
  word-break: break-all;
}

.center-pagination {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 6px;
  padding: 40px 0 0 0;
  font-size: 32px;
  background: transparent;
  user-select: none;
}
.center-pagination .arrow {
  width: 29px;
  object-fit: contain;
  vertical-align: middle;
  /* 左箭头灰色，右箭头红色，图片本身需为对应色，或用filter */
}
.center-pagination .arrow.right {
  /* 如果你的图片是黑色，可以用filter变红 */
  filter: invert(18%) sepia(98%) saturate(7492%) hue-rotate(-7deg) brightness(97%) contrast(119%);
}
.center-pagination .page {
  color: rgba(18, 18, 18, 1);
  text-decoration: none;
  padding: 0 8px;
  font-size: 16px;
  position: relative;
  transition: color 0.2s;
  line-height: 21px;
}
.center-pagination .page.active {
  color: rgba(216, 36, 30, 1);
}
.center-pagination .page.active::after {
  content: '';
  display: block;
  margin: 0 auto;
  margin-top: 2px;
  width: 9px;
  height: 1px;
  background: #d60000;
  border-radius: 2px;
}
.center-pagination .page:hover:not(.active) {
  color: #d60000;
}
@media screen and (max-width: 1024px) {
  .lawyer-list {
    grid-template-columns: 2fr 2fr;
    gap: 18px;
   
  }
  .lawyer-title{
    font-size: 16px;
  }
  .lawyer-card-detail{
    height: auto;
  }
  .lawyer-card {
    flex-direction: column;
    max-width: 98vw;
  }
  .lawyer-photo {
    width: 100%;
    aspect-ratio: 3/2;
    min-width: 0;
    max-height: 600px;
  }
  .lawyer-info {
    padding: 4vw 3vw;
  }
  .lawyer-photo {
    flex: 1;
    max-height: 375px;
    aspect-ratio: 1/2;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
  }
  
  .lawyer-photo img {
    /* width: 100%; */
     object-fit: cover;
    display: block;
    max-height: 305px;
    min-width: 192px;
  }
  
  .lawyer-info {
    flex: none;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding-bottom: 0;
    
}
  .lawyer-title-block{
    margin-bottom: 0;
    padding-bottom: 0;
    padding-bottom: 16px;
  }
  .lawyer-city{
    display: none;
  }
  .lawyer-field, .lawyer-biz{
    margin-bottom: 0;
    line-height: 28px;
  }
  .lawyer-field, .lawyer-biz{
    font-size: 14px;
  }
  .lawyer-info-block{
    padding: 10px 0;
  }

  /* Banner区域适配 */
  .banner {
    height: 300px;
  }
  .banner .banner_img {
    height: 85%;
    width: 100%;
     /* object-fit: cover; */
  }
  .banner .banner_txt {
    width: 42%;
    height: auto;
    top: 18%;
    bottom: 18%;
    left: 7%;
    transform: translate(0%, 0%);
    padding: 0px;
    border-radius: 10px;
  }
  .banner .banner_txt_1 {
      font-size: 20px;
      line-height: 24px;
  }
  .banner .banner_txt_2 {
      width: 100%;
      font-size: 14px;
      line-height: 20px;
      margin-top: 15px;
  }
  .banner .banner_btn1 {
    width: 120px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    margin-top: 6px;
    display: none;
  }
  .team-tabs-bg{
    top: 240px;
    display: block;
  }
  .team-tabs {
    display: flex;
    flex-direction: row;
    gap: 4px;
  }
  .team-tabs>button{
    flex: 1;
  }
  .team-tabs>a{
    flex: 1;
  }
  .tab-btn {
    flex: 1;
    min-width: 80px;
    height: 30px;
    font-size: 14px;
    border-radius: 14px;
    line-height: 30px;
  }
  .team-tabs>a>button{
    width: 100%;
  }
}
.center-pagination {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
    padding: 40px 0 0 0;
    font-size: 32px;
    background: transparent;
    user-select: none;
  }
  .center-pagination .arrow {
    width: 29px;
    object-fit: contain;
    vertical-align: middle;
    /* 左箭头灰色，右箭头红色，图片本身需为对应色，或用filter */
  }
  .center-pagination .arrow.right {
    /* 如果你的图片是黑色，可以用filter变红 */
    filter: invert(18%) sepia(98%) saturate(7492%) hue-rotate(-7deg) brightness(97%) contrast(119%);
  }
  .center-pagination .page {
    color: rgba(18, 18, 18, 1);
    text-decoration: none;
    padding: 0 8px;
    font-size: 16px;
    position: relative;
    transition: color 0.2s;
    line-height: 21px;
  }
  .center-pagination .page.active {
    color:#CC9522;
  }
  .center-pagination .page.active::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 2px;
    width: 9px;
    height: 1px;
    background: #CC9522;
    border-radius: 2px;
  }
  .center-pagination .page:hover:not(.active) {
    color: #CC9522;
  }
@media screen and (max-width: 500px) {
  .lawyer-list {
    grid-template-columns: 1fr;
    gap: 18px;
   
  }
}