/* Native Image widgets replace only converted CSS photos. Unconverted layouts stay intact. */
#fusico-site #fusico-main .elementor-element.fusico-el-home-about.fusico-editable-home-about>.e-con-inner:before,
#fusico-site #fusico-main .elementor-element.fusico-editable-hero:after{content:none;display:none}
#fusico-site #fusico-main .elementor-element.fusico-el-home-about.fusico-editable-home-about>.e-con-inner>.fusico-page-editable-image{
  grid-column:1;grid-row:1/span 4;align-self:stretch;width:100%;max-width:none;min-width:0;height:100%;min-height:390px;border-radius:14px;overflow:hidden;box-shadow:0 15px 35px rgba(16,39,68,.10);
}
#fusico-site #fusico-main .elementor-element.fusico-el-home-about.fusico-editable-home-about>.e-con-inner>.fusico-page-editable-image img{display:block;width:100%;height:100%;min-height:390px;object-fit:cover;object-position:73% center}
#fusico-site #fusico-main .fusico-page-editable-image>.elementor-widget-container,
#fusico-site #fusico-main .fusico-page-editable-image a{display:block;height:100%}

/* Right-hand editorial photos: stay in the layout and remain clickable in the editor. */
#fusico-site #fusico-main .elementor-element.fusico-editable-hero{position:relative;background-image:none}
#fusico-site #fusico-main .elementor-element.fusico-editable-hero>.e-con-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 5%;align-items:center}
#fusico-site #fusico-main .elementor-element.fusico-editable-hero>.e-con-inner>.elementor-widget{grid-column:1;width:100%;max-width:none;flex:none}
#fusico-site #fusico-main .elementor-element.fusico-editable-hero>.e-con-inner>.fusico-page-editable-image{grid-column:2;grid-row:1/span 6;align-self:stretch;min-width:0;min-height:380px;height:100%;border-radius:17px;overflow:hidden;box-shadow:0 12px 30px rgba(25,29,36,.09)}
#fusico-site #fusico-main .elementor-element.fusico-editable-hero .fusico-page-editable-image img{display:block;width:100%;height:100%;min-height:380px;object-fit:cover;object-position:right center}

/* Old full-bleed hero/CTA and solution navigation cards keep their overlays. */
#fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card){position:relative;isolation:isolate;background-image:none}
#fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card)>.e-con-inner{position:static}
#fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card)>.e-con-inner>.fusico-page-editable-image{
  position:absolute;inset:0;z-index:-2;display:block;width:100%;max-width:none;height:100%;margin:0;pointer-events:none;border-radius:inherit;overflow:hidden;
}
#fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card) .fusico-page-editable-image img{display:block;width:100%;height:100%;object-fit:cover}
#fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card):after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(95deg,rgba(6,36,77,.96),rgba(7,89,184,.82));border-radius:inherit}
#fusico-site #fusico-main .elementor-element.fusico-editable-backdrop.fusico-el-hero:after{background:linear-gradient(90deg,rgba(7,24,47,.82),rgba(7,24,47,.10))}
#fusico-site #fusico-main .elementor-element.fusico-editable-nav-card:after{background:linear-gradient(180deg,rgba(4,27,50,.22),rgba(4,27,50,.94))}
/* Use the named Image in Structure when a photo sits behind text. */
.elementor-editor-active #fusico-site #fusico-main .elementor-element:is(.fusico-editable-backdrop,.fusico-editable-nav-card)>.e-con-inner>.fusico-page-editable-image{pointer-events:auto}

/* The posts archive reads the Featured Image of its WordPress page, not a CSS URL. */
.fusico-page-news #fusico-site .fusico-news-editable-hero .fusico-container:after{content:none;display:none}
.fusico-page-news #fusico-site .fusico-news-editable-hero .fusico-news-hero-image{position:absolute;top:0;right:0;bottom:0;display:block;width:47%;max-width:none;height:100%;border-radius:18px;object-fit:cover;box-shadow:0 12px 30px rgba(16,43,80,.1)}

/* Include the existing two-column About photo-card design in fresh demo installs too. */
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2{background:#f3f6fa}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-grid>.e-con-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-card{padding:28px;border:1px solid #e1e7ef;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 28px #11274408}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-card:before{display:none}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-card>.e-con-inner{gap:14px;align-items:stretch}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-photo{width:calc(100% + 56px);max-width:none;margin:-28px -28px 10px;align-self:stretch;flex-shrink:0}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-photo img{display:block;width:100%;height:auto;aspect-ratio:12/5;object-fit:contain;object-position:center;background:#fff;border-radius:0}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-card .elementor-heading-title{font-size:clamp(22px,2vw,28px);line-height:1.25;min-height:0}
.fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-card .elementor-widget-button{margin-top:auto}

@media(max-width:767px){
  #fusico-site #fusico-main .elementor-element.fusico-el-home-about.fusico-editable-home-about>.e-con-inner>.fusico-page-editable-image{grid-column:1;grid-row:1;height:240px;min-height:240px;margin-bottom:12px}
  #fusico-site #fusico-main .elementor-element.fusico-el-home-about.fusico-editable-home-about>.e-con-inner>.fusico-page-editable-image img{min-height:0;height:240px}
  #fusico-site #fusico-main .elementor-element.fusico-editable-hero{min-height:0;padding:52px 18px 32px}
  #fusico-site #fusico-main .elementor-element.fusico-editable-hero>.e-con-inner{grid-template-columns:minmax(0,1fr);gap:18px}
  #fusico-site #fusico-main .elementor-element.fusico-editable-hero>.e-con-inner>.fusico-page-editable-image{grid-column:1;grid-row:auto;min-height:245px;height:245px;margin-top:12px}
  #fusico-site #fusico-main .elementor-element.fusico-editable-hero .fusico-page-editable-image img{min-height:0;height:245px}
  .fusico-page-about #fusico-site #fusico-main .fusico-about-solutions-v2 .fusico-about-solution-grid>.e-con-inner{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(max-width:700px){
  .fusico-page-news #fusico-site .fusico-news-editable-hero .fusico-news-hero-image{position:relative;inset:auto;width:100%;height:220px;margin-top:30px;border-radius:12px}
}
