* {
  /* margin: 0;
  padding: 0; */
  box-sizing: border-box;
}

.brand__wrapper {
  max-width: 1616px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.brand__title {
  margin: 0;
  margin-bottom: 20px;
  font-size: 24px;
}

.brand__carousel {
  overflow: hidden;
}

.brand__link {
  padding: 10px 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  border: 1px solid #000;
  color: #000;
}

.brand__list {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
}
.brand__list::-webkit-scrollbar {
  display: none;
}

.brand__item {
  width: calc((100% - 50px) / 5.3);
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
}

.article__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}
.article__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  font-size: 0;
}

.article__title {
  width: 60%;
  min-width: 160px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 25px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: white;
  border-radius: 20px;
  background-color: black;
  z-index: 5;
}

.prevBtn,
.nextBtn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  height: 50px;
  width: 50px;
  padding: 10px 20px;
  transform: translateY(-50%);
  color: black;
  border: 0;
  font-size: 0;
  border-radius: 100%;
  background: white;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.09);
  transition: background-color 250ms ease-out;
}
.prevBtn:hover,
.nextBtn:hover {
  color: white;
  background: rgb(58, 68, 95);
}
.prevBtn::before {
  content: "\e908";
  font-family: "apollo" !important;
  font-size: 20px;
  line-height: 1.2;
}
.nextBtn::before {
  content: "\e90e";
  font-family: "apollo" !important;
  font-size: 20px;
  line-height: 1.2;
}

.prevBtn {
  left: 0px;
}
.nextBtn {
  right: 0px;
}

@media (max-width: 1024px) {
  .brand__item {
    width: calc((100% - 50px) / 4.3);
  }
  .article__title {
    font-size: 14px;
    padding: 10px 15px;
    text-wrap: nowrap;
    width: 90%;
    min-width: auto;
  }
}
@media (max-width: 767px) {
  .brand__item {
    width: calc((100% - 40px) / 3.3);
  }
}
@media (max-width: 650px) {
  .brand__item {
    width: calc((100% - 30px) / 2.3);
  }
}
@media (max-width: 500px) {
  .brand__item {
    width: calc((100% - 20px) / 1.3);
  }
  .brand__list {
    overflow-x: scroll !important;
  }
  .prevBtn,
  .nextBtn {
    display: none;
  }
}
