.whgt-wrap {
    --whgt-transition: 450ms;
    --whgt-distance: 8px;
    --whgt-content-transition: 600ms;
    --whgt-overlay-bg: #F7F6F3;
    width: 100%;
}

.whgt-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.whgt-stage {
    position: relative;
    display: grid;
    align-items: start;
    overflow: hidden;
}

.whgt-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(var(--whgt-enter-y, var(--whgt-distance)));
    transition:
        opacity var(--whgt-transition) cubic-bezier(.22, .61, .36, 1),
        transform var(--whgt-transition) cubic-bezier(.22, .61, .36, 1),
        visibility 0s linear var(--whgt-transition);
    pointer-events: none;
    will-change: opacity, transform;
}

.whgt-animation-fade { --whgt-enter-y: 0px; }
.whgt-animation-fade-up { --whgt-enter-y: var(--whgt-distance); }
.whgt-animation-fade-down { --whgt-enter-y: calc(var(--whgt-distance) * -1); }

.whgt-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.whgt-statement p { margin: 0; }
.whgt-statement p + p { margin-top: .75em; }

.whgt-step-label {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Service Reveal v1.3: the real Elementor content is never hidden.
   The widget temporarily becomes an overlay over its local Elementor host. */
.whgt-overlay-host {
    position: relative !important;
}

.elementor-element.elementor-widget-wh_game_tips.whgt-overlay-widget {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 30 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.whgt-overlay-widget .whgt-mode-reveal {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 72px);
    background: var(--whgt-overlay-bg);
    opacity: 1;
    visibility: visible;
    transition:
        opacity var(--whgt-content-transition, 600ms) cubic-bezier(.22, .61, .36, 1),
        visibility 0s linear 0s;
}

.whgt-overlay-widget .whgt-reveal-stage {
    width: min(100%, 760px);
}

.elementor-element.elementor-widget-wh_game_tips.whgt-overlay-leaving .whgt-mode-reveal {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--whgt-content-transition, 600ms) cubic-bezier(.22, .61, .36, 1),
        visibility 0s linear var(--whgt-content-transition, 600ms);
    pointer-events: none;
}

.elementor-element.elementor-widget-wh_game_tips.whgt-overlay-gone {
    display: none !important;
}

body.elementor-editor-active .elementor-element.elementor-widget-wh_game_tips.whgt-overlay-widget,
body.elementor-editor-preview .elementor-element.elementor-widget-wh_game_tips.whgt-overlay-widget {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    z-index: auto !important;
}

body.elementor-editor-active .whgt-mode-reveal,
body.elementor-editor-preview .whgt-mode-reveal {
    background: transparent !important;
    min-height: auto !important;
    padding: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    .whgt-slide,
    .whgt-mode-reveal {
        transition-duration: 0ms !important;
        transform: none !important;
    }
}
