/* 法律服务模块样式，命名加前缀，防止和网站原有样式冲突 */
.service-field {
  padding: 60px 0;
  background-color: #ffffff;
}
.service-field .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.service-field .block-title {
  text-align: center;
  font-size: 36px;
  color: #222222;
  margin: 0 0 50px;
  position: relative;
  font-weight: 600;
}
.service-field .block-title span {
  display: block;
  font-size: 16px;
  color: #777777;
  font-weight: normal;
  margin-top: 8px;
}
.service-field .block-title::after {
  content: "";
  width: 80px;
  height: 2px;
  background-color: #0068f7;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
}
.service-field .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-field .service-card {
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.service-field .service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.service-field .card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.service-field .service-card h3 {
  font-size: 20px;
  padding: 20px 20px 10px;
  color: #222;
  margin: 0;
}
.service-field .service-list {
  padding: 0 20px;
  list-style: none;
  margin: 0;
}
.service-field .service-list li {
  line-height: 2;
}
.service-field .service-list li a {
  color: #444444;
  text-decoration: none;
}
.service-field .service-list li a:hover {
  color: #0068f7;
}
.service-field .more-btn {
  display: inline-block;
  margin: 10px 20px 20px;
  padding: 6px 16px;
  border: 1px solid #0068f7;
  color: #0068f7;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}
.service-field .more-btn:hover {
  background-color: #0068f7;
  color: #ffffff;
}
/* 平板适配 992px以下 2列 */
@media screen and (max-width: 992px) {
  .service-field .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-field .block-title {
    font-size: 30px;
  }
}
/* 手机适配 576px以下 单列 */
@media screen and (max-width: 576px) {
  .service-field .service-grid {
    grid-template-columns: 1fr;
  }
  .service-field {
    padding: 40px 0;
  }
  .service-field .block-title {
    font-size: 26px;
  }
}

.lawyer-team {
  padding: 60px 0;
  background: #f8f8f8;
}
.lawyer-team .container {
  max-width:1200px;
  margin:0 auto;
  padding:0 15px;
}
.lawyer-team .block-title {
  text-align:center;
  font-size:36px;
  color:#222;
  margin:0 0 50px;
  position:relative;
  font-weight:600;
}
.lawyer-team .block-title span {
  display:block;
  font-size:16px;
  color:#777;
  font-weight:normal;
  margin-top:8px;
}
.lawyer-team .block-title::after {
  content:"";
  width:80px;
  height:2px;
  background:#0068f7;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-12px;
}
/* 滚动外层 */
.lawyer-team .scroll-wrap {
  overflow:hidden;
}
.lawyer-team .scroll-list {
  display:flex;
  gap:24px;
  animation: scrollRun 25s linear infinite;
}
/* 鼠标悬浮暂停滚动 */
.lawyer-team .scroll-list:hover {
  animation-play-state: paused;
}
/* 律师卡片 */
.lawyer-team .lawyer-card {
  min-width:270px;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  transition: all 0.3s ease;
}
.lawyer-team .lawyer-card:hover {
  transform: translateY(-6px);
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
}
.lawyer-team .lawyer-card a {
  text-decoration:none;
}
.lawyer-team .card-img img {
  width:100%;
  height:340px;
  object-fit:cover;
  display:block;
}
.lawyer-team .card-info {
  background:rgba(0,0,0,0.75);
  padding:14px 16px;
  margin-top:-44px;
  position:relative;
  z-index:2;
}
.lawyer-team .card-info h4 {
  margin:0;
  color:#fff;
  font-size:18px;
  font-weight:normal;
}
.lawyer-team .card-info h4 span {
  color:#0068f7;
  font-size:16px;
  margin-left:8px;
}
/* 滚动动画 */
@keyframes scrollRun {
  0% {transform: translateX(0);}
  100% {transform: translateX(-50%);}
}

/* 平板适配 */
@media screen and (max-width:992px) {
  .lawyer-team .block-title {
    font-size:30px;
  }
  .lawyer-team .lawyer-card {
    min-width:240px;
  }
  .lawyer-team .card-img img {
    height:300px;
  }
}
/* 手机端：关闭横向滚动，改成竖向单列 */
@media screen and (max-width:576px) {
  .lawyer-team {
    padding:40px 0;
  }
  .lawyer-team .block-title {
    font-size:26px;
  }
  .lawyer-team .scroll-list {
    animation:none;
    flex-wrap:wrap;
    justify-content:center;
  }
  .lawyer-team .lawyer-card {
    min-width:100%;
  }
}

/* 成功案例模块样式 */
.case-success {
  padding: 60px 0;
  background-color: #ffffff;
}

.case-success .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.case-success .block-title {
  text-align: center;
  font-size: 36px;
  color: #222222;
  margin: 0 0 50px;
  position: relative;
  font-weight: 600;
}

.case-success .block-title span {
  display: block;
  font-size: 16px;
  color: #777777;
  font-weight: normal;
  margin-top: 8px;
}

.case-success .block-title::after {
  content: "";
  width: 80px;
  height: 2px;
  background-color: #0068f7;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
}

.case-success .case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-success .case-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-success .case-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.case-success .case-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-success .case-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.case-success .case-body {
  padding: 24px 20px 20px;
}

.case-success .case-body h3 {
  font-size: 20px;
  color: #222222;
  margin: 0 0 10px;
}

.case-success .case-body p {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin: 0 0 14px;
}

.case-success .case-more {
  display: inline-block;
  font-size: 14px;
  color: #0068f7;
  border-bottom: 1px solid #0068f7;
  padding-bottom: 2px;
}

.case-success .case-card:hover .case-more {
  letter-spacing: 1px;
}

/* 平板适配 */
@media screen and (max-width: 992px) {
  .case-success .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-success .block-title {
    font-size: 30px;
  }
}

/* 手机适配 */
@media screen and (max-width: 576px) {
  .case-success {
    padding: 40px 0;
  }

  .case-success .case-grid {
    grid-template-columns: 1fr;
  }

  .case-success .block-title {
    font-size: 26px;
  }

  .case-success .case-img img {
    height: 200px;
  }
}