/* V37 — three distinct, single-photo corporate hero backgrounds.
   Photo sources are existing approved DataVista Studio site assets.
   One source image per section, no collage, no new picture, original logo untouched. */
.dv-home-v36 .visual-home.hero-photo-only{
  --dv-hero-photo:url("/assets/journey-hero/architecture.webp")!important;
}
.visual-studio.hero-photo-only{
  --dv-hero-photo:url("/assets/journey-hero/infrastructure.webp")!important;
}
.visual-contact.hero-photo-only{
  --dv-hero-photo:url("/assets/journey-hero/antenna.webp")!important;
}
/* The hero has only ONE photo. The first CSS background is a gentle wash for contrast,
   not a second photo. Scaling to a fixed height preserves the full source image. */
.dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
.visual-studio.visual-hero.hero-photo-only::before,
.visual-contact.visual-hero.hero-photo-only::before{
  background-image:
    linear-gradient(90deg,
      #faf9f6 0%,
      rgba(250,249,246,.99) 34%,
      rgba(250,249,246,.86) 50%,
      rgba(250,249,246,.45) 69%,
      rgba(250,249,246,.15) 100%),
    var(--dv-hero-photo)!important;
  background-size:100% 100%,auto 92%!important;
  background-position:center,right 3.5vw center!important;
  background-repeat:no-repeat!important;
  opacity:1!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  filter:none!important;
}
html[dir="rtl"] .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
html[dir="rtl"] .visual-studio.visual-hero.hero-photo-only::before,
html[dir="rtl"] .visual-contact.visual-hero.hero-photo-only::before{
  background-image:
    linear-gradient(270deg,
      #faf9f6 0%,
      rgba(250,249,246,.99) 34%,
      rgba(250,249,246,.86) 50%,
      rgba(250,249,246,.45) 69%,
      rgba(250,249,246,.15) 100%),
    var(--dv-hero-photo)!important;
  background-position:center,left 3.5vw center!important;
}
.dv-home-v36 .home-visual-hero.hero-photo-only,
.visual-studio.visual-hero.hero-photo-only,
.visual-contact.visual-hero.hero-photo-only{
  background-color:#faf9f6;
  overflow:hidden;
  isolation:isolate;
}
.dv-home-v36 .home-visual-hero .visual-intro,
.visual-studio.visual-hero.hero-photo-only .visual-intro,
.visual-contact.visual-hero.hero-photo-only .visual-intro{
  z-index:1;
  position:relative;
}
/* Desktop / tablet: image fits a dedicated lateral area without cut-off. */
@media(min-width:720px){
  .dv-home-v36 .home-visual-hero.hero-photo-only{min-height:510px}
  .visual-studio.visual-hero.hero-photo-only,
  .visual-contact.visual-hero.hero-photo-only{min-height:420px}
}
@media(max-width:719px){
  .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only{
    min-height:535px;
    padding:54px 20px 137px;
  }
  .visual-studio.visual-hero.hero-photo-only,
  .visual-contact.visual-hero.hero-photo-only{
    min-height:430px;
    padding:53px 20px 143px;
  }
  .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
  .visual-studio.visual-hero.hero-photo-only::before,
  .visual-contact.visual-hero.hero-photo-only::before{
    background-image:
      linear-gradient(180deg,
        #faf9f6 0%,
        rgba(250,249,246,.99) 34%,
        rgba(250,249,246,.90) 50%,
        rgba(250,249,246,.45) 74%,
        rgba(250,249,246,.22) 100%),
      var(--dv-hero-photo)!important;
    background-size:100% 100%,auto 41%!important;
    background-position:center,right 13px bottom 12px!important;
    background-repeat:no-repeat!important;
    opacity:1!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
  }
  html[dir="rtl"] .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
  html[dir="rtl"] .visual-studio.visual-hero.hero-photo-only::before,
  html[dir="rtl"] .visual-contact.visual-hero.hero-photo-only::before{
    background-position:center,left 13px bottom 12px!important;
  }
}
@media(max-width:359px){
  .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only{
    min-height:555px;padding-bottom:142px;
  }
  .visual-studio.visual-hero.hero-photo-only,
  .visual-contact.visual-hero.hero-photo-only{
    min-height:450px;padding-bottom:140px;
  }
}

/* V37 polished edge blending: fade a SINGLE original photo into the background.
   Prevent the rectangular cut edge; no overlay photos, no duplicated assets. */
.dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
.visual-studio.visual-hero.hero-photo-only::before,
.visual-contact.visual-hero.hero-photo-only::before{
  background-image:var(--dv-hero-photo)!important;
  background-size:auto 92%!important;
  background-position:right 3.5vw center!important;
  background-repeat:no-repeat!important;
  opacity:.66!important;
  -webkit-mask-image:radial-gradient(ellipse 39% 57% at 76% 50%,#000 15%,rgba(0,0,0,.65) 40%,transparent 72%)!important;
  mask-image:radial-gradient(ellipse 39% 57% at 76% 50%,#000 15%,rgba(0,0,0,.65) 40%,transparent 72%)!important;
}
html[dir="rtl"] .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
html[dir="rtl"] .visual-studio.visual-hero.hero-photo-only::before,
html[dir="rtl"] .visual-contact.visual-hero.hero-photo-only::before{
  background-position:left 3.5vw center!important;
  -webkit-mask-image:radial-gradient(ellipse 39% 57% at 24% 50%,#000 15%,rgba(0,0,0,.65) 40%,transparent 72%)!important;
  mask-image:radial-gradient(ellipse 39% 57% at 24% 50%,#000 15%,rgba(0,0,0,.65) 40%,transparent 72%)!important;
}
@media(max-width:719px){
 .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only{
   min-height:590px;padding-bottom:180px;
 }
 .visual-studio.visual-hero.hero-photo-only{
   min-height:535px;padding-bottom:210px;
 }
 .visual-contact.visual-hero.hero-photo-only{
   min-height:490px;padding-bottom:180px;
 }
 .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
 .visual-studio.visual-hero.hero-photo-only::before,
 .visual-contact.visual-hero.hero-photo-only::before{
   background-image:var(--dv-hero-photo)!important;
   background-size:auto 28%!important;
   background-position:right 12px bottom 8px!important;
   opacity:.60!important;
   -webkit-mask-image:radial-gradient(ellipse 50% 25% at 75% 84%,#000 12%,rgba(0,0,0,.6) 40%,transparent 74%)!important;
   mask-image:radial-gradient(ellipse 50% 25% at 75% 84%,#000 12%,rgba(0,0,0,.6) 40%,transparent 74%)!important;
 }
 html[dir="rtl"] .dv-home-v36 .home-visual-hero.visual-hero.hero-photo-only::before,
 html[dir="rtl"] .visual-studio.visual-hero.hero-photo-only::before,
 html[dir="rtl"] .visual-contact.visual-hero.hero-photo-only::before{
   background-position:left 12px bottom 8px!important;
   -webkit-mask-image:radial-gradient(ellipse 50% 25% at 25% 84%,#000 12%,rgba(0,0,0,.6) 40%,transparent 74%)!important;
   mask-image:radial-gradient(ellipse 50% 25% at 25% 84%,#000 12%,rgba(0,0,0,.6) 40%,transparent 74%)!important;
 }
}
