/* Attorney biography hero refinement, QC8. Scope: two profile pages only.
   Keep official original images and QC7 scroll/header/footer mechanics unchanged. */
body.profile-page--integrated-hero .profile-authority {
  background: linear-gradient(99deg,#06101e 0%,#0a1522 46%,#17212b 100%);
}
body.profile-page--integrated-hero .profile-authority__portrait,
body.profile-page--integrated-hero .profile-authority--special .profile-authority__portrait {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
body.profile-page--integrated-hero .profile-authority__portrait:after {
  background: linear-gradient(0deg,rgba(4,10,19,.82),transparent 37%);
}
body.profile-page--integrated-hero .profile-authority__portrait img,
body.profile-page--integrated-hero .profile-authority--special .profile-authority__portrait img {
  box-shadow: none;
  filter: saturate(.88) contrast(1.02);
  -webkit-mask-image:radial-gradient(ellipse 50% 77% at 50% 50%,#000 44%,transparent 100%);
  mask-image:radial-gradient(ellipse 50% 77% at 50% 50%,#000 44%,transparent 100%);
}
body.profile-page--integrated-hero .profile-authority__portrait figcaption {
  left: 18px;
  right: 8px;
  bottom: 18px;
  padding: 12px 8px 0;
  border-top:1px solid rgba(216,185,121,.39);
}
@supports (position:sticky) and (overflow:clip) {
  /* The existing QC7 clone is the single stationary image plane. Its location
     is expressed relative to the hero, not a separate portrait/card grid box. */
  body.profile-page--integrated-hero main#main.eds-site-hero-ready[data-eds-site-hero-kind="figure"] > .eds-site-hero-pin .eds-site-hero-pin__base {
    background:linear-gradient(99deg,#06101e 0%,#0a1522 46%,#17212b 100%);
  }
  body.profile-page--integrated-hero main#main.eds-site-hero-ready[data-eds-site-hero-kind="figure"] > .eds-site-hero-pin .eds-site-hero-pin__figure-image {
    left:auto!important;
    right:max(5px,calc((100vw - 1320px)/2 - 20px))!important;
    top:0!important;
    width:min(39vw,520px)!important;
    height:var(--eds-site-hero-height,590px)!important;
    object-fit:contain!important;
    object-position:center center!important;
    filter:saturate(.88) contrast(1.02)!important;
    box-shadow:none!important;
    -webkit-mask-image:radial-gradient(ellipse 50% 77% at 50% 50%,#000 44%,transparent 100%);
    mask-image:radial-gradient(ellipse 50% 77% at 50% 50%,#000 44%,transparent 100%);
  }
  body.profile-page--integrated-hero main#main.eds-site-hero-ready[data-eds-site-hero-kind="figure"] > section.profile-authority {
    background:transparent!important;
  }
  body.profile-page--integrated-hero main#main.eds-site-hero-ready[data-eds-site-hero-kind="figure"] > section.profile-authority .profile-authority__portrait {
    background:transparent!important;
  }
}
@media(max-width:900px) {
  /* Native mobile image remains in normal reading/touch flow; no clipped face or
     pinned image behind the text column. No portrait frame or abrupt photo edge. */
  body.profile-page--integrated-hero .profile-authority__portrait,
  body.profile-page--integrated-hero .profile-authority--special .profile-authority__portrait {
    width:100%;
    min-height:445px;
    height:445px;
    display:block;
    position:relative;
    overflow:hidden;
    border:0;
    padding:0;
  }
  body.profile-page--integrated-hero .profile-authority__portrait img,
  body.profile-page--integrated-hero .profile-authority--special .profile-authority__portrait img {
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
  }
  body.profile-page--integrated-hero .profile-authority__portrait figcaption {
    left:18px;
    right:18px;
    bottom:14px;
    max-width:440px;
  }
}
@media(max-width:520px) {
  body.profile-page--integrated-hero .profile-authority__portrait,
  body.profile-page--integrated-hero .profile-authority--special .profile-authority__portrait {
    min-height:400px;
    height:400px;
  }
  body.profile-page--integrated-hero .profile-authority__portrait figcaption strong {
    font-size:16px;
    line-height:1.32;
  }
}
@media(prefers-reduced-motion:reduce) {
  /* Native figure is never suppressed when the shared sticky enhancement is off. */
  body.profile-page--integrated-hero .profile-authority {
    background:linear-gradient(99deg,#06101e 0%,#0a1522 46%,#17212b 100%);
  }
}
/* The shared QC7 pin is hidden in the stacked mobile layout. Keep the hero
   dark and readable instead of revealing the ivory page background. */
@media (max-width:900px) {
  body.profile-page--integrated-hero main#main.eds-site-hero-ready[data-eds-site-hero-kind="figure"] > section.profile-authority {
    background:linear-gradient(180deg,#07121f 0%,#101b27 69%,#17212b 100%)!important;
  }
}
