/* v1.0.2 patches ONLY the original circles. It never hides or replaces a page/Divi section. */
.kjh-journey-photo-patched{
  position:relative!important;
  overflow:hidden!important;
  border-radius:50%!important;
  isolation:isolate!important;
  background:#f0e7e2!important;
  border-color:#e8d9d2!important;
  transition:transform .32s ease,box-shadow .32s ease!important;
}
.kjh-journey-photo-patched .kjh-journey-photo-layer{
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  border-radius:inherit!important;
  background-size:var(--kjh-photo-size,100%) auto!important;
  background-position:var(--kjh-photo-pos,50% 50%)!important;
  background-repeat:no-repeat!important;
  filter:saturate(.82) contrast(.98) brightness(1.02)!important;
  transform:scale(1)!important;
  transform-origin:center center!important;
  transition:transform .42s ease,filter .32s ease,background-position .2s ease,background-size .2s ease!important;
  pointer-events:none!important;
}
.kjh-journey-photo-patched:after{
  content:"";
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  border-radius:inherit!important;
  background:linear-gradient(180deg,rgba(255,250,246,.04),rgba(112,27,44,.07))!important;
  pointer-events:none!important;
}
.kjh-journey-photo-patched:hover{
  transform:translateY(-3px) scale(1.025)!important;
  box-shadow:0 12px 28px rgba(68,37,29,.09)!important;
}
.kjh-journey-photo-patched:hover .kjh-journey-photo-layer{
  transform:scale(1.025)!important;
  filter:saturate(1) contrast(1)!important;
}

.kjh-journey-photo-patched .kjh-journey-number-patched,
.kjh-journey-number-fallback{
  display:none!important;
}

/* v1.0.3: zdjęcie jest głównym elementem, bez cyfry zasłaniającej kadr. */
.kjh-journey-photo-patched .kjh-journey-photo-layer{
  filter:saturate(.9) contrast(1) brightness(1.01)!important;
}
.kjh-journey-photo-patched:hover .kjh-journey-photo-layer{
  filter:saturate(1) contrast(1.02) brightness(1.01)!important;
}
