.kontent-brand {
  max-width: 120rem;
  width: 100%;
  margin: 0 auto;
  padding-top: 2rem;
}
.kontent-brand-container {
  max-width: 106.25rem;
  width: 100%;
  margin: 0 auto;
}
.kontent-brand-head h1 {
  margin: 0;
  color: #636363;
  font-size: 4rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.kontent-brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 5.75rem;
  margin-bottom: 8rem;
}
.kontent-brand-list .item {
  border: 1px solid #e7e7e7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25.625rem;
  height: 18.75rem;
  background: transparent;
  transition: background-color 0.4s cubic-bezier(0.25, 0.74, 0.22, 0.99), border-color 0.4s cubic-bezier(0.25, 0.74, 0.22, 0.99), box-shadow 0.4s cubic-bezier(0.25, 0.74, 0.22, 0.99);
}
.kontent-brand-list .item img {
  width: 18.75rem;
  height: 15.625rem;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.4s cubic-bezier(0.25, 0.74, 0.22, 0.99), opacity 0.4s cubic-bezier(0.25, 0.74, 0.22, 0.99);
}
.kontent-brand-list .item:hover, .kontent-brand-list .item:focus-visible {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 1.5rem 3rem rgba(28, 26, 25, 0.08);
}
.kontent-brand-list .item:hover img, .kontent-brand-list .item:focus-visible img {
  filter: none;
  opacity: 1;
}
@media (max-width: 991px) {
  .kontent-brand {
    padding: 2rem 1.25rem 0;
  }
  .kontent-brand-head h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
  }
  .kontent-brand-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
  }
  .kontent-brand-list .item {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 41/30;
  }
  .kontent-brand-list .item img {
    width: 80%;
    height: 84%;
    max-width: 100%;
  }
}
@media (max-width: 575px) {
  .kontent-brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
  }
}