.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.brand-container {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  width: calc(50% - 0.8em);
  border-radius: 25px;
}

.brand-container:hover {
  /*box-shadow: 0 0 10px rgba(0,0,0,.15);*/
  transform: scale(1.02);
}

.brands-heading {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 20px;
  font-family: var(--wd-title-font);
}

.brands-heading > span {
  font-weight: bold;
  font-size: 1.5rem;
  color: #333;
}

.img-container img {
  border-radius: 25px!important;
}

.label-rounded {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-weight: bold;
  opacity: .8;
  line-height: 32px;
}

.name-container {
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
}

#nav-bar-brands {
  text-align: center;
  position: sticky;
  background-color: #fff;
  z-index: 2;
  border-radius: 25px;
}

.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  list-style: none;
  padding: 0.4em;
  flex-wrap: wrap;
  margin: 0;
}

.page-numbers li {
    margin: 0!important;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    transition: background-color 0.2s ease;
    border-radius: 1rem;
    font-family: var(--wd-title-font);
    font-size: 0.9rem;
}

.page-numbers li.active{
  color: #fff;
}

.page-numbers li.active a {
  color: #fff!important;
}

.website-wrapper {
  overflow: initial!important;
}

@media all and (min-width: 768px) {
  .brand-container {
    width: calc(calc(100% / 6) - 0.8em);
  }
}

@media all and (max-width: 768px) {
  #nav-bar-brands {
    margin-left: -1.65em;
    margin-right: -1.65em;
  }
}