
/* ==========================================================
   Café Mia — Blog Post Warm Accents (v1)
   Adds warmth, playful color, and better typography to
   existing dark-theme blog posts. Safe to include everywhere.
   ========================================================== */

:root {
  --cm-pink-soft: #FFB8DC;
  --cm-pink-wash: rgba(247,27,179,.08);
  --cm-matcha: #7FB069;
  --cm-matcha-soft: rgba(127,176,105,.12);
  --cm-gold: #E8B75E;
  --cm-cream: #FFF9F5;
  --cm-cream-dark: #F5EBE0;
}

/* Warm accent bar above every H2 in article body */
.article-body h2,
.body h2 {
  position: relative;
  padding-top: 2.2rem;
}
.article-body h2::before,
.body > h2::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #F71BB3, #E8B75E);
  border-radius: 999px;
}

/* Softer, warmer figure treatment */
.article-body figure,
.body figure {
  margin: 3rem 0;
}
.article-body figure img,
.body figure img {
  border-radius: 16px !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.35), 0 4px 14px rgba(247,27,179,.08);
}
.article-body figcaption,
.body figcaption {
  color: #AAA;
  font-style: italic;
  font-size: 0.9rem;
  padding-top: 12px;
}

/* Blockquote — softer with warm accent quote-mark */
.article-body blockquote,
.body blockquote {
  position: relative;
  margin: 2.8rem 0;
  padding: 32px 32px 28px 56px;
  background: linear-gradient(135deg, rgba(247,27,179,.06), rgba(232,183,94,.04));
  border-left: 3px solid #F71BB3;
  border-radius: 14px;
}
.article-body blockquote::before,
.body blockquote::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  left: 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5.5rem;
  color: #F71BB3;
  opacity: 0.35;
  line-height: 1;
  font-weight: 900;
}
.article-body blockquote p,
.body blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #FFF;
  margin: 0;
  line-height: 1.55;
}

/* Article hero — softer category chip */
.article-hero .label {
  display: inline-block;
  background: var(--cm-pink-wash);
  color: #F71BB3;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(247,27,179,.2);
}

/* Article hero — decorative gradient bar above title */
.article-hero {
  position: relative;
}
.article-hero::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, #F71BB3, #E8B75E, #7FB069);
  border-radius: 999px;
}

/* Wider, more editorial images — break out slightly */
.article-body > figure > img,
.body > figure > img {
  max-width: 100%;
}

/* Make headings feel more editorial */
.article-body h2,
.body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.article-body h3,
.body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #FFF;
  font-weight: 700;
}

/* Softer list bullets with pink accent */
.article-body ul,
.body ul {
  list-style: none;
  padding-left: 0;
}
.article-body ul li,
.body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.6rem;
}
.article-body ul li::before,
.body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 8px;
  height: 8px;
  background: #F71BB3;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* First paragraph in article body — drop cap */
.article-body > p:first-of-type::first-letter,
.body > p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  color: #F71BB3;
  font-weight: 700;
}

/* Playful section divider (optional — use <hr> to trigger) */
.article-body hr,
.body hr {
  border: none;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F71BB3 20%, #E8B75E 50%, #7FB069 80%, transparent);
  margin: 3rem auto;
  max-width: 240px;
  border-radius: 999px;
}
