/* === WALLET GROWER CUSTOM STYLES === */

/* Brand Colors */
:root {
	  --wg-green-900: #064e3b;
	  --wg-green-700: #047857;
	  --wg-green-600: #059669;
	  --wg-green-500: #10b981;
	  --wg-green-400: #34d399;
	  --wg-green-100: #d1fae5;
	  --wg-green-50: #ecfdf5;
}

/* Override theme accent with green */
body {
	  --wp--preset--color--accent-1: #059669;
	  --wp--preset--color--accent-2: #064e3b;
	  --wp--preset--color--accent-3: #d1fae5;
	  --wp--preset--color--accent-4: #ecfdf5;
}

/* Navigation links green on hover */
.wp-block-navigation a:hover,
.wp-block-navigation a:focus {
	  color: #059669 !important;
}

/* Links throughout site */
.wp-block-post-content a {
	  color: #059669;
	  text-decoration: underline;
}
.wp-block-post-content a:hover {
	  color: #047857;
}

/* === CTA Button Styles === */
.wp-block-button .wp-block-button__link,
.wg-cta-btn {
	  background: #059669 !important;
	  color: #fff !important;
	  border-radius: 8px !important;
	  padding: 14px 28px !important;
	  font-weight: 600 !important;
	  transition: all 0.2s ease !important;
	  border: none !important;
}
.wp-block-button .wp-block-button__link:hover,
.wg-cta-btn:hover {
	  background: #047857 !important;
	  transform: translateY(-1px);
	  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Outline button variant */
.wp-block-button.is-style-outline .wp-block-button__link {
	  background: transparent !important;
	  color: #059669 !important;
	  border: 2px solid #059669 !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	  background: #ecfdf5 !important;
}

/* === Inline CTA Box (for affiliate offers in posts) === */
.wg-offer-box {
	  background: #ecfdf5;
	  border: 2px solid #d1fae5;
	  border-radius: 12px;
	  padding: 28px;
	  margin: 32px 0;
}
.wg-offer-box h3,
.wg-offer-box h4 {
	  color: #064e3b;
	  margin-bottom: 8px;
}
.wg-offer-box .offer-value {
	  font-size: 1.75rem;
	  font-weight: 800;
	  color: #059669;
}

/* Dark CTA box variant */
.wg-offer-box-dark {
	  background: #064e3b;
	  border-color: #064e3b;
	  color: #fff;
	  border-radius: 12px;
	  padding: 28px;
	  margin: 32px 0;
}
.wg-offer-box-dark h3,
.wg-offer-box-dark h4 {
	  color: #fff;
}
.wg-offer-box-dark p {
	  color: rgba(255,255,255,0.8);
}

/* === Comparison Table === */
.wg-table table {
	  width: 100%;
	  border-collapse: collapse;
}
.wg-table th {
	  background: #f9fafb;
	  text-align: left;
	  padding: 14px 16px;
	  font-size: 0.85rem;
	  font-weight: 600;
	  color: #4b5563;
	  text-transform: uppercase;
	  letter-spacing: 0.03em;
	  border-bottom: 2px solid #e5e7eb;
}
.wg-table td {
	  padding: 16px;
	  border-bottom: 1px solid #f3f4f6;
	  font-size: 0.95rem;
}
.wg-table tr:hover {
	  background: #f9fafb;
}
.wg-table .highlight {
	  font-weight: 700;
	  color: #059669;
	  font-size: 1.1rem;
}

/* === Offer Card Grid === */
.wg-offer-card {
	  background: #fff;
	  border: 1px solid #e5e7eb;
	  border-radius: 12px;
	  padding: 24px;
	  transition: all 0.2s ease;
}
.wg-offer-card:hover {
	  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
	  transform: translateY(-2px);
}

/* === Badge styles === */
.wg-badge {
	  display: inline-block;
	  padding: 4px 12px;
	  background: #d1fae5;
	  color: #047857;
	  font-size: 0.75rem;
	  font-weight: 700;
	  border-radius: 100px;
	  text-transform: uppercase;
}

/* === Advertiser Disclosure === */
.wg-disclosure {
	  background: #f3f4f6;
	  border-radius: 8px;
	  padding: 16px 20px;
	  font-size: 0.8rem;
	  line-height: 1.6;
	  color: #6b7280;
	  margin-bottom: 32px;
}

/* === Newsletter box === */
.wg-newsletter {
	  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
	  border-radius: 20px;
	  padding: 48px;
	  text-align: center;
	  color: #fff;
}
.wg-newsletter h2 {
	  color: #fff !important;
}
.wg-newsletter p {
	  color: rgba(255,255,255,0.8);
}

/* === General polish === */
.wp-block-post-title {
	  letter-spacing: -0.02em;
}

/* Category/tag pills */
.wp-block-post-terms a {
	  color: #059669;
	  font-weight: 500;
}
.wp-block-post-terms a:hover {
	  color: #047857;
}

/* Footer area */
.wp-block-template-part footer {
	  background: #111827;
}

/* Sticky header feel */
header.wp-block-template-part {
	  border-bottom: 1px solid #e5e7eb;
}

/* ===== HOMEPAGE FULL-WIDTH + FIXES ===== */

/* Force all theme layout containers to be full-width on homepage */
body.home .wp-site-blocks,
body.home .wp-site-blocks > main,
body.home main.wp-block-group,
body.home .wp-block-post-content,
body.home .entry-content,
body.home .is-layout-constrained > *,
body.page-id-4 .wp-site-blocks,
body.page-id-4 .wp-site-blocks > main,
body.page-id-4 main.wp-block-group,
body.page-id-4 .wp-block-post-content,
body.page-id-4 .entry-content,
body.page-id-4 .is-layout-constrained > * {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Remove the constrained layout behavior on homepage */
body.home .is-layout-constrained,
body.page-id-4 .is-layout-constrained {
  max-width: none !important;
}

/* Remove default spacing around the content area */
body.home .wp-site-blocks > main,
body.page-id-4 .wp-site-blocks > main {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide the page title "Home" on front page */
body.home .wp-block-post-title,
body.page-id-4 .wp-block-post-title {
  display: none !important;
}

/* ===== BUTTON & LINK FIXES ===== */
.wg-offer-cta,
.wg-offer-cta:hover,
.wg-offer-cta:visited,
.wg-offer-cta:active {
  color: white !important;
  text-decoration: none !important;
}

.wg-btn-white,
.wg-btn-white:hover,
.wg-btn-white:visited {
  color: #064e3b !important;
  text-decoration: none !important;
}

.wg-btn-outline,
.wg-btn-outline:hover,
.wg-btn-outline:visited {
  color: white !important;
  text-decoration: none !important;
}

.wg-cat-card,
.wg-cat-card:hover,
.wg-cat-card:visited {
  text-decoration: none !important;
}

.wg-article-card,
.wg-article-card:hover,
.wg-article-card:visited {
  text-decoration: none !important;
  color: #1a1a1a !important;
}

.wg-newsletter-form button {
  color: #064e3b !important;
}






/* ===== FIX PADDING BELOW NAV ===== */
body.home main > .wp-block-group.alignfull,
body.page-id-4 main > .wp-block-group.alignfull {
  padding-top: 0 !important;
}

body.home .wp-block-post-title,
body.page-id-4 .wp-block-post-title {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.home .wp-site-blocks,
body.page-id-4 .wp-site-blocks {
  padding-top: 0 !important;
  gap: 0 !important;
}

body.home .wp-site-blocks > *,
body.page-id-4 .wp-site-blocks > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* Kill the auto-margins on homepage content wrappers */
body.home .wp-block-post-content,
body.page-id-4 .wp-block-post-content,
body.home .wg-home,
body.page-id-4 .wg-home {
  margin-top: 0 !important;
}


/* Remove header border on homepage for seamless hero transition */
body.home header.wp-block-template-part,
body.page-id-4 header.wp-block-template-part {
  border-bottom: none !important;
}


/* ===== LOGO STYLES ===== */
.wg-logo-link {
  display: inline-flex !important;
  align-items: flex-end !important;
  gap: 0 !important;
  text-decoration: none !important;
  line-height: 1;
}

.wg-logo-link:hover,
.wg-logo-link:visited {
  text-decoration: none !important;
}

.wg-logo-link svg.wg-logo-w {
  /* Bottom-align with text, allow to extend above */
  flex-shrink: 0;
  margin-bottom: 1px;
}

.wg-logo-text {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #059669;
  padding-bottom: 2px;
}