/*btn*/
/* wrapper (výška nastavovaná JS) a skrytí přetečení */
:is(
  .btn-primary,
  .btn-secondary,
  .btn-secondary-invert,
  .btn-tertiary,
  [type="submit"]
) .btn__text-wrapper {
  overflow: hidden;
  height: var(--text-height);
}

/* přechod pro pohyb textu */
.btn__text-line {
  transition: transform var(--t-base);
}

/* efekt posunu na hover */
:is(
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-secondary-invert:hover,
  .btn-tertiary:hover,
  [type="submit"]:hover
) .btn__text-line {
  transform: translateY(calc(-0.95* var(--text-height)));
}


/*fix probliku u animace
body.bricks-is-frontend h1,
body.bricks-is-frontend h2 {
  visibility: hidden;
}*/