/* Styles for Hover Reveal Container (ecc20e23) */

/* Core Variables & Defaults */
.hr-container-ecc20e23--child {
    --hr-duration-ecc20e23: 400ms;
    --hr-easing-ecc20e23: ease-out;
}

/* On Frontend (when not in Elementor editor) */
body:not(.elementor-editor-active) .hr-container-ecc20e23--child {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--hr-duration-ecc20e23) var(--hr-easing-ecc20e23), 
                visibility var(--hr-duration-ecc20e23) var(--hr-easing-ecc20e23);
}

/* Reveal when parent container is hovered on frontend */
body:not(.elementor-editor-active) .hr-container-ecc20e23--parent:hover .hr-container-ecc20e23--child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Absolute Overlay Reveal Style */
body:not(.elementor-editor-active) .hr-container-ecc20e23--child.hr-style-ecc20e23--overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 10;
}

/* Parent container setup when using Absolute Overlay on frontend */
body:not(.elementor-editor-active) .hr-container-ecc20e23--parent {
    position: relative !important;
}

/* Keep fully editable and active in Elementor Editor */
.elementor-editor-active .hr-container-ecc20e23--child {
    outline: 2px dashed rgba(106, 73, 227, 0.4);
    outline-offset: -2px;
    background-color: rgba(106, 73, 227, 0.03);
    position: relative;
}

/* Optional helper text label in editor to easily distinguish the Hover Reveal Container */
.elementor-editor-active .hr-container-ecc20e23--child::before {
    content: "Hover Reveal Content Area";
    position: absolute;
    top: 4px;
    right: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #6a49e3;
    background-color: rgba(106, 73, 227, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 999;
    pointer-events: none;
}
