
/* --------------------------------------------------
   BRAND THEME: WE TOTS N MOMS
-------------------------------------------------- */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #FFF4F8;
    color: #2E2E2E;
    line-height: 1.7;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}


/* ------------------------ */
/* BRAND COLORS */
/* ------------------------ */
:root {
    --pink: #FF8FB1;
    --purple: #CBA6E5;
    --yellow: #FFD66E;
    --cream: #FFF4F8;
    --dark: #2E2E2E;
}

/* ------------------------ */
/* BUTTONS */
/* ------------------------ */
.btn {
    display: inline-block;
    background: var(--yellow);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
}
.btn:hover {
    background: #ffcc55;
}

/* Button */
.card button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #7b5be6;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ===== FEATURED EBOOK BADGE ===== */

.ebook-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6aa2, #ff9cc4);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}


/* ===== Contact / Subscribe Card ===== */
.card {
  max-width: 420px;
  margin: 40px auto;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f0ff, #efe7ff);
  box-shadow: 0 12px 30px rgba(130, 90, 200, 0.15);
  text-align: center;
}


/* ------------------------ */
/* FOOTER */
/* ------------------------ */
footer {
    background: var(--dark);
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: 60px;
border-radius: 10px 10px 0 0;
}

footer a {
    color: var(--pink);
    text-decoration: none;
    margin: 0 10px;
}

/* FEATURED RIBBON */
.ebook-promo {
  position: relative;
}

.ebook-promo::before {
  content: "FEATURED";
  position: absolute;
  top: 16px;
  left: -8px;
  background: #1d4ed8; /* PluggedIn-style blue */
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
}


.ebook-button {
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.ebook-button:hover {
  background-color: #1e3a8a; /* darker blue */
  transform: translateY(-2px);
}


/* EBOOK TYPOGRAPHY & COLORS */

.ebook-promo {
  text-align: center;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-left: 6px solid #1d4ed8;
}

.ebook-promo h2 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 8px;
}

.ebook-promo h3 {
  font-size: 2rem;
  font-weight: 800; /* extra strength */
  line-height: 1.15;
  color: #065f46;
  margin-bottom: 12px;
}



.ebook-promo p {
  color: #475569; /* editorial gray */
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ebook-button {
  display: inline-block;
  padding: 14px 32px;
  background: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}


@media (max-width: 768px) {
  .ebook-container {
    flex-direction: column;
    text-align: center;
  }

  .ebook-container img {
    width: 160px;
    margin-bottom: 16px;
  }

  .ebook-promo {
    padding: 20px;
  }
}

.ebook-promo h3 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.top-nav {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 2000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  color: #2E2E2E;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #2E2E2E;
}

/* =========================
   BLOG TYPOGRAPHY REFINEMENT
========================= */

.category-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1e3a8a; /* editorial blue */
  letter-spacing: -0.02em;
}

.post-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.post-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563; /* neutral editorial gray */
}

/* Links */
.post-card a {
  color: #1e40af;
}

.post-card a:hover {
  text-decoration: underline;
}

/* =========================
   CATEGORY BADGES
========================= */

.category-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: #e5e7eb;
  color: #374151;
}

/* Category colors */
.category-badge.parenting {
  background: #e0f2fe;
  color: #075985;
}

.category-badge.kids {
  background: #ecfeff;
  color: #0f766e;
}

.category-badge.education {
  background: #fef3c7;
  color: #92400e;
}

.category-badge.audio-video {
  background: #ede9fe;
  color: #5b21b6;
}

/* =========================
   CATEGORY PAGE FLEXBOX GRID
========================= */

.category-hero {
  text-align: center;
  padding: 40px 24px;
  background: #f8fafc;
  margin-bottom: 30px;
}

.category-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.category-hero p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #4b5563;
}

.category-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.category-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Individual Card */
.category-grid .post-card {
  flex: 1 1 260px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 16px;
  transition: transform 0.2s ease;
}

.category-grid .post-card:hover {
  transform: translateY(-4px);
}

.category-grid .post-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.category-grid .post-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;

  color: #1e40af;
}

.category-grid .post-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #475569;
}

/* Mobile */
@media (max-width: 768px) {
  .category-grid {
    flex-direction: column;
  }

  .category-grid .post-card {
    max-width: 100%;
  }
}

.post-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.card-img {
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 300px;
  background: #ffffff;
  color: #333;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 9999;
}

.cookie-banner button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: #ff6b6b;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}


.articles h2 {
  text-align: center;
}