.partners-section {
  padding-block: 5em;
  padding-inline: 0.75em;
  text-align: center;
}
.partners-section h2{
  margin-block: 3rem 2rem;
}
.grid-1{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
}
.grid-2 h2:nth-of-type(1) {
  grid-row-start: 1;
  grid-column: 1/-1;
}
.grid-2 div:nth-of-type(1) {
  grid-row-start: 2;
  grid-column: 1/-1;
}
.grid-2 h2:nth-of-type(2) {
  grid-row-start: 3;
  grid-column-start: 1;
}
.grid-2 h2:nth-of-type(3) {
  grid-row-start: 3;
  grid-column-start: 2;
}
.partners-text ul{
  width: fit-content;
  margin-inline: auto;
  margin-block: 2rem;
  padding-left: 2rem;
  text-align: left;
}
.partners-text ul li{
  max-width: min(350px, 100%);
}
.partners-text ul + p {
  font-size: 1.5em;
}
.partners-wrapper {
  margin-block-start: 1em;
  margin-block-end: 1em;
  max-width: 1300px;
  margin-inline: auto;
}
.partners-wrapper div{
  display: flex;
  gap: 2em;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
}
.partners-wrapper div:not(:last-child){
  margin-bottom: 2rem;
}
.partners-2 {
  gap: 3em;
}
.partners-wrapper img {
  /* max-height: 3em; */
  max-width: 30vw;
  object-fit: contain;
}
@media screen and (min-width: 1025px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
  }
  .grid-2 h2:nth-of-type(1) {
    grid-row-start: 1;
    grid-column: 1/2;
  }
  .grid-2 div:nth-of-type(1) {
    grid-row-start: 2;
    grid-column: 1/2;
  }
  .grid-2 h2:nth-of-type(2) {
    grid-row-start: 1;
    grid-column-start: 2;
  }
  .grid-2 h2:nth-of-type(3) {
    grid-row-start: 1;
    grid-column-start: 3;
  }
  .grid-2 >div{
    flex-basis: 30%;
  }
  .partners-wrapper img {
    width: 200px;
    height: 100px;
    object-fit: contain;
  }
  .partners-wrapper.general-partner img {
    max-height: 10em;
  }
}

/*old*/
/* .partners-section {
  padding-block: 5rem;
  padding-inline: 0.75em;
  text-align: center;
  max-width: 1920px;
  margin-inline: auto;
}
.grid-1{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;

  align-items: center;
}
.grid-2 h2:nth-of-type(1) {
  grid-row-start: 1;
  grid-column: 1/-1;
}
.grid-2 div:nth-of-type(1) {
  grid-row-start: 2;
  grid-column: 1/-1;
}
.grid-2 h2:nth-of-type(2) {
  grid-row-start: 3;
  grid-column-start: 1;
}
.grid-2 h2:nth-of-type(3) {
  grid-row-start: 3;
  grid-column-start: 2;
}
.partners-wrapper {
  margin-block-start: 1em;
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: baseline;
  /* overflow-x: scroll; */
  flex-wrap: wrap;
  margin-block-end: 1em;
}
.partners-wrapper > div{
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: baseline;
  /* overflow-x: scroll; */
  flex-wrap: wrap;
}
.partners-2 {
  gap: 3em;
}
.partners-wrapper img {
  max-height: 3em;
  max-width: 30vw;
}
@media screen and (min-width: 1025px) {
  .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
  .grid-2 h2:nth-of-type(1) {
    grid-row-start: 1;
    grid-column: 1/2;
  }
  .grid-2 div:nth-of-type(1) {
    grid-row-start: 2;
    grid-column: 1/2;
  }
  .grid-2 h2:nth-of-type(2) {
    grid-row-start: 1;
    grid-column-start: 2;
  }
  .grid-2 h2:nth-of-type(3) {
    grid-row-start: 1;
    grid-column-start: 3;
  }
  .partners-wrapper img {
    max-height: 5em;
  }
} */
/*old*/