/* Photographic hero backgrounds are decorative. Original content stays in normal flow. */
.rei-photo-hero { position:relative; isolation:isolate; overflow:hidden; background-color:#0b1c34; }
.rei-photo-hero > .container, .rei-photo-hero > .hero-grid { position:relative; z-index:1; }
.rei-photo-hero > .rei-hero-photo { position:absolute; inset:0; z-index:0; pointer-events:none; }
.rei-hero-photo img { position:absolute; top:0; right:0; width:100%; height:100%; object-fit:cover; object-position:var(--rei-photo-position,50% 42%); }
.rei-hero-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#0b1c34 0%,rgba(11,28,52,.99) 35%,rgba(11,28,52,.86) 57%,rgba(11,28,52,.18) 100%); }
.rei-photo-hero::after { display:none; }
.rei-photo-hero-contact, .rei-photo-hero-workers-comp-fraud-florida, .rei-photo-hero-what-you-need-to-get-started { --rei-photo-position:50% 14%; }
.rei-photo-hero-legal, .rei-photo-hero-skip-tracing-explained { --rei-photo-position:50% 20%; }
.rei-photo-hero-blog, .rei-photo-hero-what-is-osint { --rei-photo-position:50% 55%; }
.rei-photo-hero-careers, .rei-photo-hero-surveillance-law-florida { --rei-photo-position:50% 20%; }
.rei-hero-photo .rei-about-photo-frame { position:absolute; top:0; bottom:0; right:0; width:58%; overflow:hidden; }
.rei-photo-hero-about .rei-about-photo-frame img { top:0; left:-12%; right:auto; width:192%; max-width:none; height:auto; object-fit:fill; }
.rei-photo-hero-training .rei-hero-photo img { width:100%; object-position:65% 40%; }
.rei-photo-hero-training .rei-hero-photo::after { background:linear-gradient(90deg,rgba(6,17,28,.97),rgba(6,17,28,.87) 45%,rgba(6,17,28,.55)); }
.blog-card-img .rei-blog-photo { display:block; width:100%; height:100%; object-fit:cover; object-position:var(--rei-card-position,50% 42%); }
.blog-card-img .rei-blog-photo-field-investigator { --rei-card-position:50% 30%; }
.featured-post-grid .rei-featured-photo { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 45%; }
@media(max-width:900px) {
  .rei-hero-photo .rei-about-photo-frame { width:72%; }
  .rei-hero-photo::after { background:linear-gradient(90deg,rgba(11,28,52,.99),rgba(11,28,52,.91) 45%,rgba(11,28,52,.52)); }
}
@media(max-width:600px) {
  .rei-hero-photo img { width:100%; object-position:var(--rei-photo-position,60% 42%); }
  .rei-hero-photo .rei-about-photo-frame { width:100%; }
  .rei-hero-photo::after { background:linear-gradient(90deg,rgba(11,28,52,.94),rgba(11,28,52,.72)); }
  .rei-photo-hero-training .rei-hero-photo::after { background:rgba(6,17,28,.86); }
}
