/* =====================================================
   cr-blog.css — styles for /blog/ hub + /blog/<slug>/ posts
   Additive to sprint4 + sprint5 + cr-industrias.
   ===================================================== */

/* --- blog hub ------------------------------------- */
.cr-blog-hub-hero {
  padding: clamp(140px, 18vw, 220px) 0 clamp(70px, 9vw, 120px);
}
.cr-blog-eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff7c8f;
  margin-bottom: 22px;
  border: 1px solid rgba(255,124,143,0.35);
  padding: 8px 18px;
  border-radius: 100px;
}
.cr-blog-hub-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 28px 0;
  color: #fff;
}
.cr-blog-hub-title em {
  font-style: normal;
  background: linear-gradient(135deg, #ff7c8f 0%, #e91e63 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cr-blog-hub-lede {
  max-width: 740px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* --- blog card grid ------------------------------- */
.cr-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .cr-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cr-blog-grid { grid-template-columns: 1fr; } }

.cr-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10,10,16,0.08);
  border-radius: 20px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.2,0.6,0.2,1), box-shadow 0.25s, border-color 0.25s;
}
.cr-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(10,10,16,0.08);
  border-color: rgba(233,30,99,0.28);
}
.cr-blog-card__cat {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e91e63;
  margin-bottom: 14px;
}
.cr-blog-card__title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.08;
  margin: 0 0 14px 0;
  color: #0a0a10;
}
.cr-blog-card__dek {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(10,10,16,0.65);
  margin: 0 0 18px 0;
  flex: 1;
}
.cr-blog-card__meta {
  display: flex;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(10,10,16,0.5);
}

/* --- single post hero ----------------------------- */
.cr-blog-article { margin: 0; padding: 0; }
.cr-blog-hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
}
.cr-blog-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.cr-blog-breadcrumb {
  display: flex;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cr-blog-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .2s;
}
.cr-blog-breadcrumb a:hover { color: #ff7c8f; }
.cr-blog-breadcrumb-current { color: #ff7c8f; }
.cr-blog-title {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px 0;
  color: #fff;
}
.cr-blog-dek {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  margin: 0 0 28px 0;
}
.cr-blog-meta {
  display: flex;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}

/* --- single post body ----------------------------- */
.cr-blog-body {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 32px);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1f1f28;
}
.cr-blog-body > p {
  margin: 0 0 22px 0;
}
.cr-blog-body h2 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 56px 0 18px 0;
  color: #0a0a10;
}
.cr-blog-body h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.15;
  margin: 36px 0 12px 0;
  color: #0a0a10;
}
.cr-blog-body ol, .cr-blog-body ul {
  padding-left: 24px;
  margin: 0 0 22px 0;
}
.cr-blog-body li { margin-bottom: 10px; }
.cr-blog-body strong { color: #0a0a10; font-weight: 700; }
.cr-blog-body em { font-style: italic; color: #4a4a55; }

.cr-inline-cta {
  display: inline-block;
  font-weight: 700;
  color: #e91e63;
  text-decoration: underline;
  text-decoration-color: rgba(233,30,99,0.35);
  text-underline-offset: 4px;
  transition: color .2s;
}
.cr-inline-cta:hover { color: #c01853; }

/* Body checklist specifics */
.cr-blog-checklist {
  list-style: decimal;
  padding-left: 28px;
  margin: 0 0 28px 0;
}
.cr-blog-checklist li {
  margin-bottom: 12px;
  padding-left: 8px;
}

/* --- blog tail ------------------------------------ */
.cr-blog-tail { padding: clamp(60px, 8vw, 100px) 0; }

@media (max-width: 600px) {
  .cr-blog-body { font-size: 16px; }
  .cr-blog-body h2 { margin: 40px 0 14px 0; }
}
