#pk_flex_content .flex_layout.brands {
  max-width: 100%;
  position: relative;
  margin-bottom: clamp(80px, 10vw, 200px);
}

.flex_layout.brands .brands-section {
  color: var(--white);
}

.flex_layout.brands .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(42px, 5vw, 70px);
}

.flex_layout.brands .intro-text__wrapper {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 125%;
  margin-top: 22px;
}

/* filter dropdown */
.flex_layout.brands .pk-filter__col {
  display: none;
  position: relative;
  max-width: 205px;
  width: 100%;
}

.flex_layout.brands .pk-filter__col button.btn {
  width: 100%;
  text-align: left;
  color: white;
  padding: 0;
  padding-bottom: 10px;
  border: unset;
  border-radius: unset;
  border-bottom: 1px solid;
  background: transparent;
}

.flex_layout.brands .pk-filter__col button.btn:hover,
.flex_layout.brands .pk-filter__col button.btn:focus {
  color: white;
  border: unset;
  border-bottom: 1px solid;
}

.flex_layout.brands .pk-filter__col select {
  width: 100%;
  color: white;
  padding-bottom: 10px;
  border: unset;
  border-bottom: 1px solid white;
  background: transparent;
}

.flex_layout.brands .grid-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.flex_layout.brands .grid-wrapper .grid-item {
  padding: 40px 20px;
  color: var(--white);
  border: 0.74px solid #e1eae840;
  border-radius: 15px;
  background: #e1eae81a;
  backdrop-filter: blur(22.15538787841797px);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.flex_layout.brands .grid-wrapper .grid-item:hover {
  border: 0.74px solid rgba(225, 234, 232, 0.749);
}

.flex_layout.brands .grid-wrapper .grid-item .grid-item__inner {
  text-align: center;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 2.5vw, 45px);
  width: 100%;
  height: 100%;
}

.flex_layout.brands .grid-wrapper .grid-item .item-image {
  max-width: 160px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  /* margin-bottom: clamp(32px, 2.5vw, 70px); */
}

.flex_layout.brands .grid-wrapper .grid-item .item-image img {
  width: 100%;
  height: auto;
}

.flex_layout.brands .grid-wrapper .grid-item .item-head {
  margin-bottom: 20px;
}

.flex_layout.brands .grid-wrapper .grid-item .item-head h3 {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
}
.flex_layout.brands .grid-wrapper .grid-item .item-body {
  font-size: 16px;
  min-height: 72px;
}

.flex_layout.brands .grid-wrapper .grid-item .secondary-btn {
  margin: 0 auto;
  margin-top: 32px;
}

/* content styling */
/* body .flex_layout.brands dialog {
  margin-top: 100px;
} */
body .flex_layout.brands dialog[open] {
  animation: openDialog 0.5s ease normal;
  -webkit-animation: openDialog 0.5s ease normal;
}

body .flex_layout.brands dialog.hideDialog {
  animation: closeDialog 0.5s ease normal;
  -webkit-animation: closeDialog 0.5s ease normal;
}
.flex_layout.brands .popup-content__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
  align-items: center;
}

.flex_layout.brands .popup-content__wrapper .content-left {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.flex_layout.brands .popup-content__wrapper .content-left img {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 507/598; */
  /* object-fit: cover; */
  border-radius: 15px;
  overflow: hidden;
}

.flex_layout.brands .popup-content__wrapper .content-right {
  margin-top: 42px;
  position: relative;
}

.flex_layout.brands .popup-content__wrapper .content-right .logo {
  max-width: 206px;
  margin-bottom: clamp(32px, 4.5vw, 50px);
}

.flex_layout.brands .popup-content__wrapper .content-right h2 {
  font-size: clamp(32px, 4.5vw, 40px);
  margin-bottom: 18px;
}

.flex_layout.brands .content-right .content-wrapper {
  max-height: 340px;
  /* height: 100%; */
  padding-right: clamp(20px, 5vw, 40px);
  overflow: hidden;
  overflow-y: auto;
}

/*  scrollbar styling*/
.flex_layout.brands .content-right .content-wrapper::-webkit-scrollbar {
  width: 1.5px;
}

.flex_layout.brands .content-right .content-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
}

.flex_layout.brands .content-right .content-wrapper::-webkit-scrollbar-thumb {
  background-color: black;
  background: #a58fff;
}

/* Firefox ondersteuning */
/* .flex_layout.brands .content-right .content-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #a58fff rgba(255, 255, 255, 0);
} */

.flex_layout.brands .popup-content__wrapper .button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* position: absolute;
  bottom: 0; left: 0; z-index: 2;
  translate: 0 calc(100% + 20px);
  margin-top: 0px; */
}

.flex_layout.brands .popup-content__wrapper .content-right .button_1 {
  color: var(--white);
  border: 1px solid var(--black);
  background: var(--black);
}

.flex_layout.brands .popup-content__wrapper .content-right .button_2 {
  color: var(--black);
  border: 1px solid var(--black);
}

.flex_layout.brands .popup-content__wrapper .content-right .button_2:hover {
  color: var(--white);
  border: 1px solid var(--black);
  background: var(--black);
}

@media screen and (min-width: 608px) {
  .flex_layout.brands .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .flex_layout.brands .grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .flex_layout.brandsdialog > button {
    color: var(--black);
    border: 1px solid rgba(40, 40, 40, 1);
    background: none;
  }

  .flex_layout.brands .popup-content__wrapper {
    grid-template-columns: 1fr 1fr;
    column-gap: 74px;
    align-items: center;
  }

  .flex_layout.brands .popup-content__wrapper .content-right {
    margin-top: 0;
  }
}

/* Desktop Small */
@media screen and (min-width: 990px) {
  .flex_layout.brands .section-heading .heading-inner {
    grid-column: 1/8;
  }
  .flex_layout.brands .intro-text__wrapper {
    max-width: 420px;
  }
  .flex_layout.brands .grid-wrapper {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .flex_layout.brands .grid-wrapper .grid-item {
    padding: 77px 25px 40px 25px;
  }

  .flex_layout.brands .grid-wrapper .grid-item .item-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
