.homepage-sections__item {

}
/* firsttop_small */
/* S8dl&R*N */
.homepage-sections__item a {
  height: 209px;
  color: var(--text-black);
  font-size: 14px;
  line-height: 16px;
  padding: 8px 0 0;
  /*padding: 8px 10px 0 8px ;*/
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  /*height: 100%;*/
  box-sizing: border-box;
  background-color: #fff;
  transition: background-color .2s linear, border-color .2s linear;
  border-radius: 8px;
  border: 1px solid var(--stroke-grey);
}

.homepage-sections__item a:hover {
  /*background-color: var(--inactive-grey);*/
  background-color: var(--inactive-grey-new);
  border-color: transparent;
}
.homepage-sections__item span {
  flex-shrink: 0;
  padding: 0 10px 0 8px;
}
.homepage-sections__item img {
  flex-grow: 1;
  flex-shrink: 1;
  height: 150px;
  max-height: 150px;
  overflow: hidden;
  object-fit: contain;
  /*margin-top: 16px;*/
}

@media (max-width: 920px) {
  .homepage-sections__item a {
    height: 131px;
    padding: 5px 6px 0 5px ;
    gap: 5px;
    font-size: 10px;
    line-height: 12px;
    overflow: hidden;
  }
  .homepage-sections__item img {
    height: 95px;
    max-height: 95px;
    /*margin-top: 16px;*/
  }
}

@media (max-width: 480px) {
  .homepage-sections__slider.swiper {
    overflow: visible;
  }
  .homepage-sections__item a {
    height: 90px;
    padding: 6px ;
    gap: 2px;
    font-size: 10px;
    line-height: 12px;
  }
  .homepage-sections__item img {
    height: 50px;
    max-height: 50px;
    /*margin-top: 16px;*/
  }
}