/* The top of every page of every MediaAtlas product (Razpisnik, Dobitnik, Nabavnik): MediaAtlas and the product, who is signed in, one menu. The same file in the three repos (tenders static/top.css, dobitnik and nabavnik top.css); each holds its copy to the others where they stand beside it. Colours fall back where a page defines none. */
.ma-top,.ma-menu{background:var(--card,#fff);border-bottom:1px solid var(--line,#D6DCE0);font-family:system-ui,"Segoe UI",Arial,sans-serif;line-height:1.4}
.ma-top>div,.ma-menu>div{max-width:var(--w,1180px);margin:0 auto;padding:0 var(--pad,24px);display:flex;align-items:center}
.ma-top>div{justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.ma-top .ma-row{display:inline-flex;align-items:center;gap:10px;font-size:.95rem}
.ma-top .ma{display:inline-flex;align-items:center;gap:8px;color:var(--ink,#101A20);text-decoration:none;font-weight:700;letter-spacing:-.01em}
.ma-top .ma svg{width:24px;height:24px;flex:none}.ma-top .ma b{font-weight:700;margin:0;color:inherit}.ma-top .ma i{font-style:normal;color:#F79C1F}
.ma-top .ma-app{display:inline-flex;align-items:center;gap:10px;color:var(--ink,#101A20);text-decoration:none;font-weight:600}
.ma-top .ma-app::before{content:"";width:1px;height:18px;background:var(--line,#D6DCE0)}
.ma-acct{display:inline-flex;align-items:center;gap:14px;font-size:.92rem;color:var(--muted,#4B5A64);min-width:0}
.ma-acct a{color:var(--brand,#AD5A00);text-decoration:none;font-weight:600}.ma-acct a:hover{text-decoration:underline}
.ma-acct a.join{background:var(--fill,#F79C1F);color:#1A1205;padding:7px 12px;border-radius:6px}.ma-acct a.join:hover{text-decoration:none;filter:brightness(1.06)}
.ma-acct a.me{color:var(--muted,#4B5A64);font-weight:500;max-width:17em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-acct form{display:inline;margin:0}
.ma-acct button{font:inherit;font-weight:600;background:none;border:0;padding:0;margin:0;width:auto;color:var(--brand,#AD5A00);cursor:pointer}.ma-acct button:hover{text-decoration:underline}
.ma-menu>div{gap:2px;overflow-x:auto;scrollbar-width:none}.ma-menu>div::-webkit-scrollbar{display:none}
.ma-menu a{flex:none;padding:10px 12px 8px;color:var(--muted,#4B5A64);text-decoration:none;font-size:.95rem;border-bottom:2px solid transparent;white-space:nowrap}
.ma-menu a:first-child{margin-left:-12px}.ma-menu a.g{margin-left:18px}
.ma-menu a:hover{color:var(--ink,#101A20)}
.ma-menu a[aria-current=page]{color:var(--ink,#101A20);border-bottom-color:var(--fill,#F79C1F);font-weight:600}
.ma-top a:focus-visible,.ma-menu a:focus-visible,.ma-acct button:focus-visible{outline:2px solid var(--brand,#AD5A00);outline-offset:2px}
.ma-bleed{margin-left:calc(-1*var(--ma-pad,16px));margin-right:calc(-1*var(--ma-pad,16px))}
@media (max-width:640px){.ma-top>div,.ma-menu>div{padding-left:var(--pad,16px);padding-right:var(--pad,16px)}.ma-acct a.me,.ma-acct a.in~a.join{display:none}.ma-acct{gap:12px}}
/* a page's own older rule for a bare <header> must not reach this one */
header.ma-top{display:block;padding:0;margin:0;max-width:none;gap:0;font-size:1rem;color:inherit;flex-wrap:nowrap}
@media print{.ma-top,.ma-menu{display:none}}
/* a search box in the corner (Nabavnik), beside who is signed in */
.ma-acct form.s{display:inline-flex}.ma-acct form.s input{font:inherit;font-size:.92rem;width:min(300px,26vw);padding:6px 9px;border:1px solid var(--line,#D6DCE0);border-radius:6px;background:var(--bg,var(--paper,#F5F6F7));color:var(--ink,#101A20)}
@media (max-width:720px){.ma-acct form.s{display:none}}
/* a link that leaves the product */
.ma-menu a.out::after{content:" ↗";font-size:12px}
/* beside the way in: what is for anybody (a.x), and for a session the guide (a.help, a »?« with its name as the tooltip) */
.ma-acct a.x{color:var(--muted,#4B5A64);font-weight:500}.ma-acct a.x:hover{color:var(--ink,#101A20)}
.ma-acct a.help{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font-size:.85rem;font-weight:700;line-height:1;color:var(--muted,#4B5A64)}
.ma-acct a.help:hover{text-decoration:none;color:var(--ink,#101A20)}
