/* ============================================================
   blog-ctas.css — Sticky bar + inline callout conversion CTAs
   ============================================================ */

/* ---- Sticky Bottom Bar ---- */
#blog-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #C8A24E;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.35);
}

#blog-sticky-bar.bsb-visible {
  transform: translateY(0);
}

#blog-sticky-bar .bsb-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex: 1;
  text-align: center;
  letter-spacing: 0.01em;
}

#blog-sticky-bar .bsb-link {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

#blog-sticky-bar .bsb-link:hover {
  background: #f5e9cc;
  color: #1a1a1a;
}

#blog-sticky-bar .bsb-dismiss {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  flex-shrink: 0;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

#blog-sticky-bar .bsb-dismiss:hover {
  color: #fff;
  background: rgba(0,0,0,0.15);
}

/* Mobile: stack text above button */
@media (max-width: 600px) {
  #blog-sticky-bar {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  #blog-sticky-bar .bsb-text {
    font-size: 13px;
    width: calc(100% - 36px);
    text-align: left;
  }

  #blog-sticky-bar .bsb-link {
    font-size: 12px;
    padding: 7px 12px;
    flex: 1;
  }

  #blog-sticky-bar .bsb-dismiss {
    order: -1;
    margin-left: auto;
  }
}

/* ---- Inline Callout Box ---- */
.blog-cta-callout {
  margin: 28px 0;
  padding: 22px 24px;
  background: #111c14;
  border: 2px solid #C8A24E;
  border-radius: 10px;
  display: none; /* shown by JS after render */
}

.blog-cta-callout[data-rendered="true"] {
  display: block;
}

.blog-cta-callout .bcc-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #C8A24E;
  margin: 0 0 8px 0;
}

.blog-cta-callout .bcc-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #c9d4c0;
  margin: 0 0 14px 0;
  line-height: 1.55;
}

.blog-cta-callout .bcc-btn {
  display: inline-block;
  background: #C8A24E;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.blog-cta-callout .bcc-btn:hover {
  background: #b8902a;
  transform: translateY(-1px);
}

.blog-cta-callout .bcc-fine {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #7a8c72;
  margin: 8px 0 0 0;
}

@media (max-width: 600px) {
  .blog-cta-callout {
    padding: 16px 16px;
  }

  .blog-cta-callout .bcc-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}
