/* CASTING LAB v126.256 — public expert profile: responsive desktop/tablet photo.
   The existing mobile (<=760px) gallery and interaction remain unchanged.
   Scope to the public expert detail so projects, directories and account views
   are not affected. */
@media (min-width: 761px) {
  .seo-detail.expert-v111 {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    align-items: start;
  }

  .seo-detail.expert-v111 > .seo-profile-gallery-v111 {
    position: relative;
    align-self: start;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

  .seo-detail.expert-v111 .seo-profile-track-v111 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .seo-detail.expert-v111 .seo-profile-track-v111 figure {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .seo-detail.expert-v111 .seo-profile-track-v111 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .seo-detail.expert-v111 > .seo-content {
    width: 100%;
    min-width: 0;
  }
}

/* Compact desktop and landscape tablet: keep the two columns usable
   without preserving the old, fixed 620px portrait height. */
@media (min-width: 761px) and (max-width: 990px) {
  .seo-detail.expert-v111 {
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  }

  .seo-detail.expert-v111 > .seo-content {
    padding: clamp(22px, 3vw, 34px);
  }

  .seo-detail.expert-v111 > .seo-content h1 {
    font-size: clamp(26px, 3.25vw, 34px);
  }
}
