/* =============================================
   DFY INCOME LAB THEME — MAIN STYLESHEET
   ============================================= */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* --- CSS VARIABLES --- */
:root {
  --navy:      #0B1F3A;
  --navy-mid:  #14305A;
  --gold:      #F0A500;
  --gold-light:#FFF4D6;
  --gold-pale: #FFFBF0;
  --teal:      #0FB88A;
  --teal-light:#E3FAF3;
  --cream:     #FAF8F4;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --muted:     #5E6470;
  --border:    #E8E4DC;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.3px;
}
h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1rem; color: var(--text); font-size: 16px; line-height: 1.75; }

/* --- UTILITY --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 8px;
  display: block;
}
.section-title { font-family: 'Syne', sans-serif; font-weight: 800; margin-bottom: 10px; }
.section-title span { color: var(--gold); }
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: 10px; border: none;
  cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: #ffc233; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px;
  padding: 12px 24px; border-radius: 10px;
  border: 1.5px solid var(--navy); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* =============================================
   NAVBAR
   ============================================= */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11,31,58,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,165,0,0.15);
  height: 68px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px;
  color: #fff; text-decoration: none; letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 2px;
}
.site-logo span { color: var(--gold); }

/* Primary Nav */
#primary-navigation { display: flex; align-items: center; }
#primary-navigation ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
#primary-navigation ul li a {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.72);
  padding: 7px 13px; border-radius: 7px; display: block; transition: all 0.18s;
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a { color: #fff; background: rgba(255,255,255,0.08); }
#primary-navigation ul li.nav-cta-item a {
  background: var(--gold); color: var(--navy) !important; font-weight: 700 !important;
  border-radius: 8px; padding: 8px 16px;
}
#primary-navigation ul li.nav-cta-item a:hover { background: #ffc233; transform: translateY(-1px); }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: none;
  color: #fff; cursor: pointer; padding: 8px; font-size: 22px;
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
}
.hero-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(20,48,90,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(15,184,138,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 20%, rgba(240,165,0,0.10) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(240,165,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(240,165,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.12); border: 1px solid rgba(240,165,0,0.25);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: var(--gold); margin-bottom: 20px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4.5vw, 56px); line-height: 1.1;
  color: #fff; letter-spacing: -1px; margin-bottom: 20px;
}
.hero-h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-btn-primary {
  background: var(--gold); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.hero-btn-primary:hover { background: #ffc233; color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,0.35); }
.hero-btn-outline {
  background: transparent; color: rgba(255,255,255,0.85);
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px;
  padding: 13px 24px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.22);
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.hero-btn-outline:hover { background: rgba(255,255,255,0.07); color: #fff; border-color: rgba(255,255,255,0.45); }
.hero-stats { display: flex; gap: 28px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; color: #fff; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.45); }

/* Hero cards */
.hero-cards { display: flex; flex-direction: column; gap: 12px; }
.hero-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; gap: 14px; align-items: flex-start; transition: all 0.22s;
}
.hero-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(240,165,0,0.3); transform: translateX(4px); }
.hero-card-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.hero-card-icon.youtube  { background: rgba(255,80,80,0.15); }
.hero-card-icon.affiliate{ background: rgba(15,184,138,0.15); }
.hero-card-icon.seo      { background: rgba(240,165,0,0.15); }
.hero-card-icon.ai       { background: rgba(100,120,255,0.15); }
.hero-card-cat { font-size: 10px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.hero-card-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.88); line-height: 1.45; font-family: 'DM Sans', sans-serif; }

/* =============================================
   CATEGORY STRIP
   ============================================= */
#category-strip {
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--border);
}
.category-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 5%;
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; padding: 15px 18px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--muted); background: transparent; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  transition: all 0.18s; white-space: nowrap; margin-bottom: -1px;
  text-decoration: none; display: block;
}
.cat-tab:hover { color: var(--text); }
.cat-tab.active,
.cat-tab:focus { color: var(--navy); border-bottom-color: var(--gold); }

/* =============================================
   FEATURED ARTICLES SECTION
   ============================================= */
#featured-articles { background: var(--cream); padding: 80px 5%; }
.section-header-row {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px;
}
.view-all {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: all 0.18s;
}
.view-all:hover { color: var(--gold); }

.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.25s; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.post-card.post-featured { grid-row: span 2; }

.post-thumb {
  width: 100%; overflow: hidden; position: relative;
  background: var(--navy);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.post-card.post-featured .post-thumb-placeholder { aspect-ratio: 4/3; font-size: 56px; }

.thumb-youtube  { background: linear-gradient(135deg, #1a1a2e, #2a1040); }
.thumb-affiliate{ background: linear-gradient(135deg, #0b3d2e, #0f5e45); }
.thumb-seo      { background: linear-gradient(135deg, #2e1a0b, #5e3b0f); }
.thumb-adsense  { background: linear-gradient(135deg, #0b1a2e, #0f3060); }
.thumb-ai       { background: linear-gradient(135deg, #1a0b2e, #2e1a5e); }
.thumb-tiktok   { background: linear-gradient(135deg, #1a0a0a, #3a0a1a); }
.thumb-email    { background: linear-gradient(135deg, #0a1a2e, #0a2e1a); }
.thumb-default  { background: linear-gradient(135deg, #1a1a2e, #2e2e3e); }

.thumb-cat-label {
  position: absolute; bottom: 10px; left: 12px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 500;
  padding: 4px 10px; border-radius: 20px;
}

.post-body { padding: 18px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-category-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold);
}
.post-title {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 15px; line-height: 1.4; color: var(--text);
}
.post-card.post-featured .post-title { font-size: 20px; }
.post-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; display: none; margin: 0; }
.post-card.post-featured .post-excerpt { display: block; }
.post-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.post-author { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.author-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.post-read-time { font-size: 12px; color: var(--muted); margin-left: auto; }
.post-date { font-size: 12px; color: var(--muted); }

/* =============================================
   AUTHOR / ABOUT SECTION
   ============================================= */
#author-section { background: var(--navy); padding: 80px 5%; }
.author-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center;
}
.author-photo-wrap { display: flex; justify-content: center; }
.author-photo-box {
  width: 240px; height: 300px;
  background: linear-gradient(145deg, var(--navy-mid), #1e3d6e);
  border-radius: 20px; border: 2px solid rgba(240,165,0,0.25);
  overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative;
}
.author-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.author-photo-box .author-initials { font-size: 60px; opacity: 0.2; }
.author-photo-name {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px;
  padding: 6px 14px; border-radius: 20px; white-space: nowrap;
}
.author-content { display: flex; flex-direction: column; gap: 18px; }
.author-tag { font-size: 11px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.author-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(26px, 3vw, 38px); color: #fff; line-height: 1.15; }
.author-bio { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.75; margin: 0; }
.author-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.author-pill {
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 12px; color: rgba(255,255,255,0.7);
}
.author-links { display: flex; gap: 10px; flex-wrap: wrap; }
.author-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.8); transition: all 0.18s;
}
.author-link:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* =============================================
   LATEST ARTICLES GRID
   ============================================= */
#latest-articles { background: var(--white); padding: 80px 5%; }
.articles-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.22s; display: flex; flex-direction: column;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(240,165,0,0.4); }
.mini-thumb {
  height: 120px; display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.mini-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mini-cat { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.mini-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.45; color: var(--text); margin: 0; }
.mini-meta { font-size: 11px; color: var(--muted); margin-top: auto; }

/* =============================================
   TOPICS / CATEGORIES GRID
   ============================================= */
#topics-section { background: var(--cream); padding: 80px 5%; }
.topics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; }
.topic-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px;
  text-align: center; cursor: pointer;
  transition: all 0.22s; display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.topic-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic-icon { font-size: 28px; }
.topic-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px; color: var(--text); }
.topic-count { font-size: 11px; color: var(--muted); }
.topic-card a { text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
#newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 5%; position: relative; overflow: hidden;
}
#newsletter-section::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
}
.newsletter-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1;
}
.newsletter-tag { font-size: 11px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.newsletter-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(22px, 2.5vw, 32px); color: #fff; margin-bottom: 12px; }
.newsletter-sub { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 20px; }
.newsletter-benefit { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.newsletter-benefit::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(15,184,138,0.2); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; color: #fff; font-size: 14px;
  font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.18s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus { border-color: rgba(240,165,0,0.5); }
.newsletter-form-row { display: flex; gap: 10px; }
.newsletter-btn {
  background: var(--gold); color: var(--navy);
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  padding: 13px 22px; border-radius: 10px; border: none; cursor: pointer;
  white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.newsletter-btn:hover { background: #ffc233; transform: translateY(-1px); }
.newsletter-note { font-size: 11px; color: rgba(255,255,255,0.35); }

/* =============================================
   BLOG INDEX / ARCHIVE
   ============================================= */
#content-area { padding: 100px 5% 60px; }
.content-inner { max-width: 1200px; margin: 0 auto; }
.content-wrap {
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
}
.posts-list { display: flex; flex-direction: column; gap: 28px; }

.archive-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; gap: 0; transition: all 0.22s;
}
.archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.archive-thumb { width: 240px; flex-shrink: 0; overflow: hidden; position: relative; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.archive-card:hover .archive-thumb img { transform: scale(1.05); }
.archive-thumb-placeholder { width: 240px; min-height: 160px; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.archive-body { padding: 20px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.archive-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.archive-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--text); }
.archive-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.archive-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.archive-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; color: var(--navy);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; margin-left: auto; transition: color 0.18s;
}
.archive-read-more:hover { color: var(--gold); }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border); color: var(--muted); background: var(--white); transition: all 0.18s;
}
.page-numbers:hover, .page-numbers.current {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.page-numbers.dots { border: none; background: none; cursor: default; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 28px; }
.widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.widget-title {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 15px; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.widget ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.widget ul li { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.widget ul li a { font-size: 14px; color: var(--text); font-weight: 500; transition: color 0.18s; }
.widget ul li a:hover { color: var(--gold); }
.widget-cat-count { font-size: 12px; color: var(--muted); float: right; }
.widget-search input[type="search"] {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; color: var(--text); outline: none;
  font-family: 'DM Sans', sans-serif; transition: border-color 0.18s;
}
.widget-search input[type="search"]:focus { border-color: var(--gold); }
.widget-search button {
  margin-top: 8px; width: 100%; padding: 10px;
  background: var(--navy); color: #fff; border: none; border-radius: 8px;
  font-family: 'Syne', sans-serif; font-weight: 600; cursor: pointer; transition: background 0.18s;
}
.widget-search button:hover { background: var(--navy-mid); }

/* =============================================
   SINGLE POST
   ============================================= */
#single-post { padding: 100px 5% 60px; }
.single-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.single-content-area { min-width: 0; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--border); }

/* Post Header */
.single-post-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 12px; display: block; }
.single-post-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3.5vw, 42px); line-height: 1.18;
  color: var(--navy); margin-bottom: 16px;
}
.single-post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.single-post-meta span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.single-post-author { display: flex; align-items: center; gap: 8px; }
.single-author-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.single-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.single-featured-img img { width: 100%; height: auto; }

/* Article Body Styles */
.entry-content { font-size: 16px; line-height: 1.85; color: var(--text); }
.entry-content h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(20px, 2.5vw, 28px);
  color: var(--navy); margin: 2.5rem 0 1rem; border-left: 4px solid var(--gold);
  padding-left: 16px; line-height: 1.3;
}
.entry-content h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(17px, 2vw, 22px);
  color: var(--text); margin: 2rem 0 0.75rem;
}
.entry-content h4 { font-size: 18px; margin: 1.5rem 0 0.5rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content a { color: var(--gold); text-decoration: underline; }
.entry-content a:hover { color: var(--navy); }
.entry-content blockquote {
  border-left: 4px solid var(--gold); background: var(--gold-pale);
  padding: 16px 20px; margin: 1.5rem 0; border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--navy);
}
.entry-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.entry-content code {
  background: var(--cream); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 4px; font-size: 14px; color: var(--navy);
}
.entry-content pre {
  background: var(--navy); color: #e0e0e0; padding: 20px;
  border-radius: var(--radius); overflow-x: auto; margin: 1.5rem 0;
  font-size: 14px; line-height: 1.6;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th {
  background: var(--navy); color: #fff;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  padding: 10px 14px; text-align: left;
}
.entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.entry-content tr:nth-child(even) td { background: var(--cream); }

/* Table of Contents */
.toc-box {
  background: var(--gold-pale); border: 1px solid rgba(240,165,0,0.3);
  border-radius: var(--radius); padding: 20px 24px; margin: 1.5rem 0;
}
.toc-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 10px; }
.toc-list { list-style: decimal; padding-left: 1.2rem; }
.toc-list li { margin-bottom: 6px; }
.toc-list li a { font-size: 14px; color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(240,165,0,0.4); }
.toc-list li a:hover { color: var(--gold); }

/* Affiliate Disclosure Box */
.disclosure-box {
  background: var(--cream); border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 28px;
  font-size: 13px; color: var(--muted); line-height: 1.6;
}

/* Author Box (Post Bottom) */
.author-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin: 40px 0;
  display: flex; gap: 20px; align-items: flex-start;
}
.author-box-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: #fff;
  overflow: hidden;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.author-box-bio { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Related Posts */
.related-posts { margin: 40px 0; }
.related-posts h3 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.22s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.related-thumb { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.related-body { padding: 12px 14px; }
.related-cat { font-size: 10px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.related-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.4; color: var(--text); margin: 4px 0 0; }

/* Comments */
.comments-section { margin-top: 48px; }
.comments-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 24px; }
.comment { display: flex; gap: 16px; margin-bottom: 24px; }
.comment-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.comment-body { flex: 1; }
.comment-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-author { font-weight: 600; color: var(--text); }
.comment-text { font-size: 14px; line-height: 1.65; color: var(--text); margin: 0; }
.comment-form { margin-top: 32px; }
.comment-form-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 20px; }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); outline: none;
  transition: border-color 0.18s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); }
.comment-form textarea { min-height: 120px; resize: vertical; margin-bottom: 14px; }
.comment-submit {
  background: var(--navy); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer; transition: all 0.18s;
}
.comment-submit:hover { background: var(--navy-mid); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 60px 5% 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; color: #fff; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; flex-wrap: wrap; gap: 10px;
}
.footer-copy { color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   PAGE TEMPLATES
   ============================================= */
.page-header {
  background: var(--navy); padding: 100px 5% 60px;
  text-align: center;
}
.page-header-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 48px); color: #fff; }
.page-header-sub { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 12px; }
.page-content { max-width: 820px; margin: 0 auto; padding: 60px 5%; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner, .author-inner, .newsletter-inner { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .author-photo-wrap { display: none; }
  .content-wrap, .single-inner { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .post-card.post-featured { grid-row: auto; }
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #primary-navigation { display: none; }
  #primary-navigation.is-open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(11,31,58,0.99); padding: 16px; }
  #primary-navigation.is-open ul { flex-direction: column; gap: 4px; }
  .menu-toggle { display: block; }
  .articles-grid-3 { grid-template-columns: 1fr; }
  .archive-card { flex-direction: column; }
  .archive-thumb, .archive-thumb-placeholder { width: 100%; height: 180px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .comment-form .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .newsletter-form-row { flex-direction: column; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.55s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
