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

.elg-team-hero .elg-about-hero__backdrop img {
  object-position: center 44%;
}

.elg-team-hero .elg-about-hero__shade {
  background: linear-gradient(90deg, rgba(5, 24, 38, 0.92) 0%, rgba(7, 31, 48, 0.72) 52%, rgba(8, 39, 62, 0.82) 100%);
}

.elg-team-hero__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--elg-white);
  text-decoration: none;
}

.elg-team-hero__phone span {
  color: #98a6b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.elg-team-hero__phone strong {
  border-bottom: 1px solid var(--elg-gold-bright);
  font-size: 22px;
  line-height: 1.35;
}

.elg-team-directory,
.elg-team-directory .elg-about-team__container,
.elg-team-directory .elg-about-team__column,
.elg-team-directory .elg-about-team__header,
.elg-team-directory .elg-about-team__heading-group,
.elg-team-directory .elg-about-team__body,
.elg-team-directory .elg-about-team__grid,
.elg-team-directory .elg-about-team__grid-item {
  height: auto;
}

.elg-team-directory {
  min-height: 0;
}

.elg-team-directory .elg-about-team__container {
  padding-block: 120px;
}

.elg-team-directory .elg-about-team__column {
  align-items: stretch;
  gap: 60px;
}

.elg-team-directory .elg-about-team__header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 24px 60px;
  text-align: left;
}

.elg-team-directory .elg-about-team__eyebrow {
  grid-column: 1 / -1;
  justify-content: flex-start;
}

.elg-team-directory .elg-about-team__heading-group {
  display: contents;
}

.elg-team-directory .elg-about-team__heading-group h2 {
  width: auto;
  padding: 0;
  font-size: 62px;
  line-height: 0.98;
}

.elg-team-directory .elg-about-team__heading-group > p {
  align-self: center;
  font-size: 16px;
  line-height: 26px;
}

.elg-team-directory .elg-about-team__body {
  display: block;
}

.elg-team-directory .elg-about-team__grid {
  grid-template-rows: none;
  grid-auto-rows: 458px;
}

.elg-team-directory .elg-about-team__grid-item {
  min-width: 0;
}

.elg-team-directory .elg-about-team__portrait img {
  top: 0;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.elg-team-directory .elg-about-team__card-copy {
  width: calc(100% - 48px);
}

.elg-team-directory .elg-about-team__card-copy strong,
.elg-team-directory .elg-about-team__card-copy > span {
  text-overflow: ellipsis;
}

.elg-team-next-move .elg-next-move__content {
  text-align: center;
}

.elg-team-hero .elg-about-hero__action-group {
  row-gap: 40px;
}

.elg-team-hero .elg-about-hero__action-group > p {
  height: auto;
  min-height: 0;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .elg-team-directory .elg-about-team__container {
    padding-block: 80px;
  }

  .elg-team-directory .elg-about-team__grid {
    grid-auto-rows: auto;
  }

  .elg-team-directory .elg-about-team__grid-item {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .elg-team-hero {
    height: auto !important;
    min-height: 854px !important;
    margin-top: -50px;
  }

  .elg-team-hero .elg-about-hero__art {
    top: 0;
    height: 100%;
  }

  .elg-team-hero .elg-about-hero__backdrop {
    opacity: 0.75;
  }

  .elg-team-hero .elg-about-hero__backdrop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }

  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 854px;
    padding-top: 90px;
    padding-bottom: 0;
  }

  .elg-team-hero .elg-about-hero__row {
    width: 100%;
    margin-inline: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__copy-column,
  .elg-team-hero .elg-about-hero__stats-column {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: 100%;
    align-items: stretch;
    gap: 17px;
    padding: 0;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__heading-group {
    align-items: flex-start;
    gap: 25px;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__action-group {
    width: 100%;
    align-items: flex-start;
    row-gap: 40px;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__action-group > p {
    width: 100%;
    height: auto;
    max-width: none;
    margin-inline: 0;
  }

  .elg-team-hero .elg-about-hero__actions {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    height: auto;
    min-height: 86px;
    padding: 22px;
  }

  .elg-team-hero .elg-gold-button {
    width: auto;
    height: 50px;
    min-height: 50px;
    padding: 15px 24px;
    font-size: 13px;
  }

  .elg-team-hero__phone strong {
    border-bottom: 0;
    font-size: 25px;
  }

  .elg-team-hero__phone {
    height: 37px;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #98a6b0;
  }

  .elg-team-hero__phone span {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .elg-team-directory .elg-about-team__container {
    padding-block: 60px;
  }

  .elg-team-directory .elg-about-team__column {
    gap: 40px;
  }

  .elg-team-directory .elg-about-team__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
  }

  .elg-team-directory .elg-about-team__heading-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    height: auto;
  }

  .elg-team-directory .elg-about-team__heading-group h2 {
    width: 100%;
    height: auto;
    font-size: 40px;
    line-height: 45px;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
  }

  .elg-team-directory .elg-about-team__heading-group h2 br {
    display: none;
  }

  .elg-team-directory .elg-about-team__heading-group > p {
    height: auto;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
  }

  .elg-team-directory .elg-about-team__grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    gap: 15px;
  }

  .elg-team-directory .elg-about-team__grid-item,
  .elg-team-directory .elg-about-team__card {
    height: auto;
    min-height: 0;
  }

  .elg-team-directory .elg-about-team__portrait {
    height: auto;
    flex-basis: auto;
    aspect-ratio: 371.333 / 350;
  }

  .elg-team-directory .elg-about-team__card-footer {
    height: auto;
    min-height: 66px;
    flex: 1 0 auto;
    display: flex;
    align-items: flex-start;
    padding: 15px;
  }

  .elg-team-directory .elg-about-team__card-copy {
    position: static;
    width: 100%;
    height: auto;
    min-height: 36px;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .elg-team-directory .elg-about-team__card-copy strong,
  .elg-team-directory .elg-about-team__card-copy > span {
    position: static;
    width: 100%;
    text-overflow: clip;
    text-box-edge: cap alphabetic;
    text-box-trim: trim-both;
    white-space: normal;
  }

  .elg-team-directory .elg-about-team__card-copy strong {
    width: calc(100% - 40px);
    max-height: 50px;
    display: -webkit-box;
    font-size: 20px;
    line-height: 25px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .elg-team-directory .elg-about-team__card-copy > span {
    max-height: 22px;
    display: -webkit-box;
    font-size: 11px;
    line-height: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .elg-team-directory .elg-about-team__add {
    top: 15px;
    right: 15px;
    bottom: auto;
    width: 25px;
    height: 25px;
  }
}

@media (min-width: 768px) {
  .elg-team-hero .elg-about-hero__backdrop {
    opacity: 0.75;
  }

  .elg-team-hero .elg-about-hero__backdrop img {
    position: absolute;
    top: -2.87%;
    left: 0;
    width: 100%;
    height: 112.22%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elg-team-hero {
    height: auto !important;
    min-height: 1060px !important;
    margin-top: -70px;
  }

  .elg-team-hero .elg-about-hero__art {
    top: 0;
    height: 100%;
  }

  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 1060px;
    padding: 90px 0 40px;
  }

  .elg-team-hero .elg-about-hero__row {
    width: 100%;
    margin-inline: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__copy-column,
  .elg-team-hero .elg-about-hero__stats-column {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: 100%;
    align-items: stretch;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__heading-group,
  .elg-team-hero .elg-about-hero__action-group {
    align-items: flex-start;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__action-group > p {
    max-width: 596px;
    margin-inline: 0;
  }

  .elg-team-hero .elg-about-hero__actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    height: auto;
    min-height: 126px;
    padding: 24px;
  }
}

@media (min-width: 1025px) {
  .elg-team-hero {
    height: auto !important;
    min-height: 840px !important;
    margin-top: -80px;
  }

  .elg-team-hero .elg-about-hero__art {
    top: 0;
    height: 100%;
  }

  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 840px;
    display: block;
    padding-top: 211px;
    padding-bottom: 0;
  }

  .elg-team-hero .elg-about-hero__row {
    width: 100%;
    height: auto;
    min-height: 0;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(38px, 4vw, 60px);
  }

  .elg-team-hero .elg-about-hero__copy-column {
    width: 0;
    min-width: 0;
    max-width: none;
    flex: 1 1 0;
  }

  .elg-team-hero .elg-about-hero__stats-column {
    width: clamp(296px, 24vw, 326px);
    max-width: none;
    flex: 0 0 clamp(296px, 24vw, 326px);
    padding: 0;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: 100%;
    max-width: 746px;
    align-items: stretch;
    gap: 30px;
    padding: 0;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__heading-group {
    align-items: flex-start;
    gap: 15px;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__action-group {
    align-items: flex-start;
    row-gap: 40px;
    text-align: left;
  }

  .elg-team-hero .elg-about-hero__action-group > p {
    width: 100%;
    max-width: 596px;
    margin-inline: 0;
  }

  .elg-team-hero .elg-about-hero__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: 100%;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    padding: 30px;
  }

  .elg-team-hero .elg-gold-button {
    width: auto;
    height: 50px;
    min-height: 50px;
    padding: 15px 30px;
    font-size: 15px;
    line-height: 20px;
  }

  .elg-team-hero__phone {
    height: 50px;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid #98a6b0;
  }

  .elg-team-hero__phone span {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .elg-team-hero__phone strong {
    border-bottom: 0;
    font-size: 30px;
  }
}

/* Team hero geometry aligned with the Attorney Details hero reference. */
.elg-team-hero {
  height: auto !important;
  margin-top: 0;
}

.elg-team-hero .elg-about-hero__backdrop img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 1025px) {
  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 0;
    display: block;
    padding-bottom: 0;
  }

  .elg-team-hero .elg-about-hero__row {
    width: auto;
    height: auto;
    min-height: 0;
    margin-right: -15px;
    margin-left: -15px;
    flex-wrap: wrap;
    gap: 0;
  }

  .elg-team-hero .elg-about-hero__copy-column {
    width: 75%;
    max-width: 75%;
    flex: 0 0 75%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .elg-team-hero .elg-about-hero__stats-column {
    width: 25%;
    max-width: 25%;
    flex: 0 0 25%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: 746px;
    max-width: 100%;
    align-items: normal;
    gap: 40px;
    padding: 0;
  }

  .elg-team-hero .elg-about-hero__heading-group {
    align-items: normal;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__action-group {
    align-items: normal;
    gap: 40px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: auto;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    padding: 30px;
  }
}

@media (min-width: 1025px) and (max-width: 1359px) {
  .elg-team-hero {
    min-height: 642px !important;
  }

  .elg-team-hero .elg-about-hero__art {
    top: -70px;
    height: 805px;
  }

  .elg-team-hero .elg-about-hero__container {
    padding-top: 72px;
  }

  .elg-team-hero .elg-about-hero__copy {
    padding-right: 20px;
  }

  .elg-team-hero .elg-about-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    padding: 24px;
  }
}

@media (min-width: 1360px) {
  .elg-team-hero {
    min-height: 667px !important;
  }

  .elg-team-hero .elg-about-hero__art {
    top: -80px;
    height: 840px;
  }

  .elg-team-hero .elg-about-hero__container {
    padding-top: 121.69px;
  }

  .elg-team-hero .elg-about-hero__actions {
    align-items: center;
    flex-direction: row;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .elg-team-hero {
    min-height: 0 !important;
  }

  .elg-team-hero .elg-about-hero__art {
    top: -70px;
    height: 1150px;
  }

  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 0;
    padding: 70px 0;
  }

  .elg-team-hero .elg-about-hero__row {
    width: auto;
    margin-right: -15px;
    margin-left: -15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 50px;
  }

  .elg-team-hero .elg-about-hero__copy-column,
  .elg-team-hero .elg-about-hero__stats-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: min(100%, 746px);
    align-items: normal;
    gap: 40px;
  }

  .elg-team-hero .elg-about-hero__heading-group {
    align-items: normal;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__action-group {
    width: auto;
    align-items: normal;
    gap: 40px;
  }

  .elg-team-hero .elg-about-hero__actions {
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    height: 126px;
    min-height: 0;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .elg-team-hero {
    min-height: 791px !important;
  }

  .elg-team-hero .elg-about-hero__art {
    top: -50px;
    height: 934px;
  }

  .elg-team-hero .elg-about-hero__container {
    height: auto;
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .elg-team-hero .elg-about-hero__row {
    width: auto;
    height: auto;
    margin-right: -15px;
    margin-left: -15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .elg-team-hero .elg-about-hero__copy-column,
  .elg-team-hero .elg-about-hero__stats-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .elg-team-hero .elg-about-hero__copy,
  .elg-team-hero .elg-about-hero__heading-group,
  .elg-team-hero h1,
  .elg-team-hero .elg-about-hero__action-group,
  .elg-team-hero .elg-about-hero__action-group > p,
  .elg-team-hero .elg-about-hero__actions {
    height: auto;
  }

  .elg-team-hero .elg-about-hero__copy {
    width: min(100%, 746px);
    align-items: normal;
    gap: 40px;
  }

  .elg-team-hero .elg-about-hero__heading-group {
    align-items: normal;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__action-group {
    width: auto;
    align-items: normal;
    gap: 30px;
  }

  .elg-team-hero .elg-about-hero__actions {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .elg-team-hero .elg-about-hero__stats {
    width: auto;
    gap: 10px;
  }

  .elg-team-hero .elg-about-hero__stats > div {
    height: 86px;
    min-height: 86px;
    align-items: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .elg-team-hero {
    min-height: 841px !important;
  }

  .elg-team-hero .elg-about-hero__art {
    height: 984px;
  }
}

/* Team hero title rhythm and action alignment only. */
.elg-team-hero h1 {
  height: auto;
}

.elg-team-hero .elg-about-hero__actions {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 767px) {
  .elg-team-hero .elg-about-hero__actions {
    width: 100%;
    gap: clamp(8px, 3vw, 20px);
  }

  .elg-team-hero .elg-gold-button {
    min-width: 0;
    padding-inline: clamp(14px, 4vw, 24px);
    font-size: clamp(10px, 3vw, 13px);
    white-space: nowrap;
  }

  .elg-team-hero__phone {
    min-width: 0;
  }

  .elg-team-hero__phone strong {
    font-size: clamp(18px, 5.2vw, 25px);
    white-space: nowrap;
  }
}

/* Match the shared next-move phone CTA without hover motion. */
.elg-team-hero__phone {
  width: 208px;
  min-height: 54.614px;
  height: auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--elg-muted);
  background: none;
  color: var(--elg-white);
  font-family: var(--elg-font-ui);
  font-weight: 600;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  filter: none;
  box-shadow: none;
  transform: none;
  transition: none;
}

.elg-team-hero__phone span,
.elg-team-hero__phone strong {
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.elg-team-hero__phone span {
  width: 100%;
  color: var(--elg-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.25;
  text-wrap: balance;
  white-space: normal;
  transition: color 180ms ease;
}

.elg-team-hero__phone strong {
  border: 0;
  color: var(--elg-white);
  font-size: 30px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
  transition: color 180ms ease;
}

.elg-team-hero__phone:hover,
.elg-team-hero__phone:focus-visible {
  border-color: var(--elg-gold-bright);
  color: var(--elg-gold-bright);
  filter: none;
  box-shadow: none;
  transform: none;
}

.elg-team-hero__phone:hover span,
.elg-team-hero__phone:focus-visible span {
  color: var(--elg-gold-bright);
}

.elg-team-hero__phone:hover strong,
.elg-team-hero__phone:focus-visible strong {
  color: var(--elg-gold-bright);
}

@media (max-width: 767px) {
  .elg-team-hero__phone {
    width: 180px;
    min-height: 37px;
  }

  .elg-team-hero__phone span {
    font-size: 11px;
  }

  .elg-team-hero__phone strong {
    font-size: 25px;
  }
}
