h1 {
  text-shadow: 1px 1px 0 #6dcb0d, -1px -1px 0 #6dcb0d, 1px -1px 0 #6dcb0d, -1px 1px 0 #6dcb0d;
}

.brands__item-img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 0 auto 76px;
  max-width: 100%;
  width: 297px;
  border-radius: 30px;
  height: 297px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(150, 150, 178, .25);
  background-color: #000;
}

.brands__item-img img {
  width: 100%;
  height: auto;
}

.brands-posts .description {
  font-size: 20px;
}

.brand-item {
  position: relative;
}

.brand_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.brand-item *:not(.brand_overlay, .flag-item) {
  background-color: #000;
  color: #fff;
}


.brands-container-wrap {
  border-radius: 16px;
}

.brand-item .logo-wrap {
  border-radius: 16px 0 0 16px;
}

.brand-item .brand-content-wrap,
.brand-item .brand-content-wrap .brand-item-column {
  border-radius: 0 16px 16px 0;
}


@media (max-width: 768px) {
  .posts-info .brands .brands__item {
    width: 100%;
    min-width: 360px;
  }
}

@media (max-width: 526px) {
  .posts-info .brands .brands__item {
    min-width: 230px;
  }
  .brands__item-img {
    margin-bottom: 20px;
    width: 100%;
    height: 230px;
  }
  .posts-info .brands .brands__description {
    width: 100%;
    font-size: 18px;
  }
}