/*
Theme Name: Bmoneyed
Template: kadence
Version: 2.0

WHAT LIVES HERE:
  Gutenberg block styles — classes used in block-based content.
  Global design tokens and resets.
  
WHAT DOES NOT LIVE HERE:
  template-article.php handles all article layout and section styles.
  No duplication. If a class appears in both files, the template wins
  (it loads at wp_head priority 99, after this file).
*/

/* ── DESIGN TOKENS ── */
:root {
    --bm-orange: #FF6B35;
    --bm-orange-light: #FF8C5A;
    --bm-orange-pale: #FFF2EC;
    --bm-dark: #2D2D2D;
    --bm-mid: #5A5A5A;
    --bm-light: #9A9A9A;
    --bm-border: #E8E8E8;
    --bm-white: #FFFFFF;
    --bm-bg: #FAFAFA;
    --bm-green: #27AE60;
}

/* ── CONTENT TYPOGRAPHY (Gutenberg post content) ── */
.bm-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--bm-dark);
}
.bm-content p { margin-bottom: 18px; color: var(--bm-dark); }
.bm-content p:last-child { margin-bottom: 0; }
.bm-content h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 26px);
    color: var(--bm-dark);
    letter-spacing: -0.3px;
    margin-bottom: 18px;
    margin-top: 40px;
    line-height: 1.25;
    scroll-margin-top: 88px;
}
.bm-content h2:first-child { margin-top: 0; }
.bm-content h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--bm-dark);
    margin-bottom: 10px;
    margin-top: 28px;
    line-height: 1.3;
}
.bm-content a { color: var(--bm-orange); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.bm-content a:hover { border-bottom-color: var(--bm-orange); }
.bm-content strong { color: var(--bm-dark); }
.bm-content ul, .bm-content ol { padding-left: 22px; margin-bottom: 18px; }
.bm-content li { margin-bottom: 6px; }

/* ── BLOCK: OUTCOMES BAR ── */
.bm-outcomes-bar {
    background: var(--bm-orange);
    padding: 18px 40px;
    /* Full bleed under Kadence */
    position: relative;
    left: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
}
.bm-outcomes-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.bm-outcomes-label { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.bm-outcomes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; list-style: none; padding: 0; margin: 0; }
.bm-outcomes-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--bm-white); font-weight: 500; line-height: 1.4; }
.bm-outcome-check { width: 16px; height: 16px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px; }

/* ── BLOCK: VERDICT BAR ── */
.bm-verdict-bar { background: var(--bm-orange); padding: 20px 40px; }
.bm-verdict-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.bm-verdict-label { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.75); white-space: nowrap; }
.bm-verdict-text, .bm-verdict-text p { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--bm-white) !important; line-height: 1.4; margin: 0; }

/* ── BLOCK: KEY INSIGHT ── */
.bm-key-insight { background: var(--bm-dark); padding: 18px 24px; border-radius: 6px; margin: 24px 0; display: flex; gap: 12px; align-items: flex-start; }
.bm-insight-icon, .bm-insight-icon p { font-size: 18px !important; flex-shrink: 0; margin: 0 !important; background: none !important; }
.bm-key-insight p { color: rgba(255,255,255,0.9) !important; margin: 0 !important; font-size: 15px; line-height: 1.6; }
.bm-key-insight strong { color: var(--bm-orange) !important; }

/* ── BLOCK: BRIDGE LINK ── */
.bm-bridge-link { border: 1.5px solid #D8D8D8; border-radius: 8px; padding: 16px 20px; margin: 20px 0; display: flex; align-items: center; gap: 14px; transition: border-color 0.2s, transform 0.15s; text-decoration: none; background: var(--bm-white); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.bm-bridge-link:hover { border-color: var(--bm-orange); transform: translateX(4px); }
.bm-bridge-icon, .bm-bridge-icon p { width: 36px !important; height: 36px !important; min-width: 36px; background: var(--bm-orange-pale) !important; border: 1px solid rgba(255,107,53,0.2) !important; border-radius: 7px !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 17px !important; flex-shrink: 0; margin: 0 !important; padding: 0 !important; }
.bm-bridge-text p:first-child, .bm-bridge-text strong { display: block; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; color: var(--bm-dark); margin-bottom: 2px; }
.bm-bridge-text p:last-child, .bm-bridge-text span { font-size: 12px; color: var(--bm-light); }

/* ── BLOCK: VISUAL PLACEHOLDER ── */
.bm-visual-placeholder { background: var(--bm-bg); border: 2px dashed var(--bm-border); border-radius: 8px; padding: 22px 20px; margin: 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.bm-visual-icon, .bm-visual-icon p { font-size: 20px !important; flex-shrink: 0; margin: 0 !important; background: none !important; }
.bm-visual-label, .bm-visual-label p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--bm-orange) !important; margin-bottom: 6px; }
.bm-visual-title, .bm-visual-title p { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--bm-dark) !important; margin-bottom: 5px; }
.bm-visual-prompt, .bm-visual-prompt p { font-size: 12px; color: var(--bm-mid) !important; line-height: 1.6; margin: 0; }

/* ── BLOCK: GLOSSARY GRID ── */
.bm-glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.bm-glossary-item { padding: 14px 16px; background: var(--bm-white); border: 1px solid var(--bm-border); border-radius: 7px; }
.bm-glossary-term, .bm-glossary-term p { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--bm-orange) !important; margin-bottom: 4px; }
.bm-glossary-def, .bm-glossary-def p { font-size: 13px; color: var(--bm-mid) !important; line-height: 1.55; margin: 0; }

/* ── BLOCK: NUMBERED LIST ── */
.bm-numbered-list { list-style: none !important; padding: 0 !important; margin: 20px 0 !important; border-top: 1px solid var(--bm-border); }
.bm-numbered-item { display: flex !important; gap: 14px; align-items: flex-start; padding: 20px 0 !important; border-bottom: 1px solid var(--bm-border) !important; margin-bottom: 0 !important; list-style: none !important; }
.bm-numbered-item::before { display: none !important; } /* Numbers are inline in block pattern */
.bm-numbered-item strong { color: var(--bm-dark); }

/* ── BLOCK: FEATURE COLUMNS ── */
.bm-feature-cols.wp-block-columns { gap: 14px !important; margin: 24px 0; }
.bm-feature-col.wp-block-column { background: var(--bm-bg); border-radius: 8px; padding: 20px 18px !important; border-top: 3px solid var(--bm-orange); }
.bm-feature-col-icon, .bm-feature-col-icon p { font-size: 24px !important; margin-bottom: 10px !important; background: none !important; margin-top: 0 !important; }
.bm-feature-col p { font-size: 14px; color: var(--bm-mid); line-height: 1.55; }
.bm-feature-col p strong { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--bm-dark); }

/* ── BLOCK: DEFINITION BLOCKS ── */
.bm-def-blocks.wp-block-columns { gap: 14px !important; margin: 20px 0; }
.bm-def-block.bm-left.wp-block-column { background: var(--bm-bg); border-radius: 8px; padding: 20px 18px !important; border-top: 3px solid var(--bm-dark); }
.bm-def-block.bm-right.wp-block-column { background: var(--bm-orange-pale); border-radius: 8px; padding: 20px 18px !important; border-top: 3px solid var(--bm-orange); }
.bm-def-label, .bm-def-label p { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.bm-left .bm-def-label, .bm-left .bm-def-label p { color: var(--bm-dark) !important; }
.bm-right .bm-def-label, .bm-right .bm-def-label p { color: var(--bm-orange) !important; }
.bm-def-block ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.bm-def-block ul li { font-size: 14px; color: var(--bm-mid); line-height: 1.55; padding-left: 14px; position: relative; margin-bottom: 8px !important; }
.bm-def-block ul li::before { content: '·'; position: absolute; left: 0; color: var(--bm-orange); font-weight: 700; }

/* ── BLOCK: COMPARISON TABLE ── */
.bm-comparison-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 8px; overflow: hidden; }
.bm-comparison-table th { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; padding: 14px 20px; text-align: left; }
.bm-comparison-table th:first-child { background: #F0F0F0; color: var(--bm-dark); }
.bm-comparison-table th:last-child { background: var(--bm-orange); color: var(--bm-white); }
.bm-comparison-table td { padding: 12px 20px; font-size: 15px; border-bottom: 1px solid var(--bm-border); vertical-align: top; }
.bm-comparison-table td:first-child { background: var(--bm-bg); color: var(--bm-mid); }
.bm-comparison-table td:last-child { background: var(--bm-orange-pale); color: var(--bm-dark); font-weight: 500; }
.bm-comparison-table tr:last-child td { border-bottom: none; }

/* ── BLOCK: DECISION RULE ── */
.bm-decision-rule { background: var(--bm-dark); padding: 22px 26px; border-radius: 8px; margin: 24px 0; }
.bm-decision-label, .bm-decision-label p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--bm-orange) !important; margin-bottom: 10px; }
.bm-decision-rule p { color: rgba(255,255,255,0.9) !important; margin: 0; font-size: 16px; line-height: 1.65; }
.bm-decision-rule strong { color: var(--bm-orange) !important; }

/* ── BLOCK: CREDIBILITY ── */
.bm-credibility { background: var(--bm-bg); border: 1px solid var(--bm-border); border-radius: 10px; padding: 24px 28px; margin: 28px 0; }
.bm-cred-label, .bm-cred-label p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--bm-orange) !important; margin-bottom: 16px; }
.bm-cred-refs { display: flex; flex-direction: column; gap: 14px; }
.bm-cred-ref { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--bm-border); }
.bm-cred-ref:last-child { border-bottom: none; padding-bottom: 0; }
.bm-cred-dot, .bm-cred-dot p { width: 8px !important; height: 8px !important; min-width: 8px; background: var(--bm-orange) !important; border-radius: 50% !important; flex-shrink: 0; margin-top: 6px !important; margin-bottom: 0 !important; padding: 0 !important; }
.bm-cred-ref p { font-size: 14px; color: var(--bm-mid); margin: 0; line-height: 1.6; }
.bm-cred-ref strong { color: var(--bm-dark); }

/* ── BLOCK: FAQ ACCORDION ── */
.bm-faq-list { display: flex; flex-direction: column; margin-top: 8px; }
.bm-faq-item { border-bottom: 1px solid var(--bm-border); margin-bottom: 0 !important; padding: 0 !important; }
.bm-faq-question { width: 100%; background: none !important; border: none !important; padding: 16px 0 !important; display: flex; justify-content: space-between; align-items: center; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; color: var(--bm-dark) !important; cursor: pointer; text-align: left; gap: 14px; transition: color 0.2s; outline: none !important; box-shadow: none !important; border-radius: 0 !important; }
.bm-faq-question:hover { color: var(--bm-orange) !important; background: none !important; }
.bm-faq-question:focus, .bm-faq-question:focus-visible { outline: none !important; box-shadow: none !important; }
.bm-faq-icon { width: 26px; height: 26px; min-width: 26px; background: var(--bm-orange-pale); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--bm-orange); flex-shrink: 0; transition: transform 0.2s; }
.bm-faq-item.bm-open .bm-faq-icon { transform: rotate(45deg); }
.bm-faq-answer { display: none; padding: 0 0 18px; font-size: 15px; color: var(--bm-mid); line-height: 1.65; }
.bm-faq-item.bm-open .bm-faq-answer { display: block; }

/* ── BLOCK: EMAIL CAPTURE ── */
.bm-email-capture { background: var(--bm-dark); border-radius: 12px; padding: 28px 32px; margin: 32px 0; position: relative; overflow: hidden; }
.bm-email-capture::before { content: ''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--bm-orange); opacity: 0.08; }
.bm-ec-inner { position: relative; z-index: 1; }
.bm-ec-label, .bm-ec-label p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--bm-orange) !important; margin-bottom: 8px; }
.bm-ec-title, .bm-ec-title p { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--bm-white) !important; margin-bottom: 6px; line-height: 1.3; }
.bm-ec-sub, .bm-ec-sub p { font-size: 14px; color: rgba(255,255,255,0.55) !important; margin-bottom: 18px; line-height: 1.55; }
.bm-ec-form { display: flex; gap: 10px; flex-wrap: wrap; }
.bm-ec-input { flex: 1; min-width: 200px; padding: 12px 16px; border: 1.5px solid rgba(255,255,255,0.15); border-radius: 7px; background: rgba(255,255,255,0.08); color: var(--bm-white); font-family: 'DM Sans', sans-serif; font-size: 15px; outline: none; transition: border-color 0.2s; }
.bm-ec-input:focus { border-color: var(--bm-orange); }
.bm-ec-input::placeholder { color: rgba(255,255,255,0.3); }
.bm-ec-btn { background: var(--bm-orange); color: var(--bm-white); font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; padding: 12px 24px; border: none; border-radius: 7px; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.bm-ec-btn:hover { background: var(--bm-orange-light); }
.bm-ec-privacy, .bm-ec-privacy p { font-size: 11px; color: rgba(255,255,255,0.3) !important; margin-top: 10px; }

/* ── BLOCK: TOOL BRIDGE ── */
.bm-tool-bridge { background: var(--bm-orange-pale); border: 1.5px solid rgba(255,107,53,0.25); border-radius: 10px; padding: 20px 24px; margin: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bm-tb-label, .bm-tb-label p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--bm-orange) !important; margin-bottom: 4px; }
.bm-tb-title, .bm-tb-title p { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; color: var(--bm-dark) !important; margin-bottom: 2px; }
.bm-tb-desc, .bm-tb-desc p { font-size: 13px; color: var(--bm-mid) !important; margin: 0; }
.bm-tb-btn a, .bm-tb-btn { display: inline-flex; align-items: center; background: var(--bm-orange); color: var(--bm-white) !important; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 6px; text-decoration: none !important; transition: background 0.2s; white-space: nowrap; flex-shrink: 0; border-bottom: none !important; }
.bm-tb-btn a:hover, .bm-tb-btn:hover { background: var(--bm-orange-light); }

/* ── BLOCK: INLINE RELATED ── */
.bm-inline-related, .bm-inline-related p { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--bm-bg); border-radius: 6px; border: 1px solid var(--bm-border); font-size: 14px; font-weight: 500; margin: 18px 0; transition: all 0.2s; }
.bm-inline-related::before, .bm-inline-related p::before { content: '→'; color: var(--bm-orange); font-weight: 700; }
.bm-inline-related a { color: var(--bm-dark); text-decoration: none; border-bottom: none; }
.bm-inline-related:hover { border-color: var(--bm-orange); }

/* ── BLOCK: BODY LAYOUTS ── */
.bm-body-a.wp-block-columns { max-width: 1080px; margin: 0 auto !important; padding: 0 40px; gap: 56px !important; align-items: flex-start; padding-top: 0 !important; margin-top: 0 !important; }
.bm-content-col { min-width: 0; max-width: 720px; }
.bm-body-bc { max-width: 760px; margin: 0 auto; padding: 0 40px; }

/* ── BLOCK: TOC SIDEBAR ── */
.bm-toc { position: sticky !important; top: 104px !important; }
.bm-toc-header { background: var(--bm-dark); padding: 12px 16px; border-radius: 8px 8px 0 0; border: 1.5px solid var(--bm-dark); border-bottom: none; margin-bottom: 0 !important; }
.bm-toc-header, .bm-toc-header p { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--bm-white) !important; margin: 0; }
.bm-toc-list { list-style: none !important; padding: 4px 0 !important; margin: 0 !important; border: 1.5px solid var(--bm-border); border-top: none; border-radius: 0 0 8px 8px; }
.bm-toc-list li { margin: 0 !important; padding: 0 !important; }
.bm-toc-list a, .bm-toc-list li a { display: block !important; font-size: 13px !important; color: var(--bm-mid) !important; text-decoration: none !important; padding: 7px 14px !important; border-left: 3px solid transparent !important; line-height: 1.4 !important; transition: color 0.15s, border-color 0.15s, background 0.15s !important; border-bottom: none !important; }
.bm-toc-list a:hover, .bm-toc-list a.bm-toc-active { color: var(--bm-orange) !important; border-left-color: var(--bm-orange) !important; background: var(--bm-orange-pale) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .bm-hero { padding: 44px 24px 36px; }
    .bm-outcomes-bar { padding: 16px 24px !important; }
    .bm-outcomes-inner { grid-template-columns: 1fr; gap: 14px !important; }
    .bm-outcomes-list { grid-template-columns: 1fr; }
    .bm-body-a.wp-block-columns { flex-direction: column !important; padding: 0 24px; }
    .bm-toc { display: none !important; }
    .bm-body-bc { padding: 0 24px; }
    .bm-verdict-bar { padding: 16px 24px; }
}
@media (max-width: 640px) {
    .bm-hero h1, .bm-hero .wp-block-heading { font-size: 26px !important; }
    .bm-email-capture { padding: 22px 20px; }
    .bm-comparison-table th, .bm-comparison-table td { padding: 10px 12px; font-size: 13px; }
    .bm-def-blocks.wp-block-columns { flex-direction: column !important; }
    .bm-ec-form { flex-direction: column; }
    .bm-glossary-grid { grid-template-columns: 1fr; }
    .bm-body-bc { padding: 0 16px; }
}