.genres-page{
  min-height:100vh;
  background:#efe4d2;
  color:#3b3535;
}

.genres-hero{
  padding:170px 0 60px;
}

.genres-hero h1{
  margin:0 0 14px;
  font-size:42px;
  line-height:1;
  font-weight:800;
}

.genres-hero p{
  max-width:620px;
  margin:0;
  font-size:18px;
  line-height:1.6;
  color:rgba(59,53,53,.72);
}

.genres-section{
  padding:0 0 100px;
}

.genres-grid{
  display:grid;
  grid-template-columns:repeat(3,260px);
  justify-content:center;
  gap:32px;
}

.genre-card a{
  display:block;
  color:inherit;
  text-decoration:none;
}

.genre-card__image{
  position:relative;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  background:#d8cbb9;
}

.genre-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.88);
  transition:.25s ease;
}

.genre-card:hover img{
  transform:scale(1.05);
  filter:brightness(.98);
}

.genre-card__image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.22),
    rgba(0,0,0,0) 55%
  );
  pointer-events:none;
}

.genre-card h2{
  margin:14px 0 4px;
  font-size:20px;
  line-height:1.15;
  font-weight:900;
  text-align:center;
}

.genre-card p{
  margin:0;
  font-size:13px;
  font-weight:700;
  text-align:center;
  color:rgba(59,53,53,.7);
}

.genre-count{
  display:inline-flex;
  margin-top:14px;
  padding:7px 14px;
  border-radius:999px;
  background:#fff8ec;
  font-size:12px;
  font-weight:800;
}

@media(max-width:980px){
  .genres-hero{
    padding:130px 0 50px;
  }

  .genres-grid{
    grid-template-columns:repeat(2,260px);
  }

  .genres-hero h1{
    font-size:42px;
  }
}

@media(max-width:600px){
  .genres-grid{
    grid-template-columns:minmax(0, 280px);
  }

  .genres-section{
    padding-bottom:75px;
  }
}