/* MDR badge — v5.16. Independent from original styles and scripts. */
.mdr-top-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 9px 5px 5px;border:1px solid #c49b60;border-radius:24px;background:linear-gradient(130deg,rgba(13,22,34,.98),rgba(20,24,30,.96));color:#e6c18c;text-decoration:none;white-space:nowrap;flex:0 0 auto;box-shadow:0 0 12px rgba(187,137,65,.08);transition:border-color .2s,background .2s}
.mdr-top-badge:hover{border-color:#efd3a9;background:#1a2634}
.mdr-badge-icon{width:27px;height:27px;display:inline-flex;flex:none}
.mdr-flag{width:100%;height:100%;display:block}
.mdr-badge-copy{display:flex;flex-direction:column;gap:2px}
.mdr-badge-copy strong{font:700 10px/1.1 Arial,sans-serif;letter-spacing:.035em;color:#e8c590}
.mdr-badge-copy small{font:400 8px/1 Arial,sans-serif;letter-spacing:0;color:#e1c4a0}
/* Make room for the badge in the already-crowded desktop navigation. */
@media(min-width:801px){
 .site-header .header-inner{gap:14px;width:calc(100% - 54px);max-width:1750px}
 .site-header .main-nav{gap:clamp(8px,1.05vw,17px)}
 .site-header .main-nav a{font-size:clamp(8px,.60vw,11px)}
 .site-header .header-actions{gap:11px}
 .site-header .brand{font-size:21px}
 .site-header .brand-vf{font-size:26px}
 .site-header .button-small{padding:10px 11px}
}
/* Medium desktop: compact centered badge in a second header row instead of squeezing links. */
@media(min-width:801px) and (max-width:1440px){
 .site-header .header-inner{min-height:77px}
 .mdr-top-badge{position:absolute;right:12px;top:calc(100% + 8px);z-index:2;box-shadow:0 3px 14px rgba(0,0,0,.35)}
}
/* Mobile: badge in a dedicated second bar below logo, language selector and hamburger. */
@media(max-width:800px){
 .site-header{padding-bottom:48px}
 .site-header .header-inner{position:relative}
 .site-header .header-actions{gap:13px}
 .mdr-top-badge{position:absolute;top:100%;left:50%;transform:translateX(-50%);height:38px;gap:10px;padding:3px 12px 3px 5px;margin-top:4px;z-index:1;border-radius:22px}
 .mdr-badge-icon{width:28px;height:28px}
 .mdr-badge-copy strong{font-size:11px}
 .mdr-badge-copy small{font-size:9px}
 .site-header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:47px;border-top:1px solid rgba(255,255,255,.08);pointer-events:none}
 .site-header .main-nav{top:calc(100% + 48px);z-index:4}
}
