/* Inherit the original Skole hero: only the requested word and its prefix move. */
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-stage {
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr);
    vertical-align: top;
    width: 100%;
    text-align: center;
    overflow: clip;
    overflow-clip-margin: .14em;
}
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-stage > span {
    grid-area: 1 / 1;
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    white-space: normal;
    overflow-wrap: anywhere;
    background-color: #fa7b7a;
    visibility: hidden;
}
/* User text spacing may exceed the curved artwork. Keep a matching opaque
   backing on the text itself, without reducing its chosen size or spacing. */
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .elementor :is(.elementor-element-839129f, .elementor-element-18cbcc6) .elementor-heading-title,
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .elementor :is(.elementor-element-9d3314b, .elementor-element-5834af4) .elementor-heading-title:not(:has(.cmsj-home-word-stage)) {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    background-color: #fa7b7a;
    overflow-wrap: anywhere;
}
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-stage > .is-current { visibility: visible; }
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-original {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-title { display: block; }
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    margin: 6px auto 0;
    padding: 6px;
    border: 0;
    border-radius: 6px;
    background: #fa7b7a;
    color: #0a303a;
    cursor: pointer;
    box-shadow: none;
}
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control:hover { background: #ffd9d2; color: #0a303a; }
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control:focus-visible {
    outline: 3px solid #0a303a;
    outline-offset: 3px;
    background: #ffd9d2;
}
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control svg { width: 16px; height: 16px; flex: none; }
body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control[hidden] { display: none; }
/* The translated words are longer than FUN. The German pilot keeps its own scale. */
body:is(.page-id-1104, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) #cmsj-home-word-rotate .elementor-heading-title {
    font-size: clamp(2rem, 4.5vw, 4rem);
}
body.page-id-992245 #cmsj-home-word-rotate .elementor-heading-title {
    font-size: clamp(2rem, 3.8vw, 3.5rem);
}
body.page-id-992214 #cmsj-home-word-rotate .elementor-heading-title {
    font-size: clamp(1.5rem, 3.2vw, 3rem);
}
@media (max-width: 767px) {
    /* Reserve the same readable size for every word, including ERLEBNIS. */
    body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) #cmsj-home-word-rotate .elementor-heading-title {
        font-size: clamp(2.75rem, 16vw, 4.6rem);
    }
    body:is(.page-id-1104, .page-id-992223, .page-id-992227) #cmsj-home-word-rotate .elementor-heading-title {
        font-size: clamp(2rem, 12vw, 4.6rem);
    }
    body.page-id-992245 #cmsj-home-word-rotate .elementor-heading-title {
        font-size: clamp(1.8rem, 11vw, 4rem);
    }
    body.page-id-992214 #cmsj-home-word-rotate .elementor-heading-title {
        font-size: clamp(1.5rem, 9.5vw, 3.5rem);
    }
}
@media (prefers-reduced-motion: reduce) {
    body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control { display: none; }
}
@media (forced-colors: active) {
    body:is(.page-id-1104, .page-id-992217, .page-id-992245, .page-id-992223, .page-id-992214, .page-id-992227) .cmsj-home-word-control { color: ButtonText; border: 1px solid ButtonText; }
}
