/* Standalone behavior for the exported Sundial Lodge design. */
html { scroll-behavior: smooth; }
.elementor-invisible { visibility: visible !important; }
.elementor-location-header { position: relative; z-index: 20; }
.elementor-nav-menu--main .menu-item-has-children { position: relative; }
.elementor-nav-menu--main .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 150px; z-index: 40; background: white; }
.elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
.elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu { display: block; }
.elementor-nav-menu--layout-vertical .sub-menu { position: static; display: block; }
.elementor-location-footer nav.elementor-nav-menu--dropdown { display: none !important; }
.elementor-tab-title { cursor: pointer; }
.elementor-tab-content[hidden] { display: none !important; }
.elementor-tab-content:not([hidden]) { display: block; }
.elementor-gallery__container { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; height: auto !important; }
.elementor-gallery__container .e-gallery-item { position: relative !important; width: auto !important; height: auto !important; aspect-ratio: 4 / 3; overflow: hidden; }
.elementor-gallery__container .e-gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 !important; background-position: center; background-size: cover; transition: transform .3s; }
.elementor-gallery__container a:hover .e-gallery-image { transform: scale(1.04); }
.elementor-background-video-container iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: max(100%,56.25vw); transform: translate(-50%,-50%); border: 0; pointer-events: none; }
.elementor-main-swiper { overflow: hidden; }
.elementor-main-swiper .swiper-wrapper { display: flex; align-items: stretch; transition: transform .5s ease; }
.elementor-main-swiper .swiper-slide { flex: 0 0 50%; width: 50%; padding: 0 20px; box-sizing: border-box; height: auto; }
.elementor-swiper-button { cursor: pointer; z-index: 5; }
.static-menu, .static-lightbox { border: 0; padding: 32px; border-radius: 4px; max-height: 90dvh; overflow: auto; }
.static-menu { width: min(90vw,440px); background: #fff; color: #333; }
.static-menu::backdrop,.static-lightbox::backdrop { background: rgba(0,0,0,.8); }
.static-menu nav { display: grid; gap: 2px; }
.static-menu nav a { padding: 10px 16px; font-size: 20px; }
.static-menu nav a:hover,.static-menu nav a[aria-current] { background: #f0f0f0; }
.dialog-close { display: block; margin-left: auto; border: 0; background: transparent; color: inherit; font-size: 32px; line-height: 1; padding: 8px 12px; cursor: pointer; }
.static-lightbox { background: #151515; color: white; width: min(1100px,94vw); text-align: center; }
.static-lightbox img { display: block; max-width: 100%; max-height: 68dvh; margin: auto; object-fit: contain; }
.static-lightbox .lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 15px; }
.static-lightbox .lightbox-controls button { padding: 10px 18px; border: 1px solid #aaa; background: transparent; color: white; cursor: pointer; }
body.dialog-open { overflow: hidden; }
a:focus-visible,button:focus-visible,[role=button]:focus-visible { outline: 3px solid #628b34; outline-offset: 4px; }
#scroll-top { cursor: pointer; }
@media(max-width:1024px) { .elementor-gallery__container { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .elementor-gallery__container { gap: 10px; } .elementor-main-swiper .swiper-slide { flex-basis: 100%; width: 100%; padding: 0 28px; } .elementor-background-video-container iframe { width: 180%; height: 100%; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }

.elementor-background-video-container iframe { opacity: 0; transition: opacity .4s; }
.elementor-background-video-container iframe.video-playing { opacity: 1; }
