/* Photo framing: first layer preserves the approved design while adapting to real stock. */
@layer rb-stock188 {
 body#sr-design .srb-photo-hero {background-image:none!important;overflow:hidden!important;isolation:isolate!important;}
 body#sr-design .rb-stock-hero-media {position:absolute!important;inset:0!important;z-index:0!important;display:block!important;width:100%!important;height:100%!important;pointer-events:none!important;}
 body#sr-design .rb-stock-hero-media img {display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:60% 55%!important;}
 body#sr-design .srb-photo-hero::before {content:''!important;position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,#121210d9 0%,#121210a8 38%,#12121036 72%,#1212101a)!important;pointer-events:none!important;}
 body#sr-design .srb-photo-hero>.container {position:relative!important;z-index:2!important;}
 body#sr-design .rb-stock-hero-media~.container .srb-signature {position:relative!important;z-index:2!important;}
 body#sr-design .srb-stock-credit {font-size:11px!important;line-height:1.7!important;color:#c1b9a9!important;margin:0!important;padding:20px 0!important;max-width:840px!important;}
 body#sr-design .srb-stock-credit a {color:#ead48f!important;text-underline-offset:4px!important;white-space:nowrap!important;}
 body#sr-design .rb-story-photo::after {content:''!important;position:absolute!important;inset:45% 0 0!important;background:linear-gradient(transparent,#14140fb8)!important;pointer-events:none!important;border-radius:0 0 5px 5px!important;}
 body#sr-design .rb-photo-caption {z-index:2!important;bottom:28px!important;}
 body#sr-design .rb-card .rb-photo img {object-position:center!important;}
 body#sr-design .project-hero p {color:#d4cdbc!important;}
 body#sr-design :is(.form__msg,.form-msg) {font-size:14px!important;line-height:1.6!important;margin-top:16px!important;padding:12px 14px!important;border-radius:4px!important;color:#332c1e!important;background:#f1e8d5!important;}
 body#sr-design :is(.form__msg--err,.form-msg--err) {color:#842819!important;background:#fae9e3!important;border:1px solid #e3b8aa!important;}
 body#sr-design :is(.form__msg--ok,.form-msg--ok) {color:#245337!important;background:#e8f0e6!important;border:1px solid #afc7b2!important;}
 @media(min-width:1800px){
  body#sr-design .rb-stock-hero-media img[src$="/hero.webp"] {object-position:60% 85%!important;}
 }
 @media(max-width:800px){
  body#sr-design .rb-stock-hero-media img {object-position:center!important;}
  body#sr-design .srb-photo-hero::before {background:linear-gradient(180deg,#12121066 0%,#121210a1 38%,#121210d9 100%)!important;}
  body#sr-design .rb-hero182 {min-height:680px!important;}
  body#sr-design .rb-section-nav a {flex:1 1 auto!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;padding-inline:6px!important;}
  body#sr-design .srb-stock-credit {font-size:10px!important;}
 }
}
