/* Blog hero — matches the main site's inner-page heroes (white canvas, orange glow, pill eyebrow,
   heavy black + orange title, lead, animated line-art on the right).
   Scoped to .bh and marked !important where the blog's Bootstrap / theme styles (h/p margins, .container widths,
   link colours) would otherwise leak in. */
.bh {
  --bh-orange: #e57119; --bh-orange-300: #f5a46a; --bh-orange-100: #fdebdd; --bh-ink: #0a0a0a; --bh-ink-700: #2a2a2a;
  --bh-muted: #5a5a5a; --bh-line: #ececec; --bh-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative; isolation: isolate; overflow: hidden; clear: both;
  padding: clamp(40px, 6vw, 110px) 0 clamp(40px, 6vw, 64px) !important;
  /* warm cream wash + a faint orange dot grid, like the tinted bands on the main site's inner pages */
  background:
    radial-gradient(circle at 1px 1px, rgba(229, 113, 25, .16) 1.2px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(160deg, #fffaf5 0%, #fdf0e3 55%, #fbe6d3 100%) !important;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; color: var(--bh-ink);
  border-bottom: 1px solid var(--bh-line); margin-bottom: 50px;
}
.bh::before {
  content: ""; position: absolute; z-index: -1; top: -220px; right: -80px; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(245, 164, 106, .38), transparent 70%);
}
.bh::after {
  content: ""; position: absolute; z-index: -1; bottom: -260px; left: -160px; width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), transparent 70%);
}
.bh *, .bh *::before, .bh *::after { box-sizing: border-box; }
.bh__inner {
  width: min(100% - 2 * clamp(20px, 4vw, 40px), 1200px); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}

.bh__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px !important; padding: 0 !important; list-style: none; font-size: 13px !important; font-weight: 700; color: var(--bh-muted); }
.bh__crumbs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bh__crumbs li + li::before { content: "/"; color: #c4c4c4; font-weight: 400; }
.bh__crumbs a { color: var(--bh-muted) !important; text-decoration: none !important; transition: color .2s; }
.bh__crumbs a:hover { color: var(--bh-orange) !important; }
.bh__crumbs [aria-current] { color: var(--bh-ink); }

.bh__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--bh-line); border-radius: 999px;
  background: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--bh-ink-700);
}
.bh__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bh-orange); box-shadow: 0 0 0 4px var(--bh-orange-100); }

.bh__title {
  margin: 22px 0 20px !important; padding: 0 !important; font-family: inherit !important;
  font-size: clamp(38px, 5.4vw, 72px) !important; font-weight: 900 !important; line-height: 1.02 !important; letter-spacing: -.035em !important;
  color: var(--bh-ink) !important; text-transform: none !important; text-wrap: balance;
}
.bh__accent { display: block; color: var(--bh-orange); }
.bh__lead {
  margin: 0 !important; max-width: 540px; font-family: inherit !important;
  font-size: clamp(16px, 1.5vw, 19px) !important; line-height: 1.6 !important; color: var(--bh-muted) !important;
}
.bh__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0 !important; padding: 0 !important; list-style: none; }
.bh__chips li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid #f1dfcf; font-size: 13px; font-weight: 700; color: var(--bh-ink-700);
}
.bh__chips svg { width: 22px; height: 22px; padding: 3px; overflow: visible; border-radius: 50%; background: var(--bh-orange); color: #fff; flex: none; }

/* ---------- illustration ---------- */
.bh__art { width: 100%; max-width: 500px; margin-inline: auto; }
.bh__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.bh .ln { fill: none; stroke: var(--bh-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bh .fw { fill: #fff; }
.bh .fo { fill: var(--bh-orange); }
.bh .fo1 { fill: var(--bh-orange-100); }
.bh .so { stroke: var(--bh-orange); }
.bh .bh-txt { fill: var(--bh-ink); font: 900 13px "Lato", system-ui, sans-serif; letter-spacing: .02em; }
.bh .bh-txt--w { fill: #fff; }

.bh .bh-float { animation: bh-float 6s ease-in-out infinite; transform-box: fill-box; }
.bh .bh-float--b { animation-duration: 7s; animation-delay: -2s; }
.bh .bh-float--c { animation-duration: 5.4s; animation-delay: -3.5s; }
.bh .bh-type { transform-box: fill-box; transform-origin: left center; animation: bh-type 5s var(--bh-ease) infinite; animation-delay: calc(var(--k, 0) * .25s); }
.bh .bh-pen { transform-box: view-box; animation: bh-pen 5s var(--bh-ease) infinite; }
.bh .bh-spark { transform-box: fill-box; transform-origin: center; animation: bh-spark 2.4s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .6s); }
.bh .bh-sun { transform-box: fill-box; transform-origin: center; animation: bh-pulse 3.2s ease-in-out infinite; }

/* animated topic icons in the illustration */
.bh .bh-ic-search { animation: bh-search 4s ease-in-out infinite; }
.bh .bh-ic-rays { animation: bh-blink 1.8s ease-in-out infinite; }
.bh .bh-ic-bar { transform-box: fill-box; transform-origin: bottom; animation: bh-grow 3.6s var(--bh-ease) infinite; animation-delay: calc(var(--k, 0) * .2s); }
.bh .bh-ic-wave { animation: bh-blink 1.6s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .3s); }
.bh .bh-ic-cursor { transform-box: fill-box; transform-origin: top left; animation: bh-tap 2.4s ease-in-out infinite; }
.bh .bh-ic-ripple { transform-box: fill-box; transform-origin: center; animation: bh-ripple 2.4s ease-out infinite; }

/* chip icons */
.bh .bh-ci__blink { animation: bh-blink 1.4s steps(2, jump-none) infinite; }
.bh .bh-ci__lens { transform-box: view-box; transform-origin: 11px 11px; animation: bh-wiggle 3s ease-in-out infinite; }
.bh .bh-ci__wave { animation: bh-blink 1.6s ease-in-out infinite; }
.bh .bh-ci__wave--2 { animation-delay: .3s; }

@keyframes bh-search { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(3px, -2px); } 50% { transform: translate(0, 3px); } 75% { transform: translate(-3px, -1px); } }
@keyframes bh-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes bh-grow { 0%, 10% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes bh-tap { 0%, 30%, 60%, 100% { transform: scale(1); } 45% { transform: scale(.82); } }
@keyframes bh-ripple { 0%, 40% { transform: scale(.4); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes bh-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(0); } }
@keyframes bh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bh-type { 0%, 8% { transform: scaleX(0); } 30%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes bh-pen { 0%, 8% { transform: translate(0, 0); } 30%, 85% { transform: translate(96px, 0); } 100% { transform: translate(0, 0); } }
@keyframes bh-spark { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes bh-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .bh .bh-float, .bh .bh-type, .bh .bh-pen, .bh .bh-spark, .bh .bh-sun,
  .bh [class*="bh-ic-"], .bh [class*="bh-ci__"] { animation: none !important; }
}

@media (max-width: 991px) {
  .bh__inner { grid-template-columns: 1fr; }
  .bh__art { max-width: 420px; }
}
@media (max-width: 575px) {
  .bh__art { display: none; }
}
