.wwl-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin: 20px auto;
  padding: 0 20px;
}

.wwl-jobboard .wwl-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin: 20px auto;
  padding: 0 20px;
}

.cf-higher-sponsors .wwl-gallery__item img, .cf-lower-sponsors .wwl-gallery__item img {
    width: 50%;
    aspect-ratio: 1 / 1;
        margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.cf-higher-sponsors .wwl-gallery__item, .cf-lower-sponsors .wwl-gallery__item{
  border: #000 solid 1px;
}
@media (min-width: 800px) {
  .success-stories-lp .wwl-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .success-stories-lp .wwl-gallery { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 899px) {
  .cf-higher-sponsors.wwl-gallery { grid-template-columns: repeat(1, 1fr); }
  .cf-lower-sponsors.wwl-gallery { grid-template-columns: repeat(1, 1fr); }
}

@media (min-width: 900px) {
  .cf-higher-sponsors.wwl-gallery { grid-template-columns: repeat(3, 1fr); }
  .cf-lower-sponsors.wwl-gallery { grid-template-columns: repeat(4, 1fr); }
  .wwl-gallery { grid-template-columns: repeat(4, 1fr); }
  .wwl-jobboard .wwl-gallery { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 500px) {
  .wwl-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 700px) {
  .wwl-gallery { grid-template-columns: repeat(3, 1fr); }
  .wwl-jobboard .wwl-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
  .wwl-gallery { grid-template-columns: repeat(5, 1fr); }
  .wwl-jobboard .wwl-gallery { grid-template-columns: repeat(4, 1fr); }
}

.wwl-gallery__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 15px;
  max-width: 300px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.wwl-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;  
  object-fit: cover;     
  object-position: top; 
  display: block;
  border-radius: 4px;    
}

.wwl-gallery__item--hor {
  grid-column: span 2;
}

.wwl-gallery__item--vert {
  grid-row: span 2;
}

.wwl-gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.wwl-basic-banner {
  width: 100%;
  height: 200px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wwl-basic-banner p {
  margin: 0;
  color: #000;
}

.wwl-gallery__label {
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  flex-shrink: 0; 
}

.jobboard .wwl-gallery__item img{
    width: 75%;
    height: 150px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 4px;
}