.visual {
  display: flex;
  flex-direction: column;
  padding-left: var(--space-medium);
  padding-right: var(--space-medium);
  position: relative;
  z-index: 1;
}

.visual__split {
  display: flex;
  flex-direction: column;
  gap: var(--space-neutral);
  margin-inline: auto;
  width: min(100%, 40em);
}

.visual figure {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-inline: auto;
  position: relative;
  width: min(100%, 36em);
}

.visual figure picture,
.visual figure video {
  border-radius: 0.7em;
  box-shadow:
    0 0 0 1px rgba(var(--rgb-black), 0.02),
    0 0.2em 1.6em -0.8em rgba(var(--rgb-black), 0.2),
    0 0.4em 2.4em -1.0em rgba(var(--rgb-black), 0.3),
    0 0.4em 0.8em -1.2em rgba(var(--rgb-black), 0.4),
    0 0.8em 1.2em -1.6em rgba(var(--rgb-black), 0.5),
    0 1.2em 1.6em -2.0em rgba(var(--rgb-black), 0.6);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.visual figcaption {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  text-align: center;
  width: min(100%, 23em);
}

.visual figcaption p {
  font-size: var(--font-size-xx-small);
  letter-spacing: -0.0125em;
  margin-bottom: -0.3925em;
  margin-top: -0.2425em;
}

.visual--no-frame figure picture,
.visual--no-frame figure video {
  border-radius: initial;
  box-shadow: none;
  overflow: auto;
}

.visual--domains:before {
  background: url(/assets/images/pebble/triple-two.svg) center center / contain no-repeat;
  content: '';
  height: 115%;
  left: -1%;
  position: absolute;
  top: -11%;
  transform: rotate(4deg);
}

.visual--domains figure picture,
.visual--domains figure video {
  border-radius: initial;
  box-shadow: none;
  overflow: visible;
}

.visual--domains figure img {
  filter: drop-shadow(0.4em 0.4em 0.8em rgba(var(--rgb-black), 0.4));
}

.visual--domains-abstract:before {
  background: url(/assets/images/abstract/82.svg) center center / contain no-repeat;
  content: '';
  height: 120%;
  left: 0;
  position: absolute;
  top: -15%;
  width: 100%;
}

.visual--domains-abstract figure picture,
.visual--domains-abstract figure video {
  border-radius: initial;
  box-shadow: none;
  overflow: visible;
}

.visual--how-it-works:before {
  background: url(/assets/images/abstract/81.svg) center center / contain no-repeat;
  content: '';
  height: 118%;
  left: -6%;
  position: absolute;
  top: -7%;
  width: 118%;
}

.visual--calendar figure picture {
  border-radius: 0.65em;
}

.visual--world figure picture,
.visual--world figure video {
  box-shadow:
    0 0.4em 1.2em #8EDACD,
    0 0.8em 2.4em #4C63E1,
    0 1.2em 3.6em #6550F0
  ;
}

.visual--x-small figure {
  width: min(100%, 14em);
}

.visual--small figure {
  width: min(100%, 28em);
}

.visual--medium figure {
  width: min(100%, 32em);
}

@media(min-width: 64em) {

  .visual {
    padding-left: var(--space-large);
    padding-right: var(--space-large);
  }

  .visual__split {
    align-items: flex-start;
    flex-direction: row;
    width: min(100%, 32em);
  }

  .visual figure {
    flex: 1;
  }

  .visual figure figcaption p {
    font-size: var(--font-size-xxx-small);
  }

}
