.elg-attorney-page {
  background: var(--elg-ink);
}

.elg-attorney-page .elg-next-move {
  background: linear-gradient(180deg, #112d45 0%, #0b1b2a 100%);
}

.elg-attorney-hero {
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
  background: var(--elg-navy);
}

.elg-attorney-hero__art,
.elg-attorney-hero__backdrop,
.elg-attorney-hero__shade,
.elg-attorney-hero__portrait,
.elg-attorney-hero__grid,
.elg-attorney-hero__glow {
  position: absolute;
  pointer-events: none;
}

.elg-attorney-hero__art {
  z-index: -1;
  top: -80px;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 840px;
  overflow: hidden;
}

.elg-attorney-hero__backdrop,
.elg-attorney-hero__shade {
  inset: 0;
}

.elg-attorney-hero__backdrop img {
  width: 100%;
  height: 114.29%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.elg-attorney-hero__shade {
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 27, 42, 0.9) 0%, rgba(17, 45, 69, 0.9) 100%);
}

.elg-attorney-hero__portrait {
  z-index: 2;
  top: 112px;
  left: calc(50% - 73px);
  width: 728px;
  height: 728px;
  overflow: hidden;
}

.elg-attorney-hero__portrait img {
  position: absolute;
  top: 0;
  left: -39.85%;
  width: 187.33%;
  height: 104.48%;
  max-width: none;
}

.elg-attorney-hero__grid {
  z-index: 3;
  opacity: 0.3;
}

.elg-attorney-hero__grid img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.elg-attorney-hero__grid--vertical {
  top: 0;
  left: calc(50% - 633.75px);
  width: 1267.5px;
  height: 880px;
}

.elg-attorney-hero__grid--horizontal {
  top: 173.58px;
  left: 50%;
  width: 1440px;
  height: 629.73px;
  transform: translateX(-50%);
}

.elg-attorney-hero__glow {
  z-index: 4;
  top: 358px;
  left: calc(50% + 274px);
  width: 571px;
  height: 512px;
}

.elg-attorney-hero__container {
  position: relative;
  z-index: 5;
  padding-top: 187.19px;
  padding-bottom: 120px;
}

.elg-attorney-hero__copy {
  width: 746px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.elg-attorney-hero__heading-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.elg-attorney-hero__eyebrow {
  min-height: 11px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-attorney-hero__eyebrow-line {
  width: 50px;
  height: 1px;
  flex: 0 0 50px;
  background: var(--elg-gold);
}

.elg-attorney-hero h1 {
  margin: 0;
  overflow: visible;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 90px;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -1.8px;
  line-height: 80px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.elg-attorney-hero__summary {
  width: 100%;
  margin: 0;
  color: var(--elg-muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 28px;
}

.elg-attorney-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.elg-attorney-hero .elg-gold-button {
  width: 296.56px;
  min-height: 54.61px;
  gap: 10px;
  letter-spacing: normal;
}

.elg-attorney-hero__button-label--mobile {
  display: none;
}

.elg-attorney-hero__proof {
  color: var(--elg-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Profile overview */
.elg-profile-overview {
  min-height: auto;
  isolation: isolate;
  overflow: hidden;
  background: var(--elg-navy);
}

.elg-profile-overview__art,
.elg-profile-overview__glow {
  position: absolute;
  pointer-events: none;
}

.elg-profile-overview__art {
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.elg-profile-overview__glow {
  display: block;
}

.elg-profile-overview__glow img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.elg-profile-overview__glow--desktop {
  top: 46px;
  left: calc(50% - 506px);
  width: 1171px;
  height: 1112px;
}

.elg-profile-overview__glow--mobile-left,
.elg-profile-overview__glow--mobile-right {
  display: none;
}

.elg-profile-overview__container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 120px;
}

.elg-profile-overview__row {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 40px;
}

.elg-profile-overview__content-column,
.elg-profile-overview__proof-column {
  padding-inline: 0;
}

.elg-profile-overview__content-column {
  order: 1;
  flex: 0 0 680px;
  max-width: 680px;
}

.elg-profile-overview__proof-column {
  order: 2;
  flex: 0 0 480px;
  max-width: 480px;
}

.elg-profile-overview__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.elg-profile-overview__eyebrow {
  min-height: 11px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-profile-overview__eyebrow-line {
  width: 50px;
  height: 1px;
  flex: 0 0 50px;
  background: var(--elg-gold);
}

.elg-profile-overview h2 {
  width: 559px;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 70px;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -1.4px;
  line-height: 70px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-profile-overview__biography {
  width: 100%;
  color: var(--elg-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-profile-overview__biography p {
  margin: 0 0 15px;
}

.elg-profile-overview__biography p:last-child {
  margin-bottom: 0;
}

.elg-profile-overview__accordions {
  width: 100%;
}

.elg-profile-overview__accordion {
  width: 100%;
  border-top: 0.5px solid rgba(152, 166, 176, 0.5);
  will-change: height;
}

.elg-profile-overview__accordion:last-child {
  border-bottom: 0.5px solid rgba(152, 166, 176, 0.5);
}

.elg-profile-overview__accordion summary {
  min-height: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 29.5px;
  color: var(--elg-gold);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 13px;
  list-style: none;
  text-transform: uppercase;
}

.elg-profile-overview__accordion summary::-webkit-details-marker {
  display: none;
}

.elg-profile-overview__accordion-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.elg-profile-overview__accordion-icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  max-width: none;
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.elg-profile-overview__accordion-plus {
  width: 13px;
  height: 13px;
}

.elg-profile-overview__accordion-minus {
  width: 13px;
  height: 13px;
  opacity: 0;
}

.elg-profile-overview__accordion[open] .elg-profile-overview__accordion-plus {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.elg-profile-overview__accordion[open] .elg-profile-overview__accordion-minus {
  opacity: 1;
}

.elg-profile-overview__accordion-body {
  padding: 0 0 29px;
  color: var(--elg-muted);
  font-size: 18px;
  line-height: 28px;
  transform-origin: top;
  will-change: opacity, transform;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-profile-overview__accordion-body p,
.elg-profile-overview__accordion-body ul {
  margin: 0 0 15px;
}

.elg-profile-overview__accordion-body ul:last-child {
  margin-bottom: 0;
}

.elg-profile-overview__accordion-body ul {
  padding-left: 27px;
}

.elg-profile-overview__accordion-body strong {
  color: var(--elg-muted);
  font-weight: 700;
}

.elg-profile-overview__accordion-body em {
  font-style: italic;
}

.elg-profile-proof {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px;
  border: 0;
  border-left: 1px solid #324657;
  background: linear-gradient(90deg, #0b1b2a 0%, #0c1721 97.66%);
}

.elg-profile-proof::before,
.elg-profile-proof::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, #324657 0%, #0b1b2a 100%);
}

.elg-profile-proof::before {
  top: 0;
}

.elg-profile-proof::after {
  bottom: 0;
}

.elg-profile-proof__heading {
  margin: 0;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
}

.elg-profile-proof__stats {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.elg-profile-proof__stat {
  min-height: 111px;
  display: flex;
  align-items: center;
  border-top: 0.5px solid rgba(152, 166, 176, 0.5);
}

.elg-profile-proof__stat:last-child {
  border-bottom: 0.5px solid rgba(152, 166, 176, 0.5);
}

.elg-profile-proof__stat strong {
  width: 200px;
  flex: 0 0 200px;
  color: var(--elg-gold);
  font-family: var(--elg-font-display);
  font-size: 50px;
  font-weight: 600;
  line-height: 50px;
}

.elg-profile-proof__stat span {
  width: 135px;
  color: var(--elg-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 13px;
  text-transform: uppercase;
}

/* Awards + Recognition */
.elg-profile-awards {
  min-height: auto;
  isolation: isolate;
  overflow: hidden;
  background: #0c1721;
}

.elg-profile-awards__art,
.elg-profile-awards__glow {
  position: absolute;
  pointer-events: none;
}

.elg-profile-awards__art {
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.elg-profile-awards__glow {
  display: block;
}

.elg-profile-awards__glow img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.elg-profile-awards__glow--desktop {
  top: 46px;
  left: calc(50% - 719px);
  width: 1171px;
  height: 1112px;
}

.elg-profile-awards__glow--mobile {
  display: none;
}

.elg-profile-awards__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.elg-profile-awards__header-column,
.elg-profile-awards__card-column {
  padding-inline: 0;
}

.elg-profile-awards__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.elg-profile-awards__eyebrow {
  min-height: 11px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.elg-profile-awards__eyebrow-line {
  width: 50px;
  height: 1px;
  flex: 0 0 50px;
  background: var(--elg-gold);
}

.elg-profile-awards h2 {
  width: 100%;
  margin: 0;
  overflow: visible;
  color: var(--elg-white);
  font-family: var(--elg-font-display);
  font-size: 70px;
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -1.4px;
  line-height: 70px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-profile-awards__header p {
  width: 100%;
  margin: 0;
  color: var(--elg-muted);
  font-size: 18px;
  line-height: 28px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-profile-awards__media-row {
  flex-wrap: wrap;
  align-items: stretch;
  gap: 30px;
}

.elg-profile-awards__card-column {
  flex: 0 0 calc(50% - 15px);
  max-width: calc(50% - 15px);
}

.elg-profile-awards__card {
  position: relative;
  width: 100%;
  aspect-ratio: 1082 / 823;
  margin: 0;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 450ms ease;
}

.elg-profile-awards__source {
  position: absolute;
  max-width: none;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 450ms ease;
}

.elg-profile-awards__source--trucking {
  top: -9.72%;
  left: -29.07%;
  width: 276.16%;
  height: 302.55%;
}

.elg-profile-awards__source--motor-vehicle {
  top: -9.9%;
  left: -125.89%;
  width: 252.36%;
  height: 300.72%;
}

.elg-profile-awards__source--full {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .elg-profile-awards__card:hover {
    z-index: 2;
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  }

  .elg-profile-awards__card:hover .elg-profile-awards__source {
    transform: scale(1.012);
    filter: saturate(1.04) contrast(1.02);
  }
}

@media (min-width: 1025px) {
  .elg-profile-overview {
    overflow: clip;
  }

  .elg-profile-overview__proof-column {
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
}

@media (min-width: 1025px) {
  .elg-attorney-hero__summary {
    margin-top: -16px;
  }
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .elg-attorney-hero__container {
    padding-top: 165px;
  }

  .elg-attorney-hero__copy {
    width: min(690px, 100%);
  }

  .elg-attorney-hero h1 {
    font-size: clamp(66px, 6.25vw, 84px);
    line-height: 0.8889;
  }

  .elg-attorney-hero__portrait {
    left: 48%;
  }

  .elg-profile-overview__row {
    gap: 30px;
  }

  .elg-profile-overview__content-column {
    flex-basis: calc(58.3333% - 15px);
    max-width: calc(58.3333% - 15px);
  }

  .elg-profile-overview__proof-column {
    flex-basis: calc(41.6667% - 15px);
    max-width: calc(41.6667% - 15px);
  }

  .elg-profile-overview h2 {
    font-size: clamp(58px, 5.2vw, 68px);
    line-height: 1;
  }

  .elg-profile-proof__stat strong {
    width: 48%;
    flex-basis: 48%;
    font-size: 44px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elg-attorney-hero {
    min-height: 870px;
  }

  .elg-attorney-hero__art {
    min-height: 950px;
  }

  .elg-attorney-hero__container {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .elg-attorney-hero__copy {
    width: 100%;
    gap: 30px;
  }

  .elg-attorney-hero__heading-group,
  .elg-attorney-hero__heading-group h1 {
    width: 100%;
  }

  .elg-attorney-hero h1 {
    font-size: clamp(60px, 6.65vw, 68px);
    line-height: 0.95;
    white-space: normal;
  }

  .elg-attorney-hero__portrait {
    top: auto;
    bottom: -15px;
    left: 42%;
    width: 620px;
    height: 620px;
  }

  .elg-profile-overview {
    min-height: auto;
  }

  .elg-profile-overview__container {
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .elg-profile-overview__row {
    flex-direction: column;
    gap: 60px;
  }

  .elg-profile-overview__proof-column,
  .elg-profile-overview__content-column {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .elg-profile-overview__proof-column {
    order: 1;
  }

  .elg-profile-overview__content-column {
    order: 2;
  }

  .elg-profile-proof {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .elg-attorney-hero {
    min-height: 794px;
  }

  .elg-attorney-hero__art {
    top: -60px;
    min-height: 854px;
  }

  .elg-attorney-hero__backdrop img {
    width: 100%;
    height: 1141px;
    min-height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .elg-attorney-hero__portrait {
    top: auto;
    bottom: 0;
    left: -3px;
    width: 405px;
    height: 404px;
  }

  .elg-attorney-hero__portrait img {
    left: -39.85%;
    width: 187.33%;
    height: 104.48%;
  }

  .elg-attorney-hero__grid--vertical {
    left: calc(50% - 720px);
    width: 1440px;
    height: 1141px;
  }

  .elg-attorney-hero__grid--horizontal {
    top: 225px;
    width: 1440px;
    height: 816.5px;
  }

  .elg-attorney-hero__glow {
    display: none;
  }

  .elg-attorney-hero__container {
    padding-top: 50px;
    padding-bottom: 80px;
  }

  .elg-attorney-hero__row {
    margin-inline: 0;
  }

  .elg-attorney-hero__copy-column {
    padding-inline: 0;
  }

  .elg-attorney-hero__copy {
    width: 100%;
    gap: 30px;
  }

  .elg-attorney-hero__heading-group {
    width: 100%;
    gap: 30px;
  }

  .elg-attorney-hero__heading-group h1 {
    width: 100%;
  }

  .elg-attorney-hero__eyebrow {
    min-height: 9px;
    font-size: 12px;
    line-height: 9px;
  }

  .elg-attorney-hero__eyebrow-line {
    width: 30px;
    flex-basis: 30px;
  }

  .elg-attorney-hero h1 {
    font-size: clamp(31px, 8.15vw, 60px);
    letter-spacing: -1.2px;
    line-height: 0.95;
    white-space: normal;
  }

  .elg-attorney-hero h1 span {
    display: inline;
  }

  .elg-attorney-hero__summary {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-attorney-hero .elg-gold-button {
    width: 280.56px;
    min-height: 54.61px;
  }

  .elg-attorney-hero__button-label--desktop {
    display: none;
  }

  .elg-attorney-hero__button-label--mobile {
    display: inline;
  }

  .elg-attorney-hero__proof {
    font-size: 11px;
    line-height: 11px;
  }

  .elg-profile-overview {
    min-height: auto;
  }

  .elg-profile-overview__glow--desktop {
    display: none;
  }

  .elg-profile-overview__glow--mobile-left,
  .elg-profile-overview__glow--mobile-right {
    display: block;
  }

  .elg-profile-overview__glow--mobile-left {
    top: -79px;
    left: -401px;
    width: 946px;
    height: 910px;
  }

  .elg-profile-overview__glow--mobile-right {
    top: 452px;
    left: -128px;
    width: 969px;
    height: 930px;
  }

  .elg-profile-overview__container {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  .elg-profile-overview__row {
    flex-direction: column;
    gap: 60px;
  }

  .elg-profile-overview__proof-column,
  .elg-profile-overview__content-column {
    width: 100%;
    max-width: 100%;
    flex-basis: auto;
  }

  .elg-profile-overview__proof-column {
    order: 1;
  }

  .elg-profile-overview__content-column {
    order: 2;
  }

  .elg-profile-proof {
    gap: 20px;
    padding: 30px 20px;
  }

  .elg-profile-proof__heading {
    font-size: 12px;
    line-height: 9px;
  }

  .elg-profile-proof__stat {
    min-height: 60px;
  }

  .elg-profile-proof__stat strong {
    width: 200px;
    flex-basis: 200px;
    font-size: 30px;
    line-height: 30px;
  }

  .elg-profile-proof__stat span {
    width: 135px;
    font-size: 11px;
    line-height: 11px;
  }

  .elg-profile-overview__eyebrow {
    min-height: 9px;
    font-size: 12px;
    line-height: 9px;
  }

  .elg-profile-overview__eyebrow-line {
    width: 30px;
    flex-basis: 30px;
  }

  .elg-profile-overview h2 {
    width: 100%;
    font-size: 40px;
    letter-spacing: -0.8px;
    line-height: 45px;
  }

  .elg-profile-overview__biography,
  .elg-profile-overview__accordion-body {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-profile-overview__accordion summary {
    min-height: 9px;
    font-size: 12px;
    line-height: 9px;
  }

  .elg-profile-overview__accordion-body ul {
    padding-left: 22px;
  }

  .elg-profile-awards {
    min-height: auto;
  }

  .elg-profile-awards__glow--desktop {
    display: none;
  }

  .elg-profile-awards__glow--mobile {
    top: -36px;
    left: calc(50% - 425px);
    width: 864px;
    height: 836px;
    display: block;
  }

  .elg-profile-awards__container {
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .elg-profile-awards__header {
    gap: 30px;
  }

  .elg-profile-awards__eyebrow {
    min-height: 9px;
    font-size: 12px;
    line-height: 9px;
  }

  .elg-profile-awards__eyebrow-line {
    width: 30px;
    flex-basis: 30px;
  }

  .elg-profile-awards h2 {
    font-size: 40px;
    letter-spacing: -0.8px;
    line-height: 45px;
  }

  .elg-profile-awards__header p {
    font-size: 16px;
    line-height: 26px;
  }

  .elg-profile-awards__media-row {
    gap: 20px;
  }

  .elg-profile-awards__card-column {
    flex-basis: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .elg-profile-awards__card {
    aspect-ratio: 335 / 254.8105;
  }
}

@media (max-width: 420px) {
  .elg-attorney-hero {
    min-height: 824px;
  }

  .elg-attorney-hero__art {
    min-height: 884px;
  }

  .elg-attorney-hero h1 {
    font-size: clamp(31px, 8.15vw, 35px);
    line-height: 0.95;
  }

  .elg-attorney-hero__summary {
    font-size: 15px;
    line-height: 24px;
  }

  .elg-attorney-hero .elg-gold-button {
    width: min(280.56px, 100%);
  }

  .elg-attorney-hero__proof {
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .elg-profile-proof__stat strong {
    width: 52%;
    flex-basis: 52%;
  }

  .elg-profile-proof__stat span {
    width: 48%;
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .elg-profile-overview h2 {
    font-size: 38px;
    line-height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elg-attorney-hero .elg-gold-button,
  .elg-attorney-hero .elg-gold-button img,
  .elg-profile-overview__accordion-icon img,
  .elg-profile-overview__accordion,
  .elg-profile-overview__accordion-body,
  .elg-profile-awards__card,
  .elg-profile-awards__source {
    transition: none;
  }
}

/* Generic Team Member headshots use the same profile shell without inheriting
   the wide Jason-specific source crop. The class is supplied by ACF per hero. */
.elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait {
  top: 72px;
  right: max(24px, calc(50% - 620px));
  left: auto;
  width: 560px;
  height: 688px;
}

.elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait {
    right: 0;
    width: min(47vw, 560px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait {
    top: auto;
    right: clamp(-30px, 1vw, 18px);
    bottom: 0;
    left: auto;
    width: 520px;
    height: 620px;
  }
}

@media (max-width: 767px) {
  .elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(100%, 405px);
    height: 404px;
  }

  .elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait img {
    object-position: 50% 14%;
  }
}

/* Gary profile: keep the portrait clear of the header at laptop/desktop widths. */
@media (min-width: 1025px) {
  .page-id-11872 .elg-attorney-hero--portrait-headshot .elg-attorney-hero__portrait {
    top: 104px;
  }
}

/* Figma profile portrait: transparent cutout anchored to the hero baseline. */
.elg-attorney-hero--portrait-figma .elg-attorney-hero__portrait {
  top: 116px;
  right: auto;
  bottom: auto;
  left: calc(50% - 77px);
  width: 769px;
  height: 725px;
  overflow: visible;
}

.elg-attorney-hero--portrait-figma .elg-attorney-hero__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .elg-attorney-hero--portrait-figma .elg-attorney-hero__portrait {
    top: auto;
    bottom: 0;
    width: min(64vw, 769px);
    height: auto;
    aspect-ratio: 769 / 725;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elg-attorney-hero--portrait-figma .elg-attorney-hero__portrait {
    top: auto;
    right: auto;
    bottom: 0;
    left: 42%;
    width: min(76vw, 620px);
    height: auto;
    aspect-ratio: 769 / 725;
  }
}

@media (max-width: 767px) {
  .elg-attorney-hero--portrait-figma .elg-attorney-hero__portrait {
    top: auto;
    right: auto;
    bottom: 0;
    left: -3px;
    width: 405px;
    height: 404px;
  }
}

/* Match Gary CTA phone hover to Home, without hover motion — 2026-09-03 */
body.page-id-11872 .elg-next-move__phone.is-reveal-complete,
body.page-id-11872 .elg-next-move__phone:not(.elg-reveal),
body.page-id-11872 .elg-next-move__phone:hover,
body.page-id-11872 .elg-next-move__phone:focus-visible {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

body.page-id-11872 .elg-next-move__phone.is-reveal-complete *,
body.page-id-11872 .elg-next-move__phone.is-reveal-complete::before,
body.page-id-11872 .elg-next-move__phone.is-reveal-complete::after,
body.page-id-11872 .elg-next-move__phone:hover *,
body.page-id-11872 .elg-next-move__phone:hover::before,
body.page-id-11872 .elg-next-move__phone:hover::after,
body.page-id-11872 .elg-next-move__phone:focus-visible *,
body.page-id-11872 .elg-next-move__phone:focus-visible::before,
body.page-id-11872 .elg-next-move__phone:focus-visible::after {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

body.page-id-11872 .elg-next-move__phone:hover,
body.page-id-11872 .elg-next-move__phone:focus-visible {
  color: var(--elg-gold-bright, #ebc77f);
  border-color: var(--elg-gold-bright, #ebc77f);
}

body.page-id-11872 .elg-next-move__phone:hover span,
body.page-id-11872 .elg-next-move__phone:hover strong,
body.page-id-11872 .elg-next-move__phone:focus-visible span,
body.page-id-11872 .elg-next-move__phone:focus-visible strong {
  color: var(--elg-gold-bright, #ebc77f) !important;
}

/* Match the attorney-profile phone CTA hover to Home, without hover motion. */
.elg-attorney-page .elg-next-move__phone,
.elg-attorney-page .elg-next-move__phone span,
.elg-attorney-page .elg-next-move__phone strong {
  transition: none !important;
  animation: none !important;
}

.elg-attorney-page .elg-next-move__phone:hover,
.elg-attorney-page .elg-next-move__phone:focus-visible {
  border-color: var(--elg-gold-bright, #ebc77f);
  color: var(--elg-gold-bright, #ebc77f);
  transform: none !important;
}

.elg-attorney-page .elg-next-move__phone:hover span,
.elg-attorney-page .elg-next-move__phone:hover strong,
.elg-attorney-page .elg-next-move__phone:focus-visible span,
.elg-attorney-page .elg-next-move__phone:focus-visible strong {
  color: var(--elg-gold-bright, #ebc77f) !important;
}
