/* Sidebar hierarchy and card feedback; widths, thumbnails and card spacing stay intact. */
.wordedge-modern .we-search-categories {display:flex;align-items:center;gap:12px;padding-block:12px;}
.wordedge-modern .we-search-categories>span {flex:none;color:var(--we-ink);font:600 14px/1.4 var(--we-font);}
.wordedge-modern .we-search-categories ul {display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;}
.wordedge-modern .we-search-categories li {margin:0;max-width:100%;}
.wordedge-modern .we-search-categories a {display:flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--we-border);border-radius:4px;background:var(--we-panel);color:var(--we-blue);font:600 14px/1.4 var(--we-font);overflow-wrap:anywhere;}
.wordedge-modern .we-search-categories a:hover {background:var(--we-tint);}
.wordedge-modern .we-search-categories a:focus-visible {outline:2px solid var(--we-blue)!important;outline-offset:2px!important;}
.wordedge-modern .mjob-container-control .menu-left {padding:12px;margin-bottom:16px;border:1px solid var(--we-border);border-radius:0;box-shadow:none;}
.wordedge-modern .mjob-container-control .menu-left>.title-menu {display:flex;align-items:center;gap:10px;padding:10px 12px;margin:-12px -12px 8px;background:var(--we-panel);border-bottom:1px solid var(--we-border);border-radius:0;color:var(--we-ink);font:700 16px/1.4 var(--we-font);letter-spacing:0;}
.wordedge-modern .we-filter-icon {flex:none;width:20px;text-align:center;color:var(--we-blue);font-size:16px;}
.wordedge-modern .menu-left #accordion .link>a>.we-filter-icon {position:static;inset:auto;float:none;margin:0;font-size:16px;}
.wordedge-modern .we-filter-column {position:relative;z-index:2;}
.wordedge-modern .we-filter-column+.col-lg-9 {position:relative;z-index:0;}
.wordedge-modern .search-content>.we-filter-column {z-index:auto;}
.wordedge-modern .menu-left #accordion>li>.link {min-height:44px;}
.wordedge-modern .menu-left #accordion .link>a {gap:10px;margin:0;padding-right:44px;font-size:14px;border-radius:4px;}
.wordedge-modern .menu-left #accordion :is(.link>a,.submenu a) {animation:none!important;transform:none!important;}
.wordedge-modern .menu-left #accordion .link>.show-accordion {position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--we-blue);cursor:pointer;}
.wordedge-modern .menu-left #accordion .link>.show-accordion:hover {background:var(--we-tint);border-color:var(--we-border);}
.wordedge-modern .menu-left #accordion .show-accordion>i {position:static;margin:0;padding:0;font-size:12px;color:inherit;}
.wordedge-modern .menu-left #accordion .open>.link .show-accordion>i {transform:rotate(90deg);}
.wordedge-modern .menu-left #accordion .submenu {margin:4px 0 8px 21px;padding-left:10px;border-left:2px solid var(--we-border);}
.wordedge-modern .menu-left #accordion .submenu a {padding-right:10px;font-size:14px;color:var(--we-muted);}
.wordedge-modern .menu-left #accordion :is(a,button):focus-visible {outline:2px solid var(--we-blue)!important;outline-offset:-2px!important;}
.wordedge-modern .we-filter-stack .filter-tags {padding:16px;margin-bottom:0;border-radius:0;background:var(--we-panel);}
.wordedge-modern .we-filter-stack .filter-tags>.title-menu {display:block;margin:0 0 12px;color:var(--we-ink);font:700 16px/1.4 var(--we-font);letter-spacing:0;text-transform:none;}
.wordedge-modern .we-filter-stack .filter-tags .chosen-choices {min-height:44px;padding:4px 8px;border:1px solid var(--we-border);border-radius:4px;background:var(--we-soft);box-shadow:none;}
.wordedge-modern .we-filter-stack .filter-tags .chosen-choices .search-field input[type=text] {min-height:34px;height:34px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;font:400 14px/1.4 var(--we-font);color:var(--we-muted);}
.wordedge-modern .we-filter-stack .filter-tags .chosen-choices .search-field input:focus {outline:0!important;box-shadow:none;}
.wordedge-modern .we-filter-stack .filter-tags .chosen-container-active .chosen-choices {outline:2px solid var(--we-blue);outline-offset:2px;}
.wordedge-modern .we-filter-stack .filter-tags .search-choice-close:focus-visible {outline:2px solid var(--we-blue)!important;outline-offset:2px!important;}
.wordedge-modern .we-filter-stack .filter-tags .chosen-drop {top:calc(100% + 6px)!important;bottom:auto;border:1px solid var(--we-border);border-radius:4px;background:var(--we-panel);}
.wordedge-modern .we-filter-stack .filter-tags .chosen-results {color:var(--we-ink);font:400 14px/1.4 var(--we-font);}
.wordedge-modern .we-filter-stack .filter-tags .chosen-results li {min-height:44px;padding:10px 12px;}
.wordedge-modern .we-filter-stack .filter-tags .chosen-results li.highlighted {background:var(--we-tint);color:var(--we-blue);font:600 14px/1.4 var(--we-font);}
.wordedge-modern .we-filter-stack .filter-tags .chosen-results .no-results {background:var(--we-panel);color:var(--we-muted);}
@media(min-width:992px) {
  .wordedge-modern .mjob-container-control>.container>.row:has(.we-filter-column) {display:flex;align-items:stretch;}
  .wordedge-modern .mjob-container-control>.container>.row:has(.we-filter-column)::before,
  .wordedge-modern .mjob-container-control>.container>.row:has(.we-filter-column)::after {display:none;content:none;}
  .wordedge-modern .we-filter-stack {position:sticky;top:calc(var(--we-sticky-nav-height) + var(--we-admin-offset) + 16px);max-height:calc(100dvh - var(--we-sticky-nav-height) - var(--we-admin-offset) - 32px);overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:8px;}
  .wordedge-modern .we-filter-stack>.menu-left:last-child {margin-bottom:0;}
  /* Keep tag results inside the sticky stack instead of clipping below its last field. */
  .wordedge-modern .we-filter-stack .filter-tags .chosen-drop {top:auto!important;bottom:calc(100% + 6px);}
}
@media(max-width:767px) {
  .wordedge-modern .we-search-categories {align-items:flex-start;flex-direction:column;}
  .wordedge-modern .mjob-container-control .menu-left>.title-menu {display:none;}
  .wordedge-modern .mjob-container-control .menu-left .button-dropdown-menu {background:var(--we-tint)!important;color:var(--we-blue)!important;font-weight:700;}
}
@media(max-width:991px) {
  /* The legacy drawer and backdrop share a layer below the site menu. */
  .wordedge-modern #content:has(.search-content .mje-col-left-wrap.active) {isolation:auto;z-index:auto;}
  .wordedge-modern .search-content .mje-col-left-wrap.active {z-index:100;top:var(--we-filter-panel-top,var(--we-sticky-nav-height));height:calc(100dvh - var(--we-filter-panel-top,var(--we-sticky-nav-height)));padding-bottom:48px;background:var(--we-panel);}
  .wordedge-modern .filter-backdrop {z-index:99;top:var(--we-filter-panel-top,var(--we-sticky-nav-height));}
}
/* Individual translate composes with the homepage's existing reveal transforms. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .wordedge-modern :is(.mjob-item,.we-category,.post-list .post-item,.we-guide-cards>a,.box-aside-stat,.we-get-started) {transition:translate .2s ease,box-shadow .2s ease,border-color .16s ease,background-color .16s ease;}
  .wordedge-modern :is(.mjob-item,.we-category,.post-list .post-item,.we-guide-cards>a,.box-aside-stat,.we-get-started):hover {translate:0 -4px;box-shadow:0 10px 24px rgb(21 42 58 / 12%);}
  :root[data-we-theme=dark] .wordedge-modern :is(.mjob-item,.we-category,.post-list .post-item,.we-guide-cards>a,.box-aside-stat,.we-get-started):hover {box-shadow:0 10px 24px rgb(0 0 0 / 24%);}
}
