section.block-regions-product-list {
  overflow: visible;
}
.region-list-wrapper {
  width: 100%;
}
.berje-capsule-top {
  position: sticky;
  top: 110px;
  z-index: 99;
}
.berje-capsule-wrapper {
  display: flex;
  background: var(--c-light-green);
  border-radius: var(--radius-200);
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 10px 12px;
  justify-content: space-between;
}
.berje-capsule-wrapper li {
  width: 25%;
  text-align: center;
  padding: 10px 12px;
}
.berje-capsule-wrapper li a {
  color: var(--c-text-light);
  text-decoration: none;
  padding: 10px;
}
.berje-capsule-wrapper li:hover,
.berje-capsule-wrapper li.berje-is-active {
  background: var(--c-text-light);
  border-radius: var(--radius-200);
}
.berje-capsule-wrapper li:hover a,
.berje-capsule-wrapper li.berje-is-active a {
  color: var(--c-dark-purple);
}
.card-block {
  border-radius: var(--radius-30);
  padding: 55px 55px;
  overflow: hidden;
  align-self: stretch;
}
.region-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.region-list > h2 {
  position: relative;
  align-items: end;
  display: flex;
  gap: 35px;
  line-height: 0.7;
  margin-top: var(--d-space-100);
  width: 100%;
}
.region-list > h2::after {
  content: "";
  background: rgba(31, 30, 60, 0.15);
  flex-grow: 1;
  height: 1px;
}
.region-title {
  justify-content: space-between;
}
.region-title .color-white {
  color: var(--c-text-light);
}
.pill {
  font-size: smaller;
  padding: 10px 16px;
  display: inline-block;
  border-radius: 200px;
  line-height: 1;
  width: max-content;
}
.region-title-wrapper {
  border-bottom: 1px solid rgba(31, 30, 60, 0.15);
  padding-bottom: 48px;
  margin-bottom: 54px;
  gap: 24px;
}
.region-title-wrapper .color-white {
  color: var(--c-text-light);
}
.region-description-wrapper h6 {
  margin-bottom: 20px;
  font-weight: 500;
}

.region-description-wrapper p {
  margin-bottom: 20px;
}
.region-description h6:first-of-type {
  margin-bottom: 20px;
}
.region-description h6:nth-of-type(2) {
  margin-bottom: 20px;
}
.region-description p:nth-of-type(1) {
  margin-bottom: 20px;
}
.region-description p:nth-of-type(2) {
  margin-bottom: 50px;
}
.region-description p:nth-of-type(3) {
  margin-bottom: 20px;
}
.region-description-wrapper > div {
  flex-basis: 50%;
  flex-grow: 1;
}
.berje-popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999999;
  background-color: var(--c-text-light);
  padding: 40px;
  width: 100%;
  max-width: var(--page-size);
  max-height: 90vh;
  min-height: 300px;
  height: auto;
  /* overflow-y: auto; */
  overflow: hidden;
  border-radius: 10px;
  /* display: flex;
  flex-direction: column; */
}
.berje-popup-content ul.image-grid-fields {
  overflow-y: auto;
  height: auto;
  max-height: calc(90vh - 80px);
  margin: 0;
  box-sizing: border-box;
}
.region-gallery .image-grid.image-grid-fields li {
  grid-column: span 2;
  max-height: 150px;
  height: 220px;
}
.berje-popup-content ul.image-grid-fields li {
  max-height: 365px;
  height: 365px;
}
.region-gallery .image-grid.image-grid-fields li .grid-hover a {
  background-position: center 0px;
  padding: 30px 0px 5px 0;
}
.region-gallery .image-grid.image-grid-fields li:hover .grid-hover a {
  transition-delay: 0.1s;
  transform: translateY(0);
  opacity: 1;
}
.region-gallery a.btn {
  display: none;
}
@media screen and (max-width: 991px) {
  .image-grid li img {
    max-width: 100%;
    width: 100%;
  }
  .region-title-wrapper {
    padding: 0 0 30px 0;
    margin-bottom: 30px;
  }
  .region-gallery .image-grid.image-grid-fields li {
    max-height: 150px;
    height: 100px;
  }
  .region-list {
    gap: 40px;
  }
  .region-list > h2 {
    margin-top: var(--d-space-60);
  }
  .card-block {
    padding: 30px 25px;
  }
  .berje-capsule-wrapper {
    overflow-x: scroll;
  }
  .berje-capsule-wrapper li {
    width: 100%;
    white-space: nowrap;
  }
  .region-description-wrapper,
  .region-title {
    flex-direction: column;
  }
  .region-title a.btn {
    display: none;
  }
  .region-gallery .color-white {
    color: var(--c-text-light);
  }
  .region-gallery a.btn {
    display: block;
    margin-top: 20px;
    width: 100%;
  }
}
