[data-image] > img,
[data-img] > img {
    display: block;
    width: 100%;
    height: 100%;
}

.svlz [data-image] > img {
    position: absolute;
    inset: 0;
}

[data-image]:has(> img) > .ph,
[data-img]:has(> img) > .ph {
    display: none !important;
}

/* image slots per tab: only the image of the active tab is shown (see main.js) */
[data-image] > [data-slot][hidden],
[data-img] > [data-slot][hidden] {
    display: none !important;
}

/* empty image slot in the Neos preview: click to select it and choose the image in the inspector */
[data-image] > .lp-slot,
[data-img] > .lp-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 160px;
    padding: 16px;
    border: 2px dashed #00adef;
    background: rgba(0, 173, 239, .08);
    color: #1d2a3a;
    font: 14px/1.35 sans-serif;
    text-align: center;
    cursor: pointer;
}

.lp-slot small {
    opacity: .75;
}

.lp-slot--missing {
    border-color: #e4002b !important;
    background: rgba(228, 0, 43, .06) !important;
    cursor: default !important;
}

[data-image]:has(> .lp-slot) > .ph,
[data-img]:has(> .lp-slot) > .ph {
    display: none !important;
}
