/* ==========================================================
   TERA FE — Blog styles (extends tera-fe-styles.css)
   Linked as: <link rel="stylesheet" href="/blog/blog.css">
   ========================================================== */

.blog-wrap { background: var(--cream-light); }

/* ---------- Category accent colors ---------- */
.cat-hormone  { --accent: #1e3a8a; --accent-2: #2d4d9e; --accent-ink: #eef2ff; }
.cat-weight   { --accent: #8d5f2d; --accent-2: #b8864a; --accent-ink: #fff7ec; }
.cat-aesthetic{ --accent: #c07f4f; --accent-2: #f2c3a4; --accent-ink: #3a2415; }
.cat-book     { --accent: #0c1e4a; --accent-2: #1e3a8a; --accent-ink: #f6f1e6; }

.cat-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Listing hero ---------- */
.blog-hero {
  text-align: center;
  padding: 68px 24px 44px;
  max-width: 780px;
  margin: 0 auto;
}
.blog-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.04;
  margin: 14px 0 18px;
}
.blog-hero h1 em { font-style: italic; color: var(--gold-deep); }
.blog-hero p {
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 26px;
}
.blog-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.blog-chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--forest-deep);
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Section heading ---------- */
.blog-section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---------- Featured card ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(12, 30, 74, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.featured:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(12, 30, 74, 0.1); }
.featured-band {
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  min-height: 340px;
  padding: 36px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.featured-band::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,195,164,0.28), transparent 62%);
}
.featured-band .band-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--accent-ink);
  font-size: 30px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: 30px; margin: 12px 0 16px; }
.featured-body p { color: var(--ink-soft); margin-bottom: 22px; }
.read-meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-soft); }
.read-more { color: var(--forest); font-weight: 600; }

/* ---------- Article grid ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(12, 30, 74, 0.08); }
.post-band {
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  min-height: 168px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.post-band::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,241,230,0.22), transparent 62%);
}
.post-band .band-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--accent-ink);
  font-size: 21px;
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 21px; margin: 10px 0 12px; }
.post-body p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; flex: 1; }

/* ---------- About author (listing) ---------- */
.author-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}
.author-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-block h2 { font-size: 28px; margin-bottom: 10px; }
.author-block p { color: var(--ink-soft); margin-bottom: 18px; }
.author-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========== ARTICLE PAGE ========== */
.article-band {
  background: linear-gradient(140deg, var(--accent-2), var(--accent));
  position: relative;
  overflow: hidden;
}
.article-band::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,195,164,0.22), transparent 62%);
}
.article-band-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 52px;
  position: relative;
  z-index: 1;
}
.article-band .cat-label { color: var(--accent-ink); opacity: 0.85; }
.article-band h1 {
  color: var(--accent-ink);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  margin: 14px 0 24px;
}
.article-byline { display: flex; align-items: center; gap: 14px; }
.byline-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--accent-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.byline-text { color: var(--accent-ink); font-size: 14px; line-height: 1.35; }
.byline-text strong { font-weight: 600; }
.byline-text span { opacity: 0.8; }
.byline-dot { opacity: 0.5; padding: 0 4px; }

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px 24px;
}
.article-tags {
  font-size: 13px;
  color: var(--ink-soft);
  border-left: 3px solid var(--line);
  padding-left: 14px;
  margin-bottom: 34px;
  font-style: italic;
}
.prose { color: var(--ink); font-size: 18px; line-height: 1.75; }
.prose p { margin-bottom: 22px; }
.prose h2 {
  font-size: 30px;
  margin: 40px 0 16px;
  line-height: 1.15;
}
.prose strong { color: var(--forest-deep); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--forest-deep); }
.prose .lead { font-size: 21px; color: var(--ink-soft); line-height: 1.6; }
.prose .callout {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 26px 0;
  font-size: 18px;
}
.prose .deflist { list-style: none; margin: 6px 0 26px; }
.prose .deflist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.prose .deflist li strong { display: block; color: var(--forest-deep); margin-bottom: 3px; }

/* Article CTA */
.article-cta {
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: 22px;
  padding: 44px;
  text-align: center;
  max-width: 720px;
  margin: 44px auto;
}
.article-cta .eyebrow { color: var(--peach); }
.article-cta h2 { color: var(--cream); font-size: 30px; margin: 10px 0 14px; }
.article-cta p { color: rgba(246,241,230,0.82); max-width: 520px; margin: 0 auto 24px; }
.article-cta .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article-cta .btn-secondary { color: var(--cream); border-color: var(--peach); }
.article-cta .btn-secondary:hover { background: var(--peach); color: var(--forest-deep); }

/* Continue reading */
.continue {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 24px 72px;
}
.continue .blog-section-label { text-align: center; }
.continue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 40px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.back-link:hover { color: var(--forest-deep); }
.article-body-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Section spacing helpers */
.blog-section { padding: 44px 0; }
.blog-section .container { max-width: 1100px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured-band { min-height: 200px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .continue-grid { grid-template-columns: 1fr; }
  .author-block { grid-template-columns: 1fr; text-align: center; padding: 30px; }
  .author-avatar { margin: 0 auto; }
  .author-links { justify-content: center; }
  .prose { font-size: 17px; }
  .article-cta { padding: 32px 22px; }
}
