﻿/* ========================================
   律师团队详情页
   ======================================== */

/* ========== Hero ========== */
.lawyer-hero {
  background: #fff5ed;
  padding: 48px 0 56px;
}

.lawyer-hero__inner {
  display: flex;
  align-items: center;
  gap: 57px;
}

.lawyer-hero__info {
  flex: 1;
  min-width: 0;
}

.lawyer-hero__name {
  font-family: HarmonyOS_Sans_SC_Bold, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 29px;
  color: #111111;
  line-height: 32px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 10px;
}

.lawyer-hero__title {
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 26px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 22px;
}

.lawyer-hero__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.lawyer-hero__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.lawyer-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #a42127;
  flex-shrink: 0;
}

.lawyer-hero__icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.lawyer-hero__summary {
  width: 769px;
  max-width: 100%;
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.lawyer-hero__photo {
  flex-shrink: 0;
  overflow: hidden;
  width: 273px;
  height: 381px;
  box-sizing: border-box;
  background: #f5f5f5;
  margin: 0 auto;
}

.lawyer-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ========== 主体双栏 ========== */
.lawyer-detail {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 100px;
}

.lawyer-detail__main {
  flex: 0 0 767px;
  width: 767px;
  min-width: 0;
}

.lawyer-bio {
  padding: 0 0 20px;
}

.lawyer-bio p {
  font-family: HarmonyOS_Sans_SC_Medium, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: #111111;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 18px;
}

.lawyer-bio p:last-child {
  margin-bottom: 0;
}

.lawyer-accordion {
  margin-top: 8px;
}

.lawyer-detail .accordion__head {
  font-size: 16px;
}

.lawyer-expertise {
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #000000;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.case-item {
  margin-bottom: 0;
  padding: 22px 0;
  border-bottom: 1px solid #ececec;
}

.case-item:first-child {
  padding-top: 0;
}

.case-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.case-item__title {
  font-family: HarmonyOS_Sans_SC_Medium, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 8px;
}

.case-item__title a {
  color: inherit;
}

.case-item__title a:hover {
  color: var(--color-primary);
}

.case-item__desc {
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  color: #666666;
  line-height: 28px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.lawyer-list {
  padding-left: 0;
}

.lawyer-list li {
  position: relative;
  padding-left: 16px;
  font-family: HarmonyOS_Sans_SC_Medium, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #111111;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  margin-bottom: 6px;
}

.lawyer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

.lawyer-detail__cta {
  margin-top: 48px;
  padding: 36px 40px;
  background: #f7f5f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lawyer-detail__cta p {
  font-size: 15px;
  color: #555;
}

/* ========== 右侧导航 ========== */
.lawyer-side {
  width: 180px;
  flex-shrink: 0;
  margin-left: auto;
  position: sticky;
  top: 100px;
  padding-top: 8px;
}

.lawyer-side__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lawyer-side__link {
  position: relative;
  display: block;
  padding-left: 14px;
  font-family: HarmonyOS_Sans_SC, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: #333333;
  line-height: 32px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  transition: color 0.3s ease;
}

.lawyer-side__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
}

.lawyer-side__link:hover,
.lawyer-side__link.is-active {
  color: #a42127;
}

.lawyer-side__link.is-active::before {
  background: #a42127;
}

@media (max-width: 1024px) {
  .lawyer-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .lawyer-hero__photo {
    width: 273px;
    height: 381px;
  }

  .lawyer-hero__summary {
    width: 100%;
  }

  .lawyer-detail {
    flex-direction: column;
    gap: 32px;
  }

  .lawyer-detail__main {
    flex: none;
    width: 100%;
  }

  .lawyer-side {
    width: 100%;
    position: static;
    margin-left: 0;
  }

  .lawyer-detail__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

@media (max-width: 768px) {
  .lawyer-hero {
    padding: 32px 0 40px;
  }

  .lawyer-hero__name {
    font-size: 24px;
    line-height: 30px;
  }

  .lawyer-hero__title {
    font-size: 15px;
    line-height: 24px;
  }

  .lawyer-hero__contact-item {
    font-size: 14px;
  }

  .lawyer-hero__contact {
    gap: 12px 20px;
  }

  .lawyer-bio p {
    font-size: 15px;
    line-height: 26px;
  }

  .case-item__desc {
    font-size: 15px;
    line-height: 26px;
  }

  .lawyer-detail {
    padding-bottom: 60px;
  }
}



/* [mobile bump] base 10-13px +2px on phone */
@media (max-width: 768px) {
  .lawyer-expertise { font-size: 15px; }
  .lawyer-side__link { font-size: 15px; }
}
