/* Individual lawyer pages. Reading typography follows the language tokens. */
.lawyer-profile {
  width: min(1320px,calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(28px,3.2vw,48px) clamp(36px,5vw,72px);
}
.lawyer-profile-return {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(28px,3.8vw,52px);
  color: var(--muted);
  font: 400 13px/1.4 var(--ui);
}
.lawyer-profile-return .gya-icon { width: 18px; height: 18px; }
.lawyer-profile-return:hover { color: var(--maroon); }
.lawyer-profile-grid {
  display: grid;
  grid-template-columns: 380px minmax(0,1fr);
  grid-template-rows: max-content 1fr;
  grid-template-areas: "portrait identity" "portrait content";
  column-gap: clamp(44px,6vw,88px);
  row-gap: 30px;
  align-items: start;
}
.lawyer-profile-identity { grid-area: identity; min-width: 0; padding-top: 2px; }
.lawyer-profile-identity h1 {
  max-width: 19ch;
  margin: 0;
  color: var(--maroon);
  font: 400 clamp(42px,4.6vw,68px)/1.08 var(--display);
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.lawyer-profile-role {
  margin: 16px 0 0;
  color: var(--muted);
  font: 400 24px/1.45 var(--reading);
  letter-spacing: normal;
  text-transform: none;
}
.lawyer-profile-media { grid-area: portrait; min-width: 0; }
.lawyer-profile-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 16px;
  padding-block: 4px;
  color: var(--maroon);
  font: 400 22px/1.4 "EB Garamond",Georgia,serif;
}
.lawyer-profile-email .gya-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.lawyer-profile-email span { min-width: 0; overflow-wrap: anywhere; }
.lawyer-profile-email:hover span { text-decoration: underline; text-underline-offset: 4px; }
.lawyer-profile .lawyer-profile-portrait { width: 100%; aspect-ratio: 4/5; margin: 0; }
.lawyer-profile .portrait-awaiting { background: #E2DBD5; }
.lawyer-profile-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--maroon);
  font: 400 20px/1.35 var(--reading);
}
.lawyer-profile-contact .arrow { width: 19px; height: 19px; }
.lawyer-profile-contact:hover { border-color: var(--maroon); }
.lawyer-profile-copy { grid-area: content; min-width: 0; max-width: 60ch; }
.lawyer-profile :is(.lawyer-profile-copy,.lawyer-profile-related) h2 {
  margin: 0 0 16px;
  color: var(--maroon);
  font: 500 28px/1.2 var(--reading);
  letter-spacing: normal;
  text-wrap: balance;
}
.lawyer-profile-prose {
  color: var(--ink);
  font: 400 clamp(22px,1.7vw,24px)/1.55 var(--reading);
  overflow-wrap: break-word;
}
.lawyer-profile-prose :is(p,li,blockquote) { font-family: var(--reading); }
.lawyer-profile-prose > :first-child { margin-top: 0; }
.lawyer-profile-prose > :last-child { margin-bottom: 0; }
.lawyer-profile-prose p + p { margin-top: .95em; }
.profile-latin-name { display: inline-block; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.lawyer-profile-prose :is(h2,h3,h4,h5,h6) {
  margin-block: 1.3em .5em;
  color: var(--maroon);
  font: 500 1.18em/1.3 var(--reading);
  letter-spacing: normal;
}
.lawyer-profile-prose a { text-decoration: underline; text-underline-offset: 3px; }
.lawyer-profile-prose ul,.lawyer-profile-prose ol { padding-inline-start: 1.25em; }
.lawyer-profile-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap: 24px clamp(24px,3vw,42px);
  margin-top: 32px;
}
.lawyer-profile-panel { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.lawyer-profile-panel h2 {
  margin: 0 0 10px;
  color: var(--maroon);
  font: 500 25px/1.25 var(--reading);
  letter-spacing: normal;
  text-wrap: balance;
}
.lawyer-profile-panel ul {
  margin: 0;
  padding-inline-start: 1.15em;
  color: var(--ink);
  font: 400 21px/1.5 var(--reading);
}
.lawyer-profile-panel li { padding-inline-start: .15em; }
.lawyer-profile-practices { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.lawyer-profile-practices:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lawyer-profile-practices ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font: 400 22px/1.4 var(--reading);
}
.lawyer-profile-practices li { min-width: 0; margin: 0; padding-block: 12px; border-bottom: 1px solid var(--line); }
.lawyer-profile-related { margin-top: clamp(42px,5vw,70px); padding-top: 30px; border-top: 1px solid var(--line); }
.lawyer-profile-related ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.lawyer-profile-related li { min-width: 0; border-bottom: 1px solid var(--line); }
.lawyer-profile-related a { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-block: 20px 22px; }
.lawyer-profile-related a > div { min-width: 0; }
.lawyer-profile-related h3 { color: var(--maroon); font: 500 26px/1.2 var(--reading); letter-spacing: normal; text-wrap: balance; }
.lawyer-profile-related p { margin-top: 9px; max-width: 56ch; color: var(--muted); font: 400 21px/1.45 var(--reading); }
.lawyer-profile-related .arrow { width: 20px; height: 20px; color: var(--maroon); margin-top: 4px; }
.lawyer-profile-related a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lawyer-profile-browse { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.lawyer-profile-browse a { display: grid; grid-template-columns: minmax(0,1fr) 20px; gap: 8px 16px; align-items: center; min-width: 0; color: var(--maroon); }
.lawyer-profile-browse a > span { grid-column: 1; color: var(--muted); font: 400 12px/1.4 var(--ui); }
.lawyer-profile-browse strong { grid-column: 1; grid-row: 2; font: 400 26px/1.2 var(--reading); overflow-wrap: break-word; }
.lawyer-profile-browse .gya-icon { grid-column: 2; grid-row: 1/3; width: 20px; height: 20px; }
.lawyer-profile-browse .lawyer-profile-next { grid-column: 2; border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.lawyer-profile-browse a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lawyer-profile-identity-only { min-height: 0; }
html[dir=rtl] .lawyer-profile-identity h1 { letter-spacing: normal; line-height: 1.3; }
html[dir=rtl] .lawyer-profile-role { line-height: 1.65; }
html[dir=rtl] .lawyer-profile-prose { line-height: 1.85; }
html[dir=rtl] .lawyer-profile :is(h2,h3) { line-height: 1.5; }
html[dir=rtl] .lawyer-profile-panel h2 { line-height: 1.5; }
html[dir=rtl] .lawyer-profile-panel ul { line-height: 1.85; }
html[dir=rtl] .lawyer-profile-practices li { line-height: 1.7; }
html[dir=rtl] .lawyer-profile-related p { line-height: 1.75; }
html[dir=rtl] .lawyer-profile-return { font-size: 18px; }
html[dir=rtl] .lawyer-profile-browse a > span { font-size: 17px; }
html[dir=rtl] .lawyer-profile-browse strong { line-height: 1.5; }
html[dir=rtl] .lawyer-profile :is(.lawyer-profile-return,.lawyer-profile-browse) .gya-icon { transform: scaleX(-1); }
@media (max-width:1120px) {
  .lawyer-profile-grid { grid-template-columns: 320px minmax(0,1fr); column-gap: 42px; }
  .lawyer-profile-practices ul { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:900px) and (min-width:761px) {
  .lawyer-profile-grid { grid-template-columns: 280px minmax(0,1fr); column-gap: 30px; }
  .lawyer-profile-identity h1 { font-size: 42px; }
  .lawyer-profile-role { font-size: 22px; }
}
@media (max-width:760px) {
  .lawyer-profile { padding-top: 25px; }
  .lawyer-profile-return { margin-bottom: 28px; }
  .lawyer-profile-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "identity" "portrait" "content"; row-gap: 28px; }
  .lawyer-profile-identity { padding: 0; }
  .lawyer-profile-identity h1 { max-width: 20ch; font-size: clamp(39px,9.5vw,58px); line-height: 1.1; }
  .lawyer-profile-role { margin-top: 12px; font-size: 23px; }
  .lawyer-profile-media { width: min(100%,320px); justify-self: center; }
  .lawyer-profile-contact { font-size: 20px; padding-block: 15px; }
  .lawyer-profile-copy { width: 100%; max-width: none; }
  .lawyer-profile :is(.lawyer-profile-copy,.lawyer-profile-related) h2 { font-size: 27px; margin-bottom: 14px; }
  .lawyer-profile-prose { font-size: 22px; line-height: 1.5; }
  .lawyer-profile-panels { grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 28px; }
  .lawyer-profile-panel { padding-top: 18px; }
  .lawyer-profile-panel h2 { font-size: 24px; }
  .lawyer-profile-panel ul { font-size: 21px; line-height: 1.5; }
  .lawyer-profile-practices { margin-top: 28px; padding-top: 24px; }
  .lawyer-profile-practices li { padding-block: 11px; }
  .lawyer-profile-related { margin-top: 34px; padding-top: 24px; }
  .lawyer-profile-related ul { grid-template-columns: minmax(0,1fr); }
  .lawyer-profile-related a { padding-block: 18px; gap: 20px; }
  .lawyer-profile-related h3 { font-size: 25px; }
  .lawyer-profile-related p { font-size: 21px; }
  .lawyer-profile-browse { gap: 18px; margin-top: 32px; padding-top: 22px; }
  .lawyer-profile-browse a { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .lawyer-profile-browse strong { font-size: 23px; }
  .lawyer-profile-browse .gya-icon { display: none; }
  .lawyer-profile-browse .lawyer-profile-next { padding-inline-start: 18px; }
}
