/*
 * Before After Swiper — this site's overrides. Loaded after the block's own sheet, only when the
 * block is on the page.
 *
 * Solid black instead of the theme's media glass: the "Înainte / După" labels and the frame of
 * the small picture laid over the large one (picture-in-picture, desktop). On these clinical
 * photos the glass read as a grey smudge; black is the site's own card colour.
 */
.lvd-cm-before-after .lvd-ba-label {
    border-color: #000;
    background: #000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: #fff;
}

/* Picture-in-picture: the small item is "before", or "after" once swapped. Both layouts, the
 * desktop class and the bm- one, as in the block's sheet. */
.lvd-cm-before-after :is(.lvd-ba-pip, .bm-lvd-ba-pip) .lvd-ba-frame:not(.lvd-ba-swapped) > .lvd-ba-before,
.lvd-cm-before-after :is(.lvd-ba-pip, .bm-lvd-ba-pip) .lvd-ba-frame.lvd-ba-swapped > .lvd-ba-after {
    background: #000;
    box-shadow: 0 0 0 2px #000, 0 8px 24px rgba(0, 0, 0, .28);
}

/* The swap control on the small picture: smoked glass, not solid black, so it stays light on
 * the photo while matching the black labels. White arrows; a touch darker on hover / focus. */
.lvd-cm-before-after .lvd-ba-switch-icon {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    color: #fff;
}
.lvd-cm-before-after .lvd-ba-switch:is(:hover, :focus-visible) .lvd-ba-switch-icon {
    background: rgba(0, 0, 0, .72);
    color: #fff;
}
