/* stylelint-disable */
/* stylelint-enable */
.cb-photo-gallery {
  --_photo-gallery-gap: var(--gap-sm);
}
.cb-photo-gallery .field-cb-media-unlimited a {
  position: relative;
}
.cb-photo-gallery .field-cb-media-unlimited a:after {
  content: "\e01b";
  content: "\e01b"/"";
  position: absolute;
  right: var(--gap-xs);
  bottom: var(--gap-xs);
  font-family: "iconfont";
  font-size: 1rem;
  display: inline-flex;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
  color: hsl(var(--clr-spot-1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
}
.cb-photo-gallery .field-cb-media-unlimited a::after {
  width: 1.875rem;
  height: 1.875rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.125rem;
  background: hsl(var(--clr-white));
  pointer-events: none;
  opacity: 0.75;
}

.cb__intro--photo-gallery {
  max-width: var(--max-width-inner);
  margin-inline: auto;
  text-align: center;
}

.cb__content--photo-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gap-cb-inner-vert) 0;
}

.cb-photo-gallery--vm-photo-gallery-grid .field__items--name-field-cb-media-unlimited {
  display: grid;
  gap: var(--_photo-gallery-gap);
}

.cb-photo-gallery--vm-photo-gallery-masonry .field__items--name-field-cb-media-unlimited {
  margin-top: calc(var(--_photo-gallery-gap) * -1);
}
.cb-photo-gallery--vm-photo-gallery-masonry .field__item--name-field-cb-media-unlimited {
  top: 0;
  left: 0;
  width: 100%;
  padding-top: var(--_photo-gallery-gap);
}

.has--load-more .field__item--name-field-cb-media-unlimited:nth-child(n+7) {
  display: none;
}
.has--load-more .field__item--name-field-cb-media-unlimited.is--visible {
  display: block;
}

.field-cb-photo-gallery-load-more {
  margin-inline: auto;
  cursor: pointer;
  display: inline-block;
  border: 0 none;
  border-radius: 0.3125rem;
  padding: 0.6875rem 1.875rem;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: var(--fw-normal);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  background: hsl(var(--clr-button-bg));
  background-repeat: no-repeat;
  transition-property: background, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
}
.field-cb-photo-gallery-load-more, .field-cb-photo-gallery-load-more:visited {
  color: hsl(var(--clr-button));
}
.field-cb-photo-gallery-load-more:is(:hover, :focus-visible, :active) {
  border: 0 none;
  color: hsl(var(--clr-button));
  background: hsl(var(--clr-button-hover-bg));
}
.field-cb-photo-gallery-load-more:is(.disabled, :disabled, [disabled]) {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}
.field-cb-photo-gallery-load-more .more {
  display: none;
}
.field-cb-photo-gallery-load-more .less {
  display: block;
}
.has--visible-items .field-cb-photo-gallery-load-more .more {
  display: block;
}
.has--visible-items .field-cb-photo-gallery-load-more .less {
  display: none;
}

@media (min-width: 480px) {
  .cb-photo-gallery--vm-photo-gallery-grid .field__items--name-field-cb-media-unlimited {
    grid-template-columns: repeat(2, 1fr);
  }
  .cb-photo-gallery--vm-photo-gallery-masonry .field__items--name-field-cb-media-unlimited {
    margin-right: calc(var(--_photo-gallery-gap) / -2);
    margin-left: calc(var(--_photo-gallery-gap) / -2);
  }
  .cb-photo-gallery--vm-photo-gallery-masonry .field__item--name-field-cb-media-unlimited {
    width: 50%;
    padding: var(--_photo-gallery-gap) calc(var(--_photo-gallery-gap) / 2) 0;
  }
}
@media (min-width: 768px) {
  .cb-photo-gallery--vm-photo-gallery-grid .field__items--name-field-cb-media-unlimited {
    grid-template-columns: repeat(3, 1fr);
  }
  .cb-photo-gallery--vm-photo-gallery-masonry .field__item--name-field-cb-media-unlimited {
    width: 33.3333333333%;
  }
}