/* CASTING LAB v126.257 — public expert detail: cap long PC/tablet details to the photo. */
.seo-profile-summary-v257[hidden], .seo-profile-info-more-v257[hidden], .seo-profile-information-v257[hidden] { display: none !important; }
@media (min-width: 761px) {
  .seo-detail.expert-v111 { align-items: start; }
  .seo-detail.expert-v111 > .seo-profile-gallery-v111 {
    align-self: start; height: auto; min-height: 0; aspect-ratio: 4 / 5;
    max-height: none; overflow: hidden;
  }
  .seo-detail.expert-v111 .seo-profile-track-v111,
  .seo-detail.expert-v111 .seo-profile-track-v111 figure {
    height: 100%; min-height: 0;
  }
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 {
    height: var(--seo-profile-gallery-height-v257);
    max-height: var(--seo-profile-gallery-height-v257);
    min-height: 0; overflow: hidden; display: flex; flex-direction: column;
  }
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-kicker,
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > h1,
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-role,
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-index-note,
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-profile-info-more-v257,
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-actions { flex: 0 0 auto; }
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-profile-summary-v257 {
    flex: 1 1 auto; min-height: 0; overflow: hidden; margin-top: 20px;
  }
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-profile-info-more-v257 { margin-top: auto; }
  .seo-detail.expert-v111 > .seo-content.is-condensed-v257 > .seo-actions { margin-top: 12px; }
}
.seo-profile-summary-v257 .seo-description { margin-top: 0; }
.seo-profile-summary-v257 .seo-description p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden; overflow-wrap: anywhere; white-space: normal;
}
.seo-profile-summary-v257 .seo-facts { margin: 16px 0 0; }
.seo-profile-summary-v257 .seo-facts > div { min-width: 0; }
.seo-profile-summary-v257 .seo-facts dd {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere;
}
.seo-profile-info-more-v257 button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border: 1px solid #dbe3f8; background: #f4f6ff; color: #2548ae;
  padding: 13px 15px; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 13px; line-height: 1.3; font-weight: 800;
}
.seo-profile-info-more-v257 button:hover { background: #eaf0ff; }
.seo-profile-info-more-v257 button:focus-visible,
.seo-profile-dialog-header-v257 button:focus-visible { outline: 3px solid #3659e8; outline-offset: 3px; }
.seo-profile-dialog-v257 {
  width: min(760px, calc(100% - 32px)); max-width: 760px;
  height: auto; max-height: min(88dvh, 920px);
  border: 0; border-radius: 20px; padding: 0;
  box-shadow: 0 22px 70px rgba(12, 20, 40, .26); color: #17191e;
}
.seo-profile-dialog-v257::backdrop { background: rgba(13, 19, 31, .68); }
.seo-profile-dialog-shell-v257 { display: flex; flex-direction: column; max-height: min(88dvh, 920px); background: #fff; overflow: hidden; }
.seo-profile-dialog-header-v257 {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 21px 26px; border-bottom: 1px solid #e8e9ec; flex: 0 0 auto;
}
.seo-profile-dialog-header-v257 p { margin: 0 0 4px; color: #686e7b; font-size: 12px; }
.seo-profile-dialog-header-v257 h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.seo-profile-dialog-header-v257 button {
  flex: 0 0 38px; height: 38px; border: 1px solid #e6e7ed;
  background: #fff; border-radius: 50%; font: inherit; font-size: 26px;
  line-height: 1; cursor: pointer;
}
.seo-profile-dialog-body-v257 { overflow-y: auto; overscroll-behavior: contain; padding: 0 26px 30px; min-height: 0; }
.seo-profile-dialog-body-v257 .seo-description { margin-top: 24px; }
.seo-profile-dialog-body-v257 .seo-facts > div { min-width: 0; overflow-wrap: anywhere; }
body.seo-profile-dialog-open-v257 { overflow: hidden; }
@media (max-width: 760px) {
  .seo-profile-dialog-v257 { width: calc(100% - 24px); max-height: 88dvh; border-radius: 16px; }
  .seo-profile-dialog-header-v257 { padding: 16px 18px; }
  .seo-profile-dialog-header-v257 h2 { font-size: 17px; }
  .seo-profile-dialog-body-v257 { padding: 0 18px 24px; }
  .seo-profile-dialog-body-v257 .seo-facts { grid-template-columns: 1fr; }
}
