.banner {
    width: 100%;
  height: 525px;
  position: relative;
  background: linear-gradient(135deg, #F9F9FB 0%, #E2E1E6 100%);
}
.banner .banner_img_detail{
  max-width: 457px;
  max-height: 475px;
  height: 100%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  right: 5%;
}
.profile-card {
  width: 44%;
  background: rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  position: absolute;
  top: 60px;
  left: 8.5%;
  border-left: 1px solid #A20000;
}

.profile-content {
  padding: 40px 67px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profile-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.profile-name {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  line-height: 1.1;
}

.profile-title {
  font-size: 20px;
  color: #121212;
  font-weight: 400;
  white-space: wrap;
}

.profile-en {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  margin: 24px 0;
  letter-spacing: 2px;
}

.profile-field {
  font-size: 20px;
  color: #888;
  margin-bottom: 16px;
}

.profile-biz {
  font-size: 20px;
  color: #888;
  margin-bottom: 35px;
}

.underline-blue {
  display: inline-block;
  padding-bottom: 2px;
}

.profile-btns {
  display: flex;
  gap: 32px;
}

.btn {
  min-width: 209px;
  height: 51px;
  border-radius: 50px;
  font-size: 20px;
  line-height: 51px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
}

.btn.red {
  background: #b40000;
  color: #fff;
}

.btn.white {
  background: #fff;
  color: #d60000;
  border: 2px solid rgba(186, 186, 186, 0.8);
}

.btn.white:hover {
  background: #f7f7fa;
  color: #b40000;
}

@media (max-width: 1024px) {
  .profile-card {
    max-width: 90%;
    border-radius: 16px;
  }
  .profile-content {
    padding: 24px 10px 18px 18px;
  }
  .profile-header {
    flex-direction: column;
    gap: 8px;
  }
  .profile-name {
    font-size: 2rem;
  }
  .profile-en {
    font-size: 1.3rem;
  }
  .profile-card .profile-btns {
    flex-direction: row;
  }
 
  .profile-card .btn {
    min-width: 150px;
    width: 145px;
    padding: 10px 0;
    font-size: 14px;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

.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: #fff6f0;
  color: #222;
  font-size: 20;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 0 3px #f5f5f5 inset, 0 2px 8px rgba(0, 0, 0, 0.04);
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin: 0;
  padding: 0;
  letter-spacing: 2px;
}
.tab-btn.active {
  background: #b40000;
  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);
}
@media (max-width: 1024px) {
  .team-tabs {
    flex-direction: column;
    gap: 24px;
  }
  .tab-btn {
    min-width: 160px;
    height: 56px;
    font-size: 1.2rem;
  }
}

.lawyer-detail-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.lawyer-detail-left {
  flex: 2;
  margin-top: 20px;
}
.lawyer-detail-left a {
    margin-bottom: 30px;
    display: block;
  }
.lawyer-detail-right {
  flex: 1;
  margin-top: 20px;
}
.section-con {
  margin-bottom: 36px;
}
.section-con-mobile{
  display: none;
}
.section-title {
  font-size: 30px;
  margin-bottom: 10px;
  border-bottom: 1px solid #bbb;
  padding-bottom: 6px;
}
.section-content {
  font-size: 20px;
  color: #444;
  margin-top: 12px;
  line-height: 1.8;
}
.sub-title {
  font-size: 20;
  color: #222;
  margin: 18px 0 6px 0;
  font-weight: bold;
}
.red-list div a {
  color: #d60000;
  margin-bottom: 4px;
  font-size: 18px;
}
.lawyer-detail-right .section-content {
  color: #888;
}
.lawyer-detail-right .section-content {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .lawyer-detail-main {
    flex-direction: column;
    gap: 0;
    padding: 0 10px;
  }
  .lawyer-detail-right,
  .lawyer-detail-left {
    width: 100%;
  }
}

.honor-section {
  margin: 40px 0 0 0;
}
.honor-title {
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 12px;
  border-bottom: 1px solid #222;
  padding-bottom: 8px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.honor-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0 auto;
  padding-top: 18px;
}
.honor-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.honor-card img {
  height: 100%;
  width: auto;
  object-fit: initial;
}
.honor-desc {
  font-size: 16px;
  color: #222;
  padding: 12px 16px 14px 16px;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
}
@media (max-width: 1100px) {
  .honor-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 1024px) {
  .honor-list {
    grid-template-columns: 1fr;
  }
  .honor-title {
    font-size: 1.2rem;
    padding-bottom: 4px;
  }
}

.case-section {
  margin: 40px 0 0 0;
  padding: 2vw 0;
}
.case-title {
  font-size: 2rem;
  margin-bottom: 12px;
  border-bottom: 1px solid #222;
  padding-bottom: 8px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.case-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 0 auto;
  padding-top: 18px;
}
.case-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
  padding: 32px 32px 32px 32px;
  position: relative;
  min-height: 260px;
}
.case-card:hover {
  box-shadow: 0 3px 10px rgba(214, 0, 0, 0.3);
  background: linear-gradient(135deg, #D8241E 27%, #982017 100%);
  color: #fff !important;
}

.case-card:hover a {
  color: #fff !important;
}

.case-meta a,
.case-title-text a,
.case-desc a {
  color: #666666;
}

.case-arrow-icon {
  width: 20px;
  height: 20px;
}

.case-card:hover img {
  filter: brightness(100);
}
.case-card:hover .case-date,
.case-card:hover .case-title-text,
.case-card:hover .case-desc,
.case-card:hover .case-meta span {
  color: #fff;
}
.case-date {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #666666;
}
.case-date span {
  font-size: 1.2rem;
  color: #666666;
}
.case-card:hover .case-date {
  color: #fff;
}
.case-title-text {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333333;
}
.case-desc {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 12px;
  line-height: 1.6;
  max-height: 3.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.case-card:hover .case-desc {
  color: #fff;
}
.case-meta {
  font-size: 1.05rem;
  color: #666666;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.case-meta img {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  margin-right: 2px;
}

.case-meta div{display: flex;align-items: center; color: #888;}
.case-meta div span{color: #888;}

.case-card:hover .case-meta img {
  filter: brightness(100);
}

.case-meta-icon1{
    width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/jiaotongshigu.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-card:hover .case-meta-icon1  {
width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/jiaotongshigu-bai.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}

.case-meta-icon2{
width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/group1.png) no-repeat;
background-size: 100% 100%;
margin-right: 6px;
}
.case-card:hover .case-meta-icon2 {
width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/group1-bai.png) no-repeat;
background-size: 100% 100%;
margin-right: 6px;
}

.case-meta-icon3{
width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/group2.png) no-repeat;
background-size: 100% 100%;
margin-right: 6px;
}
.case-card:hover .case-meta-icon3  {
width: 21px;height: 21px; margin: 5px 0; background: url(../../images/cases/group2-bai.png) no-repeat;
background-size: 100% 100%;
margin-right: 6px;
}

.case-card:hover .case-date span {
  font-size: 1.2rem;
  color: #fff;
}
.case-arrow {
  position: absolute;
  left: 32px;
  bottom: 10px;
  font-size: 1.5rem;
  color: #d60000;
}
.case-card:hover .case-arrow {
  color: #fff !important;
}

.case-arrow-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 鼠标移入父容器时，子元素向右移动30px */
.case-card:hover .case-arrow-icon {
  transform: translateX(30px);
}
@media (max-width: 1024px) {
  .case-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .case-card {
    padding: 18px 10px 18px 10px;
  }
}
.honor-card-img {
  height: 300px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: #FFF;
  padding: 0;
}