.customer-styles {
  /* START article: image-video */
  /* END article: image-video */
}

.customer-styles .template_image-video {
  box-sizing: content-box;
  position: relative;
}

.customer-styles .template_image-video .background-container {
  box-sizing: border-box;
  height: 100%;
  position: relative;
}

.customer-styles .template_image-video .media-container {
  display: grid;
}

.customer-styles .template_image-video .media-item {
  aspect-ratio: 4 / 3;
  grid-area: 1 / 1 / 2 / 2;
  opacity: 1;
  position: relative;
  transition: opacity .5s;
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .media-item {
    aspect-ratio: 16 / 9;
  }
}

.customer-styles .template_image-video .media-item:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.customer-styles .template_image-video .image-container {
  height: 100%;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .image-container {
    grid-column: 3 / 15;
  }
}

.customer-styles .template_image-video .image-container .image {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: middle;
  width: 100%;
}

.customer-styles .template_image-video .image-container .video {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.customer-styles .template_image-video .button-video-pause {
  align-items: center;
  background-color: transparent;
  border: 0;
  bottom: calc(16 * var(--font-size, 1px));
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: calc(21 * var(--font-size, 1px));
  gap: calc(12 * var(--font-size, 1px));
  padding: 0;
  position: absolute;
  right: calc(36 * var(--font-size, 1px));
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .button-video-pause {
    bottom: calc(15 * var(--font-size, 1px));
    flex-direction: row;
    font-size: calc(22 * var(--font-size, 1px));
    gap: calc(8 * var(--font-size, 1px));
    right: calc(6.25% + 10 * var(--font-size, 1px));
  }
}

.customer-styles .template_image-video .button-video-pause > div {
  display: grid;
  height: calc(50 * var(--font-size, 1px));
  position: relative;
  width: calc(50 * var(--font-size, 1px));
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .button-video-pause > div {
    height: calc(32 * var(--font-size, 1px));
    width: calc(32 * var(--font-size, 1px));
  }
}

.customer-styles .template_image-video .button-video-pause > div::before, .customer-styles .template_image-video .button-video-pause > div::after {
  content: '';
  grid-area: 1 / 1 / 2 / 2;
  height: 100%;
  width: 100%;
}

.customer-styles .template_image-video .button-video-pause > div::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15.5' stroke='none' fill='%231a3682' /%3E%3Ccircle cx='16' cy='16' r='15.5' stroke='%23fff' stroke-width='1' fill='none' /%3E%3C/svg%3E%0A");
  opacity: .5;
  transition: opacity .3s;
}

.customer-styles .template_image-video .button-video-pause > div::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23fff' stroke-width='3'%3E%3Cline y2='13' transform='translate(19.5 9.5)'/%3E%3Cline y2='13' transform='translate(12.5 9.5)'/%3E%3C/g%3E%3C/svg%3E%0A");
  z-index: 1;
}

.customer-styles .template_image-video .button-video-pause:hover > div::before, .customer-styles .template_image-video .button-video-pause:focus > div::before {
  opacity: 1;
}

.customer-styles .template_image-video .button-video-pause.paused > div::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6,0l6,10H0Z' transform='translate(22 10) rotate(90)' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.customer-styles .template_image-video .button-video-pause > span {
  display: grid;
  justify-items: center;
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .button-video-pause > span {
    justify-items: start;
  }
}

.customer-styles .template_image-video .button-video-pause > span > span {
  grid-area: 1 / 1 / 2 / 2;
}

.customer-styles .template_image-video .button-video-pause:not(.paused) > span > span:last-child {
  visibility: hidden;
}

.customer-styles .template_image-video .button-video-pause.paused > span > span:first-child {
  visibility: hidden;
}

.customer-styles .template_image-video .global-grid {
  align-items: start;
  bottom: 10px;
  grid-row-gap: calc(16 * var(--font-size, 1px));
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 100%;
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .global-grid {
    grid-row-gap: calc(20 * var(--font-size, 1px));
  }
}

.customer-styles .template_image-video .pagination-container {
  align-items: center;
  background-color: #1a3682;
  color: #fff;
  display: grid;
  font-size: calc(22 * var(--font-size, 1px));
  grid-column: 3 / 5;
  grid-template-columns: 2em 1fr 2em;
  height: 2em;
  justify-items: center;
  margin-inline: calc(-10 * var(--font-size, 1px));
  pointer-events: all;
}

@media (min-width: 768px) {
  .customer-styles .template_image-video .pagination-container {
    font-size: calc(16 * var(--font-size, 1px));
    grid-column: 8 / 10;
  }
}

.customer-styles .template_image-video .pagination-button {
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: .8em;
  border: 0;
  cursor: pointer;
  height: 2em;
  padding: 0;
  width: 2em;
}

.customer-styles .template_image-video .pagination-button.prev {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17,2 L7,12 L17,22' stroke='%23fff' stroke-width='4' fill='none'/%3E%3C/svg%3E%0A");
}

.customer-styles .template_image-video .pagination-button.next {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7,2 L17,12 L7,22' stroke='%23fff' stroke-width='4' fill='none'/%3E%3C/svg%3E%0A");
}

.customer-styles .template_image-video .pagination-current-page {
  font-weight: bold;
}
