
/* Shared site shell, navigation, legal pages and responsive fixes */
:root { color-scheme: light; }
img { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
body { margin: 0; min-width: 0; font-family: var(--font-family-body); }
body.menu-open { overflow: hidden; }
.site-main { display: contents; }
.site-main:not(.legal-main) { min-width: 0; }
.hero-title { font-size: var(--font-size-4xl); }
.section-title { font-size: var(--font-size-3xl); }
.ql-site-header { position: fixed; inset: 0 0 auto 0; z-index: 2000; padding: 14px clamp(10px,3vw,28px); pointer-events: none; }
.ql-header-inner { max-width: var(--content-max-width); margin-inline: auto; display: flex; align-items: center; gap: clamp(12px,2vw,32px); justify-content: space-between; padding: 12px clamp(14px,2.2vw,30px); background: rgb(249 246 240 / .97); border: 1px solid rgb(47 93 69 / .12); border-radius: var(--border-radius-lg); box-shadow: 0 8px 35px rgb(14 50 30 / .10); backdrop-filter: blur(15px); pointer-events: auto; }
.ql-header-brand { flex-shrink: 0; display: flex; align-items: center; min-width: 0; text-decoration: none; color: var(--color-primary); }
.ql-header-brand .logo-lockup { gap: 8px; }
.ql-header-brand .logo-glyph { width: 37px; height: 37px; }
.ql-header-brand .logo-text-group { display: flex; flex-direction: column; }
.ql-primary-nav { display:flex; align-items:center; justify-content:center; flex: 1 1 auto; gap: clamp(8px,1.5vw,22px); }
.ql-primary-nav a { font-size: clamp(.77rem,.87vw,.93rem); font-weight: 550; white-space: nowrap; color: var(--color-on-surface); padding: .55em 0; text-decoration: none; transition: color .2s; }
.ql-primary-nav a:hover, .ql-primary-nav a[aria-current=page] { color: var(--color-primary); }
.ql-primary-nav a[aria-current=page] { box-shadow: 0 2px 0 var(--color-primary); }
.ql-header-cta { font-size: .73rem; padding: .65rem 1rem; min-height: 43px; line-height: 1.3; flex-shrink: 0; }
.ql-menu-toggle { display:none; position:relative; width: 44px; height:44px; padding: 11px; align-items:center; justify-content:center; background: var(--color-primary); color: white; border-radius: 13px; cursor:pointer; flex-shrink:0; }
.ql-toggle-lines { display:flex; width:22px; flex-direction:column; gap:5px; }
.ql-toggle-lines span { display:block; width:22px; height:2px; border-radius:2px; background:currentColor; transition:transform .2s,opacity .2s; }
.ql-menu-toggle[aria-expanded=true] .ql-toggle-lines span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.ql-menu-toggle[aria-expanded=true] .ql-toggle-lines span:nth-child(2) { opacity:0; }
.ql-menu-toggle[aria-expanded=true] .ql-toggle-lines span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.ql-mobile-menu[hidden] { display:none !important; }
.ql-mobile-menu { display:none; }
.ql-footer-root { width: 100%; max-width: none; }
.ql-footer-inner { max-width: var(--content-max-width); }
.ql-footer-contact { flex-direction: column; gap: .7rem; }
.ql-footer-menu-link { color:var(--color-on-surface-secondary); font-size: var(--font-size-sm); text-decoration:none; }
.ql-footer-menu-link:hover { color:var(--color-primary); }
.ql-company-legal { color:var(--color-on-surface-secondary); border-top:1px solid rgb(47 93 69 / .17); border-bottom:1px solid rgb(47 93 69 / .17); padding: 1.2rem 0; font-size: .82rem; line-height: 1.7; }
.ql-company-legal p { margin:.15rem 0; overflow-wrap:anywhere; }
.ql-company-legal strong { font-weight:650; color:var(--color-on-surface); }
.ql-legal-label { color:var(--color-primary); font-weight:700; text-transform:uppercase; font-size:.75rem; letter-spacing:.07em; }
.ql-footer-legal-links { display:flex; flex-wrap:wrap; justify-content:end; }
.ql-footer-legal-link { color:#fff; opacity:.94; text-decoration:none; }
.ql-footer-legal-link:visited { color:#fff; }
.ql-footer-legal-link:hover { opacity:1; text-decoration:underline; }
.ql-footer-legal-link:focus-visible { outline-color:#fff; }
.legal-main { padding: clamp(155px,16vw,195px) clamp(18px,4vw,40px) 80px; background:var(--color-surface); width:100%; box-sizing:border-box; }
.legal-content { max-width: 970px; margin-inline:auto; color:var(--color-on-surface); }
.legal-intro { margin: 0 0 2rem; }
.legal-eyebrow { color: var(--color-primary); text-transform:uppercase; letter-spacing:.14em; font-size: .8rem; font-weight:650; }
.legal-content h1 { margin:.65rem 0 1rem; font: 600 var(--font-size-4xl)/1.18 var(--font-family-heading); overflow-wrap:anywhere; }
.legal-lead { color: var(--color-on-surface-secondary); max-width:750px; font-size: 1.04rem; line-height:1.8; }
.legal-intro-details { border: 1px solid rgb(47 93 69 / .22); border-radius:var(--border-radius-md); padding:clamp(16px,3vw,28px); background:var(--color-surface-elevated); margin:1.6rem 0 3rem; }
.legal-section { padding: clamp(16px,3vw,30px) 0; border-bottom: 1px solid rgb(47 93 69 / .14); }
.legal-section h2 { font: 600 var(--font-size-2xl)/1.35 var(--font-family-heading); margin-bottom:.85rem; overflow-wrap:anywhere; }
.legal-section p { line-height:1.85; max-width:85ch; overflow-wrap:anywhere; }
.legal-back { display:inline-flex; margin-top:32px; min-height:48px; align-items:center; }
.legal-content a, .legal-content a:visited {  text-decoration:none; }
.legal-content a:hover { text-decoration:underline; }
.legal-content a:focus-visible { outline-color:var(--color-primary); }
.legal-content a:active { opacity:.7; }
.contact-form-notice { padding:12px 14px; margin-top:1rem; border:1px solid var(--color-border); border-radius:8px; font-size:.88rem; }
@media (max-width: 1100px) {
 .ql-primary-nav,.ql-header-cta { display:none; }
 .ql-menu-toggle { display:flex; }
 .ql-site-header { padding:10px; }
 .ql-header-inner { padding:10px 15px; }
 .ql-mobile-menu { position:fixed; display:flex; flex-direction:column; top:82px; left:10px; right:10px; z-index:2001; max-width:var(--content-max-width); margin-inline:auto; max-height:calc(100dvh - 95px); overflow-y:auto; overscroll-behavior:contain; padding:12px clamp(15px,4vw,30px) 26px; background: var(--color-surface); border:1px solid var(--color-border); border-radius:var(--border-radius-lg); box-shadow:0 20px 70px rgb(0 0 0 / .18); pointer-events:auto; }
 .ql-mobile-menu a:not(.btn) { display:flex; min-height:48px; align-items:center; font: 550 1.05rem/1.4 var(--font-family-body); color:var(--color-on-surface); border-bottom:1px solid rgb(47 93 69 / .14); text-decoration:none; }
 .ql-mobile-menu a[aria-current=page] { color:var(--color-primary); font-weight:700; }
 .ql-mobile-menu .btn { width:100%; margin-top:20px; }
}
@media(max-width: 767px) {
 .ql-header-brand .logo-lockup { gap:5px; }
 .ql-header-brand .logo-glyph { width:30px; height:30px; }
 .ql-header-inner { border-radius:18px; }
 .ql-company-legal { text-align:center; }
 .ql-footer-legal-links { justify-content:center; gap:12px 16px; }
 .ql-footer-planned { gap:12px; }
 .ql-footer-inner { padding-inline:clamp(15px,4vw,24px); }
 .legal-main { padding-top:125px; padding-bottom:52px; }
 .hero-section,.hero-title,.section-title { overflow-wrap:anywhere; word-break:break-word; white-space:normal; }
 .btn { max-width:100%; white-space:normal; }
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Render QA: restore readable headings from mismatched TeleportHQ page-specific colours. */
.domov-home-thq-hero-title-elm, .storitve-services-amenities-thq-hero-title-elm { color: var(--color-on-surface); }
.lodge-hero { padding-top: max(125px, var(--spacing-4xl)); }
.services-hero { padding-top: max(125px, var(--spacing-4xl)); }
.ql-questions { background:var(--color-surface-elevated); padding:clamp(55px,7vw,95px) clamp(18px,4vw,38px); }
.ql-questions-inner { max-width: var(--content-max-width); margin:0 auto; }
.ql-questions-head { max-width:780px; margin-bottom:clamp(25px,4vw,45px); }
.ql-questions-eyebrow { color:var(--color-primary); font-size:var(--font-size-sm); font-weight:650; letter-spacing:.11em; text-transform:uppercase; margin-bottom:.6rem; }
.ql-questions-head h2 { color:var(--color-on-surface); margin:0; }
.ql-questions-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ql-questions-grid details { background:var(--color-surface); border:1px solid rgb(47 93 69 / .17); border-radius:var(--border-radius-md); padding:clamp(17px,2vw,26px); min-width:0; }
.ql-questions-grid summary { list-style:none; cursor:pointer; color:var(--color-on-surface); font-weight:650; line-height:1.45; position:relative; padding-right:25px; }
.ql-questions-grid summary::-webkit-details-marker {display:none;}
.ql-questions-grid summary:after { content:'+'; position:absolute; right:0; top:0; color:var(--color-primary); font-size:1.3rem; }
.ql-questions-grid details[open] summary:after { content:'−'; }
.ql-questions-grid p { margin-top:1rem; color:var(--color-on-surface-secondary); line-height:1.7; }
@media(max-width:767px){
.lodge-hero {padding-top:120px;}
.services-hero {padding-top:125px;}
.ql-questions-grid {grid-template-columns:1fr;}
}
.ql-questions-note{margin-top:.8rem;color:var(--color-on-surface-secondary);line-height:1.75;}
/* Keep the mobile booking card in document flow; the original fixed-aspect image mask
   did not expand to include the CTA, causing it to overlap the hero description. */
@media (max-width: 767px) {
 .lodge-hero-portal-mask { aspect-ratio: auto; display: flex; flex-direction: column; }
 .lodge-hero-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transform: none; }

 .lodge-hero-overlay { height: 65%; bottom: auto; }
}
/* Ensure that page introductions are never covered by the fixed redesigned header. */
.gallery-hero, .contact-hero, .rooms-hero-section { padding-top: max(125px, var(--spacing-4xl)); }
