.brand-slider {
  display: flex;
  flex-direction: column-reverse;
  /* margin-bottom: 100px; */
  position: relative;
}

.brand-slider__content .brand-slider {
  cursor: none;
}

.brand-slider #cursor {
  background-image: url(../../images/hero-slider-cursor.png);
  background-size: cover;
  height: 100px;
  width: 100px;
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 2;
  cursor: none;
}

.brand-slider__column {
  height: 80%;
  max-height: 470px;
  min-height: 200px;
  overflow: hidden;
  border-bottom: 1px solid #BEBFC0;
  display: flex;
  justify-content: end;
}


.brand-slider__column > div {
  position: relative;
  align-items: center;
  padding: 50px 0;
  transform: rotate(90deg);
  height: 100%;
}

.brand-slider__column > div > div {
  height: 300px;
  position: absolute;
}

.brand-slider__column .paragraph--type--brand-slide-first, .brand-slider__column .paragraph--type--brand-slide-second {
  align-items: center;
  display: flex;
  justify-content: center;
  width: 115px;
  transform: rotate(-90deg);
}

.brand-slider__column .paragraph--type--brand-slide-first img, .brand-slider__column .paragraph--type--brand-slide-second img{
  width: 100%;
  height: 100%;
}

.brand-slider__buttons {
  align-items: center;
  background: var(--brand-color);
  border-radius: 50%;
  display: none;
  height: 75px;
  justify-content: center;
  position: absolute;
  right: calc(50% - 35px);
  top: 163px;
  width: 75px;
}

.brand-slider__button {
  background: none;
  border: 0;
  color: #fff;
  height: 100%;
  padding: 0;
  width: 100%;
  cursor: pointer;
}

.brand-slider__button::after {
  align-items: center;
  display: flex;
  font-family: "Font Awesome\ 5 Free";
  font-size: 25px;
  font-weight: 600;
}

.brand-slider__button--prev::after {
  content: "\f104";
  justify-content: flex-end;
}

.brand-slider__button--next::after {
  content: "\f105";
  justify-content: flex-start;
}

.brand-slider__icon {
  display: flex;
  justify-content: flex-end;
}

.brand-slider__icon::before {
  background: url(../../images/brand-slider-icon.svg) center no-repeat;
  background-size: cover;
  content: " ";
  display: inline-block;
  height: 40px;
  width: 40px;
}

.brand-slider__right {
  background: linear-gradient(138deg, #092027 16.38%, #003A4A 118.34%);
  color: var(--light-color);
  overflow: hidden;
  padding: 70px 16px 80px;
  position: relative;
}

.brand-slider__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 40px;
  margin: 42px 0 46px;
}

.brand-slider__title h2, .brand-slider__title h3 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.brand-slider__body {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.48px;
  line-height: 28px;
}

.brand-slider__body p {
  margin: 0;
}

.brand-slider__label {
  color: var(--bg-brand-color);
  display: grid;
  font-size: 14px;
  font-weight: 400;
  height: 300px;
  overflow: hidden;
  place-items: center;
  position: absolute;
  right: -114px;
  text-decoration: none;
  top: -60px;
  width: 300px;
}

.brand-slider__label .text-circle {
  height: 100%;
  margin: 0;
  width: 100%;
}

.brand-slider__label span {
  opacity: 0.05;
  position: absolute;
  top: 0;
  transform-origin: 0 150px;
}

@media only screen and (min-width: 768px) {
  /* .brand-slider {
    margin-bottom: 140px;
  } */

  .brand-slider__buttons {
    right: calc(25% - 35px);
  }

  /* .brand-slider__column .paragraph--type--brand-slide-first, .brand-slider__column .paragraph--type--brand-slide-second {
    width: 50%;
  } */

  .brand-slider__icon::before {
    height: 50px;
    width: 50px;
  }

  .brand-slider__right {
    padding: 130px 115px 100px;
  }

  .brand-slider__title {
    font-size: 48px;
    letter-spacing: -2.4px;
    line-height: 50px;
    margin: 22px 0 52px;
  }

  .brand-slider__body {
    font-size: 18px;
    letter-spacing: -0.54px;
    line-height: 35px;
  }

  .brand-slider__label {
    top: 5px;
    right: -10px;
  }
}

@media only screen and (min-width: 1024px) {
  .brand-slider {
    flex-direction: row;
    /* margin-bottom: 160px; */
  }

  .brand-slider__column {
    border-bottom: 1px solid rgb(190 191 192 / 30%);
    border-right: 1px solid rgb(190 191 192 / 30%);
    border-top: 1px solid rgb(190 191 192 / 30%);
    max-height: fit-content;
  }
  .brand-slider__column > div > div {
    width: 100%;
  }

  .brand-slider__column > div {
    transform: rotate(0);
    width: 100%;
    padding: 0;
  }

  .brand-slider #cursor{
    transform: rotate(90deg);
  }

  .brand-slider__content, .brand-slider__right {
    flex: 0 0 50%;
    padding: 0;
  }

  .brand-slider__column--left, .brand-slider__column--right {
    flex: 0 0 50%;
    height: 100%;
    /* width: 50%; */
  }

  .brand-slider__content {
    display: flex;
    flex: 0 0 50%;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .brand-slider__content .flickity-enabled {
    align-items: center;
    display: flex;
    height: 100%;
  }

  .brand-slider__content .flickity-viewport {
    transform: rotate(90deg);
    width: 100%;
  }

  .brand-slider__right {
    padding: 175px 65px 165px;
  }

  .brand-slider__column .paragraph--type--brand-slide-first, .brand-slider__column .paragraph--type--brand-slide-second {
    transform: rotate(0);
    margin: 0 auto;
    width: 130px;
  }

  .brand-slider__column img {
    object-fit: contain;
  }

  .brand-slider__title{
    margin: 22px 0 102px;
  }

  .brand-slider__buttons {
    flex-direction: column;
    right: calc(50% - 35px);
    top: calc(50% - 50px);
  }

  .brand-slider__button--prev::after, .brand-slider__button--next::after {
    height: 100%;
    justify-content: center;
  }

  .brand-slider__button--prev::after {
    align-items: flex-end;
    content: "\f077";
  }

  .brand-slider__button--next::after {
    align-items: flex-start;
    content: "\f078";
  }

  .brand-slider__label {
    right: -60px;
    top: 51px;
  }
}

@media only screen and (min-width: 1366px) {
  .brand-slider__right {
    padding: 179px 116px 200px;
  }

  .brand-slider__title {
    font-size: 51px;
    letter-spacing: -2.06px;
    line-height: 55px;
    margin: 23px 0 50px;
  }

  .brand-slider__label {
    top: 54px;
    right: -9px;
  }

  .brand-slider__column .paragraph--type--brand-slide-first, .brand-slider__column .paragraph--type--brand-slide-second {
    width: 130px;
  }
}

@media only screen and (min-width: 1920px) {
  .brand-slider__right {
    padding: 235px 180px 305px;
  }

  .brand-slider__title {
    font-size: 62px;
    letter-spacing: -2.48px;
    line-height: 66px;
    margin: 50px 0 46px;
  }

  .brand-slider__body {
    font-size: 20px;
    letter-spacing: -0.6px;
    line-height: 40px;
  }

  .brand-slider__label {
    top: 110px;
    right: 55px;
  }
  .brand-slider__column .paragraph--type--brand-slide-first, .brand-slider__column .paragraph--type--brand-slide-second {
    width: 140px;
  }
}
