/* Approved image placements only. No catalogue photos, portraits or global palette changes. */
.korum-media-refresh .media-korum-cybersecurite-reseau-mondial {
    --media-image: url('../images/2026-09/korum-cybersecurite-reseau-mondial.webp');
    --media-small: url('../images/2026-09/korum-cybersecurite-reseau-mondial-small.webp');
    --media-position: 50% 43%;
}
.korum-media-refresh .media-korum-authentification-biometrique {
    --media-image: url('../images/2026-09/korum-authentification-biometrique.webp');
    --media-small: url('../images/2026-09/korum-authentification-biometrique-small.webp');
    --media-position: 65% 43%;
}
.korum-media-refresh .media-korum-securite-cloud-infrastructure {
    --media-image: url('../images/2026-09/korum-securite-cloud-infrastructure.webp');
    --media-small: url('../images/2026-09/korum-securite-cloud-infrastructure-small.webp');
    --media-position: 58% 45%;
}
.korum-media-refresh .media-korum-protection-logicielle-dongle-usb {
    --media-image: url('../images/2026-09/korum-protection-logicielle-dongle-usb.webp');
    --media-small: url('../images/2026-09/korum-protection-logicielle-dongle-usb-small.webp');
    --media-position: 50% 68%;
}
.korum-media-refresh .media-korum-conseil-cybersecurite {
    --media-image: url('../images/2026-09/korum-conseil-cybersecurite.webp');
    --media-small: url('../images/2026-09/korum-conseil-cybersecurite-small.webp');
    --media-position: 54% 40%;
}
.korum-media-refresh .media-korum-conseil-projet-reunion {
    --media-image: url('../images/2026-09/korum-conseil-projet-reunion.webp');
    --media-small: url('../images/2026-09/korum-conseil-projet-reunion-small.webp');
    --media-position: 50% 35%;
}

/* The runtime settings update the data; these scoped rules override old generated Elementor CSS. */
.korum-media-refresh .korum-media-slot.elementor-section,
.korum-media-refresh .korum-media-slot.elementor-column > .elementor-widget-wrap,
.korum-media-refresh .korum-media-slot.elementor-column > .elementor-column-wrap,
.korum-media-refresh .korum-media-slot.elementor-widget > .elementor-widget-container,
.korum-media-refresh .korum-media-slot .custom-breadcrumb {
    background-image: var(--media-image) !important;
    background-position: var(--media-position, center) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

/* Keep text above the new decorative backgrounds, never baked into a bitmap. */
.korum-media-refresh.home #rev_slider_1_1 rs-sbg-wrap::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.48); pointer-events: none;
}
.korum-media-refresh.home #rev_slider_1_1 rs-layer:not(.rs-layer-static) { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.korum-media-refresh.woocommerce-shop [data-elementor-id='980'] .custom-breadcrumb,
.korum-media-refresh .media-korum-authentification-biometrique .custom-breadcrumb,
.korum-media-refresh .media-korum-securite-cloud-infrastructure .custom-breadcrumb {
    /* Paint the shade on this layer: its image sits above the section's original overlay. */
    background-image: linear-gradient(rgba(6,14,25,.58),rgba(6,14,25,.58)), var(--media-image) !important;
}
.korum-media-refresh.woocommerce-shop [data-elementor-id='980'] .custom-breadcrumb {
    padding-top: 34px !important; padding-bottom: 34px !important; min-height: 134px;
}
.korum-media-refresh.woocommerce-shop [data-elementor-id='980'] .heading-title { margin: 0; font-size: clamp(26px,3vw,36px); }

@media (max-width: 767px) {
    .korum-media-refresh .korum-media-slot.elementor-section,
    .korum-media-refresh .korum-media-slot.elementor-column > .elementor-widget-wrap,
    .korum-media-refresh .korum-media-slot.elementor-column > .elementor-column-wrap,
    .korum-media-refresh .korum-media-slot.elementor-widget > .elementor-widget-container,
    .korum-media-refresh .korum-media-slot .custom-breadcrumb {
        background-image: var(--media-small) !important;
    }
    .korum-media-refresh.woocommerce-shop [data-elementor-id='980'] .custom-breadcrumb,
    .korum-media-refresh .media-korum-authentification-biometrique .custom-breadcrumb,
    .korum-media-refresh .media-korum-securite-cloud-infrastructure .custom-breadcrumb {
        background-image: linear-gradient(rgba(6,14,25,.58),rgba(6,14,25,.58)), var(--media-small) !important;
    }
    .korum-media-refresh.woocommerce-shop [data-elementor-id='980'] .custom-breadcrumb {
        padding-top: 22px !important; padding-bottom: 22px !important; min-height: 100px;
    }
    .korum-media-refresh .media-korum-conseil-cybersecurite > .elementor-widget-wrap { min-height: 270px; }
}
