/* Mobile header, including phones rotated beyond the usual tablet breakpoint. */
@media(max-width:999.98px), (orientation:landscape) and (max-height:600px) and (max-width:1366px) and (pointer:coarse){
#header [data-device="desktop"]{display:none!important}
#header [data-device="mobile"]{display:block!important;position:absolute!important;inset:0 0 auto!important;height:0!important;min-height:0!important;background:transparent!important;box-shadow:none!important;pointer-events:none}
#header,#header [data-device="mobile"] :is(.ct-sticky-container,[data-sticky],[data-row],.ct-container,[data-column],[data-items]){background:transparent!important;box-shadow:none!important;border:0!important;min-height:0!important;height:0!important}
#header{position:absolute!important;inset:0 0 auto!important;z-index:999;pointer-events:none}
#header [data-device="mobile"] [data-id="logo"]{display:none!important}
#header .ct-header-trigger{position:fixed!important;top:calc(16px + env(safe-area-inset-top,0px))!important;right:calc(18px + env(safe-area-inset-right,0px))!important;width:44px!important;height:44px!important;min-height:44px!important;padding:8px!important;margin:0!important;pointer-events:auto;z-index:999;background:transparent!important;border:0!important;color:#fff!important;--theme-icon-color:#fff;mix-blend-mode:difference}
body.admin-bar #header .ct-header-trigger{top:calc(48px + env(safe-area-inset-top,0px))!important}
#header .ct-header-trigger .ct-label,#header .ct-header-trigger svg{display:none!important}
#header .ct-header-trigger::before,#header .ct-header-trigger::after{content:"";display:block!important;position:absolute;left:8px;width:28px;height:1px;background:currentColor;border:0}
#header .ct-header-trigger::before{top:17px}#header .ct-header-trigger::after{top:26px}
#offcanvas{--side-panel-width:100vw!important;background:transparent!important;--theme-box-shadow:none}
#offcanvas .ct-panel-inner{width:100%!important;max-width:none!important;background:rgba(73,39,72,.86)!important;box-shadow:none!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#offcanvas .ct-panel-content[data-device="desktop"]{display:none!important}
#offcanvas .ct-panel-content[data-device="mobile"]{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;padding:calc(24px + env(safe-area-inset-top,0px)) 32px 32px!important;overflow-y:auto!important}
#offcanvas .ct-panel-content-inner{width:100%!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:24px!important;text-align:left!important}
#offcanvas .ct-panel-actions{position:absolute;top:calc(16px + env(safe-area-inset-top,0px));right:18px;z-index:3;padding:0!important;min-height:0!important}
#offcanvas .ct-toggle-close{width:44px;height:44px;color:#fff;--theme-icon-color:#fff;--theme-icon-size:22px}
#offcanvas .lp-mobile-menu-brand{display:block;align-self:flex-start;width:min(220px,65%);margin:4px 0 8px;text-align:left}
#offcanvas .lp-mobile-menu-brand img{display:block;width:100%;height:auto;max-height:65px;object-fit:contain;object-position:left center}
#offcanvas .ct-header-text{display:none!important}
#offcanvas .mobile-menu{width:100%!important;--theme-font-family:Lato,sans-serif;--theme-font-weight:300;--theme-font-size:30px;--theme-letter-spacing:4px}
#offcanvas .mobile-menu ul{width:100%;padding:0!important;margin:0!important;text-align:left!important}
#offcanvas .mobile-menu .ct-menu-link{justify-content:flex-start!important;text-align:left!important;font-family:Lato,sans-serif!important;font-weight:300!important;font-size:clamp(24px,7.2vw,34px)!important;line-height:1.35!important;letter-spacing:.13em!important;text-transform:uppercase;color:#fff!important;padding:10px 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
#offcanvas .mobile-menu .ct-menu-link:hover{opacity:.75}
}
@media(orientation:landscape) and (max-height:600px) and (max-width:1366px) and (pointer:coarse){
#offcanvas .ct-panel-content[data-device="mobile"]{padding-top:18px!important;padding-bottom:18px!important}
#offcanvas .ct-panel-content-inner{gap:10px!important}
#offcanvas .lp-mobile-menu-brand{width:180px;margin:0 0 4px}
#offcanvas .mobile-menu .ct-menu-link{font-size:22px!important;line-height:1.2!important;padding:5px 0!important}
/* Fit an uncropped photograph to the available landscape viewport. */
body.single-nehnutelnost .elementor-884 .lemonpie-property-gallery{--min-height:0!important;min-height:0!important;height:calc(100svh - 36px)!important;max-height:none!important;width:100%!important;padding:0!important;margin:0!important;overflow:hidden!important;position:relative!important}
body.single-nehnutelnost .elementor-884 .lemonpie-property-gallery .lemonpie-gallery-main{--width:100%!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;flex:0 0 auto!important;background-size:contain!important;background-position:center!important;margin:0!important}
body.single-nehnutelnost .lemonpie-gallery-prev,body.single-nehnutelnost .lemonpie-gallery-next{display:none!important}
body.single-nehnutelnost .lemonpie-gallery-mobile-controls{display:flex!important}
.lemonpie-all-photos{width:96vw;max-width:96vw;max-height:94dvh;padding:12px}
.lemonpie-all-photos-top{margin-bottom:8px}.lemonpie-all-photos-top h2{font-size:24px}
.lemonpie-all-photos-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
}
/* Show the branded bar at page top; retain only the floating trigger after scrolling. */
@media(max-width:999.98px), (orientation:landscape) and (max-height:600px) and (max-width:1366px) and (pointer:coarse){
#header [data-device="mobile"] [data-id="logo"]{display:flex!important;position:fixed!important;top:calc(23px + env(safe-area-inset-top,0px));left:24px;width:170px;height:34px!important;z-index:1;opacity:1;visibility:visible;pointer-events:auto;transition:opacity .18s ease}
#header [data-device="mobile"] [data-id="logo"] .site-logo-container{width:100%}
#header [data-device="mobile"]::before{content:"";position:fixed;inset:0 0 auto;height:calc(80px + env(safe-area-inset-top,0px));background:#492748;opacity:1;transition:opacity .18s ease;pointer-events:none}
#header [data-device="mobile"] [data-id="logo"]{display:flex!important;position:fixed!important;left:24px;top:calc(22px + env(safe-area-inset-top,0px));width:165px!important;height:36px!important;align-items:center;opacity:1;transition:opacity .18s ease;pointer-events:auto}
#header [data-device="mobile"] [data-id="logo"] img{width:165px!important;max-width:100%!important;height:auto!important;max-height:36px!important;object-fit:contain;object-position:left center}
body.admin-bar #header [data-device="mobile"]::before{top:32px}
body.admin-bar #header [data-device="mobile"] [data-id="logo"]{top:calc(54px + env(safe-area-inset-top,0px))}
body.lp-header-scrolled #header [data-device="mobile"]::before,body.lp-header-scrolled #header [data-device="mobile"] [data-id="logo"]{opacity:0;pointer-events:none!important;visibility:hidden}
}
@media(prefers-reduced-motion:reduce){#header [data-device="mobile"]::before,#header [data-device="mobile"] [data-id="logo"]{transition:none!important}}
