/* =====================================================
   W.O.L.F. Wellness | Insights Article Stylesheet
   Applies to all Insights pages (articles 1–5)
   ===================================================== */

/* Base Styling */
body {
  background-color: #1b1b1b;
  color: #f5f0e1;
  font-family: 'Open Sans', sans-serif;
  margin: 0;
}

.insights-hero {
  position: relative;
  text-align: center;
  color: #fff;
}

.insights-hero img.hero-bg {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  filter: brightness(55%) contrast(105%);
}

.insights-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.insights-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 0 20px;
}

.insights-logo {
  width: 200px;
  max-width: 40vw;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.25));
}

.insights-title {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  font-size: 2.3rem;
  margin: 8px 0 6px;
  text-shadow: 0 0 6px rgba(212,175,55,0.4);
}

.insights-sub {
  opacity: 0.95;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Article Content */
.article-wrap {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.article-wrap h2 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  margin-top: 28px;
}

.article-wrap p {
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-wrap ul {
  line-height: 1.7;
}

.pull-quote {
  border-left: 3px solid #d4af37;
  padding-left: 14px;
  margin: 20px 0;
  font-style: italic;
  color: #f5d77b;
}

/* CTA Section */
.cta-strip {
  margin: 50px auto;
  text-align: center;
  background: linear-gradient(90deg, rgba(36,81,58,0.8), rgba(24,58,40,0.9));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 12px;
  padding: 30px 25px;
  max-width: 860px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
}

.cta-strip h3 {
  color: #d4af37;
  margin-bottom: 10px;
}

.btn-cta {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #d4af37, #f5d77b, #d4af37);
  color: #1b1b1b;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all .3s ease;
  box-shadow: 0 4px 10px rgba(212,175,55,0.4);
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(245,215,123,0.9);
}

/* Header Bar */
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #121212;
}

.topbar a {
  color: #f5f0e1;
  text-decoration: none;
  opacity: 0.9;
}

.crumb {
  opacity: .65;
}

/* ==============================
   Responsive Design Fixes
   ============================== */
@media (max-width: 768px) {
  .insights-hero-text {
    top: 55%;
    width: 90%;
    padding: 0 10px;
  }

  .insights-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .insights-sub {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .article-wrap {
    margin-top: 20px;
  }

  .insights-hero img.hero-bg {
    height: 50vh;
  }
}

@media (max-width: 480px) {
  .insights-title {
    font-size: 1.4rem;
  }

  .insights-sub {
    font-size: 0.9rem;
  }
}

/* =====================================================
   Dark Mode Optimization | OLED-friendly enhancements
   ===================================================== */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f0f0f;
    color: #f7f4e8;
  }

  .insights-hero img.hero-bg {
    filter: brightness(60%) contrast(110%) saturate(110%);
  }

  .insights-title {
    color: #f5d77b;
    text-shadow: 0 0 10px rgba(212,175,55,0.55);
  }

  .insights-sub {
    color: rgba(245,240,225,0.9);
  }

  .article-wrap h2 {
    color: #f0d36b;
  }

  .pull-quote {
    color: #f7e7a8;
    border-left-color: #e1c85c;
  }

  .cta-strip {
    background: linear-gradient(90deg, rgba(39,90,65,0.9), rgba(22,49,33,0.95));
    border-color: rgba(245,215,123,0.4);
    box-shadow: 0 4px 25px rgba(0,0,0,0.5);
  }

  .btn-cta {
    background: linear-gradient(90deg, #f0d36b, #f8eaa5, #f0d36b);
    box-shadow: 0 0 15px rgba(245,215,123,0.5);
  }

  .btn-cta:hover {
    box-shadow: 0 0 30px rgba(245,215,123,0.8);
  }

  .topbar {
    background: #0a0a0a;
  }

  a, .topbar a {
    color: #f8eaa5;
  }
}


