/* Profile reading rules: same measure and hierarchy across the whole team. */
body.vision-v7 .lawyer-profile {
  --profile-ink: #24333b;
  --profile-muted: #586d78;
  --profile-line: #d3dde1;
  --profile-reading: 18px;
  color: var(--profile-ink);
  background: #f7f8f5;
}
body.vision-v7 .lawyer-profile .lawyer-profile-hero {
  width: min(1100px, calc(100% - 48px));
  padding: 36px 0 56px;
}
body.vision-v7 .lawyer-profile .lawyer-profile-hero > .breadcrumb { margin-bottom: 28px; font-size: 13px !important; }
body.vision-v7 .lawyer-profile .lawyer-profile-intro {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 48px;
}
body.vision-v7 .lawyer-profile .lawyer-profile-portrait { max-width: 360px; }
body.vision-v7 .lawyer-profile .lawyer-profile-title { padding-top: 0; }
body.vision-v7 .lawyer-profile .lawyer-profile-title > .v5-label { margin-bottom: 16px; }
body.vision-v7 .lawyer-profile .lawyer-profile-title h1 {
  font-size: 40px !important;
  line-height: 1.3;
  letter-spacing: -.025em;
}
body.vision-v7 .lawyer-profile .lawyer-profile-title h1 .en {
  font-size: 24px !important;
  margin-top: 8px;
  line-height: 1.4;
}
body.vision-v7 .lawyer-profile .lawyer-profile-role { margin-top: 18px; }
body.vision-v7 .lawyer-profile .lawyer-profile-locations { margin-top: 16px; gap: 16px 24px; }
body.vision-v7 .lawyer-profile .lawyer-profile-expertise { margin-top: 24px; padding-top: 18px; }
body.vision-v7 .lawyer-profile .lawyer-profile-expertise h2 { font-size: 14px !important; margin-bottom: 12px; }
body.vision-v7 .lawyer-profile .lawyer-profile-expertise h2 .en { font-size: 13px !important; margin-top: 0; }
body.vision-v7 .lawyer-profile .lawyer-profile-expertise > div { gap: 14px 24px; }
body.vision-v7 .lawyer-profile .lawyer-profile-connect { margin-top: 24px; padding-top: 18px; }
body.vision-v7 .lawyer-profile .lawyer-profile-actions { margin-top: 18px; }
body.vision-v7 .lawyer-profile .lawyer-profile-actions .btn .en { color: inherit; }
body.vision-v7 .lawyer-profile .lawyer-profile-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 760px);
  gap: 40px;
  width: min(1000px, calc(100% - 48px));
  margin-inline: auto;
  padding: 0 0 40px;
  align-items: start;
}
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar {
  position: sticky;
  top: calc(var(--site-header-height, 96px) + 24px);
  overflow: visible;
  min-width: 0;
  max-height: none;
  color: var(--profile-muted);
}
body.vision-v7 .lawyer-profile .profile-contents summary {
  font-size: 13px;
  line-height: 1.6;
  min-height: 40px;
  padding: 8px 0 12px;
  cursor: pointer;
}
body.vision-v7 .lawyer-profile .profile-contents summary::marker { color: #1772b4; }
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav {
  display: block;
  width: auto;
  max-height: calc(100dvh - var(--site-header-height, 96px) - 108px);
  overflow-y: auto;
  padding: 0 12px 0 14px;
  border: 0;
  border-left: 1px solid var(--profile-line);
  scrollbar-width: thin;
  scrollbar-color: #7898aa transparent;
}
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav::-webkit-scrollbar { width: 6px; height: 6px; }
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav > a {
  display: block;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--profile-muted);
}
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav > a .en { font-size: 12px !important; margin-top: 2px; line-height: 1.5; }
body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav > a:hover { color: #1772b4; }
body.vision-v7 .lawyer-profile .lawyer-profile-content { width: 100%; min-width: 0; max-width: 760px; }
body.vision-v7 .lawyer-profile .lawyer-bio-section {
  margin: 0 0 36px;
  padding: 0 0 36px;
  border-color: var(--profile-line);
}
/* The document already reserves space for the fixed site header. */
body.vision-v7 #main .lawyer-profile .lawyer-bio-section { scroll-margin-top: 24px; }
body.vision-v7 .lawyer-profile .lawyer-bio-section > h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 24px;
  padding: 0;
  font-size: 28px !important;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}
body.vision-v7 .lawyer-profile .lawyer-bio-section > h2 > span[aria-hidden] {
  order: 2;
  margin-left: auto;
  color: #1772b4;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .06em;
}
body.vision-v7 .lawyer-profile .lawyer-bio-section > h2 > .en {
  order: 3;
  flex-basis: 100%;
  font-size: 13px !important;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0;
  color: var(--profile-muted);
}
body.vision-v7 .lawyer-profile :is([data-profile-section-body], .lawyer-section-text, .lawyer-section-list) {
  font-family: var(--font);
  font-size: var(--profile-reading);
  line-height: 1.85;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  color: var(--profile-ink);
}
body.vision-v7 .lawyer-profile [data-profile-section-body] :is(p, li) {
  font-family: inherit !important;
  font-size: var(--profile-reading) !important;
  line-height: 1.85 !important;
  text-align: start !important;
  text-indent: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
body.vision-v7 .lawyer-profile [data-profile-section-body] p { margin: 0 0 24px; padding: 0; }
body.vision-v7 .lawyer-profile .lawyer-section-list {
  list-style: disc;
  padding: 0 0 0 1.1em;
  margin: 0 0 24px;
}
body.vision-v7 .lawyer-profile .lawyer-section-list li { padding-left: .25em; margin: 0 0 16px; }
body.vision-v7 .lawyer-profile .lawyer-section-list li::marker { color: #1772b4; font-size: .7em; }
body.vision-v7 .lawyer-profile .lawyer-section-list li p { margin-bottom: 12px; }
body.vision-v7 .lawyer-profile .lawyer-section-list li > :last-child { margin-bottom: 0; }
body.vision-v7 .lawyer-profile [data-profile-section-body] h3.lawyer-section-subheading {
  font-size: 22px !important;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  padding: 0;
  margin: 30px 0 14px;
}
body.vision-v7 .lawyer-profile [data-profile-section-body] > :first-child,
body.vision-v7 .lawyer-profile .lawyer-section-text > :first-child { margin-top: 0; }
body.vision-v7 .lawyer-profile [data-profile-section-body] > :last-child,
body.vision-v7 .lawyer-profile .lawyer-section-text > :last-child { margin-bottom: 0; }
body.vision-v7 .lawyer-profile .profile-number { white-space: nowrap; }
body.vision-v7 .lawyer-profile .lawyer-history-entry { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 20px; margin-bottom: 24px; }
body.vision-v7 .lawyer-profile .lawyer-history-entry > p { margin: 0; }
body.vision-v7 .lawyer-profile .lawyer-history-entry > p:not(.lawyer-history-date) { grid-column: 2; }
body.vision-v7 .lawyer-profile .lawyer-history-entry > p:last-child { margin-bottom: 0; }
body.vision-v7 .lawyer-profile .lawyer-history-entry > .lawyer-history-date { grid-column: 1; grid-row: 1; color: #1772b4; font-size: 14px !important; font-variant-numeric: tabular-nums; padding-top: 3px; }
body.vision-v7 .lawyer-profile .lawyer-profile-office-list { gap: 20px; }
body.vision-v7 .lawyer-profile .lawyer-office-contact { padding: 24px; background: #edf2f3; }
body.vision-v7 .lawyer-profile .lawyer-office-contact h3 { font-size: 22px !important; line-height: 1.5; }
body.vision-v7 .lawyer-profile .lawyer-office-contact h3 .en { font-size: 13px !important; margin-top: 4px; }
body.vision-v7 .lawyer-profile .lawyer-office-contact address { font-size: 16px; margin-top: 16px; }
body.vision-v7 .lawyer-profile .lawyer-office-phone { margin-top: 14px; }
body.vision-v7 .lawyer-profile :is(.lawyer-profile-source, .lawyer-profile-source p, .lawyer-profile-source .source, .lawyer-profile-source .en, .lawyer-language-note) {
  font-size: 13px !important;
  line-height: 1.65;
  color: var(--profile-muted);
}
body.vision-v7 .lawyer-profile :is(a, button, summary):focus-visible { outline: 2px solid #1772b4; outline-offset: 3px; }
@media (max-width: 1023px) {
  body.vision-v7 .lawyer-profile .lawyer-profile-body { display: block; width: min(760px, calc(100% - 48px)); }
  body.vision-v7 .lawyer-profile .lawyer-profile-sidebar { position: static; margin-bottom: 28px; }
  body.vision-v7 .lawyer-profile .lawyer-profile-sidebar nav { max-height: 300px; }
  body.vision-v7 .lawyer-profile .profile-contents { border-block: 1px solid var(--profile-line); }
  body.vision-v7 .lawyer-profile .profile-contents summary { padding-block: 12px; }
  body.vision-v7 .lawyer-profile .profile-contents nav { margin-bottom: 16px; }
}
@media (max-width: 760px) {
  body.vision-v7 .lawyer-profile .lawyer-profile-hero { width: min(760px, calc(100% - 48px)); padding: 28px 0 40px; }
  body.vision-v7 .lawyer-profile .lawyer-profile-intro { gap: 0; }
  body.vision-v7 .lawyer-profile .lawyer-profile-portrait { max-width: 360px; }
  body.vision-v7 .lawyer-profile .lawyer-profile-title > .lawyer-profile-role { margin-bottom: 24px; }
}
@media (max-width: 600px) {
  body.vision-v7 .lawyer-profile { --profile-reading: 17px; }
  body.vision-v7 .lawyer-profile :is(.lawyer-profile-hero, .lawyer-profile-body) { width: calc(100% - 40px); }
  body.vision-v7 .lawyer-profile .lawyer-profile-title h1 { font-size: 32px !important; }
  body.vision-v7 .lawyer-profile .lawyer-profile-title h1 .en { font-size: 20px !important; }
  body.vision-v7 .lawyer-profile .lawyer-bio-section { padding-bottom: 28px; margin-bottom: 28px; }
  body.vision-v7 .lawyer-profile .lawyer-bio-section > h2 { font-size: 24px !important; margin-bottom: 20px; }
  body.vision-v7 .lawyer-profile [data-profile-section-body] p { margin-bottom: 20px; }
  body.vision-v7 .lawyer-profile [data-profile-section-body] h3.lawyer-section-subheading { font-size: 20px !important; margin-top: 26px; }
  body.vision-v7 .lawyer-profile .lawyer-history-entry { display: block; margin-bottom: 20px; }
  body.vision-v7 .lawyer-profile .lawyer-history-entry > .lawyer-history-date { display: block; margin-bottom: 4px; }
  body.vision-v7 .lawyer-profile .lawyer-office-contact { padding: 22px 20px; }
}
@media print {
  body.vision-v7 .lawyer-profile { background: #fff; }
  body.vision-v7 .lawyer-profile :is(.lawyer-profile-hero, .lawyer-profile-body) { width: 100%; padding-inline: 0; }
  body.vision-v7 .lawyer-profile .lawyer-profile-body { display: block; }
  body.vision-v7 .lawyer-profile .lawyer-profile-sidebar { display: none; }
  body.vision-v7 .lawyer-profile .lawyer-profile-content { width: 100%; max-width: none; }
  body.vision-v7 .lawyer-profile .lawyer-profile-intro { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; }
  body.vision-v7 .lawyer-profile .lawyer-profile-title { display: block; }
  body.vision-v7 .lawyer-profile .lawyer-bio-section > h2 { break-after: avoid; }
}
