.custom-content-widget-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    position: relative;
}

.custom-widget-image,
.custom-widget-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.custom-widget-image.zoom-on-scroll-container {
    overflow: hidden;
    border-radius: 8px;
}

.custom-widget-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s linear; 
}

.custom-widget-counter {
    position: absolute;
    z-index: 1;
    line-height: 0.8;
    font-weight: bold;
}

.counter-pos-top_left .custom-widget-counter { top: 15px; left: 20px; }
.counter-pos-top_right .custom-widget-counter { top: 15px; right: 20px; }


/* NEW: Stats Section Styling */
.custom-widget-stats-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.stat-number {
    font-weight: 500;
}

.stat-label {
    margin-top: 5px;
}

.stat-divider {
    /* Styles for the divider are controlled from the Elementor panel */
}


/* --- Layout Controls --- */
.elementor-widget-custom-content-widget.elementor-image-position-right .custom-content-widget-wrapper {
    flex-direction: row-reverse;
}

/* --- Responsive for Mobile --- */
@media (max-width: 767px) {
    .custom-content-widget-wrapper,
    .elementor-widget-custom-content-widget.elementor-image-position-right .custom-content-widget-wrapper {
        flex-direction: column;
    }
}