/* Breakpoints */
/* image disclaimer (indicator in the corner) */
/* child element of image-disclaimer */
.image-copy-gallery {
  --gallery-size: 1;
  display: block;
  width: 100%;
  overflow: hidden;
}
.aem-AuthorLayer-Edit .image-copy-gallery {
  width: calc(100% - 2rem);
  margin: 1rem;
}
.image-copy-gallery__wrapper {
  --icg-margin: var(--grid-standard-margin);
  --icg-padding-inline: var(--icg-margin);
  --icg-content-max-width: var(--grid-standard-content-max);
  --icg-content-size: min(100% - (var(--icg-padding-inline) * 2), var(--icg-content-max-width));
  --icg-column-width-mobile: calc((100% + var(--grid-standard-gutter)) / 4);
  --icg-column-width-desktop: calc((100% + var(--grid-standard-gutter)) / 12);
  position: relative;
  width: 100%;
  max-width: var(--icg-content-size);
  margin: 0 auto;
}
@media screen and (min-width: 1025px) {
  .image-copy-gallery__wrapper:has([data-gallery-size="2"]) {
    --icg-content-size-two-items:
      calc(
        (var(--icg-content-size) + var(--grid-standard-gutter)) / 12 * 10 - var(--grid-standard-gutter)
      );
    max-width: var(--icg-content-size-two-items);
  }
}
.image-copy-gallery__headline {
  width: 100%;
  text-align: center;
  margin-bottom: var(--spacer-5);
}
@media screen and (min-width: 768px) {
  .image-copy-gallery__headline {
    margin-bottom: var(--spacing-xs);
  }
}
@media screen and (min-width: 1025px) {
  .image-copy-gallery__headline {
    padding-inline: calc((100% + var(--grid-standard-gutter)) / 12 * 3);
  }
}
.image-copy-gallery__items-wrapper {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  margin-bottom: var(--spacing-xs);
}
.image-copy-gallery__items {
  --gallery-item-width: calc(100% / var(--gallery-slides-per-page));
  display: flex;
  width: calc(var(--gallery-size) * var(--gallery-item-width) - var(--grid-standard-gutter));
  transition: transform 0.6s ease;
  transform: translateX(0);
  gap: var(--grid-standard-gutter);
}
.aem-AuthorLayer-Edit .image-copy-gallery__items {
  width: 90%;
  margin: auto;
  flex-direction: column;
}
.image-copy-gallery-item__wrapper {
  position: relative;
  width: 100%;
  flex-direction: column;
}
.image-copy-gallery-item__image {
  display: block;
  aspect-ratio: auto 4/3;
  position: relative;
}
.image-copy-gallery-item__image .media__main {
  --content-size: 100%;
  display: block;
}
.image-copy-gallery-item__image .media__main .dynamic-video {
  aspect-ratio: 4/3;
}
.image-copy-gallery-item__content {
  margin-top: var(--spacer-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
@media screen and (min-width: 321px) {
  .image-copy-gallery-item__content {
    margin-top: var(--spacer-5);
  }
}
.image-copy-gallery-item__button-wrapper {
  display: flex;
  flex-direction: column-reverse;
  flex-grow: 1;
}
@media screen and (min-width: 1025px) {
  .image-copy-gallery-item__button-wrapper .button.size_m {
    padding: calc(var(--spacer-4) - var(--border-width)) calc(var(--spacer-5) - var(--border-width));
    min-height: 60px;
    min-width: 120px;
  }
}
.image-copy-gallery-item__headline {
  margin-bottom: var(--spacing-xs);
}
@media screen and (min-width: 321px) {
  .image-copy-gallery-item__headline {
    margin-bottom: var(--spacing-xxs);
  }
}
.image-copy-gallery-item__text-content {
  margin-bottom: var(--spacing-xs);
}
.image-copy-gallery-item__edit-hint {
  font-style: italic;
  color: var(--colors-interaction-disabled);
}
.image-copy-gallery__controls {
  display: none;
  flex-direction: row;
  gap: var(--spacing-xxs);
  margin-bottom: var(--spacing-xs);
}
.aem-AuthorLayer-Edit .image-copy-gallery__controls {
  display: none;
}
.image-copy-gallery__controls:has(button:not([disabled])) {
  display: flex;
}
.image-copy-gallery__control {
  display: block;
}
.image-copy-gallery__control-button {
  display: flex;
  border: 0;
  border-radius: 50%;
  background: var(--colors-interaction-primary);
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0;
  transition: transform 0.2s;
}
.image-copy-gallery__control-button:hover {
  transform: scale(1.1);
}
.image-copy-gallery__control-button.variant_primary:disabled {
  color: var(--colors-background-default);
}
.image-copy-gallery__control-button > svg {
  min-width: var(--icon-size-m);
  width: var(--icon-size-m);
  height: var(--icon-size-m);
}
.image-copy-gallery__bellow-disclaimers {
  padding: 0;
  margin: 0;
}
.image-copy-gallery__bellow-disclaimers .disclaimer-item {
  display: block;
}
.image-copy-gallery:has([data-gallery-size="1"]) .image-copy-gallery__controls {
  display: none;
}
@media screen and (min-width: 1025px) {
  .image-copy-gallery:has([data-gallery-size="2"]) .image-copy-gallery__controls {
    display: none;
  }
}
.image-copy-gallery .gallery-item {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  width: 100%;
}
.aem-AuthorLayer-Edit .image-copy-gallery .gallery-item {
  width: calc(100% - 2rem);
  margin: 1rem;
  padding: 1rem;
}