/**
 * bsx-pub shared design tokens — single source of truth for the
 * --bsx-* color/effect variables used by BOTH bsx-pub.css and
 * bsx-pub-article.css.
 *
 * NOTE: previously used a var(--bsx-bg-1, #fff)-style fallback chain,
 * intended to defer to the theme's own tokens if it ever defined them.
 * That was hijacked by the main bsx-design plugin's own --bsx-bg-1 etc.
 * Removing the indirection (setting values directly) wasn't enough
 * either — bsx-design ALSO defines the same bare names (--bsx-bg, not
 * just --bsx-bg-1) directly on its own :root rule. Since both rules
 * target :root with identical specificity, plain CSS cascade order
 * decides, and bsx-design's rule was simply loading after this one.
 * !important on every declaration forces these to win regardless of
 * load order, without needing to know bsx-design's actual enqueue
 * handle to sequence against it.
 */
body.bsx-light {
    --wp--preset--color--base: #ffffff;
    --wp--preset--color--contrast: #030204;
    --wp--style--root--padding-top: 0px;
    --wp--style--root--padding-right: 0;
    --wp--style--root--padding-bottom: 0px;
    --wp--style--root--padding-left: 0;

    h1, h2, h3, h4 {
	color: #6d0a20;
    }

    /* Backgrounds */
    --bsx-bg:            #ffffff; 
    --bsx-bg-raised:     #f1f1f1; 
    --bsx-bg-deep:       #e0e0e0; 
    --bsx-bg-modal:      rgb(255,255,255,0.07);
			 
    --bsx-bg-mid:      #b3b7ad;   /* rows, sidebar */
    --bsx-bg-mid2:     #939088;   /* secondary mid */



    --bsx-text:          #030204; 
    --bsx-text-muted:    #6b6b6b; 

    --bsx-accent:        #21201e; 
    --bsx-accent-mid:    #353733; 
    --bsx-accent-strong: #6d0a20; 
    --bsx-accent2:       #890066
    --bsx-border:        #bbb; 
    --bsx-error:         #e07070; 

    --bsx-radius-lg:     8px; 
    --bsx-shadow-md:     0 2px 8px rgba( 110, 110, 110, 0.08 );
    --bsx-transition:    0.15s ease;

    /* Typography */
    --bsx-font:       'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
    --bsx-font-mono:  'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

        /* Sizing */
    --bsx-text-xs:  0.75rem;
    --bsx-text-sm:  0.8rem;
    --bsx-text-md:  0.9rem;
    --bsx-text-base: 1rem;
    --bsx-text-lg:  1.1rem;
    --bsx-text-xl:  1.2rem;
    --bsx-text-2xl: 1.4rem;

    /* Spacing */
    --bsx-gap-xs:  0.25rem;
    --bsx-gap-sm:  0.5rem;
    --bsx-gap-md:  1rem;
    --bsx-gap-lg:  1.5rem;
    --bsx-gap-xl:  2rem;

    /* Radius */
    --bsx-radius-sm: 3px;
    --bsx-radius-md: 4px;
    --bsx-radius-lg: 6px;
    --bsx-radius-xl: 8px;
    --bsx-radius-2xl: 20px;

    /* Transitions */
    --bsx-transition:     0.2s ease;
    --bsx-transition-med: 0.3s ease;

}
