/* People-specific source paint and decorative composition. Native blocks own
 * the photograph, focal point, typography, widths and all authored content. */
.endomines-people-hero > .wp-block-cover__background:not([style*="background"]):not([class*="-background-color"]):not([class*="-gradient-background"]) {
    background: transparent url('assets/people-hero-overlay.svg') center / 100% 100% no-repeat;
}
.endomines-people-staff { position: relative; overflow: hidden; }
.endomines-people-employer { position: relative; z-index: 1; }
.endomines-people-staff > .wp-block-image.endomines-people-decoration { position: absolute; right: 0; bottom: 0; width: 52.291666667%; margin: 0; line-height: 0; pointer-events: none; }
.endomines-people-decoration img { display: block; width: 100%; }
@media (max-width:1100px) {
    .endomines-people-page, .endomines-people-context { --endomines-people-hero-top: 150px; }
    .endomines-people-staff > .wp-block-image.endomines-people-decoration { width: 38%; }
}
@media (max-width:781px) {
    /* Core has no responsive dim-ratio control. Preserve native custom colors:
     * only the unmodified source overlay gains a small-screen contrast layer. */
    .endomines-people-hero > .wp-block-cover__background:not([style*="background"]):not([class*="-background-color"]):not([class*="-gradient-background"]) {
        background: linear-gradient(rgb(0 0 0 / 45%), rgb(0 0 0 / 45%)), url('assets/people-hero-overlay.svg') center / 100% 100% no-repeat;
    }

    .endomines-people-staff > .wp-block-image.endomines-people-decoration { position: relative; width: 100%; margin-block-start: 32px; }
    .endomines-people-page, .endomines-people-context { --endomines-people-employer-offset: 0px; }
}
