.learn-hero__image-wrapper {
  border-radius: 36px;
}

.blog-hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.blog-hero-carousel__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-hero-carousel__track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.blog-hero-carousel__track::-webkit-scrollbar {
  display: none;
}

.blog-hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  scroll-snap-align: center;
}

.blog-hero-carousel__slide img {
  pointer-events: none;
}

.blog-hero-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Match post-hero__share-btn glassmorphism on the wrapper */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px) saturate(200%) brightness(0.9);
  -webkit-backdrop-filter: blur(2px) saturate(200%);
  border: none;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.06);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.blog-hero-carousel__nav .post-hero__share-btn {
  pointer-events: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  width: 100%;
  height: 100%;
}

.blog-hero-carousel__nav--prev {
  left: 1.25rem;
}

.blog-hero-carousel__nav--next {
  right: 1.25rem;
}

.blog-hero-carousel:hover .blog-hero-carousel__nav {
  opacity: 1;
  pointer-events: auto;
}

.blog-hero-carousel__nav:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px 0 rgba(0, 0, 0, 0.18),
    0 2px 8px 0 rgba(255, 255, 255, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.08);
}

.blog-hero-carousel--main {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 36px;
}

.blog-hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: 0px;
}

.blog-hero-glow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(1.35) saturate(1.1);
  transform: scale(0.98);
  opacity: 1;
  transition: opacity 3s ease;
}


