/* ===== burger (three bars) in the header + category side drawer =====
   loaded after shell.css (alphabetical glob in event/theme.php), versioned by filemtime */

/* --- burger button: red skewed tile left of the logo (desktop), plain red bars on mobile --- */
.mk-header .mk-mainrow .mk-burger { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; order: 0; width: 50px; height: 42px; padding: 0; margin: 0 -12px 0 0; align-self: center; background: var(--mk-red, #9f050d); color: #fff; border: 0; cursor: pointer; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: background .15s ease; }
.mk-header .mk-mainrow .mk-burger:hover, .mk-header .mk-mainrow .mk-burger:focus-visible { background: var(--mk-navy, #26316d); outline: none; }
.mk-bars { display: flex; flex-direction: column; justify-content: space-between; width: 22px; height: 16px; }
.mk-bars i { display: block; height: 3px; width: 100%; background: currentColor; border-radius: 1px; transition: transform .2s ease, width .2s ease; }
.mk-bars i:nth-child(2) { width: 80%; }
.mk-burger:hover .mk-bars i:nth-child(2) { width: 100%; }
@media (max-width: 1023px) {
  .mk-header .mk-mainrow .mk-burger { order: 10; width: 38px; height: 34px; margin: 0 -4px 0 0; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
  .mk-header .mk-mainrow .mk-bars { width: 18px; height: 14px; }
  .mk-header .mk-mainrow .mk-bars i { height: 2.5px; }
}

/* --- drawer panel --- */
.drawer-toggle:checked ~ .drawer-side > .drawer-overlay { background-color: rgba(38, 49, 109, .55); }
.mk-drawer-panel { width: 88vw; max-width: 380px; box-shadow: none; }
.drawer-toggle:checked ~ .drawer-side .mk-drawer-panel { box-shadow: 6px 0 24px rgba(0,0,0,.18); }
/* closed panel: fractional width (88vw) vs integer translate leaves ~0.2px of white at x=0 -> light 1px line; hide it fully once slid out */
.drawer-toggle:not(:checked) ~ .drawer-side .mk-drawer-panel { visibility: hidden; transition: transform .3s ease-out, visibility 0s linear .3s; }
.drawer-toggle:checked ~ .drawer-side .mk-drawer-panel { visibility: visible; transition: transform .3s ease-out, visibility 0s; }
.mk-drawer-head { padding: 14px 16px 12px; border-bottom: 0; }
.mk-drawer-head img { height: 38px; }
.mk-drawer-head label { width: 38px; height: 34px; min-height: 0; padding: 0; border-radius: 0; background: var(--mk-surface, #f5f5f5); color: var(--mk-navy, #26316d); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.mk-drawer-head label:hover { background: var(--mk-red, #9f050d); color: #fff; }

.mk-dtitle { background: var(--mk-navy, #26316d); padding: 0 16px; height: 44px; display: flex; align-items: center; position: relative; overflow: hidden; }
.mk-dtitle::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 120px; background: var(--mk-red, #9f050d); transform: skewX(-20deg); }
.mk-dtitle span { position: relative; z-index: 1; color: #fff; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; }

.mk-dcats { padding: 4px 0 8px; }
.mk-dcat { border-bottom: 1px solid var(--mk-border, #ddd); }
.mk-dcat > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 16px; cursor: pointer; color: var(--mk-navy, #26316d); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 14px; line-height: 1.2; border-left: 4px solid transparent; transition: background .15s ease, border-color .15s ease; }
.mk-dcat > summary::-webkit-details-marker { display: none; }
.mk-dcat > summary:hover, .mk-dcat[open] > summary { background: var(--mk-surface, #f5f5f5); border-left-color: var(--mk-red, #9f050d); }
.mk-dico { flex: 0 0 34px; height: 30px; display: inline-flex; align-items: center; justify-content: center; background: var(--mk-red, #9f050d); color: #fff; font-size: 14px; font-style: normal; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.mk-dname { flex: 1; }
.mk-dchev { font-size: 12px; color: var(--mk-red, #9f050d); transition: transform .2s ease; }
.mk-dcat[open] .mk-dchev { transform: rotate(180deg); }
.mk-dsub { display: flex; flex-direction: column; padding: 4px 16px 12px 66px; background: var(--mk-surface, #f5f5f5); }
.mk-dsub a { position: relative; padding: 6px 0; color: #232222; font-weight: 600; font-size: 13.5px; line-height: 1.3; transition: color .12s ease, padding .12s ease; }
.mk-dsub a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 2px; background: var(--mk-border-strong, #b9b9b9); transition: background .12s ease; }
.mk-dsub a:hover { color: var(--mk-red, #9f050d); padding-left: 4px; }
.mk-dsub a:hover::before { background: var(--mk-red, #9f050d); }
.mk-dsub a.mk-dall { color: var(--mk-red, #9f050d); font-weight: 700; font-style: italic; }
.mk-dsub a.mk-dall i { font-size: 11px; margin-left: 4px; }
.mk-dsub a.mk-dall::before { background: var(--mk-red, #9f050d); }

.mk-dquick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 16px 6px; }
.mk-dquick a { display: flex; align-items: center; justify-content: center; height: 40px; background: var(--mk-red, #9f050d); color: #fff; font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 13px; transition: background .15s ease; }
.mk-dquick a + a { background: var(--mk-navy, #26316d); }
.mk-dquick a:hover { background: var(--mk-red-dark, #7d0309); color: #fff; }
.mk-dquick a + a:hover { background: #1b2350; }
.mk-dquick i { margin-right: 6px; }

.mk-drawer-panel .menu.mk-dservice { padding: 6px 8px; }
.mk-drawer-panel .menu.mk-dservice a { text-transform: none; font-weight: 600; font-size: 14px; }
.mk-drawer-panel .menu.mk-dservice a i { width: 18px; text-align: center; color: var(--mk-red, #9f050d); }
/* no black DaisyUI hover/active/focus state on service links */
.mk-drawer-panel .menu.mk-dservice li > a:hover,
.mk-drawer-panel .menu.mk-dservice li > a:focus,
.mk-drawer-panel .menu.mk-dservice li > a:focus-visible,
.mk-drawer-panel .menu.mk-dservice li > a:active,
.mk-drawer-panel .menu.mk-dservice li > a.active { background: #f1f3f9; color: var(--mk-navy, #26316d); outline: none; box-shadow: none; }
.mk-drawer-panel .menu.mk-dservice li > a:hover i,
.mk-drawer-panel .menu.mk-dservice li > a:active i { color: var(--mk-red, #9f050d); }
.mk-drawer-foot { border-top: 3px solid var(--mk-red, #9f050d); }
.mk-drawer-foot a { color: var(--mk-navy, #26316d); font-weight: 700; }
