#p-body {
  gap: 0px;
}

.p-about {
  margin-top: 0px;
}

.parteners-content {
  margin-top: 85px;
  width: 100%;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  gap: 10px;
  overflow: hidden;
}

.parteners-content .tool-bar {
  width: 100%;
  padding-left: 10px;
  height: 40px;
  margin-top: 0px;
  margin-left: 0px;
}

.parteners-content h1 {
  margin-top: 10px;
  margin-bottom: 20px;
}

.p-card-wrapper {
  width: 98%;
  height: auto;
  display: grid;
  padding-left: 20px;
  padding-right: 20px;
  gap: 20px;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); */
  grid-template-columns: repeat(3, 1fr);
}

.p-card {
  height: 350px;
  width: 98.5%;
  border-radius: 5px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.37);
  display: flex;
  flex-direction: column;
}

.p-card-top {
  width: 100%;
  height: 40%;
  position: relative;
  display: flex;
  justify-content: center;
}

.p-card-top img {
  align-self: center;
  max-height: 85%;
  max-width: 85%;
  margin-top: 5px;
}

.p-name {
  position: absolute;
  bottom: 0;
  width: 90%;
  text-align: center;
  padding: 10px;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  background-color: var(--primary);
  font-weight: bold;
  font-size: 0.8rem;
  opacity: 0.9;
  cursor: pointer;
}

.p-card-bottom {
  width: 100%;
  height: 60%;
  border-top: 1px solid var(--secondary);
  padding: 15px;
  padding-top: 20px;
}

.p-info{
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-web{
  text-align: center;
   font-size: 0.9rem;
   color: var(--primary);
   font-weight: bold;
}

@media (max-width: 961px) {

  .p-card-wrapper {
    width: 95%;
    padding-left: 0;
    padding-right: 0;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 550px) {

  .p-card-wrapper {
    width: 95%;
    padding-left: 0;
    padding-right: 0;
    gap: 10px;
    grid-template-columns: repeat(1, 1fr);
  }
  
}
