.partner-item {
  width: 100%;
  display: flex;
  padding: 12px;
  align-items: flex-start;
}

.partner-item:not(:last-of-type) {
  border-bottom: 1px solid var(--gray);
}

.partner-item:hover {
  cursor: pointer;
}

.partner-item p {
  transition: 0.3s;
}

.partner-item:hover p {
  color: var(--primary);
}

.partner-item__text-container {
  padding: 15px 25px 15px;
  flex-shrink: 1;
}

.partner-item__image-container {
  flex-shrink: 0;
  width: 33%;
}

.partner-item__image-container img {
  width: 100%;
}

@media (max-width: 767px) {
  .partner-item {
    padding: 12px 20px;
    flex-direction: column;
  }

  .partner-item__image-container {
    flex-shrink: 0;
    width: 100%;
  }

  .partner-item__text-container {
    padding: 15px 7px 15px;
  }

  .partner-item {
    border-bottom: 1px solid var(--gray);
  }
}
