/* SuelosMeister native multilingual v0.8.0 */
.sm-languages{max-width:min(100%,48rem)}
.sm-language{min-width:3rem;min-height:44px}
.sm-language.is-active{outline:2px solid currentColor;outline-offset:2px}
.sm-mobile-master-language{max-height:42vh;overflow:auto;overscroll-behavior:contain;padding-bottom:max(.5rem,env(safe-area-inset-bottom))}
.sm-mobile-master-language .sm-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;width:100%}
.sm-mobile-master-language .sm-language{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;width:100%;min-width:0;min-height:48px;padding:.7rem .8rem}
.sm-mobile-master-language .sm-language span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sm-language-ru .sm-mobile-master-language .sm-language span,.sm-language-de .sm-mobile-master-language .sm-language span{font-size:.88rem}
@media(max-width:390px){.sm-mobile-master-language .sm-languages{grid-template-columns:1fr}.sm-mobile-master-language{max-height:48vh}}

/* v0.8.3 · multilingual hero contrast and compact desktop language picker */
.sm-native-hero{background:#111;color:#fff}
.sm-native-hero .sm-hero-media{display:block;background-image:url(../img/hero.webp);background-position:center 55%;background-size:cover;background-repeat:no-repeat}
.sm-native-hero .sm-hero-shade{display:block;background:linear-gradient(90deg,rgba(8,9,7,.88) 0%,rgba(8,9,7,.58) 54%,rgba(8,9,7,.18) 100%),linear-gradient(0deg,rgba(8,9,7,.68),transparent 58%)}
.sm-native-hero .sm-hero-content{color:#fff}
.sm-native-hero .sm-hero-content h1{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,.28)}
.sm-native-hero .sm-hero-lead{color:rgba(255,255,255,.9)!important}

@media(min-width:921px){
  .sm-header .sm-header-actions{flex:none;gap:.75rem}
  .sm-header .sm-language-picker{position:relative;width:58px;height:48px;flex:none;z-index:30}
  .sm-header .sm-languages{position:absolute;right:0;top:0;width:58px;height:48px;display:block;overflow:visible}
  .sm-header .sm-language{display:none;min-width:0;min-height:38px;padding:.55rem .65rem;place-items:center;border:1px solid rgba(255,255,255,.12);background:#121310;color:#ddd;text-decoration:none}
  .sm-header .sm-language span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important}
  .sm-header .sm-language small{display:block}
  .sm-header .sm-language.is-active{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.48);outline:0;background:#171815;color:#fff}
  .sm-header .sm-language.is-active:after{content:"⌄";margin-left:.35rem;color:#f39200}
  .sm-header .sm-languages:hover,.sm-header .sm-languages:focus-within{width:250px;height:auto;padding:56px 10px 10px;display:grid;grid-template-columns:repeat(4,minmax(48px,1fr));gap:6px;border:1px solid rgba(255,255,255,.16);background:#0d0e0c;box-shadow:0 24px 60px rgba(0,0,0,.36)}
  .sm-header .sm-languages:hover .sm-language,.sm-header .sm-languages:focus-within .sm-language{display:grid}
  .sm-header .sm-languages:hover .sm-language.is-active,.sm-header .sm-languages:focus-within .sm-language.is-active{inset:7px 10px auto auto;width:58px;height:42px;display:flex}
  .sm-header .sm-language:hover,.sm-header .sm-language:focus-visible{border-color:#f39200;background:#f39200;color:#111}
}

.sm-mobile-master-language .sm-language-picker,.sm-footer-languages .sm-language-picker{width:100%}

@media(max-width:920px){
  .sm-native-hero{min-height:calc(100svh - 30px);padding-top:102px}
  .sm-native-hero .sm-hero-media{background-position:58% center}
  .sm-native-hero .sm-hero-shade{background:linear-gradient(0deg,rgba(8,9,7,.94) 0%,rgba(8,9,7,.58) 70%,rgba(8,9,7,.25) 100%)}
  .sm-native-hero .sm-hero-content{margin-bottom:calc(4.5rem + env(safe-area-inset-bottom))}
  .sm-native-hero .sm-hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .sm-native-hero .sm-hero-actions .sm-button{width:100%;justify-content:center}
}
