/*
Theme Name: Boss Cashflow Advisor
Theme URI: https://bossyourcashflow.com/
Author: ChatGPT for Boss Your Cashflow
Author URI: https://bossyourcashflow.com/
Description: A finance-friendly, SEO-focused WordPress theme for accountants, bookkeepers, advisors, and cash flow educators. Built with content hubs, advisory playbooks, client story templates, FAQ schema, article schema, and clean conversion sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boss-cashflow-advisor
Tags: blog, education, custom-logo, custom-menu, featured-images, two-columns, accessibility-ready, seo, finance
*/

:root {
  --bca-navy: #071b33;
  --bca-navy-2: #0f2d4f;
  --bca-teal: #11b5a4;
  --bca-gold: #f2b84b;
  --bca-cream: #fff8ea;
  --bca-paper: #fbfcff;
  --bca-ink: #152033;
  --bca-muted: #64748b;
  --bca-line: #d8e1ec;
  --bca-card: #ffffff;
  --bca-danger: #b45309;
  --bca-success: #0f766e;
  --bca-radius: 24px;
  --bca-shadow: 0 20px 55px rgba(7, 27, 51, .13);
  --bca-shadow-soft: 0 12px 30px rgba(7, 27, 51, .08);
  --bca-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bca-paper);
  color: var(--bca-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--bca-navy-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--bca-teal); }
img { max-width: 100%; height: auto; }

.bca-wrap { max-width: var(--bca-max); margin: 0 auto; padding: 0 22px; }
.bca-skip-link { position: absolute; left: -9999px; top: 10px; background: #fff; padding: 12px 16px; z-index: 9999; }
.bca-skip-link:focus { left: 10px; }

.bca-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,252,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216,225,236,.8);
}
.bca-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bca-brand { display: flex; align-items: center; gap: 12px; color: var(--bca-navy); text-decoration: none; font-weight: 900; letter-spacing: -.03em; font-size: 1.22rem; }
.bca-logo-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bca-navy), var(--bca-teal));
  color: #fff;
  font-weight: 900;
  box-shadow: var(--bca-shadow-soft);
}
.bca-main-menu { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.bca-main-menu a { color: var(--bca-ink); font-weight: 800; text-decoration: none; font-size: .95rem; }
.bca-main-menu a:hover { color: var(--bca-teal); }
.bca-header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 999px; background: var(--bca-gold); color: var(--bca-navy); font-weight: 900; text-decoration: none; box-shadow: 0 12px 24px rgba(242,184,75,.28); }

.bca-mobile-toggle { display: none; background: var(--bca-navy); color: #fff; border: 0; border-radius: 12px; padding: 10px 12px; font-weight: 800; }

.bca-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(17,181,164,.22), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(242,184,75,.28), transparent 34%),
    linear-gradient(135deg, #071b33 0%, #102e50 58%, #123c52 100%);
  color: #fff;
  padding: 82px 0 52px;
}
.bca-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr); gap: 42px; align-items: center; }
.bca-kicker { color: var(--bca-gold); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; margin: 0 0 14px; }
.bca-hero h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -.07em; margin: 0 0 22px; max-width: 880px; }
.bca-hero p { font-size: clamp(1.08rem, 1.8vw, 1.36rem); color: rgba(255,255,255,.88); max-width: 760px; margin: 0 0 28px; }
.bca-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.bca-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 20px; font-weight: 900; text-decoration: none; border: 2px solid transparent; }
.bca-btn-primary { background: var(--bca-gold); color: var(--bca-navy); box-shadow: 0 18px 35px rgba(242,184,75,.25); }
.bca-btn-primary:hover { color: var(--bca-navy); transform: translateY(-1px); }
.bca-btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.bca-btn-ghost:hover { color: #fff; border-color: var(--bca-teal); }

.bca-scorecard {
  background: rgba(255,255,255,.95);
  color: var(--bca-ink);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--bca-shadow);
}
.bca-scorecard h2 { margin: 0 0 14px; font-size: 1.5rem; letter-spacing: -.03em; color: var(--bca-navy); }
.bca-metric { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--bca-line); }
.bca-metric:first-of-type { border-top: 0; }
.bca-metric strong { font-size: 1.5rem; color: var(--bca-teal); line-height: 1; }
.bca-metric span { color: var(--bca-muted); font-weight: 700; }

.bca-section { padding: 68px 0; }
.bca-section-alt { background: var(--bca-cream); }
.bca-section-title { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.bca-section-title h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1; letter-spacing: -.055em; color: var(--bca-navy); margin: 0 0 12px; }
.bca-section-title p { margin: 0; color: var(--bca-muted); font-size: 1.06rem; }

.bca-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.bca-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.bca-card {
  background: var(--bca-card);
  border: 1px solid var(--bca-line);
  border-radius: var(--bca-radius);
  padding: 24px;
  box-shadow: var(--bca-shadow-soft);
}
.bca-card h3 { margin: 0 0 10px; color: var(--bca-navy); font-size: 1.35rem; letter-spacing: -.03em; }
.bca-card p { margin: 0; color: var(--bca-muted); }
.bca-card-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(17,181,164,.13); color: var(--bca-teal); font-weight: 900; margin-bottom: 16px; }

.bca-post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bca-post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, rgba(7,27,51,.92), rgba(17,181,164,.8)); display: grid; place-items: center; color: #fff; font-weight: 900; letter-spacing: -.04em; font-size: 1.6rem; }
.bca-post-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.bca-post-meta { color: var(--bca-muted); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.bca-post-content h3 { margin: 0 0 8px; }
.bca-post-content h3 a { color: var(--bca-navy); text-decoration: none; }
.bca-post-content h3 a:hover { color: var(--bca-teal); }
.bca-read-more { margin-top: auto; padding-top: 18px; font-weight: 900; }

.bca-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 38px; align-items: center; }
.bca-callout {
  background: var(--bca-navy);
  color: #fff;
  border-radius: 34px;
  padding: 38px;
  box-shadow: var(--bca-shadow);
}
.bca-callout h2 { font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 16px; }
.bca-callout p { color: rgba(255,255,255,.82); margin: 0 0 22px; }
.bca-list { margin: 0; padding: 0; list-style: none; }
.bca-list li { display: flex; gap: 12px; margin: 12px 0; font-weight: 800; }
.bca-list li::before { content: "✓"; color: var(--bca-teal); font-weight: 900; }

.bca-band {
  background: linear-gradient(135deg, var(--bca-navy), var(--bca-navy-2));
  color: #fff;
  border-radius: 34px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--bca-shadow);
}
.bca-band h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.bca-band p { margin: 0; color: rgba(255,255,255,.82); }

.bca-content { max-width: 780px; margin: 0 auto; padding: 54px 22px; }
.bca-content h1 { font-size: clamp(2.2rem, 4.8vw, 4.3rem); line-height: 1; letter-spacing: -.06em; color: var(--bca-navy); margin: 0 0 18px; }
.bca-content h2, .bca-content h3 { color: var(--bca-navy); letter-spacing: -.03em; line-height: 1.1; margin-top: 34px; }
.bca-content p, .bca-content li { color: #26364d; }
.bca-content blockquote { border-left: 5px solid var(--bca-teal); margin: 30px 0; padding: 18px 22px; background: var(--bca-cream); border-radius: 0 20px 20px 0; font-weight: 800; color: var(--bca-navy); }
.bca-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: #fff; }
.bca-content th, .bca-content td { border: 1px solid var(--bca-line); padding: 12px; text-align: left; }
.bca-content th { background: var(--bca-navy); color: #fff; }

.bca-archive-header { background: var(--bca-cream); padding: 56px 0; border-bottom: 1px solid var(--bca-line); }
.bca-archive-header h1 { margin: 0; color: var(--bca-navy); font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.bca-archive-header p { color: var(--bca-muted); max-width: 700px; }

.bca-footer { background: var(--bca-navy); color: rgba(255,255,255,.78); padding: 46px 0; margin-top: 40px; }
.bca-footer a { color: #fff; }
.bca-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.bca-footer h2, .bca-footer h3 { color: #fff; margin-top: 0; letter-spacing: -.03em; }
.bca-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

@media (max-width: 860px) {
  .bca-header-inner { flex-wrap: wrap; padding: 14px 0; }
  .bca-mobile-toggle { display: inline-flex; }
  .bca-main-menu { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .bca-main-menu.is-open { display: flex; }
  .bca-header-cta { display: none; }
  .bca-hero { padding: 58px 0 38px; }
  .bca-hero-grid, .bca-split, .bca-grid-3, .bca-grid-2, .bca-band, .bca-footer-grid { grid-template-columns: 1fr; }
  .bca-band { text-align: left; }
}
