/* Webett eHealth Akademie – shared navigation masthead v1.0
   Canonical source: https://edu.webett.cz/assets/academy-header.css
   Scope: wa-* only; no effect on educational content or module internals. */
nav.wa-masthead{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.985);border-bottom:1px solid #e7e0e5;box-shadow:0 3px 14px rgba(49,62,97,.045);font-family:Inter,"Segoe UI",Arial,sans-serif;color:#313e61;line-height:1.4;width:100%;box-sizing:border-box}
.wa-masthead *,.wa-masthead *::before,.wa-masthead *::after{box-sizing:border-box}
.wa-masthead .wa-inner{max-width:1180px;width:calc(100% - 64px);min-height:84px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.wa-masthead a.wa-brand{display:inline-flex;align-items:center;flex:none;gap:16px;min-width:0;text-align:left;background:transparent;color:#313e61;text-decoration:none;border:0;padding:0;border-radius:0}
.wa-masthead .wa-logo{display:block;flex:none;width:140px;height:70px;max-width:none;object-fit:contain}
.wa-masthead .wa-subtitle{display:block;border-left:2px solid #81abbc;padding-left:15px;color:#313e61;text-transform:uppercase;letter-spacing:1.3px;font-size:12px;font-weight:800;line-height:1.45;white-space:nowrap}
.wa-masthead .wa-brand:hover .wa-subtitle{color:#774a62}
.wa-masthead .wa-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
.wa-masthead .wa-links>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;line-height:1.25;border-radius:9px;color:#313e61;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap;background:transparent;border:0}
.wa-masthead .wa-links>a:hover{background:#f0f0f0;color:#313e61;text-decoration:none;filter:none}
.wa-masthead .wa-links>a.wa-map{background:#774a62;color:#fff;font-weight:750}
.wa-masthead .wa-links>a.wa-map:hover{background:#613b50;color:#fff}
.wa-masthead .wa-links>a[aria-current="page"]:not(.wa-map){background:#f5edf2;color:#774a62;box-shadow:inset 0 -2px #774a62}
.wa-masthead .wa-links>a.wa-map[aria-current="page"]{outline:2px solid #81abbc;outline-offset:2px}
.wa-masthead a:focus-visible,.wa-masthead summary:focus-visible{outline:3px solid #81abbc;outline-offset:3px}
.wa-masthead details.wa-dropdown{display:block;position:relative;flex:none;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.wa-masthead .wa-dropdown>summary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:38px;margin:0;padding:8px 13px;list-style:none;cursor:pointer;border:1px solid #81abbc;border-radius:9px;background:#fff;color:#313e61;font-size:13px;font-weight:700;line-height:1.25;white-space:nowrap;box-shadow:none}
.wa-masthead .wa-dropdown>summary::-webkit-details-marker{display:none}
.wa-masthead .wa-dropdown>summary::after{content:"";width:7px;height:7px;flex:0 0 7px;border-right:2px solid #774a62;border-bottom:2px solid #774a62;transform:translateY(-2px) rotate(45deg)}
.wa-masthead .wa-dropdown[open]>summary{background:#f0f0f0}
.wa-masthead .wa-dropdown[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.wa-masthead .wa-options{position:absolute;right:0;top:calc(100% + 8px);z-index:500;display:grid;gap:2px;min-width:205px;max-width:min(90vw,300px);margin:0;padding:7px;background:#fff;border:1px solid #e7e0e5;border-radius:12px;box-shadow:0 12px 35px #313e6126}
.wa-masthead .wa-options>a{display:block;margin:0;padding:10px 11px;color:#313e61;text-decoration:none;font-size:13px;font-weight:650;line-height:1.3;border:0;border-radius:8px;white-space:nowrap;background:#fff}
.wa-masthead .wa-options>a:hover{background:#f0f0f0}
.wa-masthead .wa-options>a[aria-current="page"]{background:#fbd2c9;color:#313e61}
@media(max-width:1060px){
 .wa-masthead .wa-inner{width:calc(100% - 40px);min-height:0;flex-direction:column;align-items:center;gap:3px;padding:7px 0 10px}
 .wa-masthead .wa-logo{width:112px;height:50px}
 .wa-masthead .wa-brand{gap:10px}
 .wa-masthead .wa-subtitle{padding-left:10px;font-size:10px;letter-spacing:.8px}
 .wa-masthead .wa-links{justify-content:center;gap:5px 7px}
}
@media(max-width:560px){
 nav.wa-masthead{position:relative}
 .wa-masthead .wa-inner{width:calc(100% - 20px);padding:6px 0 9px}
 .wa-masthead .wa-logo{width:102px;height:46px}
 .wa-masthead .wa-links{gap:3px 5px}
 .wa-masthead .wa-links>a{font-size:12px;min-height:34px;padding:7px 10px}
 .wa-masthead .wa-dropdown>summary{font-size:12px;min-height:34px;padding:7px 10px}
 .wa-masthead .wa-options{right:0;min-width:190px}
}
@media(prefers-reduced-motion:reduce){.wa-masthead *{transition:none!important;scroll-behavior:auto!important}}
