/*
Theme Name: Weiland Academy — Divi Child
Description: Pełnoekranowy szablon Akademii Weiland 05B, granat i bursztyn, dla Divi i wtyczki Weiland Academy.
Version: 1.1.1
Template: Divi
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: weiland-academy-child
License: GPL-2.0-or-later
*/

/* The parent Divi theme supplies its own stylesheet. No @import or duplicate copy. */
body.wa-academy-canvas {
    margin: 0;
    min-width: 320px;
    background: #fff;
}

body.wa-academy-canvas #page-container,
body.wa-academy-canvas #et-main-area,
body.wa-academy-canvas #main-content,
body.wa-academy-canvas .wa-academy-entry {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Divi can calculate header padding although this template has no theme header. */
body.wa-academy-canvas #page-container {
    padding-top: 0 !important;
    overflow-x: clip;
}

body.wa-academy-canvas #main-content {
    background: transparent;
}

/* Only the supplied one-module bridge is made full bleed; other Divi sections
 * keep the design values chosen in Visual Builder. */
body.wa-academy-canvas .wa-divi-shell,
body.wa-academy-canvas .wa-divi-shell > .et_pb_row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.wa-academy-canvas .wa-divi-shell .et_pb_column,
body.wa-academy-canvas .wa-divi-shell .et_pb_text {
    margin-bottom: 0 !important;
}

body.wa-academy-canvas .wa-divi-shell .et_pb_text_inner > p:empty {
    display: none;
}

.wa-academy-setup-notice {
    max-width: 760px;
    margin: 48px auto;
    padding: 24px;
    color: #07243c;
    background: #fff;
    font: 16px/1.6 system-ui, sans-serif;
}
