/*
Theme Name:  MyFinancial.help Next
Theme URI:   https://myfinancial.help
Author:      Erik Edgington / One With Digital
Author URI:  https://onewithdigital.com
Description: Premium editorial theme for MyFinancial.help — forest green, warm cream, and gold. Built for clarity, authority, and trust across all three life stages: Getting Started, Building Wealth, and Retirement.
Version:     1.5.1
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myfinancialhelp
Tags:        blog, news, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments
*/

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --g900: #0e2318;
  --g800: #163320;
  --g700: #1e4a2e;
  --g600: #276039;
  --g500: #2f7844;
  --g400: #3d9658;
  --g300: #6db888;
  --g200: #a8d9ba;
  --g100: #d4eddd;
  --g50:  #eef7f2;

  --gold:    #b8913a;
  --gold-lt: #d4aa55;
  --gold-bg: #fdf6e8;

  --cream:  #faf7f3;
  --cream2: #f2ede5;
  --cream3: #e8e0d4;

  --white: #ffffff;
  --ink:   #1a1916;
  --ink2:  #3d3a35;
  --ink3:  #6b6760;
  --ink4:  #9b978f;

  --border:  #e4dfd7;
  --border2: #cdc8bf;

  --r4:  4px;
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;
  --r24: 24px;

  --shadow:  0 1px 4px rgba(0,0,0,0.05), 0 4px 20px rgba(0,0,0,0.04);
  --shadow2: 0 4px 16px rgba(0,0,0,0.07), 0 16px 48px rgba(0,0,0,0.06);

  --ease: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1280px;
  --gap: 40px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}

p { color: var(--ink2); line-height: 1.75; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Utility */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
}
.tag-green { background: var(--g50);   color: var(--g700);  border: 1px solid var(--g100); }
.tag-gold  { background: #fdf3e0;      color: #7a5c18;      border: 1px solid #f0dda8; }
.tag-teal  { background: #e4f5ee;      color: #0c6b52;      border: 1px solid #b8e4d0; }
.tag-blue  { background: #e8f0fb;      color: #2850a0;      border: 1px solid #b8ccf0; }
.tag-ink   { background: var(--cream2);color: var(--ink2);  border: 1px solid var(--border); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--g600);
  border: none;
  border-radius: var(--r8);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--g700);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39,96,57,0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--g600);
  background: transparent;
  border: 1.5px solid var(--g200);
  border-radius: var(--r8);
  transition: all var(--ease);
}
.btn-outline:hover { background: var(--g50); border-color: var(--g300); color: var(--g700); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.section-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--g600);
  display: flex;
  align-items: center;
  gap: 3px;
  transition: gap var(--ease);
}
.section-link:hover { gap: 7px; color: var(--g700); }
