/* Local-scene layout follows each SVG's native viewBox. */
html body #primary .nghr-local__skyline.ngw-local-scene[data-ngw-local-scene] {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 21px -18px 8px;
    overflow: hidden;
    background: #fff;
    line-height: normal;
    isolation: isolate;
}

html body #primary .ngw-local-scene .ngw-local-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px 1px;
}

html body #primary .ngw-local-scene .ngw-local-caption {
    color: #62676b;
    font: 700 10px/1.4 'Proximanova-bold', sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html body #primary .ngw-local-scene .ngw-local-scene-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 36px;
    margin: 0 0 0 auto;
    padding: 8px 10px;
    border: 1px solid #e2e6e8;
    border-radius: 30px;
    background: #fff;
    color: #41474b;
    box-shadow: none;
    font: 700 11px/1 'Proximanova-bold', sans-serif;
    cursor: pointer;
}

html body #primary .ngw-local-scene .ngw-local-scene-toggle[hidden] {
    display: none !important;
}

html body #primary .ngw-local-scene .ngw-local-scene-toggle:hover {
    background: #f1f5ec;
    border-color: #84c041;
}

html body #primary .ngw-local-scene .ngw-local-scene-toggle:focus-visible {
    outline: 3px solid #456d25;
    outline-offset: 3px;
}

html body #primary .ngw-local-scene .ngw-local-scene-toggle:disabled {
    cursor: default;
}

html body #primary .ngw-local-scene .ngw-local-panorama {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

html body #primary .nghr-local__skyline.ngw-local-scene[data-ngw-local-scene] svg.ngw-local-art {
    display: block !important;
    position: relative;
    left: auto;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0;
    overflow: hidden;
    aspect-ratio: auto !important;
    transform: none !important;
}

/* Retained native motion keeps its original placement wrappers and local subjects. */
.ngw-local-scene .ngsa-car-east { animation: ngw-local-east 24s linear -8s infinite both; }
.ngw-local-scene .ngsa-car-west { animation: ngw-local-west 29s linear -17s infinite both; }
.ngw-local-scene .ngsa-boat-track { animation: ngw-local-cruise 36s linear -16s infinite both; }
.ngw-local-scene .ngsa-boat-bob { animation: ngw-local-bob 4.8s ease-in-out -2s infinite alternate both; }
.ngw-local-scene .ngsa-ripples { animation: ngw-local-water 8s ease-in-out -3s infinite alternate both; }
.ngw-local-scene .ngsa-ripples-alt { animation: ngw-local-water 10s ease-in-out -7s infinite alternate-reverse both; }
.ngw-local-scene .ngsa-wake { animation: ngw-local-wake 4s ease-in-out -1s infinite alternate both; }
.ngw-local-scene .ngsa-lights { animation: ngw-local-lights 7.8s ease-in-out -2s infinite alternate both; }

@keyframes ngw-local-east { from { transform: translateX(-110px); } to { transform: translateX(1500px); } }
@keyframes ngw-local-west { from { transform: translateX(1510px); } to { transform: translateX(-120px); } }
@keyframes ngw-local-cruise { from { transform: translateX(-230px); } to { transform: translateX(1490px); } }
@keyframes ngw-local-bob { from { transform: translateY(-1px); } to { transform: translateY(1.5px); } }
@keyframes ngw-local-water { from { transform: translateX(-16px); } to { transform: translateX(17px); } }
@keyframes ngw-local-wake { from { opacity: .22; transform: scaleX(.92); } to { opacity: .5; transform: scaleX(1.04); } }
@keyframes ngw-local-lights { from { opacity: .55; } to { opacity: .95; } }

/* Native and enhanced motion share one play state, including the Helotes inline rules. */
html body #primary .nghr-local__skyline.ngw-local-scene *,
html body #primary .nghr-local__skyline.ngw-local-scene *::before,
html body #primary .nghr-local__skyline.ngw-local-scene *::after {
    animation-play-state: paused !important;
}

html body #primary .nghr-local__skyline.ngw-local-scene.is-motion-ready.is-motion-running *,
html body #primary .nghr-local__skyline.ngw-local-scene.is-motion-ready.is-motion-running *::before,
html body #primary .nghr-local__skyline.ngw-local-scene.is-motion-ready.is-motion-running *::after {
    animation-play-state: running !important;
}

@media (max-width: 580px) {
    html body #primary .nghr-local__skyline.ngw-local-scene[data-ngw-local-scene] { margin: 20px -9px 10px; }
    html body #primary .ngw-local-scene .ngw-local-toolbar { min-height: 46px; padding: 0 9px 3px; }
    html body #primary .ngw-local-scene .ngw-local-scene-toggle { min-height: 44px; min-width: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    html body #primary .nghr-local__skyline.ngw-local-scene *,
    html body #primary .nghr-local__skyline.ngw-local-scene *::before,
    html body #primary .nghr-local__skyline.ngw-local-scene *::after {
        animation: none !important;
        transition: none !important;
    }
}
