.partner-photo {
  width: 120px;
  height: 120px;
  padding: 18px;
  border-radius: 18px;
  border: 4px solid #f2f5fa;
  box-shadow: 0 4px 18px -4px rgba(6,16,42,.10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .14s, border-color .18s, transform .12s;
  margin-bottom: 8px;
}
.partner-photo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
  background: none;
  border-radius: 6px;
}

.entrepreneur-card:focus-visible {
  border-color: #005ca9 !important;
  outline: 3px solid rgba(0, 92, 169, .22);
  outline-offset: 3px;
}

@media (hover: hover) {
  .partner-photo:hover {
    border-color: #005CA9 !important;
    box-shadow: 0 8px 28px -2px rgba(0,92,169,.16);
    transform: scale(1.035);
  }
}

@media (max-width: 700px) {
  .content-photos.entrepreneur-grid {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    padding-top: 8px;
  }

  .content-photos.entrepreneur-grid .entrepreneur-card {
    background: #fff;
    border: 1px solid #d9e2ec !important;
    border-radius: 6px;
    box-shadow: 0 5px 18px rgba(6, 16, 42, .09);
    box-sizing: border-box;
    display: flex;
    height: 140px;
    justify-content: center;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 14px 12px 12px;
    text-decoration: none;
    transform: none;
    width: 100%;
  }

  .content-photos.entrepreneur-grid .entrepreneur-card:hover {
    transform: none;
  }

  .content-photos.entrepreneur-grid .entrepreneur-card img {
    align-self: center;
    height: 100px;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    transform: none;
    width: 100%;
  }

}

@media (max-width: 340px) {
  .content-photos.entrepreneur-grid {
    gap: 10px;
  }

  .content-photos.entrepreneur-grid .entrepreneur-card {
    height: 132px;
    padding-left: 9px;
    padding-right: 9px;
  }
}
