/* RCM Plus LLC | Hero Coherence V1.1
   Overrides photo-card presentation from Mobile Hero Photo V1.
   Desktop: full-bleed navy/photo blend; tablet/mobile: true photo-first.
   Applies only to five redesigned service pages, not global navigation. */

/* All breakpoints: photos retain their natural shape and are cropped, never stretched. */
.rcmc .ct-hero .rcm-hero-photo img,
.rcma .rcma-hero .rcm-hero-photo img,
.rcmb .mb-hero .rcm-hero-photo img,
.rcmbs .bs-hero .rcm-hero-photo img,
.rcmq .rcmq-hero .rcm-hero-photo img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}

@media (min-width:1025px) {
  /* Make each hero one uninterrupted photographic surface, matching Specialties. */
  .rcmc .ct-hero,
  .rcma .rcma-hero,
  .rcmb .mb-hero,
  .rcmbs .bs-hero,
  .rcmq .rcmq-hero {
    position:relative!important;
    isolation:isolate!important;
    overflow:hidden!important;
    background:#06294d!important;
    min-height:520px!important;
    padding:0!important;
  }
  .rcmc .ct-herogrid,
  .rcma .rcma-hero-inner,
  .rcmb .mb-hero-grid,
  .rcmbs .bs-hero-grid,
  .rcmq .rcmq-hero-inner {
    position:static!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    width:min(1190px,calc(100% - 48px))!important;
    max-width:1190px!important;
    min-height:520px!important;
    margin:0 auto!important;
    padding:70px 0 90px!important;
  }
  .rcmc .ct-hero .ct-herotext,
  .rcma .rcma-hero-copy,
  .rcmb .mb-hero .mb-hero-copy,
  .rcmbs .bs-hero .bs-hero-copy,
  .rcmq .rcmq-hero .rcmq-hero-copy {
    position:relative!important;
    z-index:3!important;
    display:block!important;
    flex:0 1 620px!important;
    width:58%!important;
    max-width:620px!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .rcmbs .bs-hero .bs-hero-copy .bs-shell {
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  .rcmc .ct-hero .rcm-hero-photo,
  .rcma .rcma-hero .rcm-hero-photo,
  .rcmb .mb-hero .rcm-hero-photo,
  .rcmbs .bs-hero .rcm-hero-photo,
  .rcmq .rcmq-hero .rcm-hero-photo {
    position:absolute!important;
    z-index:2!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    display:block!important;
    width:76%!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .rcmc .ct-hero .rcm-hero-photo::after,
  .rcma .rcma-hero .rcm-hero-photo::after,
  .rcmb .mb-hero .rcm-hero-photo::after,
  .rcmbs .bs-hero .rcm-hero-photo::after,
  .rcmq .rcmq-hero .rcm-hero-photo::after {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,#06294d 0%,rgba(6,41,77,.96) 12%,rgba(6,41,77,.83) 27%,rgba(6,41,77,.38) 53%,rgba(6,41,77,.10) 86%);
  }
  /* Contact/audit text should align with existing compact Specialties copy. */
  .rcmc .ct-hero h1,
  .rcma .rcma-hero h1,
  .rcmb .mb-hero h1,
  .rcmbs .bs-hero h1,
  .rcmq .rcmq-hero h1 {font-weight:700!important;}
}

@media (max-width:1024px) {
  .rcmc .ct-hero,
  .rcma .rcma-hero,
  .rcmb .mb-hero,
  .rcmbs .bs-hero,
  .rcmq .rcmq-hero {
    display:block!important;
    position:relative!important;
    min-height:0!important;
    height:auto!important;
    padding:0 0 42px!important;
    overflow:hidden!important;
    background:#082b50!important;
  }
  .rcmc .ct-herogrid,
  .rcma .rcma-hero-inner,
  .rcmb .mb-hero-grid,
  .rcmbs .bs-hero-grid,
  .rcmq .rcmq-hero-inner {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    min-height:0!important;
  }
  .rcmc .ct-hero .rcm-hero-photo,
  .rcma .rcma-hero .rcm-hero-photo,
  .rcmb .mb-hero .rcm-hero-photo,
  .rcmbs .bs-hero .rcm-hero-photo,
  .rcmq .rcmq-hero .rcm-hero-photo {
    position:relative!important;
    order:-1!important;
    flex:0 0 auto!important;
    inset:auto!important;
    left:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    height:clamp(218px,28vw,300px)!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .rcmc .ct-hero .rcm-hero-photo::after,
  .rcma .rcma-hero .rcm-hero-photo::after,
  .rcmb .mb-hero .rcm-hero-photo::after,
  .rcmbs .bs-hero .rcm-hero-photo::after,
  .rcmq .rcmq-hero .rcm-hero-photo::after {
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,transparent 70%,rgba(8,43,80,.50) 100%);
  }
  .rcmc .ct-hero .ct-herotext,
  .rcma .rcma-hero-copy,
  .rcmb .mb-hero .mb-hero-copy,
  .rcmbs .bs-hero .bs-hero-copy,
  .rcmq .rcmq-hero .rcmq-hero-copy {
    order:0!important;
    position:relative!important;
    z-index:2!important;
    display:block!important;
    flex:none!important;
    width:min(900px,calc(100% - 48px))!important;
    max-width:900px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:39px 0 0!important;
  }
  .rcmbs .bs-hero .bs-hero-copy .bs-shell {
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    margin:0!important;
  }
}
@media (max-width:650px) {
  .rcmc .ct-hero .rcm-hero-photo,
  .rcma .rcma-hero .rcm-hero-photo,
  .rcmb .mb-hero .rcm-hero-photo,
  .rcmbs .bs-hero .rcm-hero-photo,
  .rcmq .rcmq-hero .rcm-hero-photo {
    height:clamp(200px,55vw,245px)!important;
  }
  .rcmc .ct-hero .ct-herotext,
  .rcma .rcma-hero-copy,
  .rcmb .mb-hero .mb-hero-copy,
  .rcmbs .bs-hero .bs-hero-copy,
  .rcmq .rcmq-hero .rcmq-hero-copy {
    width:calc(100% - 34px)!important;
    padding:32px 0 0!important;
  }
  .rcmc .ct-hero,
  .rcma .rcma-hero,
  .rcmb .mb-hero,
  .rcmbs .bs-hero,
  .rcmq .rcmq-hero {padding-bottom:37px!important;}
}


/* Keep the established Specialties heading/eyebrow/button rhythm. */
.rcma .rcma-hero .rcma-kicker::before,
.rcmq .rcmq-hero .rcmq-kicker::before {display:none!important;}
.rcma .rcma-hero .rcma-kicker i,
.rcmq .rcmq-hero .rcmq-kicker i {color:#da17b9!important;}
.rcma .rcma-hero .rcma-btn--primary {color:#fff!important;background:#0097d8!important;}
@media (min-width:1025px) {
 .rcma .rcma-hero h1,
 .rcmq .rcmq-hero h1 {font-size:clamp(2.4rem,3.75vw,3.55rem)!important;line-height:1.1!important;}
}
