/* ── Full-Width Layout Override — Bookshelf Textbook v3.0 ── */

/* Container width only — no image or media rules */
body:not(.waEditorMode) .container_12 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

body:not(.waEditorMode) .s1_grid_12 {
    width: auto !important;
    max-width: 100% !important;
}

/* Tablet */
@media only screen and (max-width: 1024px) {
    body:not(.waEditorMode) .container_12 {
        padding: 0 14px !important;
    }
}

/* Mobile */
@media only screen and (max-width: 599px) {
    body:not(.waEditorMode) .container_12 {
        padding: 0 10px !important;
    }
    body:not(.waEditorMode) .d1,
    body:not(.waEditorMode) .d2,
    body:not(.waEditorMode) .d3,
    body:not(.waEditorMode) .d4 {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }
}