/* NewsiumDigital 15.1 — restrained, dependency-free navigation & editorial experience.
   Keep legacy sp-* selectors only as public backwards compatibility hooks.
   Hierarchy: top row > dropdown level 2 > fly-out level 3+. Works RTL and LTR. */
:root{
  --nd-nav-panel:#ffffff;
  --nd-nav-text:#142337;
  --nd-nav-muted:#596c82;
  --nd-nav-border:rgba(15,35,60,.11);
  --nd-nav-hover:rgba(5,105,193,.085);
  --nd-nav-shadow:0 10px 26px rgba(4,17,38,.12);
  --nd-nav-focus:#66d1ff;
  --nd-motion:cubic-bezier(.22,.8,.22,1);
  --nd-content-surface:#fff;
  --nd-content-line:rgba(15,35,60,.11);
  --nd-content-text:#1b2b40;
}
html[data-sp-theme="dark"]{
  --nd-nav-panel:#142238;
  --nd-nav-text:#f4f7fd;
  --nd-nav-muted:#c6d4e5;
  --nd-nav-border:rgba(223,233,255,.13);
  --nd-nav-hover:rgba(113,188,255,.13);
  --nd-nav-shadow:0 12px 28px rgba(0,0,0,.3);
  --nd-nav-focus:#90dcff;
  --nd-content-surface:#111c2c;
  --nd-content-line:rgba(222,232,250,.14);
  --nd-content-text:#edf4fc;
}
/* Override the original Sindhi-only html{direction:rtl} when an English edition is enabled. */
html[dir="ltr"]{direction:ltr!important;}
html[dir="ltr"] body{direction:ltr!important;text-align:left;}
html[dir="ltr"] body .sp-mainnav .sp-menu{direction:ltr!important;}
/* The masthead itself keeps a recognizable navy base in BOTH colour modes. */
body .sp-mainnav{overflow:visible!important;isolation:isolate;z-index:150!important;}
body .sp-mainnav .sp-nav-inner{
  width:min(1640px,calc(100% - 36px))!important;max-width:none!important;
  display:flex;flex-wrap:nowrap!important;gap:clamp(6px,1vw,16px);align-items:center;
  justify-content:flex-start;position:relative;min-height:64px;
}
body .sp-mainnav .sp-menu{display:flex;flex:1 1 auto;min-width:0;width:auto;direction:inherit;
  flex-wrap:nowrap!important;align-items:center;overflow:visible!important;margin:0;padding:0;list-style:none;}
body .sp-mainnav .sp-menu > li{position:relative;display:block;flex:0 0 auto;width:auto;min-width:0;}
body .sp-mainnav .sp-menu li{list-style:none;}
body .sp-mainnav .sp-menu > li > a{
  display:block;white-space:nowrap;line-height:1.65;font-size:clamp(13px,.93vw,16px);
  padding:11px clamp(9px,.98vw,16px)!important;margin:3px 2px;
  border-radius:12px;text-decoration:none;color:#f4f8ff!important;
  transition:background-color .15s ease,color .15s ease;
}
body .sp-mainnav .sp-menu li.menu-item-has-children > a,
body .sp-mainnav .sp-menu li.nd-has-submenu > a{padding-inline-end:27px!important;}
/* Fix legacy li:first-child affecting EVERY nested first child. */
body .sp-mainnav #sp-primary-menu ul.sub-menu li:first-child > a{
  background:transparent!important;box-shadow:none!important;
}
body .sp-mainnav .sp-menu > li:hover > a,
body .sp-mainnav .sp-menu > li:focus-within > a,
body .sp-mainnav .sp-menu > li.current-menu-item > a,
body .sp-mainnav .sp-menu > li.current-menu-ancestor > a,
body .sp-mainnav .sp-menu > li.current-menu-parent > a{
  background:rgba(255,255,255,.16)!important;color:#fff!important;
}
/* Levels 2 and 3: transparent when closed, painted only on the composite layer while open. */
body .sp-mainnav #sp-primary-menu ul.sub-menu{
  list-style:none!important;box-sizing:border-box;display:block!important;
  direction:inherit;text-align:start;position:absolute;z-index:205;
  inset-block-start:calc(100% - 2px);inset-inline-start:0;inset-inline-end:auto;
  margin:0!important;padding:8px!important;min-width:236px;width:max-content;max-width:min(345px,calc(100vw - 32px));
  border:1px solid var(--nd-nav-border)!important;border-radius:12px;
  background:var(--nd-nav-panel)!important;color:var(--nd-nav-text)!important;
  box-shadow:var(--nd-nav-shadow)!important;
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(3px);transform-origin:top right;
  transition:opacity .15s ease-out,transform .15s ease-out,visibility .15s;
}
body .sp-mainnav #sp-primary-menu ul.sub-menu ul.sub-menu{
  inset-block-start:-8px;inset-inline-start:calc(100% - 3px);inset-inline-end:auto;
  transform:translateX(3px);transform-origin:top right;
}
html[dir="ltr"] body .sp-mainnav #sp-primary-menu ul.sub-menu{
  transform-origin:top left;
}
/* Edge alignment for dropdown 2 and sideways collision handling for levels 3+. */
body .sp-mainnav #sp-primary-menu > li.nd-align-edge > ul.sub-menu{
  inset-inline-start:auto;inset-inline-end:0;
}
/* Collision handling for level 3 when there isn't room on the expected side. */
body .sp-mainnav #sp-primary-menu li.nd-flip > ul.sub-menu{
  inset-inline-start:auto;inset-inline-end:calc(100% - 3px);
}
body .sp-mainnav #sp-primary-menu li.nd-has-submenu:is(:hover,:focus-within,.nd-open) > ul.sub-menu{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translate(0,0);
  transition-delay:0s;
}
body .sp-mainnav #sp-primary-menu ul.sub-menu > li{position:relative;width:100%;}
body .sp-mainnav #sp-primary-menu ul.sub-menu a{
  display:block;width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;
  color:var(--nd-nav-text)!important;background:transparent!important;
  font-size:15px!important;line-height:1.75!important;font-weight:550;
  border-radius:10px!important;padding:10px 13px!important;margin:0!important;
  text-align:start;border:0!important;box-shadow:none!important;
  transition:background-color .14s ease,color .14s ease;
}
body .sp-mainnav #sp-primary-menu ul.sub-menu li.nd-has-submenu > a{padding-inline-end:30px!important;}
body .sp-mainnav #sp-primary-menu ul.sub-menu li:hover > a,
body .sp-mainnav #sp-primary-menu ul.sub-menu li:focus-within > a,
body .sp-mainnav #sp-primary-menu ul.sub-menu li.current-menu-item > a{
  background:var(--nd-nav-hover)!important;color:var(--nd-nav-text)!important;
}
/* Fine 10px outline chevron. Keeps a 28px accessible button hit area,
   while the visible stroke sits quietly beside its parent text. */
body .sp-mainnav .nd-sub-toggle{
  position:absolute;inset-inline-end:3px;top:50%;transform:translateY(-50%);
  appearance:none!important;display:flex;align-items:center;justify-content:center;
  width:26px;height:30px;min-width:26px;z-index:1;
  padding:0!important;margin:0!important;border:0!important;border-radius:7px;
  background:transparent!important;box-shadow:none!important;color:inherit;
  cursor:pointer;line-height:1;font:inherit;
  transition:color .14s ease,background-color .14s ease;
}
body .sp-mainnav .sp-menu > li > .nd-sub-toggle{color:rgba(239,245,255,.7);}
body .sp-mainnav .sp-menu ul.sub-menu > li > .nd-sub-toggle{color:var(--nd-nav-muted);}
body .sp-mainnav .nd-sub-toggle .nd-chevron-wrap{display:flex;align-items:center;justify-content:center;line-height:0;}
body .sp-mainnav .nd-sub-toggle svg{width:10px;height:10px;display:block;
  transition:transform .15s ease;transform-origin:center;stroke:currentColor;}
body .sp-mainnav #sp-primary-menu ul.sub-menu .nd-sub-toggle svg{transform:rotate(90deg);}
html[dir="ltr"] body .sp-mainnav #sp-primary-menu ul.sub-menu .nd-sub-toggle svg{transform:rotate(-90deg);}
body .sp-mainnav #sp-primary-menu .nd-sub-toggle:is(:hover,:focus-visible){
  color:var(--nd-nav-text)!important;background:var(--nd-nav-hover)!important;
}
body .sp-mainnav #sp-primary-menu > li > .nd-sub-toggle:is(:hover,:focus-visible){
  color:#fff!important;background:rgba(255,255,255,.10)!important;
}
body .sp-mainnav .sp-menu li > .nd-sub-toggle:focus-visible,
body .sp-mainnav .sp-menu a:focus-visible,
body .sp-mainnav .sp-menu-toggle:focus-visible,
body .sp-mainnav .sp-theme-toggle:focus-visible{outline:2px solid var(--nd-nav-focus)!important;outline-offset:2px;}
body .sp-mainnav .sp-theme-toggle{
  flex:0 0 40px;min-width:40px;width:40px;height:40px;margin:0;
  border:1px solid rgba(255,255,255,.22);border-radius:13px;
  color:#f4f8ff!important;background:rgba(255,255,255,.075)!important;
}
body .sp-mainnav .sp-theme-toggle:hover{background:rgba(255,255,255,.13)!important;transform:none!important;}
body .sp-mainnav .sp-search{flex:0 0 clamp(175px,15vw,244px);margin:0!important;min-width:0!important;max-width:244px;}
html[data-sp-theme="dark"] body .sp-mainnav .sp-search{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.16);}
html[data-sp-theme="dark"] .sp-live-results{background:var(--nd-nav-panel)!important;color:var(--nd-nav-text)!important;}
html[data-sp-theme="dark"] .sp-live-item{color:var(--nd-nav-text)!important;}
html[data-sp-theme="dark"] .sp-live-item:hover{background:var(--nd-nav-hover)!important;}
/* Calm parallel surfaces for news cards (doesn't repaint photo/overlay sections). */
html[data-sp-theme="light"] body .sp-post-card,
html[data-sp-theme="light"] body .sp-editor-card,
html[data-sp-theme="light"] body .sp-cat-card,
html[data-sp-theme="light"] body .sp-category-block,
html[data-sp-theme="light"] body .sp-smart-cat-block{background:#fff!important;color:var(--nd-content-text)!important;border-color:var(--nd-content-line)!important;}
html[data-sp-theme="dark"] body .sp-post-card,
html[data-sp-theme="dark"] body .sp-editor-card,
html[data-sp-theme="dark"] body .sp-cat-card,
html[data-sp-theme="dark"] body .sp-category-block,
html[data-sp-theme="dark"] body .sp-smart-cat-block,
html[data-sp-theme="dark"] body .sp-widget:not(.sp-weather):not(.sp-weather-card){
  background:var(--nd-content-surface)!important;color:var(--nd-content-text)!important;
  border-color:var(--nd-content-line)!important;
}
html[data-sp-theme="dark"] body .sp-post-card .sp-card-body h2,
html[data-sp-theme="dark"] body .sp-editor-card :is(h2,h3),
html[data-sp-theme="dark"] body .sp-cat-card :is(h2,h3),
html[data-sp-theme="dark"] body .sp-widget:not(.sp-weather) .sp-widget-title{color:#eef5ff!important;}
html[data-sp-theme="dark"] body .sp-ad-top{color:#d6eaff!important;}
/* Hardware-friendly photo treatment: opacity/transform only, no heavy runtime script. */
body :is(.sp9-thumb,.sp-editor-thumb,.sp-hero-media,.sp-card-image,.sp-cat-thumb,.sp-featured,.sp-hero-card-v3){overflow:hidden;}
body :is(.sp-post-card,.sp-editor-card,.sp-cat-card,.sp-category-block,.sp-hero-card-v3,.sp-hero-card-v2) img{
  transition:transform .32s var(--nd-motion),filter .32s var(--nd-motion);
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  body :is(.sp-post-card,.sp-editor-card,.sp-cat-card,.sp-category-block,.sp-hero-card-v3,.sp-hero-card-v2):hover img{
    transform:scale(1.012);filter:none;
  }
  body :is(.sp-post-card,.sp-editor-card,.sp-cat-card,.sp-category-block):hover{
    transform:none;box-shadow:0 8px 22px rgba(10,24,50,.08);
  }
  html[data-sp-theme="dark"] body :is(.sp-post-card,.sp-editor-card,.sp-cat-card,.sp-category-block):hover{
    box-shadow:0 10px 24px rgba(0,0,0,.22);
  }
}
/* Mobile accordion is also used if long category names don't fit at desktop width. */
@media(max-width:1023px){
  body .sp-mainnav .sp-menu-toggle{display:inline-flex!important;}
  body .sp-mainnav .sp-nav-inner{flex-wrap:wrap!important;}
  body .sp-mainnav .sp-menu{display:none!important;}
  body .sp-mainnav .sp-menu.is-open{display:flex!important;}
}
@media(max-width:1023px){
  body .sp-mainnav .sp-menu-toggle,
  body .sp-mainnav.nd-nav-compact .sp-menu-toggle{
    order:1;align-items:center;justify-content:center;min-height:42px;
    flex:0 0 auto;border-radius:12px;
  }
  body .sp-mainnav .sp-theme-toggle{order:2;}
  body .sp-mainnav .sp-search{order:3;flex:1 1 180px;max-width:none;min-width:130px!important;}
  body .sp-mainnav #sp-primary-menu{
    order:4;flex:1 1 100%;width:100%!important;min-width:0;
    position:relative!important;inset:auto!important;
    overflow-y:auto!important;overflow-x:hidden!important;max-height:min(69vh,610px);
    margin:6px 0 0!important;padding:9px!important;
    background:var(--nd-nav-panel)!important;border:1px solid var(--nd-nav-border)!important;
    color:var(--nd-nav-text);box-shadow:var(--nd-nav-shadow)!important;
    border-radius:16px!important;flex-direction:column!important;align-items:stretch!important;
  }
  body .sp-mainnav #sp-primary-menu > li{width:100%!important;}
  body .sp-mainnav #sp-primary-menu li > a{
    color:var(--nd-nav-text)!important;background:transparent!important;
    box-shadow:none!important;white-space:normal;font-size:15px!important;
    margin:0!important;padding:12px 14px!important;border-radius:10px!important;
    border:0!important;line-height:1.75!important;
  }
  body .sp-mainnav #sp-primary-menu li.nd-has-submenu > a{padding-inline-end:51px!important;}
  body .sp-mainnav #sp-primary-menu li > a:is(:hover,:focus-visible),
  body .sp-mainnav #sp-primary-menu li.current-menu-item > a{background:var(--nd-nav-hover)!important;color:var(--nd-nav-text)!important;}
  body .sp-mainnav #sp-primary-menu .nd-sub-toggle{
    color:var(--nd-nav-text)!important;background:transparent!important;top:8px;transform:none;
    width:36px;height:36px;inset-inline-end:8px;
  }
  body .sp-mainnav #sp-primary-menu .nd-sub-toggle svg,
  html[dir="ltr"] body .sp-mainnav #sp-primary-menu .nd-sub-toggle svg{transform:none;transition:transform .15s ease;}
  body .sp-mainnav #sp-primary-menu li.nd-open > .nd-sub-toggle svg{transform:rotate(180deg)!important;}
  body .sp-mainnav #sp-primary-menu ul.sub-menu,
  body .sp-mainnav #sp-primary-menu ul.sub-menu ul.sub-menu,
  body .sp-mainnav #sp-primary-menu li.nd-flip > ul.sub-menu{
    display:none!important;position:static!important;visibility:visible!important;
    pointer-events:auto!important;opacity:1!important;transform:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    padding:0 9px 3px 0!important;margin:2px 0 6px!important;
    border:0!important;border-inline-start:2px solid var(--nd-nav-border)!important;
    border-radius:0!important;box-shadow:none!important;background:transparent!important;
  }
  html[dir="ltr"] body .sp-mainnav #sp-primary-menu ul.sub-menu{padding:0 0 3px 9px!important;}
  body .sp-mainnav #sp-primary-menu li.nd-open > ul.sub-menu{display:block!important;}
  body .sp-mainnav #sp-primary-menu li:not(.nd-open) > ul.sub-menu{display:none!important;}
  body .sp-mainnav #sp-primary-menu ul.sub-menu > li{width:100%;}
  body .sp-mainnav #sp-primary-menu ul.sub-menu a{font-size:14px!important;}
}
/* One desktop row; excess items move into an accessible More disclosure. */
body#newsium-site .sp-mainnav .nd-more-item[hidden]{display:none!important;}
body#newsium-site .sp-mainnav .nd-more-label{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;text-align:start;}
body#newsium-site .sp-mainnav #sp-primary-menu :is(li,a,button,ul){direction:inherit!important;text-align:start!important;}
html[dir="ltr"] body#newsium-site .sp-mainnav #sp-primary-menu{direction:ltr!important;}
html[dir="rtl"] body#newsium-site .sp-mainnav #sp-primary-menu{direction:rtl!important;}
@media(min-width:1024px){
 body#newsium-site .sp-mainnav .sp-menu-toggle{display:none!important;}
 body#newsium-site .sp-mainnav .sp-nav-inner{flex-wrap:nowrap!important;gap:8px!important;}
 body#newsium-site .sp-mainnav #sp-primary-menu{display:flex!important;position:relative!important;inset:auto!important;flex:1 1 auto!important;width:auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;max-height:none!important;}
 body#newsium-site .sp-mainnav #sp-primary-menu > li{width:auto!important;flex:0 0 auto;}
 body#newsium-site .sp-mainnav #sp-primary-menu > li > :is(a,.nd-more-label){display:block;white-space:nowrap;padding:11px 8px!important;margin:3px 0!important;line-height:1.65;}
 body#newsium-site .sp-mainnav #sp-primary-menu > li.nd-has-submenu > :is(a,.nd-more-label){padding-inline-end:30px!important;}
 body#newsium-site .sp-mainnav #sp-primary-menu > li > .nd-sub-toggle{width:26px!important;min-width:26px!important;height:36px!important;inset-inline-end:0!important;top:50%!important;transform:translateY(-50%)!important;}
 body#newsium-site .sp-mainnav #sp-primary-menu ul.sub-menu .nd-sub-toggle{top:50%!important;transform:translateY(-50%)!important;}
 body#newsium-site .sp-mainnav .sp-search{flex:0 0 clamp(130px,12vw,190px)!important;max-width:190px!important;}
 body#newsium-site .sp-mainnav .sp-search input{width:100%!important;min-width:0!important;}
}
@media(max-width:600px){
  body .sp-mainnav .sp-nav-inner{width:calc(100% - 24px)!important;gap:8px!important;}
  body .sp-mainnav .sp-search{flex-basis:100%!important;order:3;}
  body .sp-mainnav .sp-theme-toggle{margin-inline-start:auto!important;}
  body .sp-mainnav #sp-primary-menu{order:4;}
}
@media(prefers-reduced-motion:reduce){
  body .sp-mainnav #sp-primary-menu ul.sub-menu{transition:none!important;transform:none!important;}
  body .sp-mainnav .sp-menu a,body .sp-mainnav .nd-sub-toggle,body .sp-mainnav .nd-sub-toggle svg,
  body :is(.sp-post-card,.sp-editor-card,.sp-cat-card,.sp-hero-card-v3,.sp-hero-card-v2) img{
    transition:none!important;transform:none!important;filter:none!important;
  }
}


/* NewsiumDigital v15.2 — quiet newsroom search panel / larger masthead mark.
   Scoped overrides only; category menus and layout are untouched. */
/* Preserve the custom logo while lifting the formerly small 260px / 62px ceiling. */
html body .sp-site-header .sp-brand-row .sp-logo-image-link img,
html body .sp-site-header .sp-brand-row .custom-logo-link img {
  box-sizing:border-box;
  display:block;
  width:auto!important;
  max-width:min(340px,100%)!important;
  max-height:114px!important;
  height:auto!important;
  aspect-ratio:auto!important;
  object-fit:contain;
}
/* A set width on the link scales the brand image even when its HTML intrinsic size was small. */
html body .sp-site-header .sp-brand-row .sp-logo-image-link,
html body .sp-site-header .sp-brand-row .custom-logo-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:clamp(320px,var(--sp-logo-max-width,340px),420px)!important;
  max-width:100%!important;
}
html body .sp-site-header .sp-brand-row .sp-logo-image-link img,
html body .sp-site-header .sp-brand-row .custom-logo-link img {
  width:100%!important;
  max-width:100%!important;
}
/* The WordPress navbar is dark in both modes; results surface is explicitly themed. */
html body .sp-mainnav,
html body .sp-mainnav .sp-nav-inner,
html body .sp-mainnav form.sp-search {overflow:visible!important;}
html body .sp-mainnav form.sp-search {position:relative!important;isolation:auto!important;z-index:20;}
html body .sp-mainnav form.sp-search > .sp-live-results {
  box-sizing:border-box!important;
  position:absolute!important;
  /* Physical left alignment is intentional: search sits at the far left in Sindhi RTL.
     Using inset-inline-start:0 here pushed the panel outside the viewport. */
  inset:auto!important;
  left:var(--nd-search-left,0px)!important;
  right:auto!important;
  top:calc(100% + 9px)!important;
  bottom:auto!important;
  display:none;
  width:min(420px,calc(100vw - 32px))!important;
  min-width:0!important;
  max-width:calc(100vw - 32px)!important;
  max-height:min(460px,calc(100dvh - 150px))!important;
  margin:0!important;
  padding:7px!important;
  direction:rtl!important;
  text-align:right!important;
  background:#fff!important;
  color:#15243b!important;
  border:1px solid #dde5ef!important;
  border-radius:15px!important;
  box-shadow:0 14px 32px rgba(12,29,57,.15)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  z-index:9999!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(4px)!important;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important;
  overscroll-behavior:contain;
}
html body .sp-mainnav form.sp-search > .sp-live-results.is-open {
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
  animation:none!important;
}
html body .sp-mainnav form.sp-search .nd-search-head,
html body .sp-mainnav form.sp-search .nd-search-foot {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 11px!important;direction:rtl!important;
  font-size:12px;line-height:1.5;
}
html body .sp-mainnav form.sp-search .nd-search-head {
  border-bottom:1px solid #e7edf4;color:#2b476a;
}
html body .sp-mainnav form.sp-search .nd-search-head strong{font-size:13px;font-weight:700;}
html body .sp-mainnav form.sp-search .nd-search-count{color:#697d99;font-size:11px;}
html body .sp-mainnav form.sp-search .nd-search-foot{border-top:1px solid #e7edf4;}
html body .sp-mainnav form.sp-search .nd-search-foot a{
  display:inline-flex;align-items:center;gap:5px;
  color:#075ea9!important;text-decoration:none!important;
  font-size:12px;line-height:1.6;font-weight:700;
  padding:3px 0;border-radius:4px;
}
html body .sp-mainnav form.sp-search .nd-search-foot a:hover{text-decoration:underline!important;}
html body .sp-mainnav form.sp-search .sp-live-item{
  display:grid!important;grid-template-columns:60px minmax(0,1fr)!important;
  align-items:center!important;gap:11px!important;
  text-decoration:none!important;
  border:1px solid transparent!important;
  margin:3px 0!important;padding:9px!important;
  border-radius:10px!important;background:transparent!important;
  color:#162a44!important;direction:rtl!important;text-align:right!important;
  box-shadow:none!important;transform:none!important;
  transition:background-color .13s ease,border-color .13s ease!important;
}
html body .sp-mainnav form.sp-search .sp-live-item:is(:hover,:focus-visible,.is-active){
  background:#eff6fc!important;border-color:#d9e9f8!important;outline:none;
}
html body .sp-mainnav form.sp-search .sp-live-item:focus-visible{outline:2px solid #368acf!important;outline-offset:0;}
html body .sp-mainnav form.sp-search .sp-live-item img,
html body .sp-mainnav form.sp-search .sp-live-item .sp-live-thumb {
  display:block!important;width:60px!important;height:49px!important;
  max-width:none!important;min-height:0!important;aspect-ratio:60/49!important;
  object-fit:cover!important;border:0!important;border-radius:8px!important;
  background:#e5edf5!important;overflow:hidden;
}
html body .sp-mainnav form.sp-search .sp-live-item .sp-live-thumb:before {
  content:'';display:block;width:14px;height:14px;margin:17px auto;
  border:2px solid #adc1d5;border-radius:4px;
}
html body .sp-mainnav form.sp-search .sp-live-item strong{
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis;
  max-width:100%;color:inherit!important;font-size:14px!important;
  line-height:1.65!important;font-weight:650!important;
}
html body .sp-mainnav form.sp-search .sp-live-item small {
  display:block!important;white-space:nowrap!important;text-overflow:ellipsis!important;
  overflow:hidden!important;margin-top:5px!important;color:#647891!important;
  font-size:11px!important;line-height:1.6!important;
}
html body .sp-mainnav form.sp-search .sp-live-mark{
  color:inherit!important;background:#ffebae!important;border-radius:2px!important;padding:0 1px!important;
}
html body .sp-mainnav form.sp-search :is(.sp-live-loading,.sp-live-empty,.sp-live-error){
  padding:22px 14px!important;text-align:center!important;color:#647891!important;
  font-size:13px!important;line-height:1.8;
}
/* Dark/Light mode parity, without expensive blur filters or background imagery. */
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search > .sp-live-results{
  background:#18273b!important;border-color:#34465e!important;color:#f0f5fc!important;
  box-shadow:0 16px 35px rgba(0,0,0,.3)!important;
}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search :is(.nd-search-head,.nd-search-foot){border-color:#334960!important;color:#dceafd!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .nd-search-count,
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .sp-live-item small,
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search :is(.sp-live-loading,.sp-live-empty,.sp-live-error){color:#b0c3d8!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .sp-live-item{color:#f2f6fd!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .sp-live-item:is(:hover,:focus-visible,.is-active){background:#263b54!important;border-color:#3b5570!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .sp-live-item .sp-live-thumb{background:#304660!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .nd-search-foot a{color:#8bd0ff!important;}
html[data-sp-theme="dark"] body .sp-mainnav form.sp-search .sp-live-mark{background:#755a19!important;color:#fff!important;}
html[dir="ltr"] body .sp-mainnav form.sp-search > .sp-live-results{
  direction:ltr!important;text-align:left!important;
}
html[dir="ltr"] body .sp-mainnav form.sp-search :is(.sp-live-item,.nd-search-head,.nd-search-foot){direction:ltr!important;text-align:left!important;}
@media(max-width:760px){
  html body .sp-site-header .sp-brand-row .sp-logo-image-link img,
  html body .sp-site-header .sp-brand-row .custom-logo-link img{
    width:100%!important;max-height:98px!important;
  }
  html body .sp-site-header .sp-brand-row .sp-logo-image-link,
  html body .sp-site-header .sp-brand-row .custom-logo-link{width:288px!important;max-width:100%!important;}
  html body .sp-mainnav form.sp-search > .sp-live-results{
    width:min(420px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    max-height:min(430px,calc(100dvh - 145px))!important;
    /* Fixed-centering avoids mobile overflow when the full-width search shifts in its row. */
    left:var(--nd-search-left,0px)!important;right:auto!important;top:calc(100% + 8px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .sp-mainnav form.sp-search > .sp-live-results,
  html body .sp-mainnav form.sp-search .sp-live-item{transition:none!important;transform:none!important;}
}
