/* Preserve the original animated course → exam → microcredential → diploma flow. */
.home-main .journey__heading > p:last-child { font-size: 16px; line-height: 1.8; }
.home-main .journey__sticky::before { pointer-events: none; }
.home-main .journey-node small { max-width: 190px; margin-inline: auto; }

.home-motion-paused .home-main .journey,
.home-reduced-motion .home-main .journey { height: auto; min-height: 0; }
.home-motion-paused .home-main .journey__sticky,
.home-reduced-motion .home-main .journey__sticky { position: relative; }
.home-motion-paused .home-main .journey__inner,
.home-reduced-motion .home-main .journey__inner { height: auto; }
.home-motion-paused .home-main .journey-node,
.home-reduced-motion .home-main .journey-node,
.home-motion-paused .home-main .journey-mobile li,
.home-reduced-motion .home-main .journey-mobile li,
.home-motion-paused .home-main .journey-mobile li div,
.home-reduced-motion .home-main .journey-mobile li div { opacity: 1; transform: none; }

@media (max-width: 900px) and (max-height: 740px) {
    .home-main .journey { height: auto; min-height: 0; }
    .home-main .journey__sticky { position: relative; }
    .home-main .journey__inner { height: auto; padding-block: 80px 35px; }
    .home-main .journey-mobile li,
    .home-main .journey-mobile li div { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
    .home-main .journey__heading h2 { font-size: clamp(29px, 8vw, 38px); }
    .home-main .journey__heading > p:last-child { font-size: 13px; min-height: 80px; }
    .home-main .journey-mobile strong { font-size: 15px; }
    .home-main .journey-mobile small { font-size: 12px; line-height: 1.7; }
}

@media (prefers-reduced-motion: reduce) {
    .home-main .journey { height: auto; min-height: 0; }
    .home-main .journey__sticky { position: relative; }
    .home-main .journey__inner { height: auto; }
    .home-main .journey-node,
    .home-main .journey-mobile li,
    .home-main .journey-mobile li div { opacity: 1; transform: none; }
}
