/* 内页公共头部 */
.inner-site-header,
.inner-site-header.is-scrolled {
  height: 92px;
  border-bottom: 1px solid #e8e8e8;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.inner-site-header .brand-logo-light {
  opacity: 0;
}

.inner-site-header .brand-logo-dark {
  opacity: 1;
}

.inner-site-header .navbar-nav .nav-link,
.inner-site-header .header-search-button {
  color: #262626;
}

.inner-site-header .navbar-nav .nav-link {
  padding-top: 31px;
  padding-bottom: 30px;
}

.inner-site-header .navbar-nav .nav-link.active,
.inner-site-header .navbar-nav .nav-link:hover {
  color: var(--brand-gold);
}

/* 栏目横幅 */
.inner-banner {
  position: relative;
  height: clamp(340px, 35vw, 500px);
  overflow: hidden;
  color: #fff;
  background-image: var(--banner-image);
  background-position: center;
  background-size: cover;
}

.inner-banner::before {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(187, 154, 53, 0.98) 0%,
    rgba(187, 154, 53, 0.92) 22%,
    rgba(178, 149, 60, 0.68) 36%,
    rgba(224, 216, 188, 0.22) 49%,
    rgba(255, 255, 255, 0) 64%
  );
  content: "";
}

.inner-banner::after {
  display: none;
}

.inner-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-left: clamp(20px, calc(370px - 12vw), 240px);
  flex-direction: column;
  justify-content: center;
}

.inner-banner-content h1 {
  margin: 0 0 8px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(32px, 2.15vw, 40px);
  font-weight: 600;
  line-height: 1.35;
}

.inner-banner-content p {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 22px);
  font-weight: 400;
  text-transform: uppercase;
}

.inner-banner-mark {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(280px, 24vw, 455px);
  color: rgba(122, 97, 32, 0.24);
  font-family: "Noto Serif SC", serif;
  font-size: min(28vw, 390px);
  font-weight: 700;
  line-height: 1;
  transform: translate(-50%, -50%);
}

/* 二级导航与面包屑 */
.section-menu-wrap,
.detail-breadcrumb {
  border-bottom: 1px solid #edf0f3;
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 43, 70, 0.04);
}

.section-menu-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
}

.section-tabs a {
  min-width: 130px;
  padding: 11px 24px;
  color: #4b4f55;
  text-align: center;
  transition: color var(--transition), background-color var(--transition);
}

.section-tabs a.active,
.section-tabs a:hover {
  color: #fff;
  background: #bb9a35;
}

.breadcrumb-line,
.detail-breadcrumb > div {
  display: flex;
  align-items: center;
  color: #999fa7;
  font-size: 13px;
  gap: 7px;
}

.breadcrumb-line svg,
.detail-breadcrumb svg {
  width: 16px;
}

.breadcrumb-line strong,
.detail-breadcrumb strong {
  color: #4e545c;
  font-weight: 500;
}

.detail-breadcrumb > div {
  min-height: 68px;
}

.inner-section {
  padding: clamp(74px, 8vw, 122px) 0;
}

.muted-section {
  background: #f5f6f8;
}

.inner-heading {
  margin-bottom: clamp(36px, 5vw, 66px);
}

.inner-heading.centered {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.inner-heading span {
  display: block;
  margin-bottom: 9px;
  color: #bb9a35;
  font-size: 12px;
  font-weight: 600;
}

.inner-heading h2 {
  margin: 0;
  color: #20252c;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 600;
}

/* 关于天习 */
.about-intro {
  position: relative;
  overflow: hidden;
}

.about-title-column {
  position: relative;
  padding-top: 16px;
}

.about-title-column > span {
  position: absolute;
  top: 0;
  left: -18px;
  color: rgba(187, 154, 53, 0.12);
  font-family: Georgia, serif;
  font-size: clamp(76px, 9vw, 136px);
  line-height: 0.8;
  transform: rotate(90deg) translateX(48%);
  transform-origin: left top;
}

.about-title-column h2 {
  position: relative;
  margin: 0 0 16px;
  color: #bb9a35;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.45;
}

.about-title-column p {
  color: #9298a1;
  font-size: 13px;
}

.about-copy-column p {
  margin: 0 0 22px;
  color: #555c65;
  font-size: 16px;
  line-height: 2.15;
}

.about-gallery {
  display: grid;
  margin-top: 76px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, 230px);
  gap: 18px;
}

.about-gallery figure {
  margin: 0;
  overflow: hidden;
}

.about-gallery figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.about-gallery figure:nth-child(2),
.about-gallery figure:nth-child(3) {
  grid-column: span 5;
}

.about-gallery figure:nth-child(4) {
  display: none;
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.about-gallery figure:hover img {
  transform: scale(1.04);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d9dde3;
  border-left: 1px solid #d9dde3;
}

.value-item {
  min-height: 270px;
  padding: 32px 26px;
  border-right: 1px solid #d9dde3;
  border-bottom: 1px solid #d9dde3;
  background: #fff;
}

.value-item b {
  color: #b9bec6;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.value-item h3 {
  margin: 42px 0 18px;
  color: #7a6120;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

.value-item p {
  margin: 0;
  color: #6d737c;
  font-size: 14px;
}

.honor-list {
  border-top: 1px solid #dfe2e6;
}

.honor-list article {
  display: grid;
  min-height: 92px;
  align-items: center;
  border-bottom: 1px solid #dfe2e6;
  grid-template-columns: 120px 1fr 36px;
  gap: 24px;
}

.honor-list time {
  color: #bb9a35;
  font-family: Georgia, serif;
  font-size: 26px;
}

.honor-list h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 500;
}

.honor-list svg {
  color: #bb9a35;
}

/* 专业领域 */
.inner-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe2e6;
  border-left: 1px solid #dfe2e6;
}

.inner-practice-card {
  position: relative;
  display: flex;
  min-height: 355px;
  padding: 36px 32px;
  overflow: hidden;
  border-right: 1px solid #dfe2e6;
  border-bottom: 1px solid #dfe2e6;
  color: #252a31;
  background: #fff;
  flex-direction: column;
  transition: color var(--transition), background-color var(--transition);
}

.inner-practice-card > span {
  color: #b8bec6;
  font-family: Georgia, serif;
  font-size: 13px;
}

.inner-practice-card > div {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin: 35px 0 26px;
  color: #bb9a35;
  border: 1px solid rgba(187, 154, 53, 0.35);
}

.inner-practice-card > div svg {
  width: 29px;
  height: 29px;
}

.inner-practice-card h2 {
  margin: 0 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
}

.inner-practice-card p {
  margin: 0;
  color: #707781;
  font-size: 13px;
  line-height: 1.85;
}

.inner-practice-card > b {
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: #bb9a35;
}

.inner-practice-card:hover {
  color: #fff;
  background: #bb9a35;
}

.inner-practice-card:hover p,
.inner-practice-card:hover > span,
.inner-practice-card:hover > div {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.45);
}

.detail-lead {
  display: flex;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid #dfe2e6;
  gap: 28px;
}

.detail-lead-icon {
  display: flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  color: #bb9a35;
  border: 1px solid rgba(187, 154, 53, 0.32);
}

.detail-lead-icon svg {
  width: 40px;
  height: 40px;
}

.detail-lead p {
  margin: 0 0 6px;
  color: #989ea6;
  font-size: 12px;
}

.detail-lead h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(32px, 4vw, 52px);
}

.detail-copy {
  max-width: 1050px;
  padding: 54px 0 30px;
}

.detail-copy p {
  color: #565d66;
  font-size: 16px;
  line-height: 2.1;
}

.service-scope {
  margin-top: 46px;
}

.service-scope > h2 {
  margin: 0 0 28px;
  color: #bb9a35;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
}

.service-scope > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dfe2e6;
  border-left: 1px solid #dfe2e6;
}

.service-scope article {
  display: flex;
  min-height: 100px;
  align-items: center;
  padding: 24px 30px;
  border-right: 1px solid #dfe2e6;
  border-bottom: 1px solid #dfe2e6;
  gap: 22px;
}

.service-scope article span {
  color: #bb9a35;
  font-family: Georgia, serif;
}

.service-scope article h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

/* 律师筛选和卡片 */
.lawyer-filters {
  margin-bottom: 64px;
  border: 1px solid #e2e5e9;
  background: #fff;
}

.filter-row,
.lawyer-search {
  display: grid;
  min-height: 66px;
  border-bottom: 1px solid #e2e5e9;
  grid-template-columns: 108px 1fr;
}

.filter-row > strong,
.lawyer-search > label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #3b4148;
  background: #f2f3f5;
  font-weight: 500;
}

.filter-row > div {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 7px 9px;
}

.filter-row button {
  min-width: 38px;
  padding: 7px 10px;
  border: 0;
  color: #30353b;
  background: transparent;
  font-size: 13px;
}

.filter-row button.active,
.filter-row button:hover {
  color: #fff;
  background: #bb9a35;
}

.lawyer-search {
  border-bottom: 0;
}

.lawyer-search > div {
  display: flex;
  max-width: 480px;
  align-items: center;
  margin: 10px 20px;
  border: 1px solid #dfe2e6;
}

.lawyer-search svg {
  width: 17px;
  margin-left: 14px;
  color: #9399a2;
}

.lawyer-search input {
  min-width: 0;
  flex: 1;
  padding: 8px 12px;
  border: 0;
  outline: 0;
}

.lawyer-search button {
  align-self: stretch;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: #bb9a35;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 24px;
}

.lawyer-card {
  min-width: 0;
  color: #272c33;
}

.lawyer-card figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #e5e7ea;
}

.lawyer-card figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: filter var(--transition), transform 700ms ease;
}

.lawyer-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  background: rgba(187, 154, 53, 0.9);
  font-size: 13px;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.lawyer-card:hover figcaption {
  transform: translateY(0);
}

.lawyer-card:hover figure > img {
  filter: saturate(1);
  transform: scale(1.035);
}

.lawyer-card > div {
  padding: 19px 2px 0;
}

.lawyer-card h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
}

.lawyer-card > div > p {
  margin: 4px 0 12px;
  color: #bb9a35;
  font-size: 13px;
}

.lawyer-card ul {
  display: flex;
  margin: 0;
  padding: 0;
  color: #777e87;
  list-style: none;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.lawyer-card li {
  position: relative;
  font-size: 11px;
}

.lawyer-card li:not(:last-child)::after {
  position: absolute;
  right: -7px;
  content: "/";
}

.empty-result {
  padding: 70px 20px;
  color: #777e87;
  background: #f5f6f8;
  text-align: center;
}

.lawyer-profile-head {
  display: grid;
  grid-template-columns: minmax(260px, 34%) minmax(300px, 1fr) minmax(230px, 0.65fr);
  border-bottom: 1px solid #dfe2e6;
  gap: clamp(32px, 5vw, 72px);
}

.lawyer-profile-head > figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #e5e7ea;
}

.lawyer-profile-head > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-profile-summary {
  padding-top: 28px;
}

.lawyer-profile-summary > p {
  margin: 0 0 26px;
  color: #bb9a35;
  font-size: 12px;
}

.lawyer-profile-summary h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 5vw, 68px);
}

.lawyer-profile-summary h2 {
  margin: 12px 0 6px;
  color: #bb9a35;
  font-size: 18px;
  font-weight: 500;
}

.lawyer-profile-summary > span {
  color: #737a83;
  font-size: 14px;
}

.lawyer-profile-summary dl {
  margin: 52px 0 0;
}

.lawyer-profile-summary dl div {
  display: grid;
  padding: 13px 0;
  border-top: 1px solid #e0e3e7;
  grid-template-columns: 60px 1fr;
}

.lawyer-profile-summary dt {
  color: #9aa0a8;
  font-weight: 400;
}

.lawyer-profile-summary dd {
  margin: 0;
}

.lawyer-profile-head aside {
  padding: 30px 0;
}

.lawyer-profile-head aside h2 {
  margin: 0 0 26px;
  color: #bb9a35;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

.lawyer-profile-head aside a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid #e0e3e7;
  color: #555c65;
  font-size: 14px;
}

.lawyer-profile-body {
  display: grid;
  padding-top: 68px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.lawyer-profile-body h2 {
  margin: 0 0 24px;
  color: #bb9a35;
  font-family: "Noto Serif SC", serif;
  font-size: 25px;
}

.lawyer-profile-body p,
.lawyer-profile-body li {
  color: #5f6670;
  font-size: 15px;
  line-height: 2;
}

.lawyer-profile-body ul {
  margin: 0;
  padding-left: 20px;
}

/* 文章列表与详情 */
.article-list {
  display: grid;
  gap: 28px;
}

.article-list-card {
  display: grid;
  min-height: 260px;
  overflow: hidden;
  color: #272c33;
  background: #f5f6f8;
  grid-template-columns: minmax(260px, 31%) 1fr;
}

.article-list-card figure {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
}

.article-list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.article-list-card > div {
  display: flex;
  padding: 32px clamp(28px, 4vw, 58px);
  flex-direction: column;
  justify-content: center;
}

.article-list-card time {
  color: #bb9a35;
  font-family: Georgia, serif;
  font-size: 13px;
}

.article-list-card h2 {
  margin: 10px 0 13px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.55;
}

.article-list-card p {
  display: -webkit-box;
  margin: 0 0 18px;
  overflow: hidden;
  color: #737a83;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-list-card > div > span {
  display: inline-flex;
  align-items: center;
  color: #bb9a35;
  font-size: 12px;
  gap: 8px;
}

.article-list-card > div > span svg {
  width: 15px;
}

.article-list-card:hover img {
  transform: scale(1.04);
}

.article-list-card:hover h2 {
  color: #bb9a35;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 66px;
  gap: 6px;
}

.pagination-wrap a,
.pagination-wrap button {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #dce0e5;
  color: #5d646d;
  background: #fff;
  font-size: 13px;
  gap: 5px;
}

.pagination-wrap a.active,
.pagination-wrap a:hover,
.pagination-wrap button:hover:not(:disabled) {
  color: #fff;
  border-color: #bb9a35;
  background: #bb9a35;
}

.pagination-wrap button:disabled {
  opacity: 0.45;
}

.pagination-wrap svg {
  width: 14px;
}

.article-container {
  width: min(100% - 40px, 980px);
  margin-right: auto;
  margin-left: auto;
}

.article-detail header {
  padding-bottom: 34px;
  border-bottom: 1px solid #dfe2e6;
  text-align: center;
}

.article-detail header h1 {
  margin: 0 auto 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.55;
}

.article-detail header time {
  color: #9299a2;
  font-size: 13px;
}

.article-cover {
  margin: 52px 0 42px;
}

.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-body {
  color: #4e555e;
  font-size: 16px;
  line-height: 2.2;
}

.article-body h2 {
  margin: 45px 0 18px;
  color: #20252c;
  font-family: "Noto Serif SC", serif;
  font-size: 25px;
}

.article-body p {
  margin-bottom: 20px;
}

/* 后台富文本使用固定类名保存排版，用户端只渲染这组受控样式。 */
.article-body .lawfirm-color-blue { color: #bb9a35; }
.article-body .lawfirm-color-red { color: #b42332; }
.article-body .lawfirm-color-gold { color: #9a6a16; }
.article-body .lawfirm-color-charcoal { color: #374151; }
.article-body .lawfirm-color-gray { color: #6b7280; }
.article-body .lawfirm-align-center { text-align: center; }
.article-body .lawfirm-align-right { text-align: right; }
.article-body .lawfirm-align-justify { text-align: justify; }

.article-body video,
.article-body .media video,
.article-body .lawfirm-rich-video video {
  width: 100%;
  max-height: 680px;
  display: block;
  margin: 30px 0;
  background: #111827;
  object-fit: contain;
}

.article-siblings {
  display: grid;
  margin-top: 68px;
  padding-top: 28px;
  border-top: 1px solid #dfe2e6;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.article-siblings a {
  display: grid;
  gap: 5px;
}

.article-siblings a:last-child {
  text-align: right;
}

.article-siblings span {
  color: #bb9a35;
  font-size: 12px;
}

.article-siblings strong {
  color: #555c65;
  font-size: 14px;
  font-weight: 400;
}

/* 联系页面 */
.contact-layout {
  position: relative;
  min-height: 560px;
}

.contact-map {
  position: absolute;
  inset: 0 0 0 25%;
  overflow: hidden;
  background: #e4e7ea;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.7);
}

.contact-panel {
  position: relative;
  z-index: 2;
  width: min(520px, 46%);
  min-height: 490px;
  margin-top: 35px;
  padding: clamp(38px, 5vw, 66px);
  color: #fff;
  background: #bb9a35;
}

.contact-panel > p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.contact-panel h1 {
  margin: 0 0 44px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 37px);
}

.contact-panel ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 22px;
}

.contact-panel li {
  display: grid;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  grid-template-columns: 22px 1fr;
  gap: 12px;
}

.contact-panel svg {
  width: 18px;
  margin-top: 3px;
  color: #fff;
}

.join-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 85px;
  padding: 44px 54px;
  color: #fff;
  background: #242a31;
  gap: 30px;
}

.join-panel span {
  color: #bb9a35;
  font-size: 11px;
}

.join-panel h2 {
  margin: 8px 0;
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
}

.join-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.join-panel > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  gap: 8px;
}

/* 全站页脚，按原站比例重建 */
.tx-footer {
  position: relative;
  padding: 86px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background-color: #353532;
  background-image: var(--footer-bg);
  background-position: center;
  background-size: cover;
}

.tx-footer-main {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(560px, 1.55fr);
  gap: 9vw;
}

.tx-footer-contact > img {
  width: min(100%, 355px);
  margin-bottom: 42px;
}

.tx-footer-contact ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 19px;
}

.tx-footer-contact li {
  display: grid;
  align-items: start;
  font-size: 14px;
  grid-template-columns: 24px 1fr;
  gap: 12px;
}

.tx-footer-contact li svg {
  width: 18px;
  margin-top: 3px;
  color: #fff;
}

.tx-footer-links > nav {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  flex-wrap: nowrap;
}

.tx-footer-links > nav a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  white-space: nowrap;
}

.tx-footer-links > nav a:hover {
  color: #bb9a35;
}

.tx-footer-links > nav span {
  margin: 0 clamp(7px, 0.8vw, 12px);
}

.tx-footer-qrs {
  display: flex;
  justify-content: flex-end;
  margin-top: 34px;
  gap: clamp(18px, 2.6vw, 34px);
}

.tx-footer-qrs a {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.tx-qr-frame {
  display: block;
  width: 116px;
  aspect-ratio: 1;
  padding: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.tx-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tx-footer-qrs strong {
  font-size: 13px;
  font-weight: 400;
}

.tx-friendly-links {
  display: grid;
  margin-top: 46px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 18px 28px;
}

.tx-friendly-links h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

.tx-friendly-links > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px clamp(18px, 2vw, 30px);
}

.tx-friendly-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 2;
  white-space: nowrap;
  transition: color var(--transition);
}

.tx-friendly-links a:hover {
  color: #bb9a35;
}

.tx-footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  gap: 8px;
}

.tx-friendly-links + .tx-footer-bottom {
  margin-top: 24px;
}

.tx-footer-bottom p {
  margin: 0;
}

.tx-floating-tools {
  position: fixed;
  z-index: 1030;
  right: 24px;
  bottom: 32px;
  display: grid;
  gap: 8px;
}

.tx-floating-tools a,
.tx-floating-tools button {
  position: relative;
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #bb9a35;
  box-shadow: 0 8px 22px rgba(96, 74, 19, 0.2);
}

.tx-floating-tools button {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.tx-floating-tools button.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.tx-floating-tools svg {
  width: 23px;
}

.tx-floating-tools span {
  position: absolute;
  right: 62px;
  width: max-content;
  padding: 6px 10px;
  color: #fff;
  background: #252a31;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(7px);
  transition: opacity var(--transition), transform var(--transition);
}

.tx-floating-tools a:hover span,
.tx-floating-tools button:hover span {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1199.98px) {
  .inner-site-header,
  .inner-site-header.is-scrolled {
    height: 78px;
  }

  .inner-banner {
    height: 420px;
  }

  .inner-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tx-footer-main {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6vw;
  }

  .tx-footer-links > nav {
    justify-content: flex-start;
  }

  .tx-footer-links > nav a {
    font-size: 12px;
  }

  .tx-footer-links > nav span {
    margin: 0 6px;
  }
}

@media (max-width: 991.98px) {
  .section-menu-inner {
    min-height: 110px;
    align-items: flex-start;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-profile-head {
    grid-template-columns: minmax(250px, 0.8fr) 1.2fr;
  }

  .lawyer-profile-head aside {
    grid-column: 1 / -1;
  }

  .tx-footer-main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .tx-footer-links > nav,
  .tx-footer-qrs {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .inner-site-header,
  .inner-site-header.is-scrolled {
    height: 72px;
  }

  .inner-banner {
    height: 310px;
    background-position: 58% center;
  }

  .inner-banner::before {
    background: linear-gradient(
      90deg,
      rgba(187, 154, 53, 0.98) 0%,
      rgba(187, 154, 53, 0.9) 42%,
      rgba(178, 149, 60, 0.58) 62%,
      rgba(255, 255, 255, 0) 88%
    );
  }

  .inner-banner-mark {
    left: 42%;
    font-size: min(58vw, 250px);
  }

  .inner-banner-content {
    padding-left: 20px;
  }

  .inner-banner-content h1 {
    font-size: 30px;
  }

  .inner-banner-content p {
    font-size: 15px;
  }

  .section-tabs {
    width: 100%;
    overflow-x: auto;
    gap: 8px;
  }

  .section-tabs a {
    min-width: 108px;
    padding: 8px 15px;
    white-space: nowrap;
  }

  .breadcrumb-line {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .detail-breadcrumb > div {
    min-height: 58px;
    overflow: hidden;
    white-space: nowrap;
  }

  .inner-section {
    padding: 68px 0;
  }

  .about-title-column > span {
    display: none;
  }

  .about-copy-column p {
    font-size: 14px;
    line-height: 1.95;
  }

  .about-gallery {
    margin-top: 48px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 230px);
  }

  .about-gallery figure:nth-child(1),
  .about-gallery figure:nth-child(2),
  .about-gallery figure:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    min-height: 220px;
  }

  .honor-list article {
    min-height: 86px;
    grid-template-columns: 70px 1fr 26px;
    gap: 15px;
  }

  .honor-list time {
    font-size: 20px;
  }

  .honor-list h3 {
    font-size: 15px;
  }

  .inner-practice-grid {
    grid-template-columns: 1fr;
  }

  .inner-practice-card {
    min-height: 310px;
  }

  .detail-lead {
    align-items: flex-start;
  }

  .detail-lead-icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
  }

  .detail-lead-icon svg {
    width: 30px;
  }

  .service-scope > div {
    grid-template-columns: 1fr;
  }

  .filter-row,
  .lawyer-search {
    grid-template-columns: 74px 1fr;
  }

  .filter-row > div {
    max-height: 155px;
    padding: 10px;
    overflow-y: auto;
  }

  .lawyer-search > div {
    margin: 10px;
  }

  .lawyer-search button {
    padding: 0 14px;
  }

  .lawyer-grid {
    gap: 28px 14px;
  }

  .lawyer-card h2 {
    font-size: 18px;
  }

  .lawyer-card ul {
    display: none;
  }

  .lawyer-profile-head {
    grid-template-columns: 1fr;
  }

  .lawyer-profile-head > figure {
    max-width: 430px;
  }

  .lawyer-profile-summary,
  .lawyer-profile-head aside {
    padding-top: 0;
  }

  .lawyer-profile-summary dl {
    margin-top: 32px;
  }

  .lawyer-profile-body {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .article-list-card {
    grid-template-columns: 1fr;
  }

  .article-list-card figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-list-card > div {
    padding: 25px 22px 30px;
  }

  .pagination-wrap button span {
    display: none;
  }

  .pagination-wrap .pagination-page:nth-child(n+5) {
    display: none;
  }

  .article-siblings {
    grid-template-columns: 1fr;
  }

  .article-siblings a:last-child {
    text-align: left;
  }

  .contact-layout {
    display: flex;
    min-height: 0;
    flex-direction: column-reverse;
  }

  .contact-map {
    position: static;
    height: 360px;
  }

  .contact-panel {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 38px 26px;
  }

  .join-panel {
    align-items: flex-start;
    margin-top: 48px;
    padding: 34px 26px;
    flex-direction: column;
  }

  .tx-footer {
    padding-top: 66px;
  }

  .tx-footer-contact > img {
    width: 290px;
    margin-bottom: 34px;
  }

  .tx-footer-contact li {
    font-size: 13px;
  }

  .tx-footer-links > nav {
    justify-content: flex-start;
    padding-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .tx-footer-links > nav span {
    display: none;
  }

  .tx-footer-qrs {
    justify-content: space-between;
    gap: 10px;
  }

  .tx-qr-frame {
    width: clamp(88px, 27vw, 108px);
  }

  .tx-footer-qrs strong {
    font-size: 11px;
  }

  .tx-friendly-links {
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tx-friendly-links > div {
    gap: 7px 18px;
  }

  .tx-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .tx-floating-tools {
    right: 12px;
    bottom: 14px;
  }

  .tx-floating-tools a {
    display: none;
  }

  .tx-floating-tools a,
  .tx-floating-tools button {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 399.98px) {
  .lawyer-grid {
    grid-template-columns: 1fr;
  }

  .lawyer-card ul {
    display: flex;
  }

  .tx-footer-qrs {
    flex-wrap: wrap;
  }
}
