.our-partners {
  padding: 2rem;
  max-width: 1280px;
  margin: 7rem auto 0;
}

.our-partners-header {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.our-partners-header h1 {
  margin-right: 2rem;
}

.our-partners-header img {
  width: 112px;
  order: -1;
  margin-bottom: 1rem;
}

.our-partners-title {
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  color: #292C5F;
  margin-top: 3rem;
}

.our-partners h1 {
  font-size: var(--font-FS-2, 4.1875rem);
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  color: #292C5F;
}

.our-partners-desc {
  margin-bottom: 5rem;
}

.our-partners-box {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
}

.our-partners-logo {
  margin-bottom: 2rem;
}

.our-partners-logo > img {
  display: block;
  /* margin: 0 auto; */
  padding: 2rem 0 3rem 0;
  width: 60%;
  max-height: 220px;
}

.our-partners-logo button {
  background-color: #E83D45;
  border-radius: 20px;
  padding: 0 0.2rem;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.our-partners-logo button a {
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  margin: 0.65rem 3rem 0.65rem 1rem;
}

.our-partners-sm a {
  text-decoration: none;
}

.our-partners-sm {
  margin-top: 0.4rem;
}

.our-partners-desc {
  font-weight: 300;
}

.our-partners-desc p {
  margin-bottom: 0.5rem;
  line-height: 150%;
}

.our-partners-desc li {
  line-height: 150%;
}

.our-partners-mainsp,
.our-partners-sp,
.our-partners-partn,
.our-partners-phonor,
.our-partners-pmar {
  border-bottom: 1px solid rgb(196, 196, 196);
}

@media(min-width: 576px) {
  .our-partners-header {
    flex-direction: row;
  }

  .our-partners-header img {
    width: 144px;
    order: 0;
    margin-top: 0;
  }
}

@media (min-width: 768px) {

  .our-partners-title {
    font-size: 1.7rem;
  }

  .our-partners-box {
    flex-direction: row;
  }

  .our-partners-desc {
    margin-left: 1rem;
    width: 66.7%;
   }

  .our-partners-logo {
    width: 33.3%;
  }

  .our-partners-logo > img {
    padding: 2rem 0 4rem 0;
  }
}

@media(min-width: 992px) {
  .our-partners-desc {
    column-count: 2;      /* liczba kolumn */
    column-gap: 2rem;     /* odstęp między kolumnami */
  }
}

.our-partners-pmed .our-partners-box {
  align-items: center;
  align-self: stretch;
  justify-content: space-around;
}

.our-partners-pmed .our-partners-box a {
  flex: 1;
  text-align: center;
}

.our-partners-pmed .our-partners-box img {
  width: 150px;
  max-width: 80%;
}


.our-partners-pmar .our-partners-box {
  align-items: center;
  align-self: stretch;
  justify-content: space-around;
  padding: 2rem;
}

.our-partners-pmar .our-partners-box a {
  flex: 1;
  text-align: center;
}

/* .our-partners-pmar .our-partners-box img {
  width: 150px;
  max-width: 80%;
} */
