/*
Theme Name: LivingOn3K Child
Template: generatepress
Description: Child theme for LivingOn3K.com - helping real people stretch every dollar.
Version: 1.0.0
Author: LivingOn3K
Text Domain: livingon3k
*/

/* =============================================
   DESIGN TOKENS & CSS VARIABLES
   ============================================= */
:root {
  /* Colors - warm, trustworthy, human */
  --color-primary: #1a6b3c;        /* deep forest green - growth, money, hope */
  --color-primary-dark: #104a29;
  --color-primary-light: #2d9158;
  --color-accent: #e8a020;         /* warm amber - warmth, urgency, action */
  --color-accent-dark: #c4851a;
  --color-accent-light: #f5c14e;
  --color-bg: #faf8f3;             /* warm off-white */
  --color-bg-alt: #f2ede3;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #5a5a5a;
  --color-text-light: #888888;
  --color-border: #ddd8cc;
  --color-emergency: #c0392b;
  --color-success: #27ae60;
  --color-info: #2471a3;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Transitions */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   GOOGLE FONTS IMPORT
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* =============================================
   BASE RESET & GLOBALS
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition), text-decoration-color var(--transition);
}
a:hover {
  color: var(--color-primary-dark);
  text-decoration-color: currentColor;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 700;
  margin-top: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 1.2rem;
}
li { margin-bottom: 0.4rem; }

/* =============================================
   LAYOUT WRAPPERS
   ============================================= */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   SITE HEADER
   ============================================= */
#site-header,
.site-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.site-logo,
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Site title from GeneratePress */
.site-title {
  font-family: var(--font-heading) !important;
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: var(--color-primary) !important;
  text-decoration: none !important;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--color-primary) !important;
  text-decoration: none !important;
}

.site-description {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Navigation */
.main-navigation,
nav.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  background: var(--color-primary);
  color: #fff;
}

/* Emergency nav item */
.main-navigation ul li.menu-emergency > a {
  background: var(--color-emergency);
  color: #fff !important;
  border-radius: var(--radius-sm);
}
.main-navigation ul li.menu-emergency > a:hover {
  background: #a93226;
}

/* Mobile menu toggle */
.nav-toggle,
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-text);
}

/* =============================================
   ALERT BANNER
   ============================================= */
.site-alert-bar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-alert-bar a {
  color: var(--color-accent-light);
  font-weight: 700;
  text-decoration: underline;
}

/* =============================================
   HERO SECTION
   ============================================= */
.site-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://livingon3k.com/wp-content/uploads/2026/05/hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(16,74,41,0.97) 42%, rgba(16,74,41,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--color-accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-title em {
  color: var(--color-accent-light);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1a1a;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  background: rgba(26,107,60,0.1);
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 580px;
  margin: 0 auto;
}

/* =============================================
   PROBLEM CARDS (Homepage)
   ============================================= */
.section-problems {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.problem-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transition: width var(--transition);
}

.problem-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-text);
}

.problem-card:hover::before {
  width: 6px;
}

.problem-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
}

.problem-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
  line-height: 1.3;
}

.problem-info p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.45;
}

.problem-arrow {
  margin-left: auto;
  color: var(--color-primary);
  font-size: 1.1rem;
  align-self: center;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.problem-card:hover .problem-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* =============================================
   ARTICLE GRID (Homepage)
   ============================================= */
.section-articles {
  padding: var(--space-xl) 0;
  background: var(--color-bg-alt);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--color-text);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--color-primary);
  color: var(--color-text);
}

.article-card-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding: 0.25rem 0.7rem;
  background: rgba(26,107,60,0.1);
  border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}

.article-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.article-card-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 auto;
  padding-bottom: 1rem;
}

.article-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.article-card-link:hover {
  color: var(--color-primary-dark);
}

/* =============================================
   BUDGET CALCULATOR WIDGET
   ============================================= */
.section-calculator {
  padding: var(--space-xl) 0;
  background: var(--color-primary-dark);
  color: #fff;
}

.section-calculator .section-label {
  background: rgba(255,255,255,0.15);
  color: var(--color-accent-light);
}

.section-calculator .section-title,
.section-calculator .section-desc {
  color: #fff;
}

.section-calculator .section-desc {
  color: rgba(255,255,255,0.75);
}

.calculator-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 820px;
  margin: 0 auto;
}

/* =============================================
   HOW IT WORKS STEPS
   ============================================= */
.section-howto {
  padding: var(--space-xl) 0;
  background: var(--color-surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: steps;
}

.step-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  position: relative;
}

.step-card::after {
  content: '';
  position: absolute;
  top: 2.8rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: var(--color-border);
}

.step-card:last-child::after { display: none; }

.step-num {
  width: 54px;
  height: 54px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* =============================================
   EMERGENCY STRIP
   ============================================= */
.emergency-strip {
  background: #fef3f2;
  border: 2px solid #f5c6c0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.emergency-strip-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.emergency-strip-text strong {
  display: block;
  color: var(--color-emergency);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.emergency-strip-text p {
  font-size: 0.85rem;
  color: #7d2d27;
  margin: 0;
}

.emergency-strip .btn {
  background: var(--color-emergency);
  color: #fff;
  border-color: var(--color-emergency);
  margin-left: auto;
  flex-shrink: 0;
}

.emergency-strip .btn:hover {
  background: #a93226;
}

/* =============================================
   DISCLAIMER BOX
   ============================================= */
.disclaimer-box {
  background: #fffbf0;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 1.5rem 0;
  line-height: 1.55;
}

.disclaimer-box strong {
  color: var(--color-accent-dark);
}

/* =============================================
   ABOUT STRIP
   ============================================= */
.about-strip {
  background: var(--color-bg-alt);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-strip-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.about-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
}

.about-checklist li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* =============================================
   SITE FOOTER
   ============================================= */
#site-footer,
.site-footer {
  background: #0e2e1a;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand .logo-name {
  color: #fff;
  font-size: 1.5rem;
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-top: 1rem !important;
  color: rgba(255,255,255,0.45) !important;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-bottom p {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* =============================================
   SINGLE POST / PAGE STYLES
   ============================================= */
.entry-header {
  padding: 3rem 0 2rem;
  background: var(--color-primary-dark);
  color: #fff;
}

.entry-header .entry-title {
  color: #fff;
  margin-bottom: 0.75rem;
}

.entry-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.entry-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.entry-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.entry-content h2 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}

.entry-content h3 {
  margin-top: 1.5rem;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* Post callout box */
.callout-box {
  background: rgba(26,107,60,0.07);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout-box.callout-warning {
  background: rgba(232,160,32,0.08);
  border-color: var(--color-accent);
}

.callout-box.callout-danger {
  background: rgba(192,57,43,0.07);
  border-color: var(--color-emergency);
}

/* =============================================
   PAGE TEMPLATES
   ============================================= */

/* --- Privacy / Terms / Legal pages --- */
.page-legal .entry-content {
  max-width: 860px;
}

.page-legal h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  color: var(--color-primary-dark);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-border);
}

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 860px;
  margin: 2rem auto;
}

.contact-info-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.contact-info-item strong {
  color: var(--color-text);
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}

/* --- About page --- */
.about-mission {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  text-align: center;
}

.about-mission h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-mission p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Accessibility page --- */
.accessibility-section {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.accessibility-section h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* =============================================
   SIDEBAR (if used)
   ============================================= */
.sidebar-widget {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget .widget-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-primary { color: var(--color-primary); }
.text-accent  { color: var(--color-accent); }
.text-muted   { color: var(--color-text-muted); }
.text-center  { text-align: center; }
.text-small   { font-size: 0.82rem; }

.bg-primary   { background: var(--color-primary); color: #fff; }
.bg-alt       { background: var(--color-bg-alt); }
.bg-surface   { background: var(--color-surface); }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.section-pad {
  padding: var(--space-xl) 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* =============================================
   SKIP LINK (accessibility)
   ============================================= */
.skip-link {
  position: absolute;
  top: -99px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-card::after { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-strip-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .nav-toggle, .menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .main-navigation {
    display: none;
    width: 100%;
    padding: 0.5rem 0;
  }

  .main-navigation.is-open,
  .main-navigation.toggled {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation ul li a {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-checklist {
    grid-template-columns: 1fr;
  }

  .emergency-strip .btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .trust-bar-inner {
    gap: 1rem;
  }
}

/* =============================================
   GENERATEPRESS OVERRIDES
   ============================================= */
.inside-header {
  padding: 0 !important;
  max-width: none !important;
}

.main-nav .navigation-branding .site-logo img,
.header-widget .site-logo img {
  max-height: 50px;
}

.gp-icon svg {
  fill: currentColor;
}

/* Navigation bar */
.nav-bar-items .navigation-search {
  display: flex;
  align-items: center;
}

.separate-containers .inside-article {
  padding: 2rem;
}

/* =============================================
   PRINT
   ============================================= */
@media print {
  .site-header, .site-footer, .site-alert-bar, .trust-bar,
  .hero-actions, nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000 !important; text-decoration: underline; }
}
