body:has(.taxonomy-term-form) {
  overflow-x: hidden;
}

.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link {
  position: relative;
  box-shadow: 0 30px 30px -20px rgba(0, 0, 0, 0.45);
  --borderWidth: 3px;
  background: #1d1f20;
  border-radius: 6px;
}


.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link .bg-image {
  position: relative;
  overflow: hidden;
}

.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link .bg-image img {
  position: relative;
  z-index: 1;
  border-radius: 3px;
  vertical-align: middle;
}

@-webkit-keyframes shine {
  100% {
    left: 125%;
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.paragraph--type--headings:has(h2#color-simulator) + .paragraph--type--image-link .bg-image:before {
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  content: "";
  display: block;
  height: 100%;
  left: -75%;
  position: absolute;
  top: 0;
  transform: skewX(-25deg);
  width: 50%;
  z-index: 2;
}

.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link .bg-image::before,
.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link .bg-image:focus::before {
  -webkit-animation: shine 5s;
  animation: shine 5s;
  animation-iteration-count: infinite;
}

@-webkit-keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link:after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg,
      #dbd0d0,
      #ffffff,
      #dbd0d0,
      #f4f4f4,
      #ffffff,
      #dbd0d0,
      #ffffff,
      #dbd0d0);
  border-radius: calc(2 * var(--borderWidth));
  z-index: 0;
  -webkit-animation: animatedgradient 5s ease alternate infinite;
  animation: animatedgradient 5s ease alternate infinite;
  background-size: 300% 300%;
}

.paragraph--type--headings:has(h2#color-simulator)+.paragraph--type--image-link .bg-image .paragraph--type--link-button {
  z-index: 2;
}

.paragraph--type--headings h1 {
  margin-bottom: 2rem;
}

@media only screen and (max-width: 767px) {
  .paragraph--type--headings:has(h1) {
    margin-top: 1rem !important;
  }

  .paragraph--type--headings h1 {
    margin-bottom: 1rem;
  }
}
