/*
 Theme Name:   Bernard Assistance
 Theme URI:    https://bernard-assistance.fr
 Description:  Theme enfant GeneratePress pour Bernard Assistance - Depannage et remorquage 24h/24 Ile-de-France
 Author:       Bernard Assistance
 Author URI:   https://bernard-assistance.fr
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  marcelle-depannage
*/

/* === FULL WIDTH : forcer pleine largeur sur nos templates === */
.mda-custom-template .site-header,
.mda-custom-template .main-navigation,
.mda-custom-template .site-footer,
.mda-custom-template #right-sidebar,
.mda-custom-template .sidebar {
    display: none !important;
}

.mda-custom-template .site-content {
    display: block !important;
}

.mda-custom-template #content,
.mda-custom-template .site-content,
.mda-custom-template .content-area,
.mda-custom-template #primary,
.mda-custom-template .inside-article,
.mda-custom-template article,
.mda-custom-template .entry-content,
.mda-custom-template .site-main,
.mda-custom-template .container,
.mda-custom-template .grid-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

/* Supprimer le padding article GP */
.mda-custom-template .inside-article {
    padding: 0 !important;
}

/* Supprimer le titre de page GP */
.mda-custom-template .entry-header {
    display: none !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Tailwind CDN overrides for WP admin bar */
body.admin-bar .mda-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .mda-header {
        top: 46px;
    }
}
