/* Shared layout and navigation. Content remains visible when JavaScript is off. */
:root{--mts-header-height:80px;--mts-shortcut-height:52px}
.header{position:sticky;top:0;height:var(--mts-header-height);z-index:40;background:#0a101b}
.header .brand img{height:70px;object-fit:contain}
.header-inner .nav{max-height:calc(100dvh - var(--mts-header-height));overflow-y:auto}
.page-shortcuts{position:sticky;top:var(--mts-header-height);z-index:25;background:#111b2e;border-bottom:1px solid #37415a}
.page-shortcuts>.wrap{min-height:var(--mts-shortcut-height);display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:5px;padding-bottom:5px}
.return-link{font-size:13px;color:#edc36d;padding:9px 0;flex-shrink:0}
.section-jump{min-width:0;max-width:55%}.section-jump select{max-width:100%;width:290px;background:#172239;color:#e5e9f1;border:1px solid #485472;padding:8px 28px 8px 12px;font:inherit;font-size:13px;border-radius:4px;min-height:40px}
html{scroll-padding-top:calc(var(--mts-header-height) + var(--mts-shortcut-height) + 20px)}
main h2,[id="stories-list"],[id="vacancies-list"]{scroll-margin-top:calc(var(--mts-header-height) + var(--mts-shortcut-height) + 20px)}
.back-to-top{position:fixed;left:22px;bottom:max(22px,env(safe-area-inset-bottom));z-index:44;background:#152139;color:#fff;border:1px solid #9980bc;border-radius:24px;padding:11px 18px;min-height:44px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.3;box-shadow:0 6px 24px #0005;cursor:pointer}
.back-to-top:hover{background:#392750}.back-to-top:focus-visible,.page-shortcuts a:focus-visible,.pagination button:focus-visible{outline:3px solid #f1be58;outline-offset:3px}
.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.news-card{min-width:0}.news-card h3 a{white-space:normal;overflow-wrap:anywhere;font:inherit;line-height:inherit;border:0;padding:0;display:inline}
.news-card h3 a>span{display:none}.news-card img{max-width:100%}.news-card p{overflow-wrap:anywhere}
.story-filter{margin:0 0 28px;max-width:550px}.story-filter label{display:block;margin-bottom:8px}.story-filter input{width:100%;background:#132038;color:#fff;border:1px solid #536079;border-radius:3px;padding:13px 16px;font:inherit}.story-filter p{margin:12px 0 0;color:#b7c0d1;font-size:14px}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:30px;padding-top:22px;border-top:1px solid #34415a}.pagination button{padding:10px 14px;min-height:44px;border:1px solid #73778d;border-radius:4px;background:#142037;color:#f4f4f8;font:inherit;cursor:pointer}.pagination button:disabled{opacity:.45;cursor:default}.pagination button[aria-current="page"]{background:#e9b558;border-color:#e9b558;color:#101523}.pagination .page-status{flex-basis:100%;text-align:center;font-size:13px;color:#b6bfd0;margin-bottom:6px}
.application-note{margin:18px 0;padding:16px;border-left:3px solid #edbd68;background:#15223a}.application-role{font-weight:650;color:#edc36d}
@media(max-width:1100px){:root{--mts-header-height:74px}.header-inner .nav{top:var(--mts-header-height)}.header .brand img{height:64px}}
@media(min-width:761px) and (max-width:980px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root{--mts-header-height:72px;--mts-shortcut-height:50px}.header-inner .nav{top:var(--mts-header-height)}.news-grid{grid-template-columns:minmax(0,1fr)}.page-shortcuts>.wrap{gap:12px}.section-jump{max-width:58%}.section-jump select{font-size:12px;width:100%;padding-left:8px}.return-link{font-size:12px}.back-to-top{left:14px;bottom:max(16px,env(safe-area-inset-bottom));font-size:12px;padding:10px 13px}.news-card h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
