.hlp-brands-section .sec-heading {
  margin-bottom: 32px;
}

.hlp-brands-section .sec-heading p {
  max-width: 740px;
  margin: 18px auto 0;
}

.hlp-brands-section .hlp-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.hlp-brands-section .client-item {
  width: 100%;
  padding: 0;
  min-width: 0;
}

.hlp-brands-section .client-logo {
  width: 100%;
  height: 224px;
  padding: 18px 14px 14px;
  display: grid;
  grid-template-rows: 112px 44px 20px;
  align-content: center;
  justify-content: stretch;
  gap: 6px;
  text-align: center;
  border: 1px solid var(--tj-color-border-1);
  color: var(--tj-color-theme-dark);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(12, 30, 33, .035);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.hlp-brands-section .hlp-brand-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  overflow: hidden;
}

.hlp-brands-section .hlp-brand-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hlp-brands-section .client-logo:hover,
.hlp-brands-section .client-logo:focus-visible {
  border-color: var(--tj-color-theme-primary);
  color: var(--tj-color-theme-primary);
  box-shadow: 0 6px 20px rgba(12, 30, 33, .08);
}

.hlp-brands-section .client-logo:focus-visible {
  outline: 2px solid var(--tj-color-theme-primary);
  outline-offset: 3px;
}

.hlp-brands-section .hlp-brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hlp-brands-section .hlp-brand-status {
  font-size: 12px;
  line-height: 1.3;
  color: var(--tj-color-theme-primary);
  min-height: 20px;
}

@media (max-width: 991px) {
  .hlp-brands-section .hlp-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hlp-brands-section .hlp-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hlp-brands-section .hlp-brand-name {
    font-size: 14px;
  }

  .hlp-brands-section .client-logo {
    height: 208px;
    padding: 12px 10px;
    grid-template-rows: 104px 44px 20px;
  }

  .hlp-brands-section .hlp-brand-image {
    height: 104px;
  }
}

@media (max-width: 359px) {
  .hlp-brands-section .hlp-brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
