/* Blog Detail Hero — route /blog/[slug] only.
   Canonical contract: docs/blog-detail/01_BLOG_DETAIL_UI_SSOT.md */

._RwTjmxL {
  position: relative;
  isolation: isolate;
  float: none;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 42%, rgba(37, 99, 235, 0.28), transparent 30%),
    radial-gradient(circle at 96% 16%, rgba(56, 189, 248, 0.14), transparent 24%),
    linear-gradient(132deg, #02081e 0%, #06132d 54%, #0a1329 100%);
}

._RwTjmxL::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 45%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 34%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000);
  transform: perspective(480px) rotateY(-7deg) rotateZ(-4deg) scale(1.12);
  transform-origin: right center;
}

._RwTjmxL::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(760px, 56vw);
  aspect-ratio: 1;
  right: min(-250px, -10vw);
  top: -48%;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(37, 99, 235, 0.2),
    inset 28px 0 80px rgba(56, 189, 248, 0.08);
}

._5uw-bvI {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 52%;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 50%, rgba(56, 189, 248, 0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 32%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 68%, rgba(56, 189, 248, 0.4) 0 1px, transparent 2px);
  opacity: 0.72;
}

._5uw-bvI::before,
._5uw-bvI::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: -2%;
  border-radius: 999px;
  transform: rotate(-38deg);
  transform-origin: left center;
}

._5uw-bvI::before {
  width: 115%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.18) 10%,
    rgba(125, 211, 252, 0.72) 42%,
    rgba(216, 246, 255, 0.92) 58%,
    rgba(37, 99, 235, 0.24) 82%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.48);
}

._5uw-bvI::after {
  width: 28%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(56, 189, 248, 0.55) 24%,
    #e8fbff 50%,
    rgba(56, 189, 248, 0.7) 72%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(216, 246, 255, 0.9),
    0 0 28px rgba(56, 189, 248, 0.64);
  opacity: 0;
  will-change: transform, opacity;
  animation: kc-blog-detail-light-sweep 7.2s ease-in-out infinite;
}

@keyframes kc-blog-detail-light-sweep {
  0%,
  12% {
    opacity: 0;
    transform: rotate(-38deg) translateX(-30%);
  }

  24% {
    opacity: 0.92;
  }

  76% {
    opacity: 0.78;
  }

  100% {
    opacity: 0;
    transform: rotate(-38deg) translateX(360%);
  }
}

._QwBTV82 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: var(--hero-pt) var(--hero-px) var(--hero-pb);
}

._duFlraf {
  width: 100%;
  max-width: 780px;
}

._1wxGhSe {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

._1wxGhSe ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

._PVWjxNC,
._PVWjxNC a {
  color: inherit;
  text-decoration: none;
}

._PVWjxNC a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

._PVWjxNC a:hover,
._PVWjxNC a:focus-visible {
  color: #fff;
}

._PVWjxNC a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #38bdf8;
  outline-offset: 4px;
}

._PVWjxNC[aria-current="page"] {
  color: #cbd5e1;
}

._PVWjxNC svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

._8WY9PfP {
  color: rgba(203, 213, 225, 0.52);
}

._uO10w2K {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  color: #38bdf8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

._uO10w2K svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

._Yx5fqRt {
  max-width: 780px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(50px, 3.75vw, 54px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-align: left;
  text-transform: none;
  text-wrap: wrap;
  overflow-wrap: anywhere;
}

._scp2qwi {
  max-width: 720px;
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: clamp(18px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.7;
}

._u5fxegk {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 8px;
  margin-top: 20px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

._1KF7MO6 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

._1KF7MO6 svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.__-ZHv9B {
  margin-right: 7px;
  color: rgba(203, 213, 225, 0.5);
}

@media (min-width: 641px) and (max-width: 1024px) {
  ._RwTjmxL::before {
    left: 32%;
    opacity: 0.2;
  }

  ._RwTjmxL::after {
    right: -38%;
    top: -24%;
    opacity: 0.66;
  }

  ._5uw-bvI {
    left: 54%;
    opacity: 0.46;
  }

  ._QwBTV82 {
    width: calc(100% - 48px);
    max-width: 560px;
    padding-inline: 0;
    padding-bottom: 96px;
  }

  ._duFlraf {
    max-width: none;
  }

  ._Yx5fqRt {
    max-width: none;
    font-size: clamp(42px, 4.3vw, 44px);
  }

  ._scp2qwi {
    max-width: none;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  ._RwTjmxL::before {
    left: 24%;
    opacity: 0.12;
    mask-image: linear-gradient(90deg, transparent, #000 56%, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 56%, #000);
  }

  ._RwTjmxL::after {
    width: 118vw;
    right: -72vw;
    top: 2%;
    opacity: 0.48;
  }

  ._5uw-bvI {
    left: 58%;
    opacity: 0.34;
  }

  ._QwBTV82 {
    width: calc(100% - 40px);
    max-width: none;
    padding-inline: 0;
  }

  ._duFlraf {
    max-width: none;
  }

  ._1wxGhSe {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .kc-blog-detail-hero__crumb--home,
  .kc-blog-detail-hero__crumb-separator--home {
    display: none;
  }

  ._uO10w2K {
    font-size: 11px;
  }

  ._Yx5fqRt {
    max-width: none;
    font-size: clamp(30px, 8.2vw, 32px);
    line-height: 1.18;
  }

  ._scp2qwi {
    max-width: none;
    margin-top: 16px;
    font-size: 15px;
  }

  ._u5fxegk {
    column-gap: 11px;
    font-size: 13px;
  }

  .__-ZHv9B {
    margin-right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  ._PVWjxNC a {
    transition: none;
  }

  ._5uw-bvI::after {
    animation: none;
    opacity: 0;
    will-change: auto;
  }
}
