.catalog-hero.genre-hero {
  position: relative;
  isolation: isolate;
  min-height: 350px;
  align-items: center;
  overflow: hidden;
  background: #050609;
}

.genre-hero-posters {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  pointer-events: none;
}

.genre-hero-posters img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.catalog-hero.genre-hero .catalog-hero-content {
  position: relative;
  z-index: 2;
  width: min(45%, 590px);
  max-width: 590px;
}

.genre-sticky-tools {
  position: sticky;
  top: var(--genre-sticky-top, 72px);
  z-index: 45;
  margin: 18px 0 28px;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(5,6,8,.96);
  box-shadow: 0 12px 24px rgba(0,0,0,.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.genre-sticky-tools .catalog-search {
  margin: 0 0 10px;
}

.genre-sticky-tools .genre-pills {
  margin: 0;
  padding: 0 0 5px;
}

.genre-sticky-tools .genre-pill {
  flex: none;
  white-space: nowrap;
}

.genre-sticky-tools .genre-pill.active {
  border-color: #ff2038;
  background: rgba(255,32,56,.2);
  color: #fff;
  box-shadow: 0 0 14px rgba(255,32,56,.18);
}

@media (min-width: 761px) and (max-width: 1000px) {
  .catalog-hero.genre-hero { min-height: 300px; }
  .catalog-hero.genre-hero .catalog-hero-content { width: 43%; }
}

@media (max-width: 760px) {
  .genre-sticky-tools {
    margin: 12px 0 22px;
    padding: 8px 0 9px;
  }

  .genre-sticky-tools .catalog-search {
    margin: 0 0 8px;
  }

  .catalog-hero.genre-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border-radius: 16px;
    background: #050609;
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
  }

  .genre-hero-posters {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    flex: none;
    overflow: hidden;
  }

  .genre-hero-posters img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #030405;
  }

  .catalog-hero.genre-hero .catalog-hero-content {
    width: auto;
    max-width: none;
    padding: 10px 15px 13px;
    background: linear-gradient(180deg,#07080a,#0b0c10);
  }

  .catalog-hero.genre-hero .kicker {
    margin: 0 0 5px;
    color: #ff3047;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.6px;
  }

  .catalog-hero.genre-hero h1 {
    margin: 0;
    font-size: clamp(24px,6.6vw,32px);
    line-height: 1;
    letter-spacing: -.7px;
  }

  .catalog-hero.genre-hero p {
    max-width: 420px;
    margin: 6px 0 9px;
    color: #eee;
    font-size: 11px;
    line-height: 1.4;
  }
}
