/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* Make the H3 host the icon inline without overlap */
.diensten .stk-block-heading__text {
  display: inline-flex;
  align-items: center;
  gap: 5px;               /* space between text and icon */
}

/* Icon as an in-flow box (no absolute positioning) */
.diensten .stk-block-heading__text::after {
  content: "";
  width: 22px;
  height: 22px;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='%23fff' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/></svg>");
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

/* Trigger with hover on the whole box/overlay parent */
.diensten .wp-block-stackable-image-box:hover .stk-block-heading__text::after,
.diensten .stk-hover-parent:hover .stk-block-heading__text::after {
  opacity: 1;
  transform: translateX(0);
}

.bounce {
    -webkit-animation: bounce-top .8s cubic-bezier(1,.02,.66,.84) infinite alternate;
    animation: bounce-top .8s cubic-bezier(1,.02,.66,.84) infinite alternate;
}

@keyframes bounce-top {
0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
100% {
    -webkit-transform: translateY(-.8em);
    transform: translateY(-.8em);
}
}
