/* VANREX homepage mobile alignment refinement. Header, desktop layout and footer stay unchanged. */
@media (max-width: 650px) {
  #v4-hero .v4-hero-copy {
    display: flex;
    width: 100%;
    max-width: none;
    margin-top: clamp(28px, 7vw, 40px) !important;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #v4-hero .v4-kicker,
  #v4-hero .v4-hero-keywords {
    width: 100%;
    justify-content: center;
  }

  #v4-hero #v4-hero-title {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: center;
    gap: .26em;
    font-size: clamp(19px, 6.2vw, 27px) !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
  }

  #v4-hero #v4-hero-title > span {
    display: inline !important;
    white-space: nowrap !important;
  }

  #v4-hero .v4-hero-text {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  #v4-hero .v4-primary-btn {
    margin-inline: auto;
  }

  #v4-learning.ux-study .ux-candle-scene {
    transform: translateX(-6vw) rotate(-3deg) !important;
    transform-origin: center;
  }
}

