/* Keep gold frame visible inside Elementor stacking contexts */
.elementor-widget-kff_story_media,
.elementor-widget-kff_story_media > .elementor-widget-container{
  overflow:visible !important;
}

.elementor-widget-kff_story_media > .elementor-widget-container{
  height:auto;
}

.kff-story-media{
  --kff-gold:#C2A36B;
  --kff-story-h:520px;
  position:relative;
  height:var(--kff-story-h) !important;
  min-height:var(--kff-story-h);
  width:515px;
  max-width:100%;
  box-sizing:border-box;
  overflow:visible;
  isolation:isolate;
}
.kff-story-media *,
.kff-story-media *::before,
.kff-story-media *::after{box-sizing:border-box;}

/* Beat Elementor global img { height:auto; max-width:100% } */
.kff-story-media__img,
.elementor-widget-kff_story_media .kff-story-media__img{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  z-index:1;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center;
  display:block;
  background-color:#1c3d39;
  box-shadow:0 14px 32px rgba(58,58,58,0.10);
}
.kff-story-media__img--filtered{
  filter:grayscale(10%) saturate(1.05) contrast(1.04) brightness(0.94);
}
.kff-story-media__img--placeholder{
  background:repeating-linear-gradient(100deg, #2c5850 0px, #3a6b62 6px, #1c3d39 12px);
}

.kff-story-media__frame{
  position:absolute;
  top:16px;
  left:16px;
  right:-16px;
  bottom:-16px;
  z-index:0;
  border:1px solid var(--kff-gold,#C2A36B);
  pointer-events:none;
}

@media(max-width:900px){
  .kff-story-media{
    --kff-story-h:420px;
    width:100%;
  }
}
