/* ============================================================
   Chloe Blog — single post
   hero / body typography / share / author bio / more posts
   Body styles target the raw HTML the HubSpot post editor emits.
   ============================================================ */

/* -------------------- Hero -------------------- */
.chloe-post-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 168px 0 72px;
  /* plum/purple fallback (shows behind the featured image, and on posts with
     no image) — matches the design's purple hero */
  background: radial-gradient(125% 120% at 38% 32%, #6B3A9E 0%, #7A2E86 44%, #932F7C 76%, #A23C77 100%);
}
.chloe-post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* scrim keeps the white title legible over any featured image — purple-toned
   to match the design (deeper at the left where the text sits) */
.chloe-post-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(46, 18, 78, 0.86) 0%, rgba(74, 22, 92, 0.7) 42%, rgba(120, 34, 96, 0.52) 78%, rgba(150, 44, 100, 0.45) 100%);
}
.chloe-post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: left;
}
/* read-time eyebrow above the title */
.chloe-post-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}
.chloe-post-eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F061A9;
  box-shadow: 0 0 0 4px rgba(240, 97, 169, 0.32);
}
.chloe-post-hero-tags { justify-content: flex-start; margin: 20px 0 0; }
.chloe-post-title {
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.14;
  color: #ffffff;
  text-shadow: 0 3px 18px rgba(50, 8, 60, 0.42);
  max-width: 780px;
  margin-bottom: 20px;
}
.chloe-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.chloe-post-meta .chloe-blog-dot { color: rgba(255, 255, 255, 0.55); }
.chloe-post-meta-author { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.chloe-post-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.7); }
.chloe-post-readtime { font-weight: 600; }

/* -------------------- Body -------------------- */
.chloe-post-main { background: #FFFDFD; padding: 64px 0 80px; }
.chloe-post-container { max-width: 760px; margin: 0 auto; padding: 0 32px; }

.chloe-post-body { font-size: 17px; line-height: 1.75; color: #37415A; }
.chloe-post-body > *:first-child { margin-top: 0; }
.chloe-post-body p { margin: 0 0 24px; }
.chloe-post-body h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: #0B254C;
  margin: 46px 0 16px;
}
.chloe-post-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
  color: #0B254C;
  margin: 36px 0 12px;
}
.chloe-post-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #0B254C;
  margin: 30px 0 10px;
}
.chloe-post-body a { color: #E24E97; text-decoration: underline; text-underline-offset: 3px; }
.chloe-post-body a:hover { color: #C13B7E; }
.chloe-post-body strong { color: #0B254C; font-weight: 700; }
.chloe-post-body ul, .chloe-post-body ol { margin: 0 0 24px; padding-left: 24px; }
.chloe-post-body li { margin-bottom: 10px; }
.chloe-post-body li::marker { color: #F061A9; }
.chloe-post-body img { border-radius: 14px; margin: 12px 0 28px; }
.chloe-post-body figure { margin: 0 0 28px; }
.chloe-post-body figcaption { font-size: 13px; color: #8b93a1; text-align: center; margin-top: 8px; }
/* pink filled callout box (matches the design) — replaces the plain quote bar */
.chloe-post-body blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  background: #FCE3EF;
  border-left: 4px solid #F061A9;
  border-radius: 14px;
  font-size: 17px;
  line-height: 1.6;
  color: #0B254C;
  font-style: normal;
  font-weight: 600;
}
.chloe-post-body blockquote p:last-child { margin-bottom: 0; }
.chloe-post-body hr { border: none; border-top: 1px solid #EFE4F0; margin: 40px 0; }
.chloe-post-body code {
  font-size: 0.9em;
  background: #FCE3EF;
  color: #B0306F;
  border-radius: 5px;
  padding: 2px 6px;
}
.chloe-post-body pre {
  background: #0B254C;
  color: #F3F5FA;
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.6;
}
.chloe-post-body pre code { background: none; color: inherit; padding: 0; }
/* tables scroll rather than break the phone layout */
.chloe-post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  font-size: 15px;
}
.chloe-post-body th, .chloe-post-body td { border: 1px solid #EFE4F0; padding: 10px 14px; text-align: left; }
.chloe-post-body th { background: #FDEEF5; color: #0B254C; font-weight: 700; }
.chloe-post-body iframe { max-width: 100%; border-radius: 14px; }

/* -------------------- Share -------------------- */
.chloe-post-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #EFE4F0;
}
.chloe-post-share-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b93a1;
}
.chloe-post-share-links { display: flex; gap: 10px; }
.chloe-post-share-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #F061A9;
  background: #FCE3EF;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.chloe-post-share-link:hover { background: #F061A9; color: #ffffff; transform: translateY(-2px); }

/* -------------------- Author bio -------------------- */
.chloe-post-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(240, 97, 169, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(90, 15, 55, 0.06);
}
.chloe-post-author-avatar { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.chloe-post-author-eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F061A9;
}
.chloe-post-author-name { font-weight: 700; font-size: 19px; color: #0B254C; margin: 4px 0 8px; }
.chloe-post-author-bio { font-size: 14px; line-height: 1.6; color: #6b7280; margin: 0; }
.chloe-post-author-social { display: flex; gap: 14px; margin-top: 12px; }
.chloe-post-author-social a { font-weight: 700; font-size: 13px; color: #F061A9; }
.chloe-post-author-social a:hover { color: #C13B7E; }

/* -------------------- Comments -------------------- */
.chloe-post-comments:not(:empty) { margin-top: 40px; padding-top: 30px; border-top: 1px solid #EFE4F0; }

/* -------------------- More posts -------------------- */
.chloe-post-more { background: #FDF6FA; padding: 66px 0 84px; }
.chloe-post-more .chloe-post-container { max-width: 1240px; }
.chloe-post-more-title {
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  color: #0B254C;
  text-align: left;
  margin-bottom: 34px;
}

/* tags repeated at the foot of the article */
.chloe-post-body-tags { margin-top: 30px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1024px) {
  .chloe-post-hero { padding: 144px 0 60px; }
}
@media (max-width: 767px) {
  .chloe-post-hero { padding: 118px 0 48px; }
  .chloe-post-hero-inner { padding: 0 20px; }
  .chloe-post-main { padding: 40px 0 56px; }
  .chloe-post-container { padding: 0 20px; }
  .chloe-post-body { font-size: 16px; }
  .chloe-post-author { flex-direction: column; gap: 14px; padding: 22px; }
  .chloe-post-more { padding: 48px 0 60px; }
}
