/*
Theme Name: Beyond Biz Experience
Description: A custom theme for the Beyond Biz Experience platform
Author: Susan Robichaud
Version: 1.2.7
Author URI: https://susanrobichaud.ca
Text Domain: beyondbizexperience
*/

/* ==========================================================================
   PRECISE WHITE SPACE CONTROL
   ========================================================================== */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}


/* Global baseline */
body,
body * {
    font-weight: 300 !important;
}

/* Keep menu/footer/hero/notice lighter */
.main-navigation .nav-menu a,
.main-navigation .nav-menu .sub-menu a,
.style-5-mega-menu,
.style-5-mega-menu *,
.footer-mega-hero,
.footer-mega-hero *,
.announcement-bar,
.beyondbizexperience-announcement-content,
.beyondbizexperience-announcement-content * {
    font-weight: 300 !important;
}

/* Toggle safety */
.style-5-theme-toggle,
.style-5-theme-toggle::before {
    font-weight: normal !important;
}



/* Remove outer container margins but preserve internal spacing */
.site {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Full-width elements */
.beyondbizexperience-notification-wrapper,
.site-header,
.site-footer {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}


/* ==========================================================================
   MAIN THEME STYLES
   ========================================================================== */
 
 .alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Submenu text weight */
.main-navigation .nav-menu .sub-menu a {
    font-weight: 300 !important;
}

/* Optional: keep current/active submenu items same weight */
.main-navigation .nav-menu .sub-menu .current-menu-item > a,
.main-navigation .nav-menu .sub-menu .current_page_item > a,
.main-navigation .nav-menu .sub-menu .current-menu-ancestor > a {
    font-weight: 300 !important;
}


/* ==========================================================================
   COMPREHENSIVE BUTTON STYLING - ALL SITE BUTTONS
   ========================================================================== */

body:not(.wp-admin):not(.wp-customizer):not(.elementor-editor-active):not(.elementor-editor-preview)
button:not([class*="elementor"]):not([class*="customize-"]):not([class*="wp-"]):not(.components-button):not(.e-con-select-preset):not(.style-5-theme-toggle):not([class*="theme-toggle"]),
body:not(.wp-admin):not(.wp-customizer):not(.elementor-editor-active):not(.elementor-editor-preview)
input[type="submit"]:not([class*="elementor"]):not([class*="customize-"]):not([class*="wp-"]) {
    padding: 22px 34px !important;
}

.style-5-theme-toggle {
    width: 50px !important;
    height: 24px !important;
    min-width: 50px !important;
    min-height: 24px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    line-height: 0 !important;
    font-size: 0 !important;
    overflow: hidden !important;
}

.style-5-theme-toggle::before {
    width: 20px !important;
    height: 20px !important;
    top: 2px !important;
    left: 2px !important;
    border-radius: 50% !important;
}

.style-5-theme-toggle[data-theme="dark"]::before {
    transform: translateX(26px) !important;
    left: 2px !important;
}

/* ==========================================================
   INLINE TEXT LINKS
   Keep body-copy links consistent with surrounding text
   ========================================================== */

.site-main p a,
.site-main li a,
.site-main blockquote a,
.site-main .elementor-widget-text-editor a,
.site-main .elementor-widget-theme-post-content a {
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.site-main p a,
.site-main li a,
.site-main blockquote a,
.site-main .elementor-widget-text-editor a,
.site-main .elementor-widget-theme-post-content a {
    text-decoration: none;
}

.site-main p a:hover,
.site-main li a:hover,
.site-main blockquote a:hover,
.site-main .elementor-widget-text-editor a:hover,
.site-main .elementor-widget-theme-post-content a:hover {
    opacity: 0.85;
}



