/* v42 changes only the homepage hero transition. The source photograph stays unchanged. */
@media(min-width:761px){
  .cm-home-hero-soft-v42 .cm-home-hero{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    background:#0b4438;
  }
  .cm-home-hero-soft-v42 .cm-home-hero>.container{
    position:relative;
    display:block;
    min-height:620px;
    background:#0b4438;
  }
  .cm-home-hero-soft-v42 .cm-home-hero>.container::before{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,
      #0b4438 0%,
      rgba(11,68,56,.98) 24%,
      rgba(11,68,56,.86) 34%,
      rgba(11,68,56,.58) 44%,
      rgba(11,68,56,.28) 53%,
      rgba(11,68,56,.08) 63%,
      rgba(11,68,56,0) 72%);
  }
  .cm-home-hero-soft-v42 .cm-hero-image{
    position:absolute;
    z-index:0;
    inset:0;
    width:100%;
    height:100%;
    margin:0;
    background:#172b2a;
  }
  .cm-home-hero-soft-v42 .cm-hero-image::before{
    content:"";
    position:absolute;
    z-index:1;
    inset:0;
    pointer-events:none;
    background:linear-gradient(90deg,
      rgba(11,68,56,.76) 0%,
      rgba(11,68,56,.38) 22%,
      rgba(11,68,56,.12) 42%,
      rgba(11,68,56,0) 62%);
  }
  .cm-home-hero-soft-v42 .cm-hero-image>img{
    width:100%;
    height:100%;
    min-height:620px;
    object-fit:cover;
    object-position:67% 57%;
    transform:translateX(4%) scale(1.04);
    transform-origin:center;
  }
  html[lang="zh-CN"] .cm-home-hero-soft-v42:not(.cm-hero-image-restored-v51) .cm-hero-image>img{
    object-position:70% 57%;
    transform:translateX(7%) scale(1.04);
  }
  .cm-home-hero-soft-v42 .cm-hero-heading{
    position:relative;
    z-index:2;
    width:min(50%,680px);
    min-height:620px;
    padding:clamp(52px,5vw,72px) clamp(38px,4.2vw,64px);
    background:transparent;
  }
  .cm-home-hero-soft-v42 .cm-hero-image figcaption{
    z-index:3;
    inset-inline-start:auto;
    inset-inline-end:28px;
    width:auto;
    max-width:430px;
    background:rgba(7,31,29,.78);
    backdrop-filter:blur(5px);
  }
  html[dir="rtl"] .cm-home-hero-soft-v42 .cm-home-hero>.container::before{
    background:linear-gradient(270deg,
      #0b4438 0%,
      rgba(11,68,56,.98) 24%,
      rgba(11,68,56,.86) 34%,
      rgba(11,68,56,.58) 44%,
      rgba(11,68,56,.28) 53%,
      rgba(11,68,56,.08) 63%,
      rgba(11,68,56,0) 72%);
  }
  html[dir="rtl"] .cm-home-hero-soft-v42 .cm-hero-image::before{
    background:linear-gradient(270deg,
      rgba(11,68,56,.76) 0%,
      rgba(11,68,56,.38) 22%,
      rgba(11,68,56,.12) 42%,
      rgba(11,68,56,0) 62%);
  }
  html[dir="rtl"] .cm-home-hero-soft-v42 .cm-hero-image>img{object-position:33% 57%;transform:translateX(-4%) scale(1.04)}
}

@media(max-width:760px){
  .cm-home-hero-soft-v42 .cm-home-hero>.container{display:grid}
  .cm-home-hero-soft-v42 .cm-hero-heading{background:#0b4438}
  .cm-home-hero-soft-v42 .cm-hero-image>img{object-position:50% 52%}
  .cm-home-hero-soft-v42 .cm-hero-image>img{transform:none}
}

@media(prefers-reduced-motion:reduce){
  .cm-home-hero-soft-v42 .cm-home-hero *{transition:none!important}
}
