/* Public lawyer directory + profile styling */
.lawyers-hero {
  padding: 64px 0 36px;
}

.lawyers-hero__cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

body.public-subpage-lawyers.lawyers-directory-empty .lawyers-hero {
  padding-bottom: 24px;
}

body.public-subpage-lawyers.lawyers-directory-empty .lawyers-hero__note {
  max-width: 76ch;
  margin-inline: auto;
}

.lawyers-hero__note {
  margin: 16px auto 0;
  max-width: 76ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.lawyers-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.lawyers-policy-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
}

.lawyers-policy-brief__item {
  display: grid;
  gap: 0.4rem;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  box-shadow: var(--shadow);
  justify-items: center;
  text-align: center;
}

.lawyers-policy-brief__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyers-policy-brief__value {
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.5;
}

.lawyers-policy-brief__note-inline {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.lawyers-policy-brief__note-inline i {
  color: var(--color-accent-500, #D4AF37);
  margin-top: 2px;
}

.lawyers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  align-content: start;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.lawyers-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  max-width: 1100px;
}

.lawyers-grid.is-pair {
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
}

.lawyer-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 72%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px 20px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(272px, 304px);
  gap: 14px 22px;
  align-items: start;
}

.lawyer-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.9), rgba(12, 30, 58, 0.34));
  opacity: 0.9;
}

.lawyer-card > * {
  min-width: 0;
}

.lawyer-card__main,
.lawyer-card__aside {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-width: 0;
}

.lawyer-card__main {
  gap: 12px;
}

.lawyer-card__aside {
  gap: 10px;
  align-self: start;
  align-content: start;
}

.lawyer-card__main > *,
.lawyer-card__aside > * {
  grid-column: 1 / -1;
}

.lawyer-card.is-featured {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.16);
}

.lawyer-card.is-premium {
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.22);
}

.lawyer-card.is-sponsored {
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 18px 44px rgba(99, 102, 241, 0.18);
}

.lawyer-card__top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: flex-start;
  gap: 16px;
  grid-column: 1;
}

.lawyer-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(15, 35, 61, 0.08);
  border: 2px solid rgba(212, 175, 55, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.11);
}

.lawyer-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.lawyer-initials {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lawyer-initials--fallback,
.lawyer-avatar__fallback-icon {
  display: none;
}

.lawyer-avatar.is-image-unavailable .lawyer-initials--fallback,
.lawyer-avatar.is-image-unavailable .lawyer-avatar__fallback-icon {
  display: inline-flex;
}

.lawyer-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-width: 0;
}

.lawyer-card__identity {
  display: grid;
  gap: 6px;
  min-width: 0;
  align-content: start;
}

.lawyer-card__facts {
  display: grid;
  gap: 8px;
  align-content: start;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  background: rgba(248, 250, 252, 0.74);
  box-sizing: border-box;
}

body.public-subpage-lawyers .lawyer-card__info {
  grid-template-columns: minmax(0, 1fr);
}

body.public-subpage-lawyers .lawyer-card__identity,
body.public-subpage-lawyers .lawyer-card__facts {
  grid-column: 1;
}

.lawyer-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1px;
}

.lawyer-badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid var(--border);
  background: var(--color-surface-secondary, #f8fafc);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lawyer-badge.is-featured {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.12);
  color: #8a5a00;
}

.lawyer-badge.is-premium {
  border-color: rgba(212, 175, 55, 0.7);
  background: rgba(212, 175, 55, 0.15);
  color: #7c5600;
}

.lawyer-badge.is-sponsored {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.16);
  color: #4338ca;
}

.lawyer-badge.is-rating {
  border-color: rgba(255, 255, 255, 0.15);
}

.lawyer-badge.is-available {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.16);
  color: #166534;
}

.lawyer-badge.is-limited {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.16);
  color: #9a6700;
}

.lawyer-badge.is-busy {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.16);
  color: #c2410c;
}

.lawyer-badge.is-unavailable {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  color: #475569;
}

.lawyer-card__name {
  color: var(--color-primary-950, #09192d);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.lawyer-card__spec {
  color: var(--color-slate-700, #334155);
  font-size: 14.5px;
  line-height: 1.35;
}

.lawyer-card__headline {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lawyer-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  align-content: start;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}

.lawyer-card__location,
.lawyer-card__posture {
  color: var(--text);
  font-size: 11.25px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  max-width: none;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(12, 30, 58, 0.09);
  background: rgba(255, 255, 255, 0.9);
  min-width: 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.lawyer-card__posture {
  color: var(--muted);
}

.lawyer-card__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  grid-column: auto;
  padding: 12px;
  border-radius: 14px;
  background: var(--color-gray-100, #f3f4f6);
  border: 1px solid var(--border);
}

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

.lawyer-stat__value {
  font-weight: 700;
  font-size: 14px;
}

.lawyer-stat__label {
  font-size: 11px;
  color: var(--muted);
}

.lawyer-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  max-width: 100%;
}

.lawyer-card__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  padding-top: 0;
}

.lawyer-card__proof-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  max-width: 100%;
  min-height: 29px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 11.3px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.lawyer-card__proof-item i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-card__reviews {
  display: grid;
  gap: 5px;
  grid-column: auto;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid rgba(12, 30, 58, 0.08);
  background: rgba(248, 250, 252, 0.96);
}

.lawyer-card__reviews.has-reviews {
  border-color: rgba(212, 175, 55, 0.34);
  background: rgba(255, 251, 235, 0.72);
}

.lawyer-card__reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lawyer-card__reviews-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lawyer-card__reviews-kicker i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-card__reviews-stars {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 0;
}

.lawyer-card__reviews-title {
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.45;
}

.lawyer-card__reviews-policy {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lawyer-card__policy {
  display: grid;
  gap: 4px;
  grid-column: auto;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.lawyer-card__policy-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
}

.lawyer-card__policy-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lawyer-card__policy-value {
  color: var(--text);
  font-size: 12px;
  text-align: right;
  line-height: 1.45;
  max-width: 58%;
}

.lawyer-card__policy-note {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lawyer-card__trust-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lawyer-card__trust-note i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-card__insights {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.07), transparent 55%),
    var(--color-gray-50, #f9fafb);
}

.lawyer-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lawyer-card__signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--color-surface-secondary, #f8fafc);
  color: var(--muted);
  font-size: 11px;
}

.lawyer-card__signal i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-card__next-step {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(12, 30, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 233, 0.94));
}

.lawyer-card__next-step-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-card__next-step-value {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.lawyer-card__next-step-value i {
  color: var(--color-accent-500, #D4AF37);
  margin-top: 2px;
}

.lawyer-card__preview {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.lawyer-card__preview i {
  color: var(--color-accent-500, #D4AF37);
  margin-top: 2px;
}

.lawyer-card__preview.is-muted {
  color: var(--muted);
}

.lawyer-tag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 29px;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11.3px;
  line-height: 1.35;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.lawyer-card__detail-stack {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.lawyer-tag:nth-child(1) {
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.32);
  color: var(--color-primary-800, #78350f);
}

.lawyer-tag:nth-child(2) {
  background: rgba(12, 30, 58, 0.035);
  border-color: rgba(12, 30, 58, 0.10);
  color: var(--color-primary-900, #0f233d);
}

.lawyer-tag:nth-child(3) {
  background: rgba(12, 30, 58, 0.035);
  border-color: rgba(12, 30, 58, 0.10);
  color: var(--color-primary-900, #0f233d);
}

@media (min-width: 1050px) {
  .lawyer-card__facts {
    max-width: 620px;
  }

  .lawyer-card__meta {
    grid-template-columns: minmax(190px, 0.88fr) minmax(190px, 1fr);
  }
}

.lawyer-card__cta .btn-primary-public {
  gap: 6px;
}

.lawyer-card__cta {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(12, 30, 58, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  justify-content: stretch;
  gap: 12px;
  align-items: center;
}

.lawyer-card__cta .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  min-height: 41px;
  gap: 6px;
  border-radius: 12px;
  padding-inline: 12px;
  font-size: 13.5px;
  white-space: nowrap;
}

.lawyer-card__cta .btn-primary {
  color: var(--color-primary-900, #0f233d);
  background: #ffffff;
  border: 1px solid rgba(15, 35, 61, 0.2);
  box-shadow: none;
}

.lawyer-card__cta .btn-primary:hover,
.lawyer-card__cta .btn-primary:focus-visible {
  color: #ffffff;
  background: var(--color-primary-900, #0f233d);
  border-color: var(--color-primary-900, #0f233d);
}

.lawyers-filters__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.35rem;
}

.lawyers-filters__intro-copy {
  display: grid;
  gap: 0.35rem;
  max-width: 46ch;
}

.lawyers-filters__title {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.4;
}

.lawyers-filters__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.lawyer-card__cta--aside {
  margin-top: 16px;
}

.lawyers-empty {
  text-align: center;
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  padding: 2.25rem 2rem;
  border-radius: 24px;
  border: 1px dashed rgba(12, 30, 58, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 233, 0.94));
  color: var(--muted);
  width: min(100%, 1060px);
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(12, 30, 58, 0.06);
}

body.public-subpage-lawyers.lawyers-directory-empty main.page-wrapper {
  min-height: auto;
}

body.public-subpage-lawyers.lawyers-directory-empty .lawyers-list.is-empty {
  padding-top: 0;
}

body.public-subpage-lawyers.lawyers-directory-empty .lawyers-empty {
  max-width: min(980px, 100%);
  margin-inline: auto;
  padding-bottom: 2.75rem;
  padding-bottom: calc(2.75rem + var(--cookie-banner-offset, 0px));
}

.lawyers-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(242, 194, 26, 0.14);
  color: #8f6905;
  font-size: 1.55rem;
}

.lawyers-empty__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.lawyers-empty__text {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.lawyers-empty__status {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  margin: 0;
  max-width: 66ch;
  padding: 0.72rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.1);
  color: #5f4810;
  font-size: 0.93rem;
  line-height: 1.55;
  text-align: left;
}

.lawyers-empty__status i {
  color: #8a690f;
  margin-top: 0.18rem;
}

.lawyers-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

body.public-subpage-lawyers.lawyers-directory-empty .lawyers-empty__actions {
  padding-bottom: 0.25rem;
}

.lawyers-empty__actions .btn,
.lawyers-hero__cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
}

.lawyers-routing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0.45rem 0 0.2rem;
}

.lawyers-routing-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  gap: 0.72rem;
  align-content: start;
  min-height: 100%;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(12, 30, 58, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96));
  box-shadow: 0 16px 34px rgba(12, 30, 58, 0.08);
  color: var(--text);
  text-align: left;
}

.lawyers-routing-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.16);
  color: #8f6905;
  font-size: 1.05rem;
}

.lawyers-routing-card__eyebrow {
  color: #8f6905;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyers-routing-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.22;
}

.lawyers-routing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.lawyers-routing-card__facts {
  display: grid;
  gap: 0.45rem;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.35;
}

.lawyers-routing-card__facts span {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.lawyers-routing-card__facts i {
  color: #9f7a1d;
  margin-top: 0.12rem;
}

.lawyers-routing-card__cta {
  justify-self: start;
  margin-top: 0.15rem;
}

.lawyers-practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-items: stretch;
}

.lawyers-practice-card {
  display: grid;
  gap: 0.75rem;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
  text-align: left;
  box-shadow: var(--shadow);
  align-content: start;
}

.lawyers-practice-card__eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyers-practice-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.lawyers-practice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lawyers-partner-panel {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(12, 30, 58, 0.12);
  background:
    linear-gradient(135deg, rgba(9, 17, 38, 0.96), rgba(30, 53, 87, 0.92));
  color: #f8fafc;
  text-align: left;
  box-shadow: 0 18px 38px rgba(12, 30, 58, 0.18);
}

.lawyers-partner-panel__copy {
  display: grid;
  gap: 0.45rem;
}

.lawyers-partner-panel__eyebrow {
  color: #f4d06f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyers-partner-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.12rem, 1.8vw, 1.42rem);
  line-height: 1.16;
}

.lawyers-partner-panel p {
  margin: 0;
  color: #dbe7f3;
  line-height: 1.6;
}

.lawyers-partner-panel__facts {
  display: grid;
  gap: 0.52rem;
}

.lawyers-partner-panel__facts span {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  color: #edf2f7;
  font-size: 0.88rem;
  line-height: 1.4;
}

.lawyers-partner-panel__facts i {
  color: #f4d06f;
  margin-top: 0.15rem;
}

.lawyers-partner-panel__cta {
  white-space: nowrap;
}

.lawyers-empty__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.lawyers-empty__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
}

.lawyers-empty__trust span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #8f6905);
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty {
  border-style: solid;
  border-color: rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92));
  color: #cbd5e1;
  box-shadow: 0 22px 46px rgba(2, 6, 23, 0.34);
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__icon,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__icon {
  background: rgba(212, 175, 55, 0.14);
  color: #f4d06f;
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__title,
html.theme-dark body.public-subpage-lawyers .lawyers-routing-card h3,
html.theme-dark body.public-subpage-lawyers .lawyers-practice-card h3,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__title,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card h3,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card h3 {
  color: #f8fafc;
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__text,
html.theme-dark body.public-subpage-lawyers .lawyers-routing-card p,
html.theme-dark body.public-subpage-lawyers .lawyers-routing-card__facts,
html.theme-dark body.public-subpage-lawyers .lawyers-practice-card p,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__text,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card p,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card__facts,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card p {
  color: #cbd5e1;
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__status,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__status {
  border-color: rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.12);
  color: rgba(254, 243, 199, 0.92);
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__status i,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__status i {
  color: #f4d56f;
}

html.theme-dark body.public-subpage-lawyers .lawyers-practice-card,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card,
html.theme-dark body.public-subpage-lawyers .lawyers-routing-card,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card {
  border-color: rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.9));
  box-shadow: 0 16px 32px rgba(2, 6, 23, 0.28);
}

html.theme-dark body.public-subpage-lawyers .lawyers-routing-card__icon,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card__icon {
  background: rgba(212, 175, 55, 0.14);
  color: #f4d06f;
}

html.theme-dark body.public-subpage-lawyers .lawyers-routing-card__eyebrow,
html.theme-dark body.public-subpage-lawyers .lawyers-practice-card__eyebrow,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-routing-card__eyebrow,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card__eyebrow {
  color: #f4d06f;
}

html.theme-dark body.public-subpage-lawyers .lawyers-practice-card .link-arrow,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card .link-arrow {
  color: #f8d266;
}

html.theme-dark body.public-subpage-lawyers .lawyers-practice-card .link-arrow:hover,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-practice-card .link-arrow:hover {
  color: #fde68a;
}

html.theme-dark body.public-subpage-lawyers .lawyers-partner-panel,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-partner-panel {
  border-color: rgba(244, 208, 111, 0.2);
  background:
    linear-gradient(135deg, rgba(9, 17, 38, 0.98), rgba(15, 23, 42, 0.94));
}

html.theme-dark body.public-subpage-lawyers .lawyers-empty__trust span,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-empty__trust span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

html.theme-dark body.public-subpage-lawyers .lawyer-card__location,
html.theme-dark body.public-subpage-lawyers .lawyer-card__posture,
html.theme-dark body.public-subpage-lawyers .lawyer-card__facts,
html.theme-dark body.public-subpage-lawyers .lawyer-card__detail-stack,
html.theme-dark body.public-subpage-lawyers .lawyers-policy-brief__item,
html.theme-dark body.public-subpage-lawyers .lawyer-card__proof-item,
html.theme-dark body.public-subpage-lawyers .lawyer-card__reviews,
html.theme-dark body.public-subpage-lawyers .lawyer-card__policy,
html.theme-dark body.public-subpage-lawyers .lawyer-profile__governance,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__location,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__posture,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__facts,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__detail-stack,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-policy-brief__item,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__proof-item,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__reviews,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__policy,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-profile__governance {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.18);
}

html.theme-dark body.public-subpage-lawyers .lawyer-card__location,
html.theme-dark body.public-subpage-lawyers .lawyers-filters__title,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__location,
[data-theme="dark"] body.public-subpage-lawyers .lawyers-filters__title {
  color: #f8fafc;
}

html.theme-dark body.public-subpage-lawyers .lawyer-card__posture,
html.theme-dark body.public-subpage-lawyers .lawyer-card__reviews-policy,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__posture,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__proof-item,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__reviews-policy {
  color: #cbd5e1;
}

html.theme-dark body.public-subpage-lawyers .lawyer-tag,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
}

html.theme-dark body.public-subpage-lawyers .lawyer-card__reviews-title,
[data-theme="dark"] body.public-subpage-lawyers .lawyer-card__reviews-title {
  color: #f8fafc;
}

.lawyers-list.is-empty {
  /* Avoid double vertical spacing with shared `.section-gap.is-empty`. */
  padding-top: var(--space-2);
  padding-bottom: var(--space-4);
}

.lawyer-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.lawyer-profile__hero-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lawyer-profile__hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--color-surface-secondary, #f8fafc);
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.lawyer-profile__hero-chip i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-profile__hero-chip.is-status {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.lawyer-profile.is-premium .lawyer-profile__bio,
.lawyer-profile.is-premium .lawyer-profile__aside {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.14);
}

.lawyer-profile.is-sponsored .lawyer-profile__bio,
.lawyer-profile.is-sponsored .lawyer-profile__aside {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.12);
}

.lawyer-profile__aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
  align-self: start;
}

.lawyer-profile__avatar {
  margin-bottom: 14px;
}

.lawyer-profile__bio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.lawyer-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.lawyer-profile__meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lawyer-profile__fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lawyer-profile__fact {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.98));
  min-width: 0;
}

.lawyer-profile__fact--full {
  grid-column: 1 / -1;
}

.lawyer-profile__fact-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-profile__fact-value {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}

.lawyer-profile__fact-value small {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.lawyer-profile__fact-link {
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}

.lawyer-profile__fact-link:hover {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-profile__signal-note {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b5e08;
  font-size: 0.84rem;
  line-height: 1.55;
}

.lawyer-profile__signal-note i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-profile__meta-note {
  margin: 0;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.96));
  color: #8b5e08;
  font-size: 0.84rem;
  line-height: 1.55;
}

.lawyer-profile__meta-note i {
  color: var(--color-accent-500, #D4AF37);
  margin-top: 2px;
}

.lawyer-profile__governance {
  margin-top: 0;
  display: grid;
  gap: 0.65rem;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.98));
}

.lawyer-profile__governance-intro {
  display: grid;
  gap: 6px;
}

.lawyer-profile__governance-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-profile__governance-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.lawyer-profile__governance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.lawyer-profile__governance-item {
  display: grid;
  gap: 0.32rem;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
}

.lawyer-profile__governance-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-profile__governance-value {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.lawyer-profile__governance-notes {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.lawyer-profile__governance-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.lawyer-profile__governance-notes li + li {
  margin-top: 0.35rem;
}

.lawyer-profile__stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.lawyer-profile__signal-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lawyer-profile__signal {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--color-gray-50, #f9fafb);
  display: grid;
  gap: 6px;
}

.lawyer-profile__signal.is-gold {
  border-color: rgba(212, 175, 55, 0.28);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
}

.lawyer-profile__signal-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.lawyer-profile__signal-label i {
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-profile__signal-value {
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
  font-size: 13px;
}

.profile-stat {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--color-gray-100, #f3f4f6);
}

.profile-stat__value {
  font-weight: 700;
  font-size: 16px;
}

.profile-stat__label {
  font-size: 12px;
  color: var(--muted);
}

.lawyer-profile__tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lawyer-profile__tags--aside {
  margin-top: 0;
}

.lawyer-profile__sections {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lawyer-profile__section {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--color-gray-50, #f9fafb);
}

.lawyer-profile__section h3 {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.lawyer-profile__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.lawyer-profile__list li {
  margin: 6px 0;
}

.lawyer-profile__lead {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
}

.lawyer-profile__lead h3 {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.lawyer-profile__lead p {
  margin: 0;
  color: var(--muted);
}

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

.lawyer-profile__section--full {
  grid-column: 1 / -1;
}

.lawyer-profile__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.lawyer-profile__card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--color-surface-secondary, #f8fafc);
  padding: 14px;
}

.lawyer-profile__card h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
}

.lawyer-profile__card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lawyer-profile__quote {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--color-gray-50, #f9fafb);
  color: var(--muted);
}

.lawyer-profile__faq {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lawyer-profile__faq li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.lawyer-profile__faq li i {
  color: var(--color-accent-500, #D4AF37);
  margin-top: 2px;
}

.lawyer-profile__handoff {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.88fr) minmax(260px, auto);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.lawyer-profile__handoff-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lawyer-profile__handoff-eyebrow,
.lawyer-profile__handoff-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-profile__handoff h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.25;
}

.lawyer-profile__handoff p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lawyer-profile__handoff-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 8px;
  min-width: 300px;
}

.lawyer-profile__handoff-fact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: start;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.lawyer-profile__handoff-icon {
  grid-row: span 2;
  margin-top: 2px;
  color: var(--color-accent-500, #D4AF37);
}

.lawyer-profile__handoff-value {
  min-width: 0;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
}

.lawyer-profile__handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.lawyer-profile__handoff-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .lawyer-profile__handoff {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .lawyer-profile__handoff-facts {
    max-width: 100%;
    min-width: 0;
  }

  .lawyer-profile__handoff-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .lawyers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .lawyer-profile__handoff {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .lawyer-profile__handoff-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .lawyer-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .lawyer-card__meta,
  .lawyer-card__facts,
  .lawyer-card__detail-stack {
    width: 100%;
  }

  .lawyer-card__location,
  .lawyer-card__posture,
  .lawyer-tag,
  .lawyer-card__proof-item {
    max-width: 100%;
  }

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

  .lawyer-card__cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .lawyer-card__aside {
    width: 100%;
  }

  .lawyer-card__cta .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .lawyers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.public-subpage-lawyers .back-to-top {
    display: none;
  }

  .lawyer-profile__fact-grid,
  .lawyer-profile__governance-grid {
    grid-template-columns: 1fr;
  }

  .lawyers-hero {
    padding: 48px 0 24px;
  }

  .lawyers-filters__intro {
    flex-direction: column;
  }

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

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

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

  .lawyer-profile__handoff {
    padding: 14px;
  }

  .lawyer-profile__handoff-facts,
  .lawyer-profile__handoff-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .lawyer-profile__handoff-actions {
    display: grid;
  }

  .lawyer-profile__handoff-action {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .lawyer-card__top {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .lawyer-avatar {
    width: 52px;
    height: 52px;
    font-size: 20px;
    border-radius: 15px;
  }

  .lawyer-avatar img {
    border-radius: 13px;
  }

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

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

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

  .lawyer-card__cta .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .lawyer-card__meta,
  .lawyer-card__tags,
  .lawyer-card__proof {
    align-items: stretch;
  }

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

  .lawyer-card__detail-stack {
    padding: 0;
  }

  .lawyer-card__location,
  .lawyer-card__posture,
  .lawyer-tag,
  .lawyer-card__proof-item {
    width: 100%;
    justify-content: flex-start;
    border-radius: 11px;
  }
}

/* ── Star rating widget (I3) ──────────────────────────── */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 1rem;
  color: var(--color-accent-500, #D4AF37);
  white-space: nowrap;
}
.star-rating--sm { font-size: 0.82rem; }
.star-rating--md { font-size: 1rem; }
.star-rating .star--empty { color: var(--color-neutral-300, #ccc); }
.star-rating__label {
  margin-left: 4px;
  font-size: 0.78em;
  color: var(--color-neutral-600, #555);
  font-weight: 500;
}

/* ── Approved reviews section ─────────────────────────── */
.lawyer-reviews {
  background: var(--color-neutral-50, #fafafa);
  padding: 48px 0;
}

.lawyer-reviews__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--color-neutral-900, #111);
}
.lawyer-reviews__title .fa-star { color: var(--color-accent-500, #D4AF37); }
.lawyer-reviews__avg { margin-left: 8px; }

.lawyer-reviews__summary {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--color-neutral-600, #555);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lawyer-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.lawyer-review-card {
  background: #fff;
  border: 1px solid var(--color-neutral-200, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lawyer-review-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lawyer-review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-neutral-800, #222);
}
.lawyer-review-card__date {
  margin-left: auto;
  font-size: 0.76rem;
  color: var(--color-neutral-500, #777);
}
.lawyer-review-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-neutral-700, #444);
  border-left: 3px solid var(--color-accent-500, #D4AF37);
  padding-left: 12px;
}

.lawyer-reviews__empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--color-neutral-200, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
  padding: 20px 22px;
}

.lawyer-reviews__empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-accent-700, #8a5a00);
}

.lawyer-reviews__empty strong {
  display: block;
  color: var(--color-neutral-900, #111);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.lawyer-reviews__empty p {
  margin: 0;
  color: var(--color-neutral-600, #555);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .lawyers-policy-brief {
    grid-template-columns: 1fr;
  }

  .lawyers-routing-grid {
    grid-template-columns: 1fr;
  }

  .lawyers-routing-card {
    padding: 18px;
  }
}

@media (max-width: 640px) {

  .lawyers-policy-brief__item--wide {
    grid-column: span 1;
  }

  .lawyers-policy-brief__item--note {
    grid-template-columns: 1fr;
  }

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

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

  .lawyer-card__policy-row,
  .lawyer-profile__governance-grid {
    grid-template-columns: 1fr;
  }

  .lawyer-card__policy-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lawyer-card__policy-value {
    text-align: left;
  }
}

/* ===== Advanced search filters ===== */
.lawyers-directory-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background: rgba(255, 251, 235, 0.92);
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lawyers-directory-notice i {
  color: #b8870b;
}

.lawyers-directory-notice a {
  color: #0f2c46;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lawyers-filters {
  margin-bottom: 28px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.lawyers-filters__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.lawyers-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lawyers-filter-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border, #e2e8f0);
  background: transparent;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.lawyers-filter-chip:hover {
  border-color: var(--color-accent-500, #D4AF37);
  color: var(--color-accent-500, #D4AF37);
}

.lawyers-filter-chip.is-active {
  background: var(--color-accent-500, #D4AF37);
  border-color: var(--color-accent-500, #D4AF37);
  color: #0f172a;
  font-weight: 700;
}

.lawyers-filters__row--secondary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  align-items: end;
  padding-top: 12px;
  border-top: 1px solid var(--color-border, #e2e8f0);
}

.lawyers-filters__group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.lawyers-filters__label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-text-secondary, #64748b);
  white-space: nowrap;
}

.lawyers-filter-input,
.lawyers-filter-select {
  padding: 9px 12px;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--color-text, #0f172a);
  min-height: 44px;
  min-width: 0;
  width: 100%;
}

.lawyers-filter-select {
  cursor: pointer;
}

.lawyers-filter-input:focus-visible,
.lawyers-filter-select:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.28);
  outline-offset: 2px;
  border-color: var(--color-accent-500, #D4AF37);
}

.lawyers-filter-submit,
.lawyers-filter-reset {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}

.lawyers-filter-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lawyers-filter-range input[type="range"] {
  width: 120px;
  accent-color: var(--color-accent-500, #D4AF37);
}

.lawyers-filter-range span {
  font-size: 0.8125rem;
  color: var(--color-text, #0f172a);
  font-weight: 600;
  min-width: 55px;
}

.lawyers-filters__count {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--color-text-secondary, #64748b);
}

.lawyers-filter-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: -10px auto 22px;
  width: min(100%, 1120px);
  padding: 16px 18px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  background: rgba(255, 251, 235, 0.96);
  color: #334155;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.lawyers-filter-empty[hidden] {
  display: none;
}

.lawyers-filter-empty > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.18);
  color: #8f6905;
}

.lawyers-filter-empty__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.lawyers-filter-empty__copy strong,
.lawyers-filter-empty__copy p {
  margin: 0;
}

.lawyers-filter-empty__copy strong {
  color: #0f172a;
  font-size: 0.98rem;
}

.lawyers-filter-empty__copy p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
}

.lawyers-filter-empty__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 640px) {
  .lawyers-filters {
    padding: 14px;
    border-radius: 18px;
  }
  .lawyers-filters__row--secondary { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .lawyers-filters__group { width: 100%; align-items: stretch; flex-direction: column; gap: 5px; }
  .lawyers-filter-submit,
  .lawyers-filter-reset { width: 100%; justify-content: center; }
  .lawyers-filters__count { margin-left: 0; }
  .lawyers-filter-empty { grid-template-columns: 1fr; align-items: stretch; margin-top: -6px; padding: 15px; }
  .lawyers-filter-empty > i { display: none; }
  .lawyers-filter-empty__actions { justify-content: stretch; }
  .lawyers-filter-empty__actions .btn { width: 100%; justify-content: center; }
  .lawyers-filter-range input[type="range"] { width: 90px; }
  .lawyers-empty {
    padding: 1.5rem 1.1rem;
    border-radius: 20px;
  }
  .lawyers-empty__actions {
    width: 100%;
  }
  .lawyers-empty__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .lawyers-routing-grid,
  .lawyers-practice-grid {
    grid-template-columns: 1fr;
  }
  .lawyers-routing-card__cta {
    width: 100%;
    justify-content: center;
  }
  .lawyers-partner-panel {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1rem;
  }
  .lawyers-partner-panel__cta {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (min-width: 861px) {
  body.public-subpage-lawyers .lawyers-hero .page-hero-content,
  body.public-subpage-lawyers .lawyers-hero .container {
    max-width: 980px;
  }

  body.public-subpage-lawyers .lawyers-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 2.75vw, 2.56rem);
    line-height: 1.08;
    text-wrap: normal;
  }

  body.public-subpage-lawyers .lawyers-hero p:not(.lawyers-hero__note) {
    max-width: min(100%, 78ch);
    line-height: 1.45;
    text-wrap: normal;
  }
}

/* Demo-aligned public lawyer directory/profile pass. */
body.public-subpage-lawyers .page-wrapper {
  background: linear-gradient(180deg, #fff 0%, #f8f5ed 54%, #fff 100%);
}

body.public-subpage-lawyers .lawyers-grid {
  width: min(100%, 1180px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  justify-items: stretch;
}

body.public-subpage-lawyers .lawyers-grid.is-single {
  max-width: 410px;
  grid-template-columns: minmax(0, 410px);
}

body.public-subpage-lawyers .lawyers-grid.is-pair {
  max-width: 850px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-subpage-lawyers .lawyer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 382px;
  padding: 0 27px 25px;
  border: 1px solid rgba(205, 190, 157, 0.72);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13, 26, 44, 0.095);
}

body.public-subpage-lawyers .lawyer-card::before {
  inset: 0 0 auto 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(150deg, #1d3859 0%, #0d1a2c 72%);
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  body.public-subpage-lawyers .lawyer-card {
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  }
}

body.public-subpage-lawyers .lawyer-card:hover,
body.public-subpage-lawyers .lawyer-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(199, 162, 76, 0.72);
  box-shadow: 0 22px 48px rgba(13, 26, 44, 0.12);
}

body.public-subpage-lawyers .lawyer-card__aside,
body.public-subpage-lawyers .lawyer-card__stats,
body.public-subpage-lawyers .lawyer-card__proof,
body.public-subpage-lawyers .lawyer-card__headline,
body.public-subpage-lawyers .lawyer-card__meta,
body.public-subpage-lawyers .lawyer-card__badges .lawyer-badge.is-rating {
  display: none;
}

body.public-subpage-lawyers .lawyer-card__main {
  display: block;
  position: relative;
  z-index: 1;
}

body.public-subpage-lawyers .lawyer-card__top {
  display: block;
  padding-top: 74px;
}

body.public-subpage-lawyers .lawyer-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(150deg, #d8b563, #c7a24c);
  box-shadow: 0 12px 28px rgba(13, 26, 44, 0.16);
}

body.public-subpage-lawyers .lawyer-avatar img,
body.public-subpage-lawyer .lawyer-profile__avatar img {
  border-radius: 50%;
  object-position: center top;
}

body.public-subpage-lawyers .lawyer-initials,
body.public-subpage-lawyer .lawyer-profile__avatar .lawyer-initials {
  font-family: Georgia, "Times New Roman", serif;
  color: #0d1a2c;
  text-shadow: none;
  font-weight: 800;
}

body.public-subpage-lawyers .lawyer-initials {
  font-size: 32px;
}

body.public-subpage-lawyers .lawyer-card__info {
  margin-top: 18px;
  gap: 10px;
}

body.public-subpage-lawyers .lawyer-card__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
}

body.public-subpage-lawyers .lawyer-card__spec {
  color: #b8870b;
  font-weight: 700;
  font-size: 13.5px;
}

body.public-subpage-lawyers .lawyer-card__facts {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

body.public-subpage-lawyers .lawyer-card__detail-stack {
  gap: 14px;
  padding-top: 2px;
}

body.public-subpage-lawyers .lawyer-card__tags {
  min-height: 36px;
}

body.public-subpage-lawyers .lawyer-tag {
  background: #f8f5ed;
  border-color: #e7dcc1;
  color: #26364d;
  font-weight: 700;
}

body.public-subpage-lawyers .lawyer-card__cta {
  margin-top: 16px;
  padding-top: 17px;
  border-top: 1px solid #e7e3d8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.public-subpage-lawyers .lawyer-card__cta .btn {
  width: auto;
  max-width: 100%;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 18px;
}

body.public-subpage-lawyers .lawyer-card__cta .btn-primary-public {
  order: 1;
  background: #142840;
  color: #fff;
  border-color: #142840;
  box-shadow: none;
}

body.public-subpage-lawyers .lawyer-card__cta .btn-primary {
  flex: 0 1 auto;
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-left: auto;
  padding-inline: 0;
  border: 0;
  background: transparent;
  color: #0d1a2c;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: none;
}

@media (max-width: 1080px) {
  body.public-subpage-lawyers .lawyers-grid {
    width: min(100%, 850px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.public-subpage-lawyers .lawyer-card__cta .btn-primary i {
  display: none;
}

body.public-subpage-lawyers .lawyer-card__link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

body.public-subpage-lawyers .lawyer-card__cta .btn-primary::after {
  content: none;
}

body.public-subpage-lawyers .lawyer-card__cta .btn-primary:hover,
body.public-subpage-lawyers .lawyer-card__cta .btn-primary:focus-visible {
  background: transparent;
  color: #b8870b;
}

body.public-subpage-lawyer .page-hero.hero-slim {
  background: linear-gradient(150deg, #142840 0%, #0d1a2c 76%);
  padding-bottom: 80px;
}

body.public-subpage-lawyer .page-hero.hero-slim,
body.public-subpage-lawyer .page-hero.hero-slim .container {
  color: #f8fafc;
}

body.public-subpage-lawyer .page-hero.hero-slim h1 {
  color: #fff;
  text-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
}

body.public-subpage-lawyer .page-hero.hero-slim p {
  color: rgba(226, 232, 240, 0.90);
}

body.public-subpage-lawyer .page-hero.hero-slim .btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.public-subpage-lawyer .page-hero.hero-slim .btn-outline:hover,
body.public-subpage-lawyer .page-hero.hero-slim .btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.public-subpage-lawyer .page-hero.hero-slim .lawyer-profile__hero-chips {
  justify-content: center;
  max-width: 760px;
  margin-inline: auto;
}

body.public-subpage-lawyer .page-hero.hero-slim .lawyer-profile__hero-chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.93);
  color: #10233f;
  justify-content: center;
}

body.public-subpage-lawyer .page-hero.hero-slim .lawyer-profile__hero-chip.is-status {
  color: #047857;
}

body.public-subpage-lawyer .page-wrapper {
  background: linear-gradient(180deg, #f8f5ed 0%, #fff 34%, #f7f3ea 100%);
}

body.public-subpage-lawyer .page-wrapper > .section-gap:first-of-type {
  margin-top: -62px;
}

body.public-subpage-lawyer .lawyer-profile {
  max-width: 930px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

body.public-subpage-lawyer .lawyer-profile__aside {
  order: -1;
  position: relative;
  overflow: hidden;
  padding: 208px 34px 30px;
  border: 1px solid rgba(205, 190, 157, 0.72);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #fff;
  text-align: center;
  justify-items: center;
  box-shadow: 0 20px 45px rgba(13, 26, 44, 0.10);
}

body.public-subpage-lawyer .lawyer-profile__aside::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  background: linear-gradient(150deg, #1d3859 0%, #0d1a2c 74%);
}

body.public-subpage-lawyer .lawyer-profile__avatar {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: linear-gradient(150deg, #d8b563, #c7a24c);
  box-shadow: 0 14px 30px rgba(13, 26, 44, 0.18);
}

body.public-subpage-lawyer .lawyer-profile__avatar .lawyer-initials {
  font-size: 40px;
}

body.public-subpage-lawyer .lawyer-profile__meta {
  width: 100%;
  align-items: center;
}

body.public-subpage-lawyer .lawyer-profile__meta-badges,
body.public-subpage-lawyer .lawyer-profile__tags {
  justify-content: center;
}

body.public-subpage-lawyer .lawyer-profile__fact-grid {
  width: 100%;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

body.public-subpage-lawyer .lawyer-profile__fact {
  background: #fff;
  min-height: 74px;
  align-content: center;
}

body.public-subpage-lawyer .lawyer-profile__bio {
  border-radius: 0 0 18px 18px;
  border: 1px solid rgba(205, 190, 157, 0.72);
  border-top: 0;
  background: #fff;
  padding: 34px 38px;
  box-shadow: 0 20px 45px rgba(13, 26, 44, 0.10);
}

body.public-subpage-lawyer .lawyer-profile__bio h2,
body.public-subpage-lawyer .lawyer-profile__section h3 {
  font-family: Georgia, "Times New Roman", serif;
}

body.public-subpage-lawyer .lawyer-profile__bio h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
}

body.public-subpage-lawyer .lawyer-profile__bio > p {
  max-width: 72ch;
  margin: 0 auto 26px;
  color: #26364d;
  line-height: 1.75;
  text-align: center;
}

body.public-subpage-lawyer .lawyer-profile__stats,
body.public-subpage-lawyer .lawyer-profile__signal-grid {
  display: none;
}

body.public-subpage-lawyer .lawyer-profile__sections {
  max-width: 760px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

body.public-subpage-lawyer .lawyer-profile__section {
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid #e7e3d8;
  border-radius: 0;
  background: transparent;
}

body.public-subpage-lawyer .lawyer-profile__section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #65748a;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.public-subpage-lawyer .lawyer-profile__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

body.public-subpage-lawyer .lawyer-profile__list li {
  position: relative;
  padding-left: 22px;
  color: #26364d;
  line-height: 1.55;
}

body.public-subpage-lawyer .lawyer-profile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 2px solid #c7a24c;
  border-radius: 50%;
  background: #fff;
}

body.public-subpage-lawyer .lawyer-profile__governance {
  width: 100%;
  max-width: 720px;
  background: #fffaf0;
}

body.public-subpage-lawyer .lawyer-card__cta--aside {
  justify-content: center;
  max-width: 620px;
}

body.public-subpage-lawyer .lawyer-profile__handoff {
  width: min(100%, 930px);
  margin: 24px auto 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 22px;
}

body.public-subpage-lawyer .lawyer-profile__handoff-copy {
  max-width: 760px;
}

body.public-subpage-lawyer .lawyer-profile__handoff-facts {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  min-width: 0;
}

body.public-subpage-lawyer .lawyer-profile__handoff-fact {
  min-height: 76px;
}

body.public-subpage-lawyer .lawyer-profile__handoff-value {
  font-size: 0.92rem;
  line-height: 1.45;
}

body.public-subpage-lawyer .lawyer-profile__handoff-actions {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  body.public-subpage-lawyers .lawyers-grid.is-pair {
    max-width: 410px;
    grid-template-columns: minmax(0, 1fr);
  }

  body.public-subpage-lawyers .lawyer-card {
    display: grid;
    padding: 0 22px 22px;
  }
}

@media (max-width: 720px) {
  body.public-subpage-lawyers .lawyers-grid {
    width: min(100%, 410px);
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  body.public-subpage-lawyer .page-hero.hero-slim {
    padding-bottom: 56px;
  }

  body.public-subpage-lawyer .page-wrapper > .section-gap:first-of-type {
    margin-top: -44px;
  }

  body.public-subpage-lawyer .lawyer-profile__aside {
    padding: 196px 18px 24px;
  }

  body.public-subpage-lawyer .lawyer-profile__aside::before {
    height: 144px;
  }

  body.public-subpage-lawyer .lawyer-profile__avatar {
    top: 26px;
    width: 110px;
    height: 110px;
  }

  body.public-subpage-lawyer .lawyer-profile__fact-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 14px;
  }

  body.public-subpage-lawyer .lawyer-profile__bio {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  body.public-subpage-lawyer .page-hero.hero-slim .lawyer-profile__hero-chip {
    white-space: normal;
  }

  body.public-subpage-lawyer .lawyer-profile__aside {
    padding-top: 188px;
  }

  body.public-subpage-lawyer .lawyer-profile__avatar {
    top: 24px;
    width: 104px;
    height: 104px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
  }

  body.public-subpage-lawyer .lawyer-profile__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
  }

  body.public-subpage-lawyers .lawyer-card {
    min-height: auto;
    padding: 0 18px 20px;
  }

  body.public-subpage-lawyers .lawyer-card::before {
    height: 112px;
  }

  body.public-subpage-lawyers .lawyer-card__top {
    padding-top: 72px;
  }

  body.public-subpage-lawyers .lawyer-avatar {
    display: inline-flex;
    width: 88px;
    height: 88px;
    margin-inline: auto;
    border-radius: 50%;
    opacity: 1;
    visibility: visible;
  }

  body.public-subpage-lawyers .lawyer-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
  }

  body.public-subpage-lawyers .lawyer-card__info {
    margin-top: 14px;
  }

  body.public-subpage-lawyers .lawyer-card__name {
    font-size: clamp(1.75rem, 7vw, 2.05rem);
    line-height: 1.08;
  }

  body.public-subpage-lawyers .lawyer-card__spec {
    font-size: 1rem;
    line-height: 1.38;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  body.public-subpage-lawyers .lawyer-card__detail-stack {
    gap: 10px;
  }

  body.public-subpage-lawyers .lawyer-card__tags {
    min-height: 0;
    gap: 8px;
  }

  body.public-subpage-lawyers .lawyer-tag {
    min-height: 33px;
    padding: 7px 13px;
    justify-content: center;
  }

  body.public-subpage-lawyers .lawyer-card__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
  }

  body.public-subpage-lawyers .lawyer-card__cta .btn,
  body.public-subpage-lawyers .lawyer-card__cta .btn-primary {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  body.public-subpage-lawyers .lawyer-card__cta .btn-primary {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 15px;
  }

  body.public-subpage-lawyers .lawyer-card__link-arrow {
    flex: 0 0 auto;
  }
}
