/* Sledotarsachi 4.4 — Слънчева Стара планина; real public-domain Wikimedia panorama. */
:root{--sl-photo:url("https://thumb.wikimedia.org/wikipedia/commons/thumb/0/01/Panorama_Ray_hut_%26_Botev_peak.jpg/3840px-Panorama_Ray_hut_%26_Botev_peak.jpg");--sl-fir:#174b3b;--sl-ink:#213d33;--sl-paper:#fafcf8;--sl-sage:#e7f1e4}
body.mt-theme{background:#f8fbf6!important;background-image:linear-gradient(180deg,#fbfefb,#f0f5ed 70%,#f9faf6)!important;color:var(--sl-ink)!important;--ink:var(--sl-ink);--paper:#fafcf8;--cream:#fafcf8;--muted:#60776d}
body.mt-theme :is(.ot-header,.st-head,.app-header,.h-top,header:not(.ot-header):not(.st-head):not(.app-header):not(.h-top)){background:#fffefa!important;color:var(--sl-ink)!important;border-color:#dce6dc!important;box-shadow:0 5px 17px rgba(31,63,45,.045)}
body.mt-theme header :is(.nav,.logo,.brand,.st-brand,.ot-brand,.st-head-link){color:#234b3d!important}
body.mt-theme header .nav.active{color:#146c52!important;border-color:#146c52!important}
body.mt-theme .st-head-link{color:#1a664b!important}
body.mt-theme header .mark{background:#e6f1e5!important;color:#1a6c52!important}
body.mt-theme :is(.st-box,.st-action,.ot-panel,.ot-card,.panel,.card){background:#fff!important;border-color:#dce6db!important;box-shadow:0 8px 26px #244b2d0c!important}
body.mt-theme :is(.st-chip,.st-leader-grid a,.st-more a){background:#f0f7ed;color:#195b43;border-color:#d2e3d0}
body.mt-theme :is(.btn.dark,.ot-btn-main){background:#1b6b4f!important;color:#fff!important}
body.mt-theme :is(.st-hero,.ot-hero,.h-hero){background-image:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(250,255,250,.87) 34%,rgba(251,255,250,.3) 67%,rgba(255,255,255,.01)),var(--sl-photo),url('assets/mountain-panorama.svg')!important;background-position:center,center 54%,center!important;background-size:cover,cover,cover!important;color:#224938!important;border:1px solid #dce8d9;box-shadow:0 12px 36px #24543d17}
body.mt-theme :is(.st-hero,.ot-hero,.h-hero)::before{background:none!important}
body.mt-theme :is(.st-hero,.ot-hero,.h-hero) :is(h1,h2,p,.st-eyebrow,.ot-eyebrow,.h-eyebrow){color:#234938!important;text-shadow:none!important}
body.mt-theme :is(.st-hero,.ot-hero,.h-hero) h1 em{color:#237952!important}
body.mt-theme :is(.st-hero,.ot-hero,.h-hero) .ot-art{background:#f7fff4bd;border-color:#d5e7ce}
/* Site homepage: airy photo at right, bright editorial panel at left, no black veil. */
body.mt-theme.home-clean .hero{background:#ecf4e9!important;background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.64) 50%,rgba(255,255,255,.04) 75%),var(--sl-photo),url('assets/mountain-panorama.svg')!important;background-size:cover,cover,cover!important;background-position:center,center 50%,center!important;border:1px solid #d9e6d4!important;box-shadow:0 18px 50px #20433216!important;isolation:isolate}
body.mt-theme.home-clean .hero:before{background:none!important}
body.mt-theme.home-clean .hero .hero-copy{max-width:650px!important;align-self:center!important;z-index:3}
body.mt-theme.home-clean .hero .hero-copy :is(h1,h2,p,.eyebrow){color:#1d4e3c!important;text-shadow:none!important}
body.mt-theme.home-clean .hero .hero-copy h1 span{color:#2c8560!important}
body.mt-theme.home-clean .hero .hero-copy .btn{background:#187c54!important;color:#fff!important;border-color:#187c54!important}
body.mt-theme.home-clean .hero .mt-cover-art{width:67%!important;opacity:1!important;mask-image:linear-gradient(90deg,transparent,#000 25%)!important}
body.mt-theme.home-clean .hero .mt-cover-art img{filter:brightness(1.07) saturate(1.05)}
body.mt-theme.home-clean .hero .map{display:none!important}
body.mt-theme.home-clean .hero .classroom-link{color:#235340!important}
body.mt-theme .ot-hero h1{color:#184b39!important}
/* Navigation: fixed anchored menu; no left-of-screen dropdown, no overlong header */
body.mt-theme.home-clean header{position:sticky;top:0;z-index:1000}
body.mt-theme.home-clean header .bar{max-width:1460px;min-height:72px;display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(8px,1.6vw,22px);padding:12px clamp(16px,3vw,36px)}
body.mt-theme.home-clean .logo{white-space:nowrap;flex-shrink:0;margin-right:auto;text-decoration:none;font-size:21px}
body.mt-theme.home-clean .logo small{font-size:9px;color:#64917b}
body.mt-theme.home-clean .bar > .nav,body.mt-theme.home-clean .bar .session-nav{flex-shrink:0;white-space:nowrap;font-size:13px}
body.mt-theme.home-clean .sl-focus-club{font-weight:800;color:#176b50!important;background:#e9f3e7;padding:10px 12px;border-radius:12px;text-decoration:none}
body.mt-theme.home-clean .home-menu{flex-shrink:0;position:static;margin-left:0}
body.mt-theme.home-clean .home-menu summary{padding:10px 13px;border-radius:12px;border:1px solid #cbdcce;color:#205941;background:#f0f7ed;cursor:pointer;list-style:none;white-space:nowrap;font-size:13px}
body.mt-theme.home-clean .home-menu summary::-webkit-details-marker{display:none}
body.mt-theme.home-clean .home-menu:not([open]) nav{display:none!important}
body.mt-theme.home-clean .home-menu nav{position:fixed!important;top:74px!important;right:clamp(12px,3vw,45px)!important;left:auto!important;bottom:auto!important;z-index:1200!important;max-height:calc(100dvh - 90px);overflow-y:auto;overflow-x:hidden;display:grid!important;grid-template-columns:1fr 1fr;column-gap:8px;row-gap:0;width:min(530px,calc(100vw - 28px));min-width:0;background:#fffffff4!important;border:1px solid #d4e1d3;border-radius:18px;box-shadow:0 20px 60px #17382438;backdrop-filter:blur(14px);padding:15px}
body.mt-theme.home-clean .home-menu nav :is(a,button){color:#204f3c!important;white-space:normal;overflow-wrap:anywhere;text-align:left;padding:11px;border-radius:10px;line-height:1.4}
body.mt-theme.home-clean .home-menu nav :is(a,button):hover{background:#edf6e9!important}
body.mt-theme.home-clean .session-nav .btn{background:#e4f1e4!important;color:#176449!important;border:1px solid #c9dcca!important}
body.mt-theme.home-clean header #navChatUnread{background:#186f50!important;color:white!important;border-radius:20px;padding:1px 6px;font-size:10px}
/* Priority club strip and workspace */
.sl-golesh-strip{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:26px 30px;margin:22px 0;background:#eff6e9;border:1px solid #d6e7ce;border-radius:22px}
.sl-golesh-strip small{font-size:11px;letter-spacing:.1em;font-weight:850;color:#4c8464}.sl-golesh-strip h2{margin:5px 0;font-size:clamp(21px,2.2vw,30px);color:#22543e}.sl-golesh-strip p{margin:4px 0;color:#526a58;font-size:14px;line-height:1.5}.sl-golesh-cta{display:inline-flex;background:#187653;color:white;text-decoration:none;border-radius:13px;padding:14px 19px;font-weight:800;white-space:nowrap}
.st-club-spotlight{border-top:4px solid #68a17d!important;position:relative}
.st-club-spotlight::before{content:'ГОЛЕЖ';position:absolute;right:20px;top:8px;color:#ecf4e9;font-size:clamp(38px,6vw,80px);font-weight:900;letter-spacing:-.06em;pointer-events:none}
.st-club-spotlight>*{position:relative;z-index:1}
.st-club-desc{color:#436656}
.st-view-tabs{display:flex;gap:9px;margin-top:22px;flex-wrap:wrap}
.st-view-tabs button{padding:11px 18px;background:#eaf1e8;color:#285942;border:1px solid #cbdcc9;border-radius:12px;font-size:14px;font-weight:800;cursor:pointer}
.st-view-tabs button[aria-pressed="true"]{background:#196e51;color:#fff;border-color:#196e51}
.st-upcoming{margin:18px 0;background:#fff;border:1px solid #dce7d9;border-radius:22px;padding:24px;box-shadow:0 10px 25px #2c5d3511}
.st-upcoming-head{display:flex;justify-content:space-between;align-items:start;gap:18px;flex-wrap:wrap}
.st-upcoming h2{font-size:25px;margin:4px 0 8px}
.st-upcoming p{margin:6px 0;color:#506a5c;line-height:1.55}
.st-trip-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:18px}
.st-trip-stats>div{background:#f3f8ef;border:1px solid #deebd9;border-radius:14px;padding:14px}
.st-trip-stats strong{display:block;color:#1d6547;font-size:25px}
.st-trip-stats span{font-size:12px;color:#5b7264}
.st-trip-actions{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 0}
.st-trip-actions a,.st-admin-links a{display:inline-flex;text-decoration:none;padding:11px 14px;border-radius:11px;background:#e8f3e6;border:1px solid #d1e3cc;color:#235a3f;font-weight:750;font-size:13px}
.st-trip-actions a:first-child{background:#1d7653;color:#fff;border-color:#1d7653}
.st-people-details{margin-top:18px;border-top:1px solid #dbe8d9;padding-top:13px}
.st-people-details summary{cursor:pointer;font-size:14px;font-weight:800;color:#1c6448}
.st-people-details ul{margin:12px 0 0;padding-left:20px;columns:2;line-height:1.7}
.st-people-details li{break-inside:avoid}
.st-admin-mode{padding:21px 24px;border-radius:22px;background:#fff;border:1px solid #dce7d8;margin-top:20px}
.st-admin-summary{display:flex;gap:12px;flex-wrap:wrap}
.st-admin-summary>div{flex:1;min-width:140px;background:#f0f7ee;border:1px solid #d6e6d0;padding:17px;border-radius:16px}
.st-admin-summary b{font-size:26px;color:#216849;display:block}
.st-admin-links{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.st-admin-mode .st-club-select{display:inline-block;width:min(500px,100%);margin:8px 12px 8px 0}
body.st-national-view #st-club-picker,body.st-national-view #st-next-outing,body.st-national-view .st-actions,body.st-national-view #st-leader{display:none!important}
body.st-national-view #st-admin-mode{display:block!important}
/* keep club header visible in admin context, so switch back is easy */
body.st-national-view .st-club-spotlight{display:none}
@media(max-width:1280px){body.mt-theme.home-clean .sl-mid-link{display:none}body.mt-theme.home-clean header .bar{gap:12px}}
@media(max-width:850px){body.mt-theme.home-clean header .bar>.nav:not(.sl-focus-club),body.mt-theme.home-clean header .bar>.session-nav{display:none!important}body.mt-theme.home-clean header .bar{gap:8px}body.mt-theme.home-clean .logo{font-size:18px}}
@media(max-width:700px){
 body.mt-theme.home-clean .hero{background:#f2f8ef!important;border-radius:18px!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.mt-theme.home-clean .hero:after{display:none!important}
 body.mt-theme.home-clean .hero .mt-cover-art{display:block!important;position:relative!important;order:-1!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:100%!important;height:230px!important;opacity:1!important;mask-image:none!important;flex:none}
 body.mt-theme.home-clean .hero .mt-cover-art img{width:100%;height:100%;object-fit:cover;object-position:center center;filter:brightness(1.08)}
 body.mt-theme.home-clean .hero-copy{padding:24px 22px 28px!important;max-width:none!important}
 body.mt-theme.home-clean .hero h1{font-size:clamp(33px,9vw,52px)!important}
 body.mt-theme.home-clean .hero p{color:#416451!important}
 body.mt-theme.home-clean .home-menu nav{top:64px!important;grid-template-columns:1fr;right:11px!important;max-height:calc(100dvh - 76px)}
 body.mt-theme.home-clean .sl-focus-club{padding:8px;font-size:11px!important}
 .sl-golesh-strip{flex-direction:column;align-items:stretch;padding:19px}
 .sl-golesh-cta{justify-content:center}
 body.mt-theme .st-hero{min-height:190px!important;padding:34px 23px!important;background-image:linear-gradient(90deg,rgba(255,255,255,.93),rgba(255,255,255,.65)),var(--sl-photo),url('assets/mountain-panorama.svg')!important}
 .st-trip-stats{gap:6px}
 .st-trip-stats>div{padding:9px}
 .st-trip-stats strong{font-size:20px}
 .st-trip-stats span{font-size:11px}
 .st-people-details ul{columns:1}
}
@media(prefers-reduced-motion:reduce){body.mt-theme *{scroll-behavior:auto}}
/* [hidden] must stay hidden even when the component itself uses flex. */
.st-view-tabs[hidden],.st-admin-mode[hidden],#st-leader[hidden]{display:none!important}
/* Prevent the compact.css width:100% brand from forcing a 460px mobile bar. */
@media(max-width:700px){
 body.mt-theme.home-clean .bar>.logo{width:auto!important;max-width:calc(100vw - 190px);min-width:0;flex:1 1 auto;margin-right:auto!important;overflow:hidden;text-overflow:ellipsis;font-size:16px!important;gap:5px}
 body.mt-theme.home-clean .bar>.logo .mark{flex:0 0 31px}
 body.mt-theme.home-clean .bar>.logo small{display:none}
 body.mt-theme.home-clean .bar>.sl-focus-club{flex:0 0 auto;font-size:11px!important;padding:8px 7px}
 body.mt-theme.home-clean .bar>.home-menu{flex:0 0 auto}
 body.mt-theme.home-clean header .bar{width:100%!important;max-width:100vw!important;overflow:visible;box-sizing:border-box}
 body.mt-theme.home-clean{overflow-x:clip}
}
