.about-page .rich-text {
  margin: 40px 0 60px;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-gallery > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-gallery > div {
  display: grid;
  gap: 20px;
}
.about-gallery > div img,
.about-gallery video {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}
.about-statistics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f6f3ef;
  margin-top: 60px;
  padding: 50px 0;
  text-align: center;
}
.about-statistics strong {
  font-size: 54px;
  color: var(--red);
  display: block;
}
.about-statistics span {
  font-size: 18px;
  color: #777;
}
.advantage-row {
  display: grid;
  grid-template-columns: 640px 1fr;
  gap: 80px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}
.advantage-row:nth-of-type(even) .advantage-picture {
  order: 2;
}
.advantage-row:nth-of-type(even) {
  grid-template-columns: 1fr 640px;
}
.advantage-picture img {
  width: 100%;
  aspect-ratio: 640/390;
  object-fit: cover;
}
.advantage-copy .large-number {
  font-size: 72px;
  color: #dbc4a5;
  line-height: 1;
}
.advantage-copy h2 {
  font-size: 30px;
  margin: 16px 0;
  color: var(--red);
}
.advantage-copy h3 {
  font-size: 20px;
  margin-bottom: 20px;
}
.advantage-copy p {
  font-size: 18px;
  line-height: 2;
  color: #666;
  white-space: pre-line;
}
.process-list {
  max-width: 1350px;
  margin: 0 auto;
}
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  border-bottom: 1px solid #eee;
  padding: 48px 0;
  align-items: start;
}
.step-number {
  color: var(--gold);
  font-size: 70px;
  font-weight: bold;
  line-height: 1.2;
}
.process-step h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.process-step p {
  font-size: 18px;
  color: #666;
  white-space: pre-line;
  line-height: 2;
}
.practice-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 30px 0 80px;
}
.practice-detail h2 {
  font-size: 36px;
  color: var(--red);
  margin-bottom: 30px;
}
.practice-detail p {
  font-size: 20px;
  color: #666;
  line-height: 2;
  white-space: pre-line;
}
.practice-detail .button {
  margin-top: 35px;
}
.practice-detail img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.practice-detail ~ .section-heading {
  margin-top: 65px;
}

/* 专业领域正文，对应Figma节点243:9954。 */
.practice-page .practice-intro {
  padding-top: 80px;
}
.practice-page .practice-overview {
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  gap: 100px;
  align-items: start;
}
.practice-page .practice-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.practice-page .practice-title-row img {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.practice-page .practice-title-row h2 {
  color: #c00000;
  font-size: 30px;
  font-weight: 700;
  line-height: 53px;
}
.practice-page .practice-overview > p {
  color: #333;   
  font-size: 18px;
  line-height: 31px;
  letter-spacing: 0;
  white-space: pre-line;
}
.practice-page .practice-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.practice-page .practice-gallery-legacy {
  grid-template-columns: minmax(0, 530px);
}
.practice-page .practice-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.practice-page .practice-gallery a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}
.practice-page .practice-gallery a:focus-visible {
  outline: 2px solid #c00000;
  outline-offset: 3px;
}
.practice-page .practice-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.practice-page .practice-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 72px;
  padding: 25px 20px 18px;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(192, 0, 0, 0.82));
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.practice-page .practice-gallery figure:hover figcaption,
.practice-page .practice-gallery figure:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}
.practice-page .practice-cases {
  margin-top: 60px;
  padding-bottom: 70px;
}
.practice-page .practice-section-heading {
  position: relative;
  height: 61px;
  border-bottom: 1px solid #d3d3d3;
}
.practice-page .practice-section-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: #c00000;
}
.practice-page .practice-section-heading h2 {
  color: #c00000;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}
.practice-page .practice-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 20px;
  margin-top: 40px;
}
.practice-page .practice-case-item {
  position: relative;
  min-width: 0;
}
.practice-page .practice-case-item::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 7px;
  border-left: 1px dashed #c8c8c8;
}
.practice-page .practice-case-item > a {
  position: relative;
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 20px;
  margin-left: 45px;
  padding: 20px 0;
  border-bottom: 1px solid #d3d3d3;
}
.practice-page .practice-case-dot {
  position: absolute;
  z-index: 1;
  top: 48px;
  left: -45px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #c1c1c1;
  transition: background-color 0.3s ease;
}
.practice-page .practice-case-date {
  display: flex;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #666;
  background: #ededed;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.practice-page .practice-case-date strong {
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
}
.practice-page .practice-case-date span {
  font-size: 14px;
  line-height: 18px;
}
.practice-page .practice-case-title {
  min-width: 0;
  color: #333;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .practice-page .practice-case-item > a:hover .practice-case-dot,
  .practice-page .practice-case-item > a:focus-visible .practice-case-dot {
    background: #c00000;
  }
  .practice-page .practice-case-item > a:hover .practice-case-date,
  .practice-page .practice-case-item > a:focus-visible .practice-case-date {
    color: #fff;
    background: #c00000;
  }
  .practice-page .practice-case-item > a:hover .practice-case-title,
  .practice-page .practice-case-item > a:focus-visible .practice-case-title {
    color: #c00000;
  }
}
.practice-page .practice-team-section {
  padding: 60px 0 120px;
  background: #f5f5f5;
}
.practice-page .practice-lawyer-swiper {
  margin-top: 40px;
  overflow: hidden;
}
.practice-page .practice-lawyer-swiper .swiper-wrapper {
  align-items: stretch;
}
.practice-page .practice-lawyer-card {
  height: auto;
}
.practice-page .practice-lawyer-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
  border: 1px solid #e1e1e1;
  color: #333;
  background: #fff;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.practice-page .practice-lawyer-photo {
  width: 100%;
  aspect-ratio: 335 / 357;
  overflow: hidden;
  background: #eee;
}
.practice-page .practice-lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.practice-page .practice-lawyer-copy {
  min-width: 0;
  text-align: center;
}
.practice-page .practice-lawyer-copy h3 {
  color: #c00000;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  transition: color 0.3s ease;
}
.practice-page .practice-lawyer-copy p {
  margin-top: 5px;
  overflow: hidden;
  color: #333;
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .practice-page .practice-lawyer-card > a:hover,
  .practice-page .practice-lawyer-card > a:focus-visible {
    border-color: #c00000;
    color: #fff;
    background: #c00000;
  }
  .practice-page .practice-lawyer-card > a:hover h3,
  .practice-page .practice-lawyer-card > a:hover p,
  .practice-page .practice-lawyer-card > a:focus-visible h3,
  .practice-page .practice-lawyer-card > a:focus-visible p {
    color: #fff;
  }
}
.practice-page .practice-lawyer-pagination {
  display: flex;
  min-height: 8px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.practice-page .practice-lawyer-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 5px;
  opacity: 1;
  background: #bababa;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.practice-page .practice-lawyer-pagination .swiper-pagination-bullet-active {
  width: 40px;
  background: #c00000;
}
@media (max-width: 1200px) {
  .practice-page .practice-overview {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 50px;
  }
  .practice-page .practice-gallery figure {
    height: auto;
    aspect-ratio: 53 / 35;
  }
}
@media (max-width: 800px) {
  .practice-page .practice-intro {
    padding-top: 50px;
  }
  .practice-page .practice-overview,
  .practice-page .practice-gallery,
  .practice-page .practice-case-list {
    grid-template-columns: 1fr;
  }
  .practice-page .practice-overview {
    gap: 24px;
  }
  .practice-page .practice-gallery {
    gap: 16px;
    margin-top: 30px;
  }
  .practice-page .practice-case-list {
    row-gap: 10px;
  }
  .practice-page .practice-title-row h2,
  .practice-page .practice-section-heading h2 {
    font-size: 26px;
  }
  .practice-page .practice-overview > p,
  .practice-page .practice-gallery figcaption,
  .practice-page .practice-case-title {
    font-size: 16px;
  }
  .practice-page .practice-team-section {
    padding: 50px 0 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .practice-page .practice-gallery figcaption,
  .practice-page .practice-case-dot,
  .practice-page .practice-case-date,
  .practice-page .practice-case-title,
  .practice-page .practice-lawyer-card > a,
  .practice-page .practice-lawyer-copy h3,
  .practice-page .practice-lawyer-copy p,
  .practice-page .practice-lawyer-pagination .swiper-pagination-bullet {
    transition: none;
  }
}

/* 京云动态列表内容区，对应 Figma 节点 243:10492。 */
.news-list-page .dynamic-news-content {
  padding: 80px 0 120px;
  background: #f6f6f6;
}
.news-list-page .news-grid {
  gap: 40px;
}
.news-list-page .dynamic-news-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.news-list-page .dynamic-news-card > a {
  display: block;
  height: 100%;
}
.news-list-page .dynamic-news-photo {
  height: 300px;
  overflow: hidden;
}
.news-list-page .dynamic-news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-list-page .dynamic-news-copy {
  padding: 20px 30px 40px;
}
.news-list-page .dynamic-news-date {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}
.news-list-page .dynamic-news-date img {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}
.news-list-page .dynamic-news-copy h3 {
  min-height: 56px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.3s ease;
}
.news-list-page .dynamic-news-summary {
  min-height: 48px;
  margin-top: 14px;
  color: rgba(102, 102, 102, 0.8);
  font-size: 16px;
  line-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news-list-page .dynamic-news-card:hover,
.news-list-page .dynamic-news-card:focus-within {
  box-shadow: 0 0 5px rgba(71, 71, 71, 0.25);
}
.news-list-page .dynamic-news-card:hover h3,
.news-list-page .dynamic-news-card:focus-within h3 {
  color: #c00000;
}
.news-list-page .pagination {
  gap: 8px;
  margin-top: 60px;
}
.news-list-page .pagination a {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-color: #dedede;
  background: transparent;
  font-size: 14px;
}
.news-list-page .pagination a.active {
  border-color: #c00000;
  background: #c00000;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.media-grid .news-card > a {
  display: flex;
  flex-direction: row-reverse;
  height: 300px;
}
.media-grid .news-photo {
  flex: 0 0 54%;
  aspect-ratio: auto;
}
.media-grid .news-copy {
  padding: 25px;
  flex: 1;
  min-width: 0;
}
.media-grid .news-copy h3 {
  font-size: 18px;
  min-height: 58px;
}
.media-grid .summary {
  font-size: 15px;
  min-height: 0;
  -webkit-line-clamp: 3;
}
.party-list {
  display: grid;
  gap: 30px;
}
.party-list .news-card > a {
  display: grid;
  grid-template-columns: 1fr 520px;
  direction: rtl;
}
.party-list .news-copy {
  direction: ltr;
  padding: 40px;
}
.party-list .news-photo {
  aspect-ratio: 520/300;
  margin: 30px;
}
.party-list .news-copy h3 {
  font-size: 22px;
  min-height: 0;
}

/* 党建公益列表内容区，对应 Figma 节点 243:10035。 */
.party-list-page .party-news-content {
  padding: 80px 0 120px;
  background: #f6f6f6;
}
.party-list-page .party-list {
  display: block;
}
.party-list-page .party-news-card {
  border-bottom: 1px solid #dadada;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.party-list-page .party-news-card > a {
  display: grid;
  width: min(calc(100% - 48px), 1640px);
  min-height: 360px;
  grid-template-columns: minmax(0, 1000px) 520px;
  align-items: center;
  justify-content: space-between;
  gap: 120px;
  margin: 0 auto;
  padding: 30px 0;
}
.party-list-page .party-news-copy {
  min-width: 0;
}
.party-list-page .party-news-date {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 25px;
  color: rgba(102, 102, 102, 0.8);
  font-size: 14px;
  line-height: 18px;
}
.party-list-page .party-news-date img {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
}
.party-list-page .party-news-text {
  padding-bottom: 30px;
}
.party-list-page .party-news-text h3 {
  color: #333;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  transition: color 0.3s ease;
}
.party-list-page .party-news-text p {
  margin-top: 20px;
  color: rgba(51, 51, 51, 0.9);
  font-size: 16px;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.party-list-page .party-news-more {
  display: flex;
  width: 120px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8c8c8;
  color: #666;
  font-size: 16px;
  line-height: 22px;
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.party-list-page .party-news-photo {
  position: relative;
  width: 520px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}
.party-list-page .party-news-photo img {
  position: absolute;
  top: -7.92%;
  left: -38.91%;
  width: 178%;
  max-width: none;
  height: 130.77%;
}
.party-list-page .party-news-card:hover,
.party-list-page .party-news-card:focus-within {
  position: relative;
  z-index: 1;
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 6px rgba(85, 85, 85, 0.25);
}
.party-list-page .party-news-card:hover .party-news-text h3,
.party-list-page .party-news-card:focus-within .party-news-text h3 {
  color: #c00000;
}
.party-list-page .party-news-card:hover .party-news-more,
.party-list-page .party-news-card:focus-within .party-news-more {
  border-color: #c00000;
  color: #fff;
  background: #c00000;
}
.party-list-page .party-news-pagination .pagination {
  gap: 8px;
  margin-top: 40px;
}
.party-list-page .party-news-pagination .pagination a {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-color: #dedede;
  border-radius: 3px;
  background: transparent;
  font-size: 14px;
}
.party-list-page .party-news-pagination .pagination a.active {
  border-color: #c00000;
  background: #c00000;
}
.article-detail {
  margin-top: 65px;
  margin-bottom: 90px;
  padding: 50px 60px;
  background: #f9f9f9;
}
.article-heading {
  text-align: center;
  padding-bottom: 38px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e2e2;
}
.article-heading h1 {
  font-size: 30px;
  max-width: 1300px;
  margin: 0 auto 20px;
}
.article-heading time {
  font-size: 15px;
  color: #999;
}
.article-images {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}
.article-images img {
  max-width: 100%;
  height: auto;
  margin: auto;
}
.article-images figcaption {
  text-align: center;
  color: #888;
}
.article-neighbours {
  margin-top: 50px;
  padding: 30px 0;
  border-top: 1px solid #ddd;
  display: grid;
  gap: 12px;
  font-size: 16px;
}
.case-detail {
  margin-top: 65px;
  margin-bottom: 90px;
  padding: 60px;
  background: #f6f6f6;
}
.case-detail .article-heading {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e2e2e2;
  text-align: center;
}
.case-detail .article-heading h1 {
  max-width: none;
  margin: 0 auto 20px;
  color: #101010;
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
}
.case-detail .article-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #717171;
  font-size: 14px;
  line-height: 16px;
}
.case-rich-text {
  color: #333;
  font-size: 16px;
  line-height: 34px;
}
.case-rich-text p {
  margin-bottom: 5px;
}
.case-rich-text strong {
  color: #333;
  font-weight: 700;
}
.case-rich-text p > em:only-child {
  color: var(--red);
  font-style: normal;
}
.case-summary-fallback {
  min-height: 120px;
}
.case-detail .article-images {
  display: grid;
  grid-template-columns: minmax(0, 450px) minmax(0, 514px);
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.case-detail .article-images figure {
  min-width: 0;
}
.case-detail .article-images img {
  width: 100%;
  height: auto;
  max-height: 696px;
  margin: 0;
  object-fit: contain;
}
.case-detail .article-neighbours {
  margin-top: 30px;
  padding: 29px 0 0;
  border-top: 1px solid #e2e2e2;
  gap: 21px;
  color: #333;
  font-size: 16px;
  line-height: 22px;
}
.case-detail .article-neighbours .previous,
.case-detail .article-neighbours .next {
  color: #333;
  transition: color 0.3s ease;
}
.case-detail .article-neighbours a:hover,
.case-detail .article-neighbours a:focus-visible {
  color: var(--red);
}
.case-share {
  position: relative;
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.case-share::before,
.case-share::after {
  min-width: 0;
  flex: 1 1 0;
  height: 1px;
  background: #e2e2e2;
  content: "";
}
.case-share-button {
  position: relative;
  z-index: 1;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  line-height: 0;
}
.case-share-button img {
  width: 30px;
  height: 30px;
}
/* 专业团队详情内容区。 */
.lawyer-detail-content {
  padding: 80px 0 120px;
  background: linear-gradient(180deg, #f2f2f2 0, #fff 360px);
}
.lawyer-detail-layout {
  display: grid;
  grid-template-columns: 450px minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}
.lawyer-detail-aside {
  align-self: stretch;
  min-width: 0;
}
.lawyer-detail-photo {
  width: 450px;
  height: 480px;
  overflow: hidden;
  background: #eee;
}
.lawyer-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.lawyer-detail-anchors {
  position: sticky;
  top: 120px;
  display: grid;
  width: 272px;
  gap: 10px;
  margin-top: 60px;
  padding-left: 72px;
}
.lawyer-detail-anchors::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 6px;
  width: 1px;
  background: #d5d5d5;
  content: "";
}
.lawyer-detail-anchors a {
  position: relative;
  display: flex;
  width: 200px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #c00000;
  color: #333;
  background: #f6f6f6;
  font-size: 18px;
  line-height: 22px;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.lawyer-detail-anchors a::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: 60px;
  height: 1px;
  background: #d5d5d5;
  content: "";
}
.lawyer-detail-anchors a::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 59px);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c00000;
  content: "";
  transform: translate(50%, -50%);
}
.lawyer-detail-anchors a:hover,
.lawyer-detail-anchors a:focus-visible,
.lawyer-detail-anchors a.active {
  color: #fff;
  background: #c00000;
}
.lawyer-detail-main {
  min-width: 0;
  padding-top: 80px;
}
.lawyer-detail-heading {
  margin-bottom: 80px;
}
.lawyer-detail-identity {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid #d5d5d5;
}
.lawyer-detail-identity h1 {
  color: #333;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
}
.lawyer-detail-identity .lawyer-role {
  margin: 19px 0 0;
  color: #c00000;
  font-size: 18px;
  line-height: 26px;
  white-space: pre-line;
}
.lawyer-detail-identity .lawyer-role.founder {
  color: #de9406;
}
.lawyer-detail-summary {
  margin-top: 24px;
  color: #333;
  font-size: 18px;
  line-height: 26px;
  white-space: pre-line;
}
.lawyer-detail-sections section {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d5d5d5;
  scroll-margin-top: 130px;
}
.lawyer-detail-sections section:last-child {
  margin-bottom: 0;
}
.lawyer-detail-sections h2 {
  margin-bottom: 22px;
  color: #c00000;
  font-size: 24px;
  font-weight: 400;
  line-height: 26px;
}
.lawyer-detail-sections p,
.lawyer-detail-sections .rich-text {
  color: #333;
  font-size: 16px;
  line-height: 26px;
  white-space: pre-line;
}
.lawyer-detail-sections .rich-text p {
  margin: 0;
}
@media (max-width: 1400px) {
  .lawyer-detail-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 50px;
  }
  .lawyer-detail-photo {
    width: 360px;
    height: 384px;
  }
  .lawyer-detail-main {
    padding-top: 45px;
  }
}
@media (max-width: 900px) {
  .lawyer-detail-content {
    padding-top: 60px;
  }
  .lawyer-detail-layout {
    grid-template-columns: 1fr;
  }
  .lawyer-detail-aside {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 35px;
    align-items: start;
  }
  .lawyer-detail-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 15 / 16;
  }
  .lawyer-detail-anchors {
    position: static;
    margin-top: 0;
  }
  .lawyer-detail-main {
    padding-top: 0;
  }
}
@media (max-width: 700px) {
  .lawyer-detail-content {
    padding: 40px 0 70px;
  }
  .lawyer-detail-aside {
    grid-template-columns: 1fr;
  }
  .lawyer-detail-anchors {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-left: 0;
  }
  .lawyer-detail-anchors::before,
  .lawyer-detail-anchors a::before,
  .lawyer-detail-anchors a::after {
    display: none;
  }
  .lawyer-detail-anchors a {
    width: 100%;
    height: 48px;
    border: 1px solid #c00000;
    font-size: 16px;
  }
  .lawyer-detail-heading {
    margin-bottom: 50px;
  }
  .lawyer-detail-identity {
    display: block;
    padding-bottom: 12px;
  }
  .lawyer-detail-identity h1 {
    font-size: 30px;
    line-height: 42px;
  }
  .lawyer-detail-identity .lawyer-role {
    margin-top: 8px;
    font-size: 16px;
  }
  .lawyer-detail-summary {
    font-size: 16px;
  }
  .lawyer-detail-sections section {
    margin-bottom: 45px;
  }
  .lawyer-detail-sections h2 {
    font-size: 22px;
  }
}
/* 243:10068 联系我们内容区。主体使用文档流，电话信息仅覆盖在预约图片内。 */
/* 锚点跳转保留吸顶导航的空间，桌面与移动端共用实际头部高度。 */
.contact-page #consultation,
.contact-page #network {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.contact-page .contact-section-title {
  color: var(--red);
  font-size: 40px;
  line-height: 53px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}
.contact-evaluation-section {
  padding: 70px 0 90px;
}
.contact-evaluation-section .contact-section-title {
  margin-bottom: 40px;
}
.contact-evaluation {
  display: grid;
  grid-template-columns: 29.268293% minmax(0, 70.731707%);
  min-height: 610px;
}
.contact-evaluation-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #171717;
}
.contact-evaluation-image {
  position: absolute;
  top: -10.47%;
  left: -10.73%;
  width: 219.16%;
  max-width: none;
  height: 110.47%;
  pointer-events: none;
}
.contact-evaluation-visual::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.79));
  pointer-events: none;
}
.contact-hotline {
  position: absolute;
  z-index: 2;
  left: 70px;
  right: 70px;
  top: 227px;
  color: #fff;
  text-align: center;
}
.contact-hotline-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 34px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}
.contact-hotline-label img {
  width: 50px;
  height: 50px;
}
.contact-hotline > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 12px 35px;
  border: 1px solid var(--red);
  border-radius: 80px;
  background: var(--red);
  color: #fff;
  font-size: 36px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.contact-hotline > a:hover,
.contact-hotline > a:focus-visible {
  color: #fff;
  background: #a90000;
}
.contact-form {
  display: flex;
  align-items: flex-start;
  padding: 60px 80px;
  background: #f3f3f3;
}
.contact-form .consultation-form {
  width: 100%;
}
.contact-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}
.contact-form .consultation-form label {
  color: #333;
  line-height: 21px;
}
.contact-form .consultation-form label > span {
  color: #f00;
}
.contact-form .consultation-form input,
.contact-form .consultation-form select,
.contact-form .consultation-form textarea {
  border-color: #dedede;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-family: var(--font-yahei);
  font-size: 14px;
  line-height: 19px;
}
.contact-form .consultation-form input,
.contact-form .consultation-form select {
  height: 40px;
  min-height: 40px;
  padding: 9px 14px;
}
.contact-form .consultation-form textarea {
  height: 209px;
  min-height: 209px;
  resize: vertical;
}
.contact-form .consultation-form ::placeholder {
  color: #a6a6a6;
  font-weight: 400;
  opacity: 1;
}
.contact-form .consultation-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  cursor: pointer;
  background-image: url('../images/consultation-select-1069.svg?v=20261015-5');
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px 10px;
}
.contact-form .consultation-form input:focus,
.contact-form .consultation-form select:focus,
.contact-form .consultation-form textarea:focus {
  outline: none;
  border-color: #dedede;
  box-shadow: none;
}
.contact-form .form-status:empty {
  min-height: 0;
  margin: 0;
}
.contact-form .submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 148px;
  min-width: 148px;
  height: 48px;
  min-height: 48px;
  margin: 20px auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.contact-form .submit-button img {
  width: 22px;
  height: 22px;
}
.contact-form .submit-button:hover,
.contact-form .submit-button:focus-visible {
  color: #fff;
  background: #a90000;
}
.contact-network-section {
  min-height: 1649px;
  padding: 30px 0 120px;
  background: #fff url('../images/contact-network-bg.png') center bottom/100% auto no-repeat;
}
.contact-network-section .contact-section-title {
  margin-bottom: 40px;
}
.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.branch-card {
  position: relative;
  min-height: 452px;
  overflow: hidden;
  padding: 39px;
  border: 20px solid #f3f3f3;
  border-radius: 10px;
  background: #fff;
}
.branch-card::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: 25px;
  width: 88px;
  height: 69px;
  background: url('../images/contact-watermark.png') center/contain no-repeat;
  opacity: .1;
  pointer-events: none;
}
.branch-card h3 {
  position: relative;
  z-index: 1;
  min-height: 68px;
  margin: 0;
  color: var(--red);
  font-size: 28px;
  line-height: 37px;
  font-weight: 400;
  letter-spacing: 0;
}
.branch-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--red);
}
.branch-card dl {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 265px;
  margin: 0;
  padding-top: 30px;
  border-top: 1px solid #dadada;
  color: #333;
  font-size: 16px;
  line-height: 18px;
}
.branch-detail-row {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}
.branch-card dt {
  flex: 0 0 auto;
  color: #333;
  font-weight: 400;
  white-space: nowrap;
}
.branch-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
/* 搜索页内容区，对应 Figma 节点 243:10203、243:10248、243:10292。 */
.search-page {
  min-height: 1070px;
  padding: 25px 0 120px;
}
.search-page .search-breadcrumb {
  width: auto;
  justify-content: flex-start;
}
.search-form {
  display: flex;
  width: min(100%, 780px);
  height: 50px;
  margin: 72px auto 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 25px;
  background: #fff;
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 28px;
  border: 0;
  outline: 0;
  color: #333;
  background: transparent;
  font-size: 16px;
}
.search-form input::placeholder {
  color: #999;
}
.search-form button {
  display: flex;
  width: 100px;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 25px;
  background: #c00000;
}
.search-form button img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}
.search-summary {
  margin-top: 54px;
  color: #333;
  font-size: 16px;
  line-height: 24px;
}
.search-summary strong {
  color: #c00000;
  font-weight: 700;
}
.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 35px;
}
.search-tabs a {
  display: inline-flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 26px;
  color: #333;
  background: #ededed;
  font-size: 16px;
  line-height: 21px;
}
.search-tabs a:hover,
.search-tabs a:focus-visible,
.search-tabs .active {
  color: #fff;
  background: #c00000;
}
.search-results-divider {
  margin-top: 20px;
  border-top: 1px solid #ddd;
}
.search-case-grid,
.search-news-grid,
.search-party-results {
  margin-top: 39px;
}
.search-case-grid .case-list-copy h3 mark {
  color: #c00000;
  background: transparent;
}
.search-news-grid {
  column-gap: 40px;
  row-gap: 25px;
}
.search-news-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f7f7f7;
  transition: box-shadow 0.3s ease;
}
.search-news-card > a {
  display: flex;
  height: 540px;
  flex-direction: column;
}
.search-news-photo {
  height: 280px;
  flex: 0 0 280px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #eee;
}
.search-news-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.search-news-copy {
  height: 200px;
  padding: 20px 35px 30px;
}
.search-news-category {
  overflow: hidden;
  color: #c00000;
  font-size: 15px;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-news-copy h3 {
  min-height: 56px;
  margin-top: 15px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.3s ease;
}
.search-news-summary {
  margin-top: 15px;
  color: #666;
  font-size: 15px;
  line-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.search-news-bottom {
  display: flex;
  height: 60px;
  flex: 0 0 60px;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  border-top: 1px solid #ddd;
  color: #999;
  font-size: 15px;
  line-height: 20px;
}
.search-news-arrow {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  transition: transform 0.3s ease;
}
span.search-news-arrow {
  background: url('../images/search-news-arrow.svg') center/14px 14px no-repeat;
}
.search-news-card:hover,
.search-news-card:focus-within {
  box-shadow: 0 0 5px rgba(71, 71, 71, 0.25);
}
.search-news-card:hover .search-news-photo img,
.search-news-card:focus-within .search-news-photo img {
  transform: scale(1.04);
}
.search-news-card:hover h3,
.search-news-card:focus-within h3 {
  color: #c00000;
}
.search-news-card:hover .search-news-arrow,
.search-news-card:focus-within .search-news-arrow {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .search-news-arrow {
    transition: none;
  }
}
.search-party-results.party-list-page .party-news-card > a {
  width: 100%;
}
.search-empty {
  min-height: 589px;
  padding-top: 89px;
  color: #333;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
}
.search-empty img {
  width: 280px;
  height: 280px;
  margin: 0 auto 39px;
}
.search-page .pagination {
  gap: 8px;
  margin-top: 60px;
}
.search-page .pagination a {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: 3px;
  font-size: 14px;
}
@media (max-width: 1200px) {
  .search-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-news-card > a {
    height: auto;
    min-height: 500px;
  }
  .search-news-photo {
    height: auto;
    flex-basis: auto;
    aspect-ratio: 26 / 14;
  }
  .search-news-copy {
    height: auto;
    min-height: 180px;
    flex: 1;
  }
}
@media (max-width: 1500px) {
  .advantage-row,
  .advantage-row:nth-of-type(even) {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .advantage-copy p {
    font-size: 16px;
  }
  .advantage-copy h2 {
    font-size: 26px;
  }
  .lawyer-profile {
    gap: 55px;
  }
  .party-list .news-card > a {
    grid-template-columns: 1fr 40%;
  }
  .media-grid .news-photo {
    flex-basis: 48%;
  }
  .contact-form {
    padding-right: 55px;
    padding-left: 55px;
  }
  .contact-hotline {
    left: 40px;
    right: 40px;
  }
  .contact-hotline > a {
    padding-right: 22px;
    padding-left: 22px;
    font-size: 30px;
  }
  .branch-card {
    padding: 34px;
  }
  .branch-card h3 {
    font-size: 25px;
  }
}
@media (max-width: 1000px) {
  .about-gallery > img {
    height: 320px;
  }
  .about-statistics strong {
    font-size: 38px;
  }
  .advantage-row {
    gap: 30px;
  }
  .advantage-copy .large-number {
    font-size: 55px;
  }
  .advantage-copy h2 {
    font-size: 24px;
  }
  .practice-detail {
    gap: 35px;
  }
  .practice-detail h2 {
    font-size: 28px;
  }
  .practice-detail p {
    font-size: 17px;
  }
  .practice-detail img {
    height: 340px;
  }
  .lawyer-profile {
    grid-template-columns: 320px 1fr;
    gap: 35px;
  }
  .profile-photo {
    width: 320px;
    height: 400px;
  }
  .lawyer-biography {
    grid-template-columns: 200px 1fr;
    gap: 35px;
  }
  .lawyer-profile h1 {
    font-size: 36px;
  }
  .lawyer-profile .lawyer-role {
    font-size: 18px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .contact-evaluation {
    grid-template-columns: 1fr;
  }
  .contact-evaluation-visual {
    min-height: 460px;
  }
  .contact-hotline {
    top: 150px;
    left: max(30px, 20%);
    right: max(30px, 20%);
  }
  .contact-form {
    padding: 50px;
  }
  .contact-network-section {
    min-height: 0;
  }
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .branch-card {
    padding: 39px;
  }
  .branch-card dl {
    font-size: 15px;
  }
  .article-detail {
    padding: 35px;
  }
  .article-heading h1 {
    font-size: 26px;
  }
  .case-detail {
    padding: 35px;
  }
  .case-detail .article-heading h1 {
    font-size: 30px;
    line-height: 42px;
  }
}
@media (max-width: 700px) {
  .about-gallery,
  .advantage-row,
  .advantage-row:nth-of-type(even),
  .practice-detail,
  .lawyer-profile,
  .lawyer-biography,
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .advantage-row:nth-of-type(even) .advantage-picture {
    order: 0;
  }
  .about-gallery > img {
    height: auto;
  }
  .about-statistics {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
  }
  .about-statistics strong {
    font-size: 32px;
  }
  .about-statistics span {
    font-size: 15px;
  }
  .advantage-row {
    padding: 35px 0;
  }
  .advantage-copy p {
    font-size: 15px;
  }
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .step-number {
    font-size: 45px;
  }
  .process-step h2 {
    font-size: 24px;
  }
  .process-step p {
    font-size: 16px;
  }
  .practice-detail {
    padding-bottom: 30px;
  }
  .practice-detail img {
    height: 250px;
  }
  .article-detail {
    padding: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .article-heading h1 {
    font-size: 22px;
  }
  .case-detail {
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 24px;
  }
  .case-detail .article-heading {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .case-detail .article-heading h1 {
    font-size: 22px;
    line-height: 34px;
  }
  .case-detail .article-images {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-detail .article-neighbours {
    overflow-wrap: anywhere;
  }
  .profile-photo {
    width: 100%;
    height: 450px;
  }
  .lawyer-biography {
    padding-top: 40px;
  }
  .detail-anchors {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  .detail-anchors a {
    padding: 10px 14px;
    font-size: 14px;
  }
  .lawyer-biography p {
    font-size: 16px;
  }
  .lawyer-biography h2 {
    font-size: 24px;
  }
  .contact-page .contact-section-title {
    font-size: 30px;
    line-height: 42px;
  }
  .contact-evaluation-section {
    padding: 45px 0 60px;
  }
  .contact-evaluation-section .contact-section-title,
  .contact-network-section .contact-section-title {
    margin-bottom: 28px;
  }
  .contact-evaluation-visual {
    min-height: 390px;
  }
  .contact-hotline {
    top: 118px;
    left: 24px;
    right: 24px;
  }
  .contact-hotline-label {
    margin-bottom: 24px;
    font-size: 18px;
  }
  .contact-hotline-label img {
    width: 42px;
    height: 42px;
  }
  .contact-hotline > a {
    min-height: 66px;
    padding: 10px 18px;
    font-size: 26px;
    line-height: 36px;
  }
  .contact-form {
    padding: 32px 24px;
  }
  .contact-form .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-form .consultation-form textarea {
    height: 180px;
    min-height: 180px;
  }
  .contact-network-section {
    padding: 20px 0 70px;
    background-size: auto 434px;
  }
  .branch-card {
    min-height: 0;
    padding: 24px 20px;
    border-width: 12px;
  }
  .branch-card h3 {
    min-height: 0;
    padding-bottom: 24px;
    font-size: 22px;
    line-height: 32px;
  }
  .branch-card dl {
    min-height: 0;
    gap: 14px;
    padding-top: 24px;
    font-size: 14px;
    line-height: 22px;
  }
  .branch-card::after {
    right: 20px;
    bottom: 16px;
  }
  .search-page {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 18px 0 60px;
  }
  .search-form {
    height: 46px;
    margin-top: 40px;
  }
  .search-form input {
    height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }
  .search-form button {
    width: 70px;
    flex-basis: 70px;
  }
  .search-form button img {
    width: 24px;
    height: 24px;
  }
  .search-summary {
    margin-top: 34px;
    font-size: 15px;
  }
  .search-tabs {
    gap: 10px;
    margin-top: 22px;
  }
  .search-tabs a {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 14px;
  }
  .search-results-divider {
    margin-top: 16px;
  }
  .search-case-grid,
  .search-news-grid,
  .search-party-results {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .search-news-grid {
    gap: 24px;
  }
  .search-news-card > a {
    min-height: 0;
  }
  .search-news-copy {
    min-height: 0;
    padding: 18px 20px 24px;
  }
  .search-news-copy h3 {
    font-size: 18px;
    line-height: 26px;
  }
  .search-news-bottom {
    padding: 0 20px;
  }
  .search-party-results.party-list-page .party-news-card > a {
    width: 100%;
  }
  .search-empty {
    min-height: 360px;
    padding-top: 50px;
    font-size: 15px;
  }
  .search-empty img {
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
  }
  .party-list .news-card > a {
    display: flex;
    flex-direction: column;
  }
  .party-list .news-photo {
    margin: 0;
  }
  .party-list .news-copy {
    padding: 25px;
  }
  .media-grid .news-card > a {
    height: auto;
    min-height: 280px;
  }
  .media-grid .news-photo {
    flex-basis: 43%;
  }
  .media-grid .news-copy {
    padding: 20px;
  }
  .media-grid .news-copy h3 {
    font-size: 16px;
  }
  .media-grid .summary {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }
}

/* 专业团队列表：文字颜色由数据决定，卡片装饰仅在悬停或键盘聚焦时出现。 */
.lawyer-list-page .page-section {
  padding-top: 70px;
  padding-bottom: 120px;
}
.lawyer-list-heading {
  margin-bottom: 40px;
  color: #c00000;
  font-size: 32px;
  font-weight: 700;
  line-height: 53px;
  text-align: center;
}
.lawyer-list-page .lawyer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.lawyer-list-page .lawyer-card {
  position: relative;
  min-width: 0;
  min-height: 400px;
  border: 0;
  background: #f6f6f6;
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.lawyer-list-page .lawyer-card::after {
  position: absolute;
  inset: 20px;
  z-index: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 0.3s ease;
}
.lawyer-list-page .lawyer-card > a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  padding: 40px;
  height: 100%;
}
.lawyer-list-page .lawyer-card:hover,
.lawyer-list-page .lawyer-card:focus-within {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 0 5px rgba(65, 65, 65, 0.25);
}
.lawyer-list-page .lawyer-card:hover::after,
.lawyer-list-page .lawyer-card:focus-within::after {
  border-color: #de983a;
}
.lawyer-list-page .lawyer-photo {
  width: 300px;
  height: 320px;
  aspect-ratio: auto;
  background: #eee;
}
.lawyer-list-page .lawyer-copy {
  display: flex;
  height: 320px;
  flex-direction: column;
  padding: 0;
  min-width: 0;
}
.lawyer-list-page .lawyer-copy h3 {
  padding-top: 10px;
  color: #333;
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
}
.lawyer-list-page .lawyer-role {
  margin: 15px 0 0;
  color: #c00000;
  font-size: 18px;
  line-height: 26px;
  min-height: 52px;
  white-space: pre-line;
}
.lawyer-list-page .lawyer-role.founder {
  color: #de9406;
}
.lawyer-list-page .lawyer-expertise-heading {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid #dedede;
  padding: 0 0 5px;
  font-size: 17px;
  line-height: 28px;
}
.lawyer-list-page .lawyer-copy .lawyer-expertise-heading {
  margin: 30px 0 10px;
}
.lawyer-list-page .lawyer-copy .summary {
  display: -webkit-box;
  height: 88px;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  line-height: 22px;
  opacity: 0.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.lawyer-list-page .lawyer-copy .card-more {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 0;
  padding-top: 10px;
  color: #666;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0.96px;
  transition: color 0.3s ease;
}
.lawyer-list-page .lawyer-copy .card-more-arrow {
  display: block;
  width: 8px;
  height: 14px;
  flex: 0 0 8px;
  background-color: currentColor;
  -webkit-mask: url("../images/lawyer-more-arrow.svg") center / contain no-repeat;
  mask: url("../images/lawyer-more-arrow.svg") center / contain no-repeat;
}
.lawyer-list-page .lawyer-card:hover .card-more,
.lawyer-list-page .lawyer-card:focus-within .card-more {
  color: #c00000;
}
@media (max-width: 1650px) {
  .lawyer-list-page .lawyer-card > a {
    grid-template-columns: 40% 1fr;
    gap: 25px;
    padding: 30px;
  }
  .lawyer-list-page .lawyer-photo {
    width: 100%;
  }
  .lawyer-list-page .lawyer-card::after {
    inset: 14px;
  }
}
@media (max-width: 1000px) {
  .lawyer-list-page .lawyer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 550px) {
  .lawyer-list-page .page-section {
    padding-top: 45px;
    padding-bottom: 70px;
  }
  .lawyer-list-heading {
    margin-bottom: 25px;
    font-size: 26px;
    line-height: 38px;
  }
  .lawyer-list-page .lawyer-card > a {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .lawyer-list-page .lawyer-card::after {
    inset: 10px;
  }
  .lawyer-list-page .lawyer-photo {
    height: 340px;
  }
  .lawyer-list-page .lawyer-copy {
    height: auto;
  }
  .lawyer-list-page .lawyer-copy h3 {
    font-size: 26px;
  }
}

.lawyer-list-page .lawyer-photo img {
  object-fit: cover;
  object-position: center top;
}

/* 关于我们四个页面，尺寸与间距对应 Figma 1920px 画布节点。 */
.about-body-heading {
  width: min(1640px, 85.416667%);
  margin: 0 auto;
  padding-top: 80px;
  text-align: center;
}
.about-body-heading h2 {
  color: #c00000;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: 0;
}
.about-body-heading p {
  margin-top: 17px;
  color: #333;
  font-size: 18px;
  line-height: 28px;
  white-space: pre-line;
}

/* 律所简介 */
.about-introduction {
  padding-bottom: 90px;
  background: #fff url("/profile/images/about-body-bg.png") center bottom / 100% auto no-repeat;
}
.about-introduction-inner {
  padding-top: 80px;
}
.about-title {
  text-align: center;
}
.about-title h2 {
  color: #c00000;
  font-size: 36px;
  font-weight: 700;
  line-height: 51px;
}
.about-title p {
  margin-top: 13px;
  color: #333;
  font-size: 30px;
  line-height: 42px;
}
.about-content {
  margin-top: 47px;
  color: #333;
  font-size: 16px;
  line-height: 31px;
  letter-spacing: 0;
  text-align: justify;
}
.about-content p {
  margin: 0;
  text-indent: 2em;
}
.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
}
.about-metrics article {
  display: flex;
  align-items: center;
  gap: 20px;
}
.about-metrics article > img {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.about-metrics article > div {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 150px;
}
.about-metrics span {
  flex: 0 0 100%;
  color: #333;
  font-size: 16px;
  line-height: 23px;
}
.about-metrics i {
  flex: 0 0 30px;
  height: 1px;
  margin: 10px calc(100% - 30px) 5px 0;
  background: #c00000;
}
.about-metrics strong {
  color: #c00000;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
}
.about-metrics em {
  padding-bottom: 7px;
  color: #c00000;
  font-size: 16px;
  font-style: normal;
  line-height: 22px;
}
.about-team-photo {
  position: relative;
  margin-top: 120px;
  overflow: hidden;
}
.about-team-base {
  width: 100%;
  max-width: none;
  object-fit: cover;
  inset: 0;
  height: 100%;
  object-position: center bottom;
}

/* 执业优势 */
.advantage-detail-page .about-body-heading {
  margin-bottom: 60px;
}
.advantage-detail-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 100px;
}
.advantage-detail-row {
  display: grid;
  grid-template-columns: 720px 650px;
  gap: 70px;
  align-items: center;
  min-height: 470px;
  padding: 60px 100px;
  background: #f8f8f8;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.advantage-detail-row:nth-child(even) {
  grid-template-columns: 650px 720px;
}
.advantage-detail-row:nth-child(even) .advantage-detail-picture {
  grid-column: 1;
  grid-row: 1;
}
.advantage-detail-row:nth-child(even) .advantage-detail-copy {
  grid-column: 2;
}
.advantage-detail-copy {
  min-width: 0;
}
.detail-index {
  position: relative;
  display: inline-block;
  min-width: 42px;
  margin-bottom: 21px;
  color: #c00000;
  font-family: var(--font-misans);
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
}
.detail-index::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  width: 35.114px;
  height: 2px;
  transform: rotate(109.98deg);
  background: url("/profile/images/advantage-index-slash.svg") center / 100% 100% no-repeat;
}
.detail-title {
  margin-bottom: 20px;
}
.detail-title h3,
.detail-title p {
  font-size: 20px;
  line-height: 36px;
}
.detail-title h3 {
  font-weight: 700;
}
.detail-title p {
  color: #333;
}
.detail-title h3,
.detail-title p {
  transition: color 0.3s ease;
}
@media (hover: hover) {
  .advantage-detail-row:hover {
    background: #fff;
    box-shadow: 0 0 6px rgba(75, 75, 75, 0.25);
  }
  .advantage-detail-row:hover .detail-title h3,
  .advantage-detail-row:hover .detail-title p {
    color: #c00000;
  }
}
.detail-content {
  color: #666;
  font-size: 16px;
  line-height: 28px;
  white-space: pre-line;
}
.advantage-detail-picture {
  height: 350px;
  overflow: hidden;
}
.advantage-detail-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 媒体合作 */
.media-cooperation-page .about-body-heading {
  margin-bottom: 40px;
}
.media-cooperation-list {
  padding-bottom: 100px;
}
.media-cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.media-cooperation-card {
  height: 300px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f2f2f2;
  transition: border-color .3s ease, background-color .3s ease;
}
.media-cooperation-card > a {
  display: grid;
  grid-template-columns: 353px 450px;
  height: 100%;
}
.media-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px 33px 30px 39px;
}
.media-card-copy > i {
  width: 40px;
  height: 2px;
  margin-bottom: 10px;
  background: #c00000;
  transition: background .3s ease;
}
.media-card-copy h3 {
  height: 96px;
  overflow: hidden;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  transition: color .3s ease;
}
.media-card-copy time {
  position: relative;
  margin-top: 25px;
  padding-left: 17px;
  color: #888;
  font-size: 14px;
  line-height: 18px;
  transition: color .3s ease, opacity .3s ease;
}
.media-card-copy time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.media-card-copy time::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 1px;
  height: 4px;
  background: currentColor;
  box-shadow: 2px 4px 0 currentColor;
}
.media-card-picture {
  height: 300px;
  overflow: hidden;
}
.media-card-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-cooperation-card:hover,
.media-cooperation-card:focus-within {
  border-color: #c00000;
  background: #c00000;
}
.media-cooperation-card:hover .media-card-copy > i,
.media-cooperation-card:focus-within .media-card-copy > i {
  background: linear-gradient(164deg, #de983a 11%, #ffebbe 57%, #f2a30c 96%);
}
.media-cooperation-card:hover h3,
.media-cooperation-card:hover time,
.media-cooperation-card:focus-within h3,
.media-cooperation-card:focus-within time {
  color: #fff;
}
.media-cooperation-card:hover time,
.media-cooperation-card:focus-within time {
  opacity: .8;
}

/* 办案流程 */
.process-detail-page .about-body-heading {
  margin-bottom: 133px;
}
.process-detail-section {
  position: relative;
  padding-bottom: 85px;
  overflow: hidden;
}
.process-detail-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 605px;
  background: url("/profile/images/process-page-bg.png") center bottom / 100% 605px no-repeat;
  pointer-events: none;
}
.process-timeline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(1470px, 90%);
  margin: 0 auto;
}
.process-timeline::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 163px;
  bottom: 122px;
  left: 50%;
  border-left: 1px dashed #d7b785;
}
.process-detail-step {
  display: grid;
  grid-template-columns: 640px 90px 640px;
  gap: 50px;
  align-items: center;
  min-height: 236px;
}
.process-detail-page.motion-ready .process-detail-step {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .55s ease, transform .55s ease;
}
.process-detail-page.motion-ready .process-detail-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.process-detail-copy {
  grid-column: 3;
  min-width: 0;
}
.process-detail-copy h3 {
  margin-bottom: 24px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  transition: color .3s ease;
}
.process-detail-step:hover .process-detail-copy h3,
.process-detail-step:focus-within .process-detail-copy h3 {
  color: #c00000;
}
.process-detail-copy p {
  color: #666;
  font-size: 16px;
  line-height: 28px;
  white-space: pre-line;
}
.process-node {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: url("/profile/images/process-node-ring.svg") center / 100% 100% no-repeat;
  color: #fff;
  font-family: var(--font-misans);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.process-node::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px;
  border-radius: 50%;
  background: #c00000;
}
.process-picture {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 23px;
}
.process-picture::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 34px solid transparent;
  border-bottom: 34px solid transparent;
  border-left: 23px solid #c00000;
}
.process-picture > div {
  width: 418px;
  height: 238px;
  padding: 8px;
  border: 1px solid #c00000;
  border-radius: 15px;
}
.process-picture img {
  width: 400px;
  height: 220px;
  border-radius: 10px;
  object-fit: cover;
}
.process-detail-step:nth-child(even) .process-detail-copy {
  grid-column: 1;
}
.process-detail-step:nth-child(even) .process-picture {
  grid-column: 3;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 23px;
}
.process-detail-step:nth-child(even) .process-picture::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(180deg);
}
.process-sign {
  position: relative;
  z-index: 2;
  align-self: center;
  flex: 0 0 auto;
  width: 104px;
  height: 122px;
  margin-top: -46px;
  overflow: hidden;
}
.process-sign img {
  width: 635px;
  height: 122px;
  max-width: none;
  transform: translateX(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .process-detail-page.motion-ready .process-detail-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1700px) {
  .advantage-detail-row {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
    padding-right: 5vw;
    padding-left: 5vw;
  }
  .advantage-detail-row:nth-child(even) {
    grid-template-columns: minmax(420px, .9fr) minmax(0, 1fr);
  }
  .media-cooperation-card > a {
    grid-template-columns: minmax(250px, 44%) 1fr;
  }
  .process-timeline {
    width: 90%;
  }
  .process-detail-step {
    grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
  }
}

@media (max-width: 1200px) {
  .about-metrics {
    grid-template-columns: repeat(2, auto);
    gap: 40px;
  }
  .advantage-detail-row,
  .advantage-detail-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 45px;
    padding: 45px;
  }
  .advantage-detail-row:nth-child(even) .advantage-detail-picture {
    grid-column: 1;
  }
  .advantage-detail-row:nth-child(even) .advantage-detail-copy {
    grid-column: 2;
  }
  .media-cooperation-grid {
    grid-template-columns: 1fr;
  }
  .process-detail-step {
    grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
    gap: 24px;
  }
  .process-node {
    width: 74px;
    height: 74px;
    font-size: 25px;
  }
  .process-picture > div {
    width: min(100%, 418px);
    height: auto;
    aspect-ratio: 418 / 238;
  }
  .process-picture img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .about-body-heading {
    width: 90%;
  }
  .about-body-heading h2,
  .about-title h2 {
    font-size: 28px;
    line-height: 40px;
  }
  .about-body-heading p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 26px;
  }
  .about-introduction {
    padding-bottom: 50px;
  }
  .about-title p {
    margin-top: 8px;
    font-size: 20px;
    line-height: 32px;
  }
  .about-content {
    margin-top: 28px;
    line-height: 29px;
  }
  .about-metrics {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .about-metrics article {
    justify-content: center;
  }
  .about-team-photo {
    height: auto;
    aspect-ratio: 1640 / 530;
    margin-top: 50px;
  }
  .advantage-detail-page .about-body-heading,
  .media-cooperation-page .about-body-heading {
    margin-bottom: 35px;
  }
  .advantage-detail-list {
    gap: 24px;
    padding-bottom: 60px;
  }
  .advantage-detail-row,
  .advantage-detail-row:nth-child(even) {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 0;
    padding: 28px 24px;
  }
  .advantage-detail-row:nth-child(even) .advantage-detail-picture {
    order: 2;
  }
  .advantage-detail-picture {
    width: 100%;
    height: auto;
    aspect-ratio: 650 / 350;
  }
  .media-cooperation-list {
    width: 90%;
    padding-bottom: 60px;
  }
  .media-cooperation-card {
    height: auto;
  }
  .media-cooperation-card > a {
    grid-template-columns: 1fr;
  }
  .media-card-picture {
    grid-row: 1;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .media-card-copy {
    min-height: 220px;
    padding: 28px;
  }
  .process-detail-page .about-body-heading {
    margin-bottom: 60px;
  }
  .process-detail-section {
    min-height: 0;
    padding: 0 5% 80px;
  }
  .process-detail-section::after {
    height: 360px;
    background-size: auto 360px;
  }
  .process-timeline {
    gap: 50px;
    width: 100%;
  }
  .process-timeline::before {
    left: 37px;
    top: 74px;
    bottom: 74px;
  }
  .process-detail-step,
  .process-detail-step:nth-child(even) {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 20px;
  }
  .process-node,
  .process-detail-step:nth-child(even) .process-node {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }
  .process-detail-copy,
  .process-detail-step:nth-child(even) .process-detail-copy {
    grid-column: 2;
    grid-row: 1;
  }
  .process-picture,
  .process-detail-step:nth-child(even) .process-picture {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    padding: 0;
  }
  .process-picture::after,
  .process-detail-step:nth-child(even) .process-picture::after {
    display: none;
  }
  .process-sign {
    display: none;
  }
}

@media (max-width: 1200px) {
  .news-list-page .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .news-list-page .dynamic-news-content {
    padding: 40px 0 60px;
  }
  .news-list-page .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-list-page .dynamic-news-photo {
    height: auto;
    aspect-ratio: 26 / 15;
  }
  .news-list-page .dynamic-news-copy {
    padding: 18px 20px 28px;
  }
  .news-list-page .dynamic-news-copy h3 {
    min-height: 52px;
    font-size: 18px;
    line-height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-list-page .dynamic-news-card,
  .news-list-page .dynamic-news-copy h3 {
    transition: none;
  }
}

@media (max-width: 1200px) {
  .party-list-page .party-news-card > a {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 42%);
    gap: 48px;
  }
  .party-list-page .party-news-photo {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .party-list-page .party-news-content {
    padding: 40px 0 60px;
  }
  .party-list-page .party-news-card > a {
    width: min(calc(100% - 32px), 520px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0 30px;
  }
  .party-list-page .party-news-photo {
    grid-row: 1;
    height: auto;
    aspect-ratio: 520 / 300;
  }
  .party-list-page .party-news-copy {
    grid-row: 2;
  }
  .party-list-page .party-news-date {
    margin-bottom: 16px;
  }
  .party-list-page .party-news-text {
    padding-bottom: 22px;
  }
  .party-list-page .party-news-text h3 {
    font-size: 18px;
    line-height: 26px;
  }
  .party-list-page .party-news-text p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 26px;
    -webkit-line-clamp: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .party-list-page .party-news-card,
  .party-list-page .party-news-text h3,
  .party-list-page .party-news-more {
    transition: none;
  }
}

/* 资质荣誉：Figma 465:16128。卡片主体使用Grid，图片裁切限制在卡片内部。 */
.honours-section {
  padding: 70px 0 120px;
  background: #fff;
}
.honours-heading {
  margin-bottom: 40px;
  text-align: center;
}
.honours-heading h2 {
  color: #c00000;
  font-size: 36px;
  font-weight: 700;
  line-height: 53px;
}
.honours-heading p {
  margin-top: 10px;
  color: #333;
  font-size: 16px;
  line-height: 28px;
}
.honours-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 20px;
}
.honour-card {
  display: flex;
  min-width: 0;
  min-height: 368px;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 20px;
  background: #f5f5f5;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.honour-card h2 {
  min-height: 60px;
  overflow: hidden;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  transition: color .3s ease;
}
.honour-card figure {
  height: 250px;
  overflow: hidden;
  background: #e4e5e9;
}
.honour-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.honour-card:hover,
.honour-card:focus-within {
  background: #c00000;
  box-shadow: 0 12px 26px rgba(84, 0, 0, .18);
  transform: translateY(-2px);
}
.honour-card:hover h2,
.honour-card:focus-within h2 {
  color: #fff;
}
.honour-card:hover img,
.honour-card:focus-within img {
  transform: scale(1.035);
}
.honours-page .pagination {
  gap: 8px;
  margin-top: 40px;
}
.honours-page .pagination a {
  min-width: 32px;
  min-height: 32px;
  border-radius: 3px;
  color: #7d7d7d;
  font-size: 14px;
  line-height: 14px;
}
.honours-page .pagination a.active,
.honours-page .pagination a:hover {
  color: #fff;
  background: #c00000;
  border-color: #c00000;
}

@media (max-width: 1200px) {
  .honours-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .honours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .honours-section { padding: 48px 0 70px; }
  .honours-heading { margin-bottom: 28px; }
  .honours-heading h2 { font-size: 28px; line-height: 40px; }
  .honours-heading p { font-size: 15px; line-height: 26px; }
  .honours-grid { grid-template-columns: 1fr; gap: 20px; }
  .honour-card { min-height: 0; }
  .honour-card figure { height: auto; aspect-ratio: 350 / 250; }
}