.category-banner {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(210px, 25.3vw, 370px);
  overflow: hidden;
  background: #061629;
}

.category-banner img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.category-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 17, 36, .16), rgba(3, 17, 36, .08) 48%, rgba(3, 17, 36, .25));
}

.category-banner-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .1em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}
