/* Mobilā izvēlne — izbīdāms panelis no kreisās puses */
.drawer-overlay{position:fixed;inset:0;background:rgba(35,29,29,.55);z-index:200;opacity:0;transition:opacity .25s}
.drawer-overlay.show{opacity:1}
.drawer{position:fixed;top:0;left:0;bottom:0;width:min(320px,86vw);z-index:201;background:#fff;display:flex;flex-direction:column;transform:translateX(-102%);transition:transform .28s ease;box-shadow:12px 0 40px -12px rgba(0,0,0,.4);font-family:inherit;overflow-y:auto;visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.drawer-head{background:#8A2E33;display:flex;align-items:center;justify-content:space-between;padding:14px 16px 14px 18px;min-height:68px;flex:none}
.drawer-logo img{height:38px;width:auto;filter:brightness(0) invert(1);display:block}
.drawer-x{background:none;border:0;color:#fff;font-size:2rem;line-height:1;width:40px;height:40px;cursor:pointer;display:grid;place-items:center}
.drawer-nav{flex:1;display:flex;flex-direction:column;padding:14px 0}
.drawer-nav>a,.drawer-sub-btn{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 20px;color:#463939;text-decoration:none;font-weight:600;font-size:1rem;background:none;border:0;font-family:inherit;text-align:left;cursor:pointer}
.drawer-nav>a[aria-current]{color:#8A2E33;box-shadow:inset 3px 0 0 #FFCB04}
.drawer-nav>a:hover,.drawer-sub-btn:hover{color:#8A2E33}
.drawer-sub-btn svg{width:18px;height:18px;transition:transform .2s}
.drawer-sub-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
.drawer-sub-list{display:flex;flex-direction:column;padding:0 0 6px}
.drawer-sub-list[hidden]{display:none}
.drawer-sub-list a{padding:9px 20px 9px 34px;color:#675D5D;text-decoration:none;font-size:.95rem}
.drawer-sub-list a:hover{color:#8A2E33}
.drawer-nav .drawer-portal{width:auto;margin:14px 20px 0;justify-content:center;background:#8A2E33;color:#fff;border-radius:6px;padding:12px}
.drawer-nav .drawer-portal:hover{color:#fff;background:#6B2227}
.drawer-foot{background:#2B2323;color:#CBBDB8;padding:20px 18px 18px;font-size:.9rem;flex:none}
.drawer-foot .drawer-sos{display:block;background:#FFCB04;color:#463939;text-decoration:none;padding:12px 14px;border-radius:6px;margin-bottom:18px}
.drawer-foot .drawer-sos span{display:block;font-size:.82rem;font-weight:600}
.drawer-foot .drawer-sos b{color:#463939;font-size:1.5rem;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.drawer-foot h4{color:#fff;font-size:.95rem;margin:0 0 12px}
.drawer-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.drawer-foot li{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;line-height:1.4}
.drawer-foot li svg{width:16px;height:16px;color:#FFCB04;margin-top:2px}
.drawer-foot a{color:#F1E6E2;text-decoration:none}
.drawer-copy{margin:18px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);font-size:.78rem;color:#9D8F8B}
body.drawer-lock{overflow:hidden}
@media (prefers-reduced-motion:reduce){.drawer,.drawer-overlay{transition:none}}

/* Labojumi */
.drawer *{box-sizing:border-box}
.drawer-x{border-radius:6px}
.drawer-x:focus:not(:focus-visible){outline:none}
.drawer-x:focus-visible{outline:2px solid #FFCB04;outline-offset:2px}
.drawer-nav>a,.drawer-sub-btn{line-height:1.35}
.drawer-sub-btn{color:#463939}
.drawer-foot li span{min-width:0}
.drawer-foot .drawer-sos:hover{background:#FFD83D}
.drawer-copy{padding-bottom:4px}
@media (max-width:760px){.drawer{bottom:0;padding-bottom:0}.drawer-foot{padding-bottom:72px}}
/* Hamburgera poga */
.menu-toggle{width:46px;height:46px;padding:0!important;align-items:center;justify-content:center}
.hb{display:grid;gap:5px;width:22px}
.hb i{display:block;height:2px;background:currentColor;border-radius:2px}
