/* Bounded to the three staging hosts by the preview MU plugin. */
body#override.vb-preview-text-layout #content :is(h1,h2,h3,h4,p,li,label) {
    overflow-wrap:anywhere;
}

/* Give the confirmed long detail titles room beside their introduction. */
@media(min-width:992px) {
    body#override.vb-preview-wide-title #content .row.row-fluid:has(> .col-sm-3 h1) > .col-sm-3 {
        flex:0 0 41.666667%; width:41.666667%; max-width:41.666667%;
    }
    body#override.vb-preview-wide-title #content .row.row-fluid:has(> .col-sm-3 h1) > .column:last-child {
        flex:1 1 0; width:auto; max-width:none; min-width:0;
    }
    body#override.vb-preview-wide-title #content h1 {
        font-size:34px; line-height:1.2;
    }
}
@media(max-width:991px) {
    body#override.vb-preview-wide-title #content .row.row-fluid:has(> .col-sm-3 h1) > .column {
        flex:0 0 100%; width:100%; max-width:100%; margin-left:0;
    }
}

@media(max-width:767px) {
    /* Keep the account form columns and their controls within the viewport. */
    body#override.vb-preview-text-layout.woocommerce-account #content .woocommerce .col2-set {
        display:block;
    }
    body#override.vb-preview-text-layout.woocommerce-account .woocommerce .col2-set :is(.col-1,.col-2) {
        float:none; flex:0 0 100%; width:100%; max-width:100%;
    }
    body#override.vb-preview-text-layout.woocommerce-account .woocommerce form :is(input,select,textarea,button) {
        max-width:100%; box-sizing:border-box;
    }
    /* The academy table describes three independent information blocks. */
    body#override.vb-preview-learning-table #content :is(table,tbody,tr,td) {
        display:block; width:100%!important; max-width:100%;
    }
    body#override.vb-preview-learning-table #content td {
        padding:0; margin-bottom:24px;
    }
    /* Single-column reference grids no longer need a trailing gutter. */
    body#override.vb-preview-reference-grid #content .vc_pageable-slide-wrapper {
        margin-right:0!important;
    }
    body#override.vb-preview-reference-grid #content .vc_grid-item {
        padding-right:0!important;
    }
}
/* Percentage background bleed also overflows narrower tablet containers. */
@media(max-width:1279px) {
    body#override.vb-preview-text-layout #content .wpb-content-wrapper > .row.van-bg-box {
        margin-left:-15px; margin-right:-15px;
    }
}
@media(min-width:768px) and (max-width:1199px) {
    body#override.vb-preview-text-layout #content .sticker-service-dienst-img {
        right:15px;
    }
}
@media(max-width:479px) {
    body#override.vb-preview-text-layout.vb-preview-shop ul.products {
        grid-template-columns:minmax(0,1fr)!important;
    }
    body#override.vb-preview-text-layout.vb-preview-shop ul.products li.product :is(h2,.add_to_cart_button) {
        font-size:16px!important;
    }
}
