.masthead{gap:18px}.masthead .brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;text-decoration:none}.brand-logo{width:34px;height:34px;border-radius:10px}.masthead .brand span{padding:0;color:inherit}.header-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.language{position:relative;z-index:30;color:#ece7da}.language summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;border:1px solid #d7bd8738;border-radius:30px;padding:9px 12px;font-size:11px;min-height:42px;user-select:none}.language summary::-webkit-details-marker{display:none}.language summary:after{content:'⌄';color:#b8a779;font-size:13px}.flag{display:inline-block;flex:0 0 23px;width:23px;height:23px;border-radius:50%;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff35;vertical-align:middle}.flag-ru{background:linear-gradient(to bottom,#fff 0 33.333%,#1748aa 33.333% 66.666%,#d52b3c 66.666%)}.flag-ro{background:linear-gradient(to right,#002b7f 0 33.333%,#fcd116 33.333% 66.666%,#ce1126 66.666%)}.language-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:190px;background:#18291f;border:1px solid #baa16b55;border-radius:12px;padding:6px;box-shadow:0 15px 45px #0008}.language-menu a{display:flex;gap:11px;align-items:center;padding:11px;color:#e9e4d8;text-decoration:none;font-size:12px;border-radius:8px}.language-menu a:hover,.language-menu a:focus-visible,.language-menu a[aria-current=page]{background:#d1b77714}.language summary:focus-visible{outline:2px solid #d7b879;outline-offset:4px}.masthead .language .flag{padding:0}.clean .site-footer{display:none}@media(max-width:760px){.masthead{padding:16px 18px}.masthead .brand{font-size:20px}.brand-logo{width:31px;height:31px}.header-actions{gap:8px}.language summary{padding:7px 9px;gap:7px}.language .flag{width:22px;height:22px;flex-basis:22px}.language-menu{min-width:180px}.header-actions #clean{font-size:0;padding:9px;min-width:36px}.header-actions #clean:after{content:'↗';font-size:16px}}@media(prefers-reduced-motion:no-preference){.language-menu{animation:language-in .15s ease-out}@keyframes language-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}

.masthead .brand{min-width:0;flex-shrink:0}.masthead .brand-logo{width:144px!important;max-width:144px!important;height:auto!important;display:block;border-radius:0;object-fit:contain}.masthead{padding-top:8px;padding-bottom:8px;min-height:74px}.footer-brand{max-width:1210px;margin:12px auto 24px;padding:0 32px;display:flex;justify-content:flex-start}.clean .footer-brand{display:none}@media(max-width:760px){.masthead .brand-logo{width:112px!important;max-width:112px!important;height:auto!important}.masthead{min-height:66px;padding:5px 18px}.footer-brand{padding:0 18px;margin-bottom:20px}.header-actions{flex-shrink:0}}
