/* ============================================================
   Simple Income After 55 — Main Stylesheet
   Color Palette:
     Primary:    #2C3E50 (Deep Slate Blue)
     Accent:     #D35400 (Warm Terracotta)
     Background: #FDFBF7 (Off-White Cream)
     Text:       #333333 (Dark Charcoal)
     Soft Bg:    #EAF4EA (Soft Sage)
     Light Gray: #F4F4F4
     Border:     #E0E0E0
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  background-color: #FDFBF7;
  color: #333333;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #D35400; text-decoration: none; transition: color 0.2s; }
a:hover { color: #a84300; text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #2C3E50;
  line-height: 1.3;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1.2rem; }

/* --- Layout Utilities --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background-color: #F4F4F4; }
.section--sage { background-color: #EAF4EA; }
.section--dark { background-color: #2C3E50; color: #fff; }
.section--dark h2, .section--dark h3, .section--dark p { color: #fff; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  line-height: 1.2;
}
.btn--primary {
  background-color: #D35400;
  color: #fff;
  border-color: #D35400;
}
.btn--primary:hover {
  background-color: #b34600;
  border-color: #b34600;
  color: #fff;
  text-decoration: none;
}
.btn--outline {
  background-color: transparent;
  color: #2C3E50;
  border-color: #2C3E50;
}
.btn--outline:hover {
  background-color: #2C3E50;
  color: #fff;
  text-decoration: none;
}
.btn--white {
  background-color: #fff;
  color: #D35400;
  border-color: #fff;
}
.btn--white:hover {
  background-color: #f5e6dc;
  color: #b34600;
  text-decoration: none;
}
.btn--large { padding: 18px 44px; font-size: 1.1rem; }

/* --- Header & Navigation --- */
.site-header {
  background-color: #fff;
  border-bottom: 2px solid #E0E0E0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}
.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.site-logo__name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.2;
}
.site-logo__tagline {
  font-size: 0.78rem;
  color: #777;
  font-style: italic;
  margin-top: 2px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
}
.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2C3E50;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.site-nav a:hover, .site-nav a.active {
  color: #D35400;
  border-bottom-color: #D35400;
  text-decoration: none;
}
.nav-cta {
  background-color: #D35400;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 5px;
  border-bottom: none !important;
}
.nav-cta:hover { background-color: #b34600; color: #fff !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #2C3E50;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #2C3E50 0%, #3d5166 60%, #4a6278 100%);
  color: #fff;
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block;
  background-color: rgba(211,84,0,0.25);
  color: #f5c6a0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero__sub {
  font-size: 1.2rem;
  color: #c8d8e8;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__trust {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #a0b4c4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero__trust-dot {
  width: 6px; height: 6px;
  background: #D35400;
  border-radius: 50%;
  display: inline-block;
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: #555; max-width: 600px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D35400;
  margin-bottom: 10px;
}

/* --- Intro Strip --- */
.intro-strip { background: #fff; padding: 56px 24px; }
.intro-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.intro-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 10px;
  border: 1px solid #E0E0E0;
  background: #FDFBF7;
  transition: box-shadow 0.2s, transform 0.2s;
}
.intro-card:hover { box-shadow: 0 6px 24px rgba(44,62,80,0.1); transform: translateY(-3px); }
.intro-card__icon {
  width: 56px; height: 56px;
  background: #EAF4EA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}
.intro-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.intro-card p { font-size: 0.92rem; color: #555; margin: 0; }

/* --- Article Cards --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { box-shadow: 0 8px 28px rgba(44,62,80,0.12); transform: translateY(-4px); }
.article-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #EAF4EA, #d4e8d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #2C3E50;
}
.article-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D35400;
  margin-bottom: 8px;
}
.article-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.article-card h3 a { color: #2C3E50; text-decoration: none; }
.article-card h3 a:hover { color: #D35400; }
.article-card__excerpt { font-size: 0.9rem; color: #555; flex: 1; margin-bottom: 16px; }
.article-card__meta {
  font-size: 0.8rem;
  color: #888;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #F0F0F0;
  padding-top: 12px;
  margin-top: auto;
}
.article-card__meta span { display: flex; align-items: center; gap: 4px; }

/* --- Start Here Banner --- */
.start-here-banner {
  background: linear-gradient(135deg, #EAF4EA 0%, #d4ead4 100%);
  border: 2px solid #b8d8b8;
  border-radius: 12px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.start-here-banner__icon { font-size: 4rem; flex-shrink: 0; }
.start-here-banner__content h2 { margin-bottom: 10px; }
.start-here-banner__content p { color: #444; margin-bottom: 20px; }
.start-here-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.start-here-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2C3E50;
}
.start-here-step__num {
  width: 28px; height: 28px;
  background: #2C3E50;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Resources Section --- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.resource-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.resource-card:hover { box-shadow: 0 6px 20px rgba(44,62,80,0.1); }
.resource-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: #EAF4EA;
  color: #2a6e2a;
  margin-bottom: 14px;
  width: fit-content;
}
.resource-card__icon { font-size: 2rem; margin-bottom: 12px; }
.resource-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.resource-card p { font-size: 0.88rem; color: #555; flex: 1; margin-bottom: 16px; }
.resource-card__benefits { list-style: none; padding: 0; margin-bottom: 20px; }
.resource-card__benefits li {
  font-size: 0.85rem;
  color: #444;
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.resource-card__benefits li::before { content: '✓'; color: #2a6e2a; font-weight: 700; flex-shrink: 0; }
.resource-card .btn { margin-top: auto; text-align: center; }

/* --- Email Signup --- */
.email-signup {
  background: linear-gradient(135deg, #2C3E50 0%, #3d5166 100%);
  padding: 72px 24px;
  text-align: center;
}
.email-signup h2 { color: #fff; margin-bottom: 12px; }
.email-signup p { color: #c0d0e0; max-width: 540px; margin: 0 auto 32px; }
.email-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.email-form input[type="email"]:focus { border-color: #D35400; }
.email-signup__note { font-size: 0.8rem; color: #8aa0b4; margin-top: 14px; }

/* --- Trust Section --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.trust-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E0E0E0;
}
.trust-card__icon { font-size: 2.4rem; margin-bottom: 14px; }
.trust-card h3 { font-size: 1rem; margin-bottom: 8px; }
.trust-card p { font-size: 0.88rem; color: #555; margin: 0; }

/* --- Blog Layout --- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.blog-post__header { margin-bottom: 32px; }
.blog-post__cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D35400;
  margin-bottom: 10px;
  display: block;
}
.blog-post__title { font-size: 2.2rem; margin-bottom: 16px; line-height: 1.25; }
.blog-post__meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: #777;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 2px solid #E0E0E0;
  margin-bottom: 28px;
}
.blog-post__meta span { display: flex; align-items: center; gap: 5px; }
.blog-post__featured-img {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #EAF4EA, #c8dcc8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 36px;
}
.blog-post__content h2 { margin-top: 2rem; margin-bottom: 0.8rem; }
.blog-post__content h3 { margin-top: 1.6rem; margin-bottom: 0.6rem; }
.blog-post__content ul, .blog-post__content ol { margin-bottom: 1.2rem; }
.blog-post__content li { margin-bottom: 0.4rem; }
.blog-post__content blockquote {
  border-left: 4px solid #D35400;
  padding: 16px 24px;
  background: #FFF8F4;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: #444;
}

/* Affiliate Callout Box */
.affiliate-box {
  background: linear-gradient(135deg, #FFF8F4, #fff3eb);
  border: 2px solid #D35400;
  border-radius: 10px;
  padding: 24px 28px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.affiliate-box__icon { font-size: 2rem; flex-shrink: 0; }
.affiliate-box__content h4 { color: #D35400; margin-bottom: 6px; font-size: 1rem; }
.affiliate-box__content p { font-size: 0.9rem; color: #444; margin-bottom: 12px; }

/* Disclosure Notice */
.disclosure-notice {
  background: #F4F4F4;
  border-left: 4px solid #888;
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 28px;
}

/* FAQ Block */
.faq-block { margin: 32px 0; }
.faq-item {
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2C3E50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: #D35400; }
.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #444;
  background: #FDFBF7;
}

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.comparison-table th {
  background: #2C3E50;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'Inter', sans-serif;
}
.comparison-table td { padding: 11px 16px; border-bottom: 1px solid #E0E0E0; }
.comparison-table tr:nth-child(even) td { background: #F9F9F9; }
.comparison-table .check { color: #2a6e2a; font-weight: 700; }
.comparison-table .cross { color: #c0392b; }

/* Related Posts */
.related-posts { margin-top: 48px; padding-top: 32px; border-top: 2px solid #E0E0E0; }
.related-posts h3 { margin-bottom: 20px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-post-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.related-post-card:hover { box-shadow: 0 4px 16px rgba(44,62,80,0.1); }
.related-post-card__img {
  height: 120px;
  background: linear-gradient(135deg, #EAF4EA, #d4e8d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
.related-post-card__body { padding: 14px; }
.related-post-card__cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: #D35400; letter-spacing: 0.08em; }
.related-post-card h4 { font-size: 0.9rem; margin-top: 4px; }
.related-post-card h4 a { color: #2C3E50; }
.related-post-card h4 a:hover { color: #D35400; }

/* --- Sidebar --- */
.sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #EAF4EA;
  color: #2C3E50;
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget ul li { padding: 6px 0; border-bottom: 1px solid #F0F0F0; font-size: 0.88rem; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: #333; }
.sidebar-widget ul li a:hover { color: #D35400; }
.sidebar-email input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.sidebar-email .btn { width: 100%; text-align: center; }
.sidebar-resource {
  background: linear-gradient(135deg, #FFF8F4, #fff3eb);
  border-color: #f0c0a0;
}
.sidebar-resource p { font-size: 0.85rem; color: #555; margin-bottom: 14px; }

/* --- Resources Page --- */
.resources-category { margin-bottom: 64px; }
.resources-category__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E0E0E0;
}
.resources-category__icon { font-size: 2rem; }
.resources-category__header h2 { margin: 0; font-size: 1.6rem; }
.resources-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.resource-full-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.resource-full-card:hover { box-shadow: 0 6px 20px rgba(44,62,80,0.1); }
.resource-full-card__top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.resource-full-card__icon { font-size: 2.2rem; flex-shrink: 0; }
.resource-full-card__top h3 { font-size: 1.1rem; margin-bottom: 4px; }
.resource-full-card__best-for {
  font-size: 0.78rem;
  color: #777;
  font-style: italic;
}
.resource-full-card__desc { font-size: 0.9rem; color: #444; margin-bottom: 14px; }
.resource-full-card__benefits { list-style: none; padding: 0; margin-bottom: 18px; }
.resource-full-card__benefits li {
  font-size: 0.85rem;
  color: #444;
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.resource-full-card__benefits li::before { content: '✓'; color: #2a6e2a; font-weight: 700; }
.resource-full-card .btn { margin-top: auto; text-align: center; }

/* --- Start Here Page --- */
.start-here-steps-list { counter-reset: step-counter; list-style: none; padding: 0; }
.start-here-step-item {
  counter-increment: step-counter;
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  align-items: flex-start;
}
.start-here-step-item::before {
  content: counter(step-counter);
  min-width: 48px;
  height: 48px;
  background: #2C3E50;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.start-here-step-item__content h3 { margin-bottom: 6px; }
.start-here-step-item__content p { font-size: 0.92rem; color: #444; margin: 0; }

/* --- About Page --- */
.about-hero {
  background: linear-gradient(135deg, #EAF4EA, #d4ead4);
  padding: 64px 24px;
  text-align: center;
}
.about-hero h1 { margin-bottom: 14px; }
.about-hero p { max-width: 600px; margin: 0 auto; color: #444; font-size: 1.05rem; }
.about-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.about-value {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 24px;
}
.about-value__icon { font-size: 1.8rem; margin-bottom: 10px; }
.about-value h3 { font-size: 1rem; margin-bottom: 6px; }
.about-value p { font-size: 0.88rem; color: #555; margin: 0; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  margin-bottom: 18px;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #D35400; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-card {
  background: #EAF4EA;
  border-radius: 10px;
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 0.92rem; }
.contact-info-item__icon { font-size: 1.2rem; flex-shrink: 0; }

/* --- Footer --- */
.site-footer {
  background: #1a2530;
  color: #a0b4c4;
  padding: 56px 24px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto 40px;
}
.footer-brand__name {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  display: block;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #a0b4c4; font-size: 0.88rem; text-decoration: none; }
.footer-col ul li a:hover { color: #D35400; }
.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #2c3e50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom a { color: #a0b4c4; }
.footer-bottom a:hover { color: #D35400; }
.footer-disclosure {
  font-size: 0.78rem;
  color: #6a8090;
  max-width: 1140px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid #243040;
  line-height: 1.6;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #2C3E50, #3d5166);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: 2.2rem; }
.page-hero p { color: #c0d0e0; max-width: 560px; margin: 0 auto; }

/* --- Category Badge --- */
.cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 6px;
  margin-bottom: 6px;
  text-decoration: none;
}
.cat-side-hustles   { background: #FFF3E0; color: #E65100; }
.cat-online-income  { background: #E8F5E9; color: #2E7D32; }
.cat-ai-tools       { background: #E3F2FD; color: #1565C0; }
.cat-budget         { background: #FCE4EC; color: #880E4F; }
.cat-affiliate      { background: #F3E5F5; color: #6A1B9A; }
.cat-tech-help      { background: #E0F7FA; color: #006064; }
.cat-work-from-home { background: #FFF8E1; color: #F57F17; }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #D35400; }
.breadcrumb__sep { color: #ccc; }

/* --- Pagination --- */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid #E0E0E0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pagination a:hover { background: #EAF4EA; color: #2C3E50; }
.pagination .current { background: #2C3E50; color: #fff; border-color: #2C3E50; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resources-full-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  html { font-size: 17px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 48px 0; }
  .intro-strip__grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .start-here-banner { flex-direction: column; gap: 20px; padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .related-posts__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid #E0E0E0; padding: 16px 24px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul li a { display: block; padding: 10px 0; font-size: 1rem; border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .email-form { flex-direction: column; }
  .email-form input[type="email"] { min-width: unset; width: 100%; }
}

/* --- Small helpers for fixed anchor links and inactive pagination --- */
.anchor-offset {
  display: block;
  position: relative;
  top: -96px;
  visibility: hidden;
}
.pagination .disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #E0E0E0;
  border-radius: 6px;
  color: #999;
  background: #F4F4F4;
  cursor: not-allowed;
}


/* Added WordPress theme polish */
.affiliate-top-notice { background:#fff8e6; border-bottom:1px solid rgba(143,93,46,.22); color:#4a3828; font-size:.95rem; line-height:1.45; padding:10px 0; }
.affiliate-top-notice a { font-weight:700; text-decoration:underline; }
.article-card h3 a, .blog-card h3 a { text-decoration:none; }
.blog-post__content .disclosure-notice { margin: 18px 0 24px; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; min-height:44px; }
@media (max-width: 760px) { .affiliate-top-notice { font-size:.88rem; } .blog-layout { grid-template-columns:1fr; } .article-grid, .blog-grid, .resources-grid { grid-template-columns:1fr; } .hero h1 { font-size:2rem; } }

/* ============================================================
   v3: WordPress post typography + responsive polish
   These rules keep normal WordPress block posts visually aligned
   with the static prototype and improve behavior on phones/tablets.
   ============================================================ */
:root {
  --si55-primary: #2C3E50;
  --si55-accent: #D35400;
  --si55-bg: #FDFBF7;
  --si55-text: #333333;
  --si55-soft: #EAF4EA;
  --si55-border: #E0E0E0;
}

.site-main,
.si55-single,
.si55-page {
  background: var(--si55-bg);
}

.si55-single .container--narrow,
.si55-page .container--narrow {
  max-width: 820px;
}

.blog-post__content,
.entry-content,
.wp-block-post-content {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  color: var(--si55-text);
  font-size: 1rem;
  line-height: 1.78;
}

.blog-post__content > *,
.entry-content > *,
.wp-block-post-content > * {
  margin-bottom: 1.15rem;
}

.blog-post__content p,
.entry-content p,
.wp-block-post-content p {
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 1.2rem;
}

.blog-post__content h1,
.blog-post__content h2,
.blog-post__content h3,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--si55-primary);
  letter-spacing: -0.01em;
}

.blog-post__content h2,
.entry-content h2,
.wp-block-post-content h2 {
  font-size: 1.55rem;
  margin-top: 2.2rem;
  margin-bottom: .75rem;
  padding-top: .1rem;
}

.blog-post__content h3,
.entry-content h3,
.wp-block-post-content h3 {
  font-size: 1.25rem;
  margin-top: 1.65rem;
  margin-bottom: .55rem;
}

.blog-post__content h4,
.entry-content h4,
.wp-block-post-content h4 {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--si55-primary);
  margin-top: 1.4rem;
}

.blog-post__content ul,
.blog-post__content ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
}

.blog-post__content li,
.entry-content li,
.wp-block-post-content li {
  margin-bottom: .5rem;
  padding-left: .1rem;
}

.blog-post__content a,
.entry-content a,
.wp-block-post-content a {
  color: var(--si55-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post__content .wp-block-button__link,
.entry-content .wp-block-button__link,
.wp-block-post-content .wp-block-button__link {
  background: var(--si55-accent);
  border-radius: 6px;
  color: #fff;
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  text-decoration: none;
}

.blog-post__content img,
.entry-content img,
.wp-block-post-content img,
.wp-block-image img {
  border-radius: 10px;
  height: auto;
}

.wp-block-image,
.wp-block-table,
.wp-block-quote,
.wp-block-pullquote,
.wp-block-buttons {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.wp-block-quote,
.entry-content blockquote,
.wp-block-post-content blockquote {
  border-left: 4px solid var(--si55-accent);
  padding: 16px 24px;
  background: #FFF8F4;
  border-radius: 0 8px 8px 0;
  color: #444;
  font-style: italic;
}

.wp-block-table table,
.entry-content table,
.wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--si55-border);
  border-radius: 8px;
  overflow: hidden;
}

.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td,
.wp-block-post-content th,
.wp-block-post-content td {
  border: 1px solid var(--si55-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.wp-block-table th,
.entry-content th,
.wp-block-post-content th {
  background: var(--si55-soft);
  color: var(--si55-primary);
  font-weight: 700;
}

.disclosure-notice,
.affiliate-disclosure,
.si55-disclosure {
  background: #FFF8F4;
  border: 1px solid rgba(211, 84, 0, .28);
  border-left: 5px solid var(--si55-accent);
  border-radius: 8px;
  color: #4a3828;
  font-size: .92rem;
  line-height: 1.55;
  padding: 14px 18px;
}

.blog-post__title,
.entry-title {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--si55-primary);
  font-size: clamp(2rem, 4vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog-post__meta,
.entry-meta {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .container,
  .container--narrow,
  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-post__featured-img {
    height: 300px;
  }

  .article-grid,
  .blog-grid,
  .resources-grid,
  .trust-grid,
  .intro-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 16px;
  }

  body {
    line-height: 1.68;
  }

  .site-logo__name {
    font-size: 1.08rem;
  }

  .site-logo__tagline {
    font-size: .68rem;
  }

  .container,
  .container--narrow,
  .header-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding: 52px 0 46px;
  }

  .hero h1,
  .blog-post__title,
  .entry-title {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  .hero__sub,
  .section__intro {
    font-size: 1rem;
  }

  .section {
    padding: 42px 0;
  }

  .article-grid,
  .blog-grid,
  .resources-grid,
  .trust-grid,
  .intro-strip__grid,
  .footer-grid,
  .related-posts__grid {
    grid-template-columns: 1fr;
  }

  .article-card__body,
  .blog-card__body,
  .resource-card,
  .trust-card {
    padding: 20px;
  }

  .blog-post__featured-img {
    height: 220px;
    font-size: 3.5rem;
  }

  .blog-post__meta,
  .entry-meta {
    gap: 10px 16px;
    font-size: .82rem;
  }

  .blog-post__content h2,
  .entry-content h2,
  .wp-block-post-content h2 {
    font-size: 1.35rem;
    margin-top: 1.8rem;
  }

  .blog-post__content h3,
  .entry-content h3,
  .wp-block-post-content h3 {
    font-size: 1.15rem;
  }

  .affiliate-box {
    display: block;
    padding: 20px;
  }

  .affiliate-box__icon {
    margin-bottom: 8px;
  }

  .btn,
  .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .wp-block-table {
    overflow-x: auto;
  }
}

@media (max-width: 390px) {
  .container,
  .container--narrow,
  .header-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1,
  .blog-post__title,
  .entry-title {
    font-size: 1.65rem;
  }

  .article-card h3,
  .blog-card h3 {
    font-size: 1.05rem;
  }
}


/* ============================================================
   v6: Unified article pages, legacy post header cleanup, font lock
   ============================================================ */
html, body,
.site-header,
.site-main,
.hero,
.article-card,
.blog-card,
.resource-card,
.trust-card,
.blog-post,
.blog-post__content,
.entry-content {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.site-logo__name,
.blog-post__title,
.entry-title,
.section-header h2,
.hero h1,
.article-card h3,
.blog-card h3,
.footer-grid h3,
.footer-grid h4 {
  font-family: 'Merriweather', Georgia, serif !important;
}

/* Compatibility for older static post pages that used logo/main-nav */
.logo {
  display: flex;
  flex-direction: column;
  font-family: 'Merriweather', Georgia, serif !important;
  font-size: 1.35rem;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.2;
  text-decoration: none;
}
.logo span { color: #2C3E50; }
.logo::after {
  content: 'Practical income ideas for your next chapter.';
  font-family: 'Inter', 'Open Sans', Arial, sans-serif !important;
  font-size: .78rem;
  font-weight: 400;
  color: #777;
  font-style: italic;
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif !important;
  font-size: .95rem;
  font-weight: 600;
  color: #2C3E50;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color:#D35400; border-bottom-color:#D35400; text-decoration:none; }
.main-nav .btn,
.main-nav .btn--small {
  background:#D35400;
  color:#fff !important;
  border-radius:5px;
  padding:8px 20px;
  border:0;
  line-height:1.2;
}

/* Article pages should feel like part of the same site, not a separate cramped template */
.article-page-main,
body.article-template main.section {
  background:#FDFBF7;
  padding: 56px 0 72px;
}
.article-page-main .blog-layout,
body.article-template .blog-layout {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.article-page-main .sidebar,
body.article-template .sidebar {
  display: none !important;
}
.article-page-main .blog-post,
body.article-template .blog-post {
  max-width: 820px;
  margin: 0 auto;
}
.article-page-main .blog-post__header,
body.article-template .blog-post__header {
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 26px;
  margin-bottom: 28px;
}
.article-page-main .blog-post__title,
body.article-template .blog-post__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.article-page-main .blog-post__meta,
body.article-template .blog-post__meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  color:#777;
  font-size:.9rem;
}
.article-page-main .blog-post__featured-img,
body.article-template .blog-post__featured-img {
  min-height: 230px;
  border-radius: 10px;
  margin-bottom: 28px;
}
.article-page-main .blog-post__content,
body.article-template .blog-post__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.78;
}
.article-page-main .blog-post__content p,
body.article-template .blog-post__content p {
  margin-bottom: 1.2rem;
}
.article-page-main .blog-post__content h2,
body.article-template .blog-post__content h2 {
  margin-top: 2.1rem;
  margin-bottom: .75rem;
  font-size: 1.55rem;
}
.article-page-main .blog-post__content h3,
body.article-template .blog-post__content h3 {
  margin-top: 1.6rem;
  font-size: 1.22rem;
}

@media (max-width: 760px) {
  .main-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-top:1px solid #E0E0E0; padding:16px 24px; box-shadow:0 8px 20px rgba(0,0,0,.1); flex-direction:column; align-items:flex-start; gap:6px; }
  .main-nav.open { display:flex; }
  .main-nav a { display:block; width:100%; padding:10px 0; }
  .main-nav .btn, .main-nav .btn--small { text-align:center; padding:10px 16px; width:auto; }
  .article-page-main,
  body.article-template main.section { padding: 40px 0 54px; }
  .article-page-main .blog-layout,
  body.article-template .blog-layout { padding-left: 18px; padding-right: 18px; }
  .article-page-main .blog-post__title,
  body.article-template .blog-post__title { font-size: 1.85rem; }
  .article-page-main .blog-post__featured-img,
  body.article-template .blog-post__featured-img { min-height: 185px; }
}

/* --- WordPress Menu Dropdowns --- */
.site-nav li { position: relative; }
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(44,62,80,0.14);
  padding: 8px 0;
  margin: 0;
  z-index: 2000;
  gap: 0;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  display: flex;
  flex-direction: column;
}
.site-nav .sub-menu li { width: 100%; }
.site-nav .sub-menu a {
  display: block;
  padding: 10px 16px;
  border-bottom: 0;
  font-size: 0.9rem;
  white-space: nowrap;
}
.site-nav .sub-menu a:hover {
  background: #FDFBF7;
  color: #D35400;
}
.site-nav > ul > li:last-child > a {
  background-color: #D35400;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 5px;
  border-bottom: none !important;
}
.site-nav > ul > li:last-child > a:hover {
  background-color: #b34600;
  color: #fff !important;
}
@media (max-width: 768px) {
  .site-nav .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin: 0;
    background: transparent;
  }
  .site-nav .sub-menu a {
    padding: 8px 0;
    white-space: normal;
    font-size: 0.95rem;
  }
}
