/* Default: natural image dimensions, constrained to available width. */
.elementor-widget-image-fit .dw-image-fit {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
    max-width: 100%;
}
.elementor-widget-image-fit .dw-image-fit__frame {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    justify-content: flex-start;
    align-items: flex-start;
}
.elementor-widget-image-fit .dw-image-fit__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
}
.elementor-widget-image-fit .dw-image-fit__link {
    display: block;
    min-width: 0;
    min-height: 0;
}
.elementor-widget-image-fit .dw-image-fit__caption {
    margin: 8px 0 0;
    flex: none;
}
/* Fill Container: the direct parent defines the box. The widget is taken out of
   normal flow so the intrinsic image height cannot stretch the parent.
   Requires a parent with an independently defined height / min-height (or a
   height provided by its surrounding layout). */
:where(.e-con, .e-con-inner, .elementor-widget-wrap, .elementor-container, .elementor-column, .elementor-element):has(> .elementor-widget-image-fit.dw-image-fit-fill-yes) {
    position: relative;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    max-width: none !important;
    max-height: none !important;
    margin: 0;
    align-self: auto;
    overflow: hidden;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes > .elementor-widget-container,
.elementor-widget-image-fit.dw-image-fit-fill-yes .dw-image-fit {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes .dw-image-fit {
    display: flex;
    flex-direction: column;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes .dw-image-fit__frame {
    display: flex;
    position: relative;
    flex: 1 1 0;
    width: 100%;
    height: 0;
    min-height: 0;
    overflow: hidden;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes .dw-image-fit__link {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}
.elementor-widget-image-fit.dw-image-fit-fill-yes .dw-image-fit__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    min-height: 0;
    max-width: none !important;
    max-height: none !important;
    object-fit: var(--dw-image-object-fit, cover);
}
