.lms-member-area {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Hero: fade vertical + horizontal sobre a imagem
   pra garantir contraste da copy e transição suave pro fundo zinc-950. */
.home-hero .hero-fade {
  background:
    linear-gradient(
      180deg,
      rgba(9, 9, 11, 0.1) 0%,
      rgba(9, 9, 11, 0.4) 55%,
      rgba(9, 9, 11, 1) 100%
    ),
    linear-gradient(
      90deg,
      rgba(9, 9, 11, 0.75) 0%,
      rgba(9, 9, 11, 0.2) 40%,
      rgba(9, 9, 11, 0) 70%
    );
}

@media (max-width: 767px) {
  /* No mobile o fade horizontal fica mais forte pra cobrir a imagem menor */
  .home-hero .hero-fade {
    background:
      linear-gradient(
        180deg,
        rgba(9, 9, 11, 0.2) 0%,
        rgba(9, 9, 11, 0.55) 60%,
        rgba(9, 9, 11, 1) 100%
      );
  }
}

.lms-course-list {
  position: relative;

  .swiper-wrapper {
    height: auto;
    align-items: flex-start;
  }

  .lms-course-item {
    flex: 0 0 clamp(160px, 18vw, 224px);
    aspect-ratio: 9 / 16;
    scroll-snap-align: start;
    transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1),
                border-color 0.25s,
                box-shadow 0.35s;
  }

  .lms-course-item:hover {
    transform: translateY(-2px) scale(1.015);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
    z-index: 10;
  }

  .poster-img {
    transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
  }

  .lms-course-item:hover .poster-img {
    transform: scale(1.04);
  }

  .locked-img {
    filter: brightness(0.55) saturate(0.85);
  }
}

.lms-course-list.swiper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to left, rgb(9 9 11 / 0.9), rgb(9 9 11 / 0.4), transparent);
}

/* Cards landscape 16:10 do feed de conteúdos */
.recent-post-slide {
  flex: 0 0 clamp(260px, 34vw, 380px);
}

.recent-posts-swiper {
  position: relative;
}

.recent-posts-swiper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to left, rgb(9 9 11 / 0.9), rgb(9 9 11 / 0.4), transparent);
}

.channels-swiper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to left, var(--background, #18181b), var(--background, #18181b) 50%, transparent);
}

/* Channel tabs */
.channel-tabs {
  scrollbar-width: none;
}

.channel-tabs::-webkit-scrollbar {
  display: none;
}

.channel-tabs .chip {
  position: relative;
  transition: color 0.2s;
}

.channel-tabs .chip-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.channel-panel-slide {
  flex: 0 0 clamp(240px, 32vw, 360px);
}

.channel-panel-swiper {
  position: relative;
}

.channel-panel-swiper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to left, rgb(9 9 11 / 0.9), rgb(9 9 11 / 0.4), transparent);
}
