
/* 1. Duplicate «ملفات ومقالات» (unstyled copy injected next to الكلاسيكيات) */
html body .ka-ds-filters>a[href*="/files-articles/"]:not([class]){display:none!important}
/* 2. Dropdown arrow: replace the "⌄" glyph (sits below the baseline) with a centred chevron */
html body nav.kan-nav .kan-toggle>span[aria-hidden="true"]{display:inline-block!important;width:12px!important;height:12px!important;flex:none!important;font-size:0!important;line-height:0!important;color:transparent!important;overflow:hidden!important;background:#302e2b!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;margin:0!important;margin-inline-start:6px!important;transition:transform .18s ease}
html body nav.kan-nav .kan-arrow-only>span[aria-hidden="true"]{margin:0!important}
html body nav.kan-nav .kan-toggle[aria-expanded="true"]>span[aria-hidden="true"]{transform:rotate(180deg)}
/* 3. Parent item marked when the current page is inside its dropdown */
html body nav.kan-nav .kan-group:is(:has(.kan-sub a[aria-current="page"]),:has(.kan-row>a[aria-current="page"]))>.kan-row,
html body.ka-nav-in-reviews nav.kan-nav .kan-group:has([aria-controls$="-reviews"])>.kan-row{background:#171716!important;border-radius:22px!important}
html body nav.kan-nav .kan-group:is(:has(.kan-sub a[aria-current="page"]),:has(.kan-row>a[aria-current="page"]))>.kan-row>:is(a,button),
html body.ka-nav-in-reviews nav.kan-nav .kan-group:has([aria-controls$="-reviews"])>.kan-row>:is(a,button){color:#fff!important;background:transparent!important}
html body nav.kan-nav .kan-group:is(:has(.kan-sub a[aria-current="page"]),:has(.kan-row>a[aria-current="page"]))>.kan-row span[aria-hidden="true"],
html body.ka-nav-in-reviews nav.kan-nav .kan-group:has([aria-controls$="-reviews"])>.kan-row span[aria-hidden="true"]{background:#fff!important}
html body nav.kan-nav .kan-group:is(:has(.kan-sub a[aria-current="page"]),:has(.kan-row>a[aria-current="page"]))>.kan-row>:is(a,button):hover,
html body.ka-nav-in-reviews nav.kan-nav .kan-group:has([aria-controls$="-reviews"])>.kan-row>:is(a,button):hover{background:rgba(255,255,255,.14)!important}
/* 4. Phones: keep the arrow next to its label */
@media(max-width:1000px){
 html body nav.kan-nav .kan-row{justify-content:flex-start!important}
 html body nav.kan-nav .kan-row>a{flex:0 1 auto!important}
 html body nav.kan-nav .kan-label-toggle{justify-content:flex-start!important}
 html body nav.kan-nav .kan-group:is(:has(.kan-sub a[aria-current="page"]),:has(.kan-row>a[aria-current="page"]))>.kan-row,
 html body.ka-nav-in-reviews nav.kan-nav .kan-group:has([aria-controls$="-reviews"])>.kan-row{border-radius:10px!important}
}
