/*
Theme Name: PeopleWisher Blog
Theme URI: https://peoplewisher.com
Author: PeopleWisher
Description: A modern, light-purple blog theme for PeopleWisher.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: peoplewisher
*/

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --primary:        #977aeb;
  --primary-dark:   #7c5fd4;
  --primary-light:  #b49df0;
  --primary-xlight: #d4c8f9;
  --secondary:      #e8e6f7;
  --secondary-dark: #d0ccf0;

  --bg:    #faf9ff;
  --bg2:   #f4f2fd;
  --white: #ffffff;

  --text-dark:  #1a1526;
  --text-mid:   #4a4060;
  --text-light: #7a6f92;
  --border:     #e2ddf5;

  /* Footer only — the ONE place with dark bg */
  --footer-bg: #13111c;

  --font: 'Poppins', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow:    0 4px 24px rgba(151,122,235,0.10);
  --shadow-lg: 0 12px 48px rgba(151,122,235,0.18);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);

  /* Legacy aliases — keeps template PHP working */
  --color-purple-dark:  #3b2d6e;
  --color-purple:       #977aeb;
  --color-purple-light: #b49df0;
  --color-magenta:      #7c5fd4;
  --color-lavender:     #f4f2fd;
  --color-lavender-mid: #e8e6f7;
  --color-white:        #ffffff;
  --color-text:         #1a1526;
  --color-text-muted:   #7a6f92;
  --color-border:       #e2ddf5;
  --color-bg:           #faf9ff;
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Poppins', sans-serif;
  --radius: 16px;
  --shadow-card:       0 4px 24px rgba(151,122,235,0.10);
  --shadow-card-hover: 0 12px 48px rgba(151,122,235,0.18);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 68px; /* fixed nav offset */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =====================================================
   NAV — fixed, white, clean — matches landing page
   ===================================================== */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#mainNav.scrolled { box-shadow: var(--shadow); }

/* Logo link — wraps both img and text fallback */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* Constrain the uploaded logo image */
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
}
/* Text fallback */
.nav-logo-text {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}
.nav-logo-text span {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Desktop action buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Ghost button */
.btn-ghost {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--primary); background: var(--secondary); }

/* Primary pill */
.btn-primary-nav {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(151,122,235,0.30);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary-nav:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(151,122,235,0.40); }

/* Outline pill */
.btn-outline-nav {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary) !important;
  background: transparent;
  border: 2px solid var(--primary);
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline-nav:hover { background: var(--primary); color: #fff !important; }

/* Larger variants */
.btn-primary-lg { padding: 14px 32px; font-size: 16px; }
.btn-outline-lg  { padding: 14px 32px; font-size: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile dropdown */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 199;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-ctas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.mobile-ctas a {
  flex: 1;
  text-align: center;
  border-bottom: none;
  padding: 0;
}

/* =====================================================
   BLOG HERO — LIGHT purple, no dark background
   ===================================================== */
.blog-hero {
  background: var(--bg2);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Decorative ring — premium feel like landing page */
.blog-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 200px, rgba(151,122,235,0.06) 201px, rgba(151,122,235,0.06) 203px, transparent 204px),
    radial-gradient(circle at center, transparent 310px, rgba(151,122,235,0.04) 311px, rgba(151,122,235,0.04) 313px, transparent 314px),
    radial-gradient(circle at center, transparent 420px, rgba(151,122,235,0.025) 421px, rgba(151,122,235,0.025) 423px, transparent 424px);
  pointer-events: none;
}

/* Soft glow blob */
.blog-hero::after {
  content: '';
  position: absolute;
  top: -30%; left: 30%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(151,122,235,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  background: var(--secondary);
  border: 1px solid var(--secondary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.blog-hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--text-dark);
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.1;
}
.blog-hero h1 span { color: var(--primary); }

.blog-hero__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* Category filter pills */
.blog-hero__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  background: white;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.tag:hover { border-color: var(--primary); color: var(--primary); }
.tag.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* =====================================================
   FEATURED POST
   ===================================================== */
.featured-section { padding: 56px 0 0; }

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.featured-post:hover { box-shadow: var(--shadow-lg); }

.featured-post__image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: var(--bg2);
}
.featured-post__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.featured-post:hover .featured-post__image img { transform: scale(1.04); }

.featured-post__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
}

.featured-post__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post__category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.featured-post__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--text-dark);
}
.featured-post__title a:hover { color: var(--primary); }
.featured-post__excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-meta__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
}
.post-meta__info { display: flex; flex-direction: column; gap: 1px; }
.post-meta__author { font-weight: 600; font-size: 13px; color: var(--text-dark); }
.post-meta__date   { font-size: 12px; color: var(--text-light); }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-top: 20px;
  transition: gap 0.2s, color 0.2s;
}
.read-more:hover { gap: 12px; color: var(--primary-dark); }
.read-more::after { content: '→'; }

/* =====================================================
   BLOG GRID
   ===================================================== */
.blog-grid-section { padding: 56px 0; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.section-header h2 { font-size: 1.35rem; color: var(--text-dark); }
.section-header a {
  font-size: 13px; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.section-header a:hover { gap: 8px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--secondary-dark); }
.post-card:hover::before { opacity: 1; }

.post-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg2);
}
.post-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.post-card:hover .post-card__image img { transform: scale(1.06); }
.post-card__image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--secondary), var(--bg2));
  font-size: 2.5rem;
}
.post-card__category-badge {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(151,122,235,0.15);
  backdrop-filter: blur(8px);
  color: var(--primary-dark);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 50px;
  border: 1px solid rgba(151,122,235,0.25);
}

.post-card__body {
  padding: 22px;
  display: flex; flex-direction: column; flex: 1;
}
.post-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  color: var(--text-dark);
}
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt {
  font-size: 13px; color: var(--text-light); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 16px; flex: 1;
}
.post-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-light);
}
.post-card__read-time::before { content: '⏱ '; }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 56px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--secondary); border-color: var(--primary-light); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: white; }

/* =====================================================
   SINGLE POST HERO — LIGHT, no dark background
   ===================================================== */
.post-hero {
  background: var(--bg2);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}

/* Ring decoration — premium like landing page */
.post-hero::before {
  content: '';
  position: absolute;
  top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 160px, rgba(151,122,235,0.07) 161px, rgba(151,122,235,0.07) 163px, transparent 164px),
    radial-gradient(circle at center, transparent 260px, rgba(151,122,235,0.04) 261px, rgba(151,122,235,0.04) 263px, transparent 264px);
  pointer-events: none;
}
.post-hero::after {
  content: '';
  position: absolute;
  top: -20%; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(151,122,235,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.post-hero__inner { position: relative; z-index: 2; }

.post-hero__meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.post-hero__category {
  background: var(--secondary);
  border: 1px solid var(--secondary-dark);
  color: var(--primary-dark);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 14px; border-radius: 50px;
}
.post-hero__date { color: var(--text-light); font-size: 14px; }

.post-hero h1 {
  color: var(--text-dark);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 20px;
  line-height: 1.1;
}
.post-hero__excerpt {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.post-hero__image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  max-height: 480px;
  margin-top: 16px;
}
.post-hero__image img { width: 100%; object-fit: cover; }

/* =====================================================
   POST CONTENT
   ===================================================== */
.post-content-wrap { padding: 56px 0 72px; }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.post-content h2 { font-size: 1.5rem; margin: 44px 0 14px; color: var(--text-dark); }
.post-content h3 { font-size: 1.2rem; margin: 32px 0 10px; color: var(--text-dark); }
.post-content p { margin-bottom: 22px; }
.post-content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(151,122,235,0.3); }
.post-content a:hover { text-decoration-color: var(--primary); }
.post-content ul, .post-content ol { list-style: revert; margin: 0 0 22px 28px; }
.post-content li { margin-bottom: 6px; }
.post-content blockquote {
  border-left: 3px solid var(--primary);
  margin: 36px 0;
  padding: 18px 24px;
  background: var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary-dark);
}
.post-content img { border-radius: var(--radius-md); margin: 28px 0; }

/* Sidebar */
.post-sidebar { position: sticky; top: 88px; }
.sidebar-widget {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-widget__title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sidebar-post {
  display: flex; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post__image {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0;
  background: var(--bg2);
}
.sidebar-post__image img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post__title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.sidebar-post__title a:hover { color: var(--primary); }
.sidebar-post__date { font-size: 11px; color: var(--text-light); }

/* =====================================================
   CTA SIGNUP BANNER
   ===================================================== */
.pw-cta-banner {
  background: var(--secondary);
  border-top: 1.5px solid var(--border);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ring decoration on CTA */
.pw-cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background:
    radial-gradient(circle at center, transparent 180px, rgba(151,122,235,0.08) 181px, rgba(151,122,235,0.08) 183px, transparent 184px),
    radial-gradient(circle at center, transparent 280px, rgba(151,122,235,0.05) 281px, rgba(151,122,235,0.05) 283px, transparent 284px),
    radial-gradient(ellipse at 50% 50%, rgba(151,122,235,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.pw-cta-banner__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }

.pw-cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pw-cta-banner h2 span { color: var(--primary); }
.pw-cta-banner p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.pw-cta-banner__btns {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.pw-cta-banner__note {
  display: block; font-size: 12px;
  color: var(--text-light); margin-top: 14px;
}

/* =====================================================
   FOOTER — light purple, matches landing page feel
   ===================================================== */
.site-footer {
  background: var(--bg2);
  border-top: 1.5px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand__logo { margin-bottom: 14px; }
.footer-brand__logo img { height: 36px; width: auto; }
.footer-logo-text {
  font-family: var(--font);
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-dark);
}
.footer-logo-accent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-size: 14px; line-height: 1.7;
  color: var(--text-light);
  max-width: 240px; margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social-link:hover { background: var(--primary); border-color: var(--primary); color: white; }

.footer-col h4 {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-light);
}

/* =====================================================
   PAGE TEMPLATE (privacy, terms, etc.)
   ===================================================== */
.page-wrap {
  padding: 64px 0 80px;
  min-height: 60vh;
}
.page-content { max-width: 780px; margin: 0 auto; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}
.page-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.page-body h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--text-dark); }
.page-body h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--text-dark); }
.page-body p { margin-bottom: 20px; }
.page-body ul, .page-body ol { list-style: revert; margin: 0 0 20px 28px; }
.page-body a { color: var(--primary); text-decoration: underline; }
.page-body a:hover { color: var(--primary-dark); }

/* =====================================================
   POST NAV LINKS
   ===================================================== */
.post-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.post-nav-link:hover {
  border-color: var(--primary-light);
  background: var(--secondary);
  box-shadow: var(--shadow);
}
.post-nav-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
}
.post-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* =====================================================
   SIDEBAR CTA (light purple version)
   ===================================================== */
.sidebar-cta {
  background: var(--secondary) !important;
  border-color: var(--secondary-dark) !important;
}
.sidebar-cta__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.sidebar-cta__text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* =====================================================
   ARCHIVE / CATEGORY PAGE HERO — light
   ===================================================== */
.archive-hero {
  background: var(--bg2);
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(151,122,235,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.archive-hero__inner { position: relative; z-index: 2; }
.archive-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--text-dark); margin-bottom: 12px; }
.archive-hero p { color: var(--text-light); font-size: 1.05rem; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

@media (max-width: 768px) {
  #mainNav { padding: 0 20px; }
  .nav-links, .nav-actions { display: none !important; }
  .hamburger { display: flex; }

  .featured-post { grid-template-columns: 1fr; }
  .featured-post__image { min-height: 240px; }
  .featured-post__content { padding: 28px; }
  .blog-grid { grid-template-columns: 1fr; }

  .pw-cta-banner { padding: 48px 24px; }
  .pw-cta-banner__btns { flex-direction: column; align-items: stretch; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .blog-hero { padding: 48px 0 40px; }
  .post-hero { padding: 48px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
