/* Widget 16 — /blog/ master index, matching the Blog Index sample exactly:
   split hero (eyebrow dash, 46/700 H1 capped 640, 18px subcopy, stats row with
   dot separators, warm-neutral hero block r24), the ink "latest" bar r16, and
   per-language sections of hub cards (96px banner, 19/700 title, 58px
   translucent count numeral, description, count + Explore). */

.hc-bi { padding-top: 8px; }

/* ---- Hero split ---- */
.hc-bi__hero {
  display: flex;
  gap: 44px;
  align-items: stretch;
}
.hc-bi__hero-copy { flex: 1.25; min-width: 0; }
.hc-bi__hero-img {
  flex: 1;
  min-height: 230px;
  border-radius: 24px;
  background: repeating-linear-gradient(45deg, #e7d5d0, #e7d5d0 10px, #dcc8c4 10px, #dcc8c4 20px);
}

.hc-bi__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hc-pink);
  margin-bottom: 16px;
}
.hc-bi__dash { width: 26px; height: 2px; background: var(--hc-pink); border-radius: 2px; }

.hc-bi__title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--hc-ink);
  margin: 0;
  max-width: 640px;
}
.hc-bi__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--hc-secondary);
  margin: 16px 0 0;
  max-width: 600px;
}

.hc-bi__stats {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--hc-secondary);
}
.hc-bi__stats strong { font-weight: 700; color: var(--hc-ink); }
.hc-bi__dot { width: 3px; height: 3px; border-radius: 99px; background: var(--hc-line); align-self: center; }

/* ---- Latest bar ---- */
.hc-bi__latest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  background: var(--hc-ink);
  border-radius: 16px;
  padding: 15px 20px;
  text-decoration: none;
}
.hc-bi__latest-pill {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--hc-pink);
  color: var(--hc-white);
  border-radius: 999px;
  padding: 4px 10px;
}
.hc-bi__latest-title { font-size: 15px; font-weight: 600; color: var(--hc-white); flex: 1; min-width: 200px; }
.hc-bi__latest-meta { font-size: 12.5px; color: #a5abb3; white-space: nowrap; }
.hc-bi__latest-read { font-size: 13.5px; font-weight: 700; color: #ff8ea0; white-space: nowrap; }

/* ---- Language section heads ---- */
.hc-bi__section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 40px 0 16px;
}
.hc-bi__section-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hc-ink);
  margin: 0;
}
.hc-bi__audience { font-size: 13px; color: var(--hc-mut); }
.hc-bi__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hc-line), transparent);
  align-self: center;
}

/* ---- Hub cards ---- */
.hc-bi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.hc-bi__card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--hc-white);
  border: 1px solid var(--hc-line-soft);
  border-radius: 20px;
  text-decoration: none;
  transition: box-shadow 0.18s ease;
}
.hc-bi__card:hover { box-shadow: 0 12px 28px -16px rgba(9, 16, 29, 0.25); }

.hc-bi__card-banner { display: block; height: 96px; }
.hc-bi__card-count {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--hc-white);
  opacity: 0.6;
  pointer-events: none;
}
.hc-bi__card-body { display: block; padding: 16px 22px 20px; }
.hc-bi__card-title { display: block; font-size: 19px; font-weight: 700; color: var(--hc-ink); }
.hc-bi__card-desc { display: block; font-size: 14px; line-height: 1.55; color: var(--hc-secondary); margin-top: 5px; }
.hc-bi__card-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.hc-bi__card-n { font-size: 12.5px; color: var(--hc-mut); }
.hc-bi__card-foot { justify-content: space-between; }
.hc-bi__card-go { font-size: 13.5px; font-weight: 700; color: var(--hc-pink); }

@media (max-width: 760px) {
  .hc-bi__hero { flex-direction: column; gap: 24px; }
  .hc-bi__hero-img { min-height: 160px; }
  .hc-bi__title { font-size: 30px; }
  .hc-bi__grid { grid-template-columns: 1fr; }
  .hc-bi__latest { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Astra's boxed "separate container" style pads this page's <article> by
   120px/96px, squeezing content to 920 inside the 1200 container. Match the
   article page's effective reading width (~1160) instead. */
.hc-blog-index .ast-article-single {
  padding: 32px 40px 48px;
  margin: 0;
  background: transparent;
}
