/*
Theme Name: RefreshBalance
Theme URI: https://refreshbalance.com
Author: Antigravity
Author URI: https://refreshbalance.com
Description: A high-performance, medical-grade block theme for RefreshBalance. Built with Vanilla CSS, Interactivity API, and optimized for Core Web Vitals.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: refreshbalance
*/

/* 
 * CRITICAL PATH CSS
 */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    --rb-hue: 0deg;
    --rb-bg: #f8f9fc;
    --rb-white: #ffffff;
    --rb-dark: #0d0f1a;
    --rb-mid: #4a5168;
    --rb-violet: #7c3aed;
    --rb-teal: #0d9488;
    --rb-rose: #e11d48;
    --rb-amber: #d97706;
    --rb-indigo: #4f46e5;
    --rb-shadow-card: 0 4px 24px -6px rgba(13, 15, 26, 0.08);
    --rb-shadow-lift: 0 16px 48px -12px rgba(124, 58, 237, 0.18);
    --rb-radius-card: 22px;
    --rb-transition: 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--rb-dark);
    background: var(--rb-bg);
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* SVG reset — scoped to content only, not nav/UI elements */
.entry-content svg,
.wp-block-image svg,
.rb-article-card svg {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ─── Common Utilities ─────────────────────────────────────── */
.rb-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.rb-grad {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}.rb-post-meta { display: none !important; }
