/*
Theme Name: PolisaNaRower — Divi Child
Theme URI: https://polisanarower.pl/
Description: Lekki motyw potomny Divi dla PolisaNaRower.pl. Landing page, landingi tematyczne i dwa niezależne headery są renderowane przez shortcode, a CSS/JS są ładowane z osobnych plików.
Author: thx.marketing
Template: Divi
Version: 1.19.4
Text Domain: polisanarower-divi-child
*/

/* Celowo bez dużego CSS. Style landing page są w assets/css/polisanarower-home.css */

/* ============================================================
   LANDINGI TEMATYCZNE — wymuszenie pełnej szerokości w Divi
   Nowa strona WordPress może odziedziczyć domyślny prawy sidebar.
   Shortcode landingu musi zawsze dostać całą szerokość strony.
============================================================ */
body.pnr-topic-fullwidth #main-content .container:before {
    display: none !important;
}

body.pnr-topic-fullwidth #left-area {
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
}

body.pnr-topic-fullwidth #sidebar {
    display: none !important;
}



/* v1.16.4: pełny bleed sekcji + wspólny shell 1180 px jak pozostałe landingi */
body.pnr-topic-fullwidth #main-content > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}
body.pnr-topic-fullwidth #content-area {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.pnr-topic-fullwidth #left-area {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
