/* BONJOUR WEB — 31-R01B
 * Sistemas Web a Medida: visuales insertados sin editar hosts del markup.
 */

body .bj-r31-systems-visual-shell {
    display: flex;
    width: 100%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

body .bj-r31-systems-visual {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* El placeholder original aporta borde/fondo. Lo retiramos sólo cuando contiene nuestro visual. */
body :is(div, figure, span):has(> .bj-r31-systems-visual-shell) {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    overflow: visible !important;
}

@media (max-width: 767px) {
    body .bj-r31-systems-visual-shell,
    body .bj-r31-systems-visual {
        width: 100%;
        max-width: 100%;
    }
}

/* BONJOUR WEB 31-R02B GROWTH VISUAL START */
@media (min-width: 1024px) {
    body .bj-r31-systems-visual-shell--growth {
        overflow: visible;
    }

    body .bj-r31-systems-visual--growth {
        width: 114%;
        max-width: none;
        height: auto;
        margin-left: -7%;
        margin-right: -7%;
        flex: 0 0 auto;
    }
}
/* BONJOUR WEB 31-R02B GROWTH VISUAL END */
