/* JY Site Kit — header: liquid EN | ع language switch (logo rules are added inline by the plugin).
   Built by assets/lang-switch.js from the Polylang menu items. Thumb state = data-active on the track:
   the animation plays first, then the browser navigates to the other language (~560ms). */
.jy-lsw-item{display:flex;align-items:center;list-style:none;margin-inline-start:10px;}
.jy-lsw-track{--lsw-thumb:#00EF73;--lsw-ink:#212121;--lsw-muted:#BDBDBD;--lsw-line:#3A3A3A;
  position:relative;display:grid;grid-template-columns:1fr 1fr;width:70px;height:30px;padding:3px;box-sizing:content-box;
  border:1px solid var(--lsw-line);border-radius:999px;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color .25s ease,border-color .25s ease;}
html[data-jy-theme="light"] .jy-lsw-track{--lsw-thumb:#1F7550;--lsw-ink:#FFFFFF;--lsw-muted:#4B5563;--lsw-line:#DADADA;}
.jy-lsw-track:hover{background:rgba(127,127,127,.12);}
.jy-lsw-goo{position:absolute;inset:3px;filter:url(#jy-goo);pointer-events:none;}
.jy-lsw-thumb,.jy-lsw-drop{position:absolute;background:var(--lsw-thumb);border-radius:999px;}
.jy-lsw-thumb{top:0;bottom:0;left:0;right:50%;
  transition:left .42s cubic-bezier(.3,1.4,.5,1) 0s,right .5s cubic-bezier(.4,0,.2,1) .07s,background-color .35s ease;
  transition:left .42s linear(0, 0.016, 0.059, 0.122, 0.199, 0.285, 0.375, 0.465, 0.554, 0.638, 0.716, 0.786, 0.849, 0.903, 0.95, 0.988, 1.018, 1.042, 1.06, 1.072, 1.08, 1.083, 1.083, 1.081, 1.076, 1.071, 1.064, 1.056, 1.049, 1.041, 1.034, 1.027, 1.021, 1.015, 1.011, 1.006, 1.003, 1, 0.998, 0.996, 1) 0s,right .5s linear(0, 0.008, 0.031, 0.066, 0.108, 0.156, 0.208, 0.263, 0.318, 0.373, 0.427, 0.479, 0.529, 0.577, 0.621, 0.663, 0.702, 0.737, 0.77, 0.799, 0.826, 0.85, 0.872, 0.891, 0.908, 0.923, 0.936, 0.948, 0.958, 0.967, 0.974, 0.98, 0.986, 0.99, 0.994, 0.997, 0.999, 1.001, 1.003, 1.004, 1) .07s,background-color .35s ease;}
.jy-lsw-track[data-active="ar"] .jy-lsw-thumb{left:50%;right:0;
  transition:right .42s cubic-bezier(.3,1.4,.5,1) 0s,left .5s cubic-bezier(.4,0,.2,1) .07s,background-color .35s ease;
  transition:right .42s linear(0, 0.016, 0.059, 0.122, 0.199, 0.285, 0.375, 0.465, 0.554, 0.638, 0.716, 0.786, 0.849, 0.903, 0.95, 0.988, 1.018, 1.042, 1.06, 1.072, 1.08, 1.083, 1.083, 1.081, 1.076, 1.071, 1.064, 1.056, 1.049, 1.041, 1.034, 1.027, 1.021, 1.015, 1.011, 1.006, 1.003, 1, 0.998, 0.996, 1) 0s,left .5s linear(0, 0.008, 0.031, 0.066, 0.108, 0.156, 0.208, 0.263, 0.318, 0.373, 0.427, 0.479, 0.529, 0.577, 0.621, 0.663, 0.702, 0.737, 0.77, 0.799, 0.826, 0.85, 0.872, 0.891, 0.908, 0.923, 0.936, 0.948, 0.958, 0.967, 0.974, 0.98, 0.986, 0.99, 0.994, 0.997, 0.999, 1.001, 1.003, 1.004, 1) .07s,background-color .35s ease;}
.jy-lsw-drop{top:50%;left:25%;}
.jy-lsw-drop--1{width:20px;height:20px;margin:-10px 0 0 -10px;
  transition:left .46s cubic-bezier(.3,1.2,.5,1) .12s,background-color .35s ease;
  transition:left .46s linear(0, 0.013, 0.049, 0.102, 0.166, 0.239, 0.316, 0.395, 0.473, 0.549, 0.62, 0.687, 0.747, 0.802, 0.851, 0.893, 0.929, 0.96, 0.986, 1.006, 1.022, 1.035, 1.043, 1.049, 1.053, 1.054, 1.054, 1.052, 1.05, 1.046, 1.043, 1.038, 1.034, 1.03, 1.026, 1.022, 1.018, 1.015, 1.012, 1.009, 1) .12s,background-color .35s ease;}
.jy-lsw-drop--2{width:12px;height:12px;margin:-6px 0 0 -6px;
  transition:left .5s cubic-bezier(.3,1.2,.5,1) .19s,background-color .35s ease;
  transition:left .5s linear(0, 0.013, 0.049, 0.102, 0.166, 0.239, 0.316, 0.395, 0.473, 0.549, 0.62, 0.687, 0.747, 0.802, 0.851, 0.893, 0.929, 0.96, 0.986, 1.006, 1.022, 1.035, 1.043, 1.049, 1.053, 1.054, 1.054, 1.052, 1.05, 1.046, 1.043, 1.038, 1.034, 1.03, 1.026, 1.022, 1.018, 1.015, 1.012, 1.009, 1) .19s,background-color .35s ease;}
.jy-lsw-track[data-active="ar"] .jy-lsw-drop{left:75%;}
.jy-lsw-track.is-moving .jy-lsw-thumb{animation:jyLswSquash .62s cubic-bezier(.3,0,.3,1) both;}
@keyframes jyLswSquash{0%{transform:scaleY(1)}30%{transform:scaleY(.8)}58%{transform:scaleY(1.07)}80%{transform:scaleY(.97)}100%{transform:scaleY(1)}}
html body .jy-lsw-opt{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;padding:0;margin:0;
  text-decoration:none;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.06em;color:var(--lsw-muted);transform:scale(.9);
  transition:color .28s ease .1s,transform .45s cubic-bezier(.3,1.4,.5,1) .06s;
  transition:color .28s ease .1s,transform .45s linear(0, 0.013, 0.049, 0.102, 0.166, 0.239, 0.316, 0.395, 0.473, 0.549, 0.62, 0.687, 0.747, 0.802, 0.851, 0.893, 0.929, 0.96, 0.986, 1.006, 1.022, 1.035, 1.043, 1.049, 1.053, 1.054, 1.054, 1.052, 1.05, 1.046, 1.043, 1.038, 1.034, 1.03, 1.026, 1.022, 1.018, 1.015, 1.012, 1.009, 1) .06s;}
/* ع: Arabic fonts reserve tall ascender space, so the glyph's ink sits ~0.25em below the box centre (measured: Kufi
   24.5%, Segoe UI 25.5%, Tahoma 20%, Plex Sans Arabic 16.5% of the em). Lift it by that amount so its ink is centred
   on the same line as "EN". `translate` composes with the scale animation on `transform`. */
html body .jy-lsw-opt[data-l="ar"]{font-size:15px;font-weight:700;line-height:1;letter-spacing:0;padding:0;translate:0 -.245em;
  font-family:"Noto Kufi Arabic","Segoe UI",Tahoma,sans-serif !important;}
html body .jy-lsw-opt[data-l="en"]{font-family:Inter,system-ui,sans-serif !important;}
html body .jy-lsw-track[data-active="en"] .jy-lsw-opt[data-l="en"],
html body .jy-lsw-track[data-active="ar"] .jy-lsw-opt[data-l="ar"]{color:var(--lsw-ink);transform:scale(1);}
.jy-lsw-opt:focus-visible{outline:none;}
.jy-lsw-track:has(.jy-lsw-opt:focus-visible){outline:3px solid #79C7C8;outline-offset:3px;}
/* the Polylang items are replaced by the switch; hide them in case the builder runs late */
#header-menu-1 li.lang-item, #header-menu-2 li.lang-item, nav.mobile-menu li.lang-item{display:none;}
/* Reduced motion: no stretch, splash, droplets or squash, just a short plain slide. */
@media (prefers-reduced-motion:reduce){
  .jy-lsw-track .jy-lsw-thumb, .jy-lsw-track[data-active="ar"] .jy-lsw-thumb{transition:left .22s ease,right .22s ease,background-color .2s ease !important;animation:none !important;}
  .jy-lsw-track .jy-lsw-opt{transition:color .2s ease !important;transform:none !important;}
  .jy-lsw-drop{display:none;}
}

/* ---------- Header ----------
   The header row itself is fully transparent on every page (no full-width bar). It stays sticky, and the frosted glass
   lives on the floating pills instead: the PillNav menu, the switch/theme capsule and the search button (see the
   PillNav block at the end). With no backdrop-filter on the row, the pills blur the real page content behind them. */
html body .ct-header [data-row]{background-image:none !important;background-color:transparent !important;
  box-shadow:none !important;border-bottom:0 !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;}
/* Blocksy blurs the inner box of "boxed" rows; no glass on the row at all now. */
html body .ct-header [data-row*="boxed"] > div{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background-color:transparent !important;}
/* Blocksy sets body{overflow-x:hidden}; with html{overflow-x:clip} that makes <body> its own scroll container, which
   breaks position:sticky (the bar scrolled away and sat 32px low under the admin bar). clip clips the same overflow
   without creating a scroll container. */
@supports (overflow:clip){ html body{overflow-x:clip;} }
html:not(.jy-view-hero) body #header{position:sticky;top:0;z-index:999;}
html:not(.jy-view-hero) body.admin-bar #header{top:32px;}
@media (max-width:782px){ html:not(.jy-view-hero) body.admin-bar #header{top:46px;} }
@media (max-width:600px){ html:not(.jy-view-hero) body.admin-bar #header{top:0;} }

/* ---------- Arabic typography: Noto Kufi Arabic ----------
   Every Arabic page (html[lang^=ar]) and any lang="ar" element on English pages. Icon fonts, code and elements
   explicitly marked English are left alone. Kufi needs a little more line-height than Tajawal did on headings. */
html[lang^="ar"] body,
html[lang^="ar"] body *:not(i):not(svg):not(code):not(pre):not(kbd):not(samp):not([lang^="en"]):not([class*="icon"]):not([class*="fa-"]):not(.dashicons):not(.ab-icon){
  font-family:"Noto Kufi Arabic",Tahoma,sans-serif !important;}
html[lang^="ar"] body :is(h1,h2,h3){line-height:1.4;}
html:not([lang^="ar"]) [lang="ar"]{font-family:"Noto Kufi Arabic",Tahoma,sans-serif !important;}


/* ---------- Hero view (homepage root): the header shows only the logo, the language switch and the theme toggle ----------
   html.jy-view-hero / html.jy-view-portal are set in <head> on the homepages (so there is no flash of the full menu)
   and kept in sync by the hero script. Other pages never get either class. */
html.jy-view-hero #header-menu-1 > ul > li:not(.jy-lsw-item):not(.jyb-theme-item),
html.jy-view-hero .ct-header nav.jy-pn,
html.jy-view-hero .ct-header [data-id="search"],
html.jy-view-hero .ct-header [data-device="mobile"] [data-id="trigger"]{display:none !important;}
html.jy-view-hero #header-menu-1 > ul > li.jyb-theme-item{border-inline-start:0 !important;padding-inline-start:0 !important;}
/* entering the portal: the rest of the header fades in */
@keyframes jyHdrIn{from{opacity:0}to{opacity:1}}
html.jy-view-portal .ct-header [data-id="search"],
html.jy-view-portal .ct-header [data-device="mobile"] [data-id="trigger"]{animation:jyHdrIn .45s ease both;}
/* (the pill bar itself plays PillNav's intro on entering the portal — pill-nav.js) */
/* mobile header: the switch and theme toggle normally live in the drawer, so the hero view gets its own pair */
.jy-hero-ctrls{display:none;align-items:center;gap:8px;}
html.jy-view-hero .jy-hero-ctrls{display:flex;}
.jy-hero-ctrls .jy-lsw-item{margin:0;}
.jy-hero-theme{appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:0;margin:0;
  border-radius:50%;border:1px solid rgba(0,239,115,.3);background:rgba(0,239,115,.08);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .25s ease;}
.jy-hero-theme[hidden]{display:none;}
.jy-hero-theme:hover{background:rgba(0,239,115,.16);}
.jy-hero-theme:focus-visible{outline:3px solid #79C7C8;outline-offset:3px;}
.jy-hero-theme::before{content:"";display:block;width:20px;height:20px;background-color:#00EF73;
  -webkit-mask:var(--jy-theme-ico) center/contain no-repeat;mask:var(--jy-theme-ico) center/contain no-repeat;}
html[data-jy-theme="light"] .jy-hero-theme::before{background-color:#282828;}
@media (prefers-reduced-motion:reduce){
  html.jy-view-portal #header-menu-1 > ul > li, html.jy-view-portal .ct-header [data-id="search"],
  html.jy-view-portal .ct-header [data-device="mobile"] [data-id="trigger"]{animation:none !important;}
}


/* ---------- PillNav header (React Bits PillNav: split layout, pill items, fill hover, dot indicator, glass) ----------
   Applied to the real WordPress menu (#header-menu-1) by pill-nav.js, which adds the rolling label, the fill circle,
   the dot and the intro, and moves the EN | ع switch + theme toggle into ul.jy-pn-ctrls beside the bar.
   Dropdowns: Blocksy's menu markup, with a custom theme-aware panel and open/close logic (see the Dropdowns block).
   Palette: PillNav's defaults moved onto the Brand V3 neutrals; the active-page dot is the brand green. */
.ct-header{
  --pn-h:44px;--pn-pad:4px;--pn-inner:36px;--pn-x:16px;--pn-font:14px;--pn-gap:10px;
  --pn-roll:calc(var(--pn-inner) / 2 + .7em);
  --pn-blur:blur(20px) saturate(1.6);
  --pn-surface:rgba(42,42,42,.66);
  --pn-edge:rgba(255,255,255,.08);--pn-rim:rgba(255,255,255,.07);
  --pn-shadow:0 22px 44px -20px rgba(0,0,0,.8),0 6px 16px -8px rgba(0,0,0,.5);
  --pn-text:rgba(244,244,244,.64);--pn-strong:#F4F4F4;
  --pn-pill:linear-gradient(180deg,#FFFFFF 0%,#EBEBEB 100%);--pn-pill-ink:#212121;
  --pn-pill-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 6px 16px -6px rgba(0,0,0,.6);
  --pn-dot:#00EF73;--pn-ring:rgba(244,244,244,.55);
  --pn-tile:linear-gradient(180deg,#3A3A3A 0%,#2A2A2A 100%);
  --pn-tile-rim:inset 0 0 0 1px rgba(255,255,255,.07),inset 0 1px 0 rgba(255,255,255,.12),0 4px 10px -4px rgba(0,0,0,.7);}
html[data-jy-theme="light"] .ct-header{
  --pn-surface:rgba(241,241,241,.8);
  --pn-edge:rgba(33,33,33,.07);--pn-rim:rgba(255,255,255,.95);
  --pn-shadow:0 22px 44px -22px rgba(33,33,33,.3),0 6px 16px -10px rgba(33,33,33,.16);
  --pn-text:rgba(33,33,33,.6);--pn-strong:#212121;
  --pn-pill:linear-gradient(180deg,#2E2E2E 0%,#212121 100%);--pn-pill-ink:#FFFFFF;
  --pn-pill-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 14px -6px rgba(33,33,33,.45);
  --pn-dot:#1F7550;--pn-ring:rgba(33,33,33,.45);
  --pn-tile:linear-gradient(180deg,#FFFFFF 0%,#F6F6F6 100%);
  --pn-tile-rim:inset 0 0 0 1px rgba(33,33,33,.08),inset 0 1px 0 #FFFFFF,0 4px 10px -5px rgba(33,33,33,.25);}

/* the bar */
html body .ct-header nav.jy-pn{
  position:relative;display:inline-flex;align-items:center;flex:none;
  height:var(--pn-h);padding:var(--pn-pad);box-sizing:border-box;border-radius:999px;
  background:var(--pn-surface);box-shadow:var(--pn-shadow);
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);
  font-size:var(--pn-font);line-height:1;-webkit-tap-highlight-color:transparent;}
html body .ct-header nav.jy-pn > .jy-pn-rim{position:absolute;inset:0;z-index:4;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim);}
html body .ct-header nav.jy-pn > ul{display:flex;align-items:stretch;gap:3px;height:100%;margin:0;padding:0;list-style:none;}
html body .ct-header nav.jy-pn > ul > li{display:flex;align-items:stretch;height:100%;margin:0 !important;padding:0 !important;}

/* the pills */
html body .ct-header nav.jy-pn > ul > li > a.jy-pn-item{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  height:100% !important;min-height:0;margin:0;padding:0 var(--pn-x) !important;border:0;border-radius:999px;
  background:var(--pn-tile);box-shadow:var(--pn-tile-rim);
  color:var(--pn-strong) !important;font-family:inherit;font-size:var(--pn-font) !important;line-height:1 !important;
  font-weight:500 !important;letter-spacing:-.005em !important;text-transform:none !important;
  white-space:nowrap;text-decoration:none !important;cursor:pointer;outline:none;overflow:hidden;isolation:isolate;
  transition:color .25s ease;}
html body .ct-header nav.jy-pn > ul > li > a.jy-pn-item:focus-visible{outline:2px solid var(--pn-ring);outline-offset:-2px;}
html body .ct-header nav.jy-pn .jy-pn-face{display:inline-flex;align-items:center;gap:.45em;
  transition:transform .36s cubic-bezier(.22,1,.36,1);}
html body .ct-header nav.jy-pn .jy-pn-face-alt{position:absolute;inset:0;display:inline-flex;align-items:center;justify-content:center;gap:.45em;
  color:var(--pn-pill-ink);transform:translateY(var(--pn-roll));transition:transform .36s cubic-bezier(.22,1,.36,1);pointer-events:none;}
html body .ct-header nav.jy-pn :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop{display:inline-flex;flex:none !important;width:auto !important;height:auto !important;margin:0 !important;padding:0 !important;}
html body .ct-header nav.jy-pn :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop svg{width:8px;height:8px;fill:currentColor !important;color:currentColor;}
html body .ct-header nav.jy-pn .jy-pn-fill{position:absolute;top:100%;left:50%;z-index:-1;
  width:var(--pn-fill,200%);height:var(--pn-fill,200%);margin:calc(var(--pn-fill,200%) / -2) 0 0 calc(var(--pn-fill,200%) / -2);
  border-radius:50%;background:var(--pn-pill);transform:scale(0);transition:transform .36s cubic-bezier(.4,0,.2,1);pointer-events:none;}
/* hover (mouse) and keyboard focus: the circle rises from below and the label rolls up into the pill's ink */
@media (hover:hover){
  html body .ct-header nav.jy-pn > ul > li:hover > a.jy-pn-item .jy-pn-fill{transform:scale(1);transition:transform .55s cubic-bezier(.22,1,.36,1);}
  html body .ct-header nav.jy-pn > ul > li:hover > a.jy-pn-item .jy-pn-face{transform:translateY(calc(var(--pn-roll) * -1));transition-duration:.5s;}
  html body .ct-header nav.jy-pn > ul > li:hover > a.jy-pn-item .jy-pn-face-alt{transform:translateY(0);transition-duration:.5s;}
  html body .ct-header nav.jy-pn:has(> ul > li.jy-pn-active:hover) .jy-pn-dot{background:var(--pn-pill-ink);}
}
html body .ct-header nav.jy-pn > ul > li:has(:focus-visible) > a.jy-pn-item .jy-pn-fill{transform:scale(1);transition:transform .55s cubic-bezier(.22,1,.36,1);}
html body .ct-header nav.jy-pn > ul > li:has(:focus-visible) > a.jy-pn-item .jy-pn-face{transform:translateY(calc(var(--pn-roll) * -1));}
html body .ct-header nav.jy-pn > ul > li:has(:focus-visible) > a.jy-pn-item .jy-pn-face-alt{transform:translateY(0);}

/* the active-page dot */
html body .ct-header nav.jy-pn > .jy-pn-dot{position:absolute;left:0;bottom:calc(var(--pn-pad) + (var(--pn-inner) - var(--pn-font)) / 4 - 2px);z-index:3;
  width:4px;height:4px;margin-left:-2px;border-radius:999px;background:var(--pn-dot);opacity:0;pointer-events:none;
  transition:background-color .3s ease;will-change:transform;}
html body .ct-header nav.jy-pn[data-dot] > .jy-pn-dot{opacity:1;}

/* Dropdowns — custom, theme-aware panel (after Uiverse "select" by 3bdel3ziz-T): rounded panel that slides down and
   fades in, rounded options with a soft hover fill, the arrow turns from "›" to "⌄" while open, and the current page
   is marked like a selected option. Open state = li.jy-dd-open (pill-nav.js: hover intent, tap, keyboard, Escape);
   without the script it falls back to :hover. A transparent bridge spans the gap between the pill and the panel. */
.ct-header{--pn-dd-bg:rgba(42,42,42,.97);--pn-dd-hover:rgba(255,255,255,.07);--pn-dd-text:rgba(244,244,244,.8);--pn-dd-strong:#FFFFFF;
  --pn-dd-current:#00EF73;--pn-dd-current-bg:rgba(0,239,115,.08);
  --pn-dd-shadow:0 24px 48px -18px rgba(0,0,0,.75),0 8px 20px -10px rgba(0,0,0,.5);}
html[data-jy-theme="light"] .ct-header{--pn-dd-bg:rgba(255,255,255,.98);--pn-dd-hover:rgba(33,33,33,.05);--pn-dd-text:rgba(33,33,33,.78);--pn-dd-strong:#212121;
  --pn-dd-current:#1F7550;--pn-dd-current-bg:rgba(31,117,80,.08);
  --pn-dd-shadow:0 24px 48px -22px rgba(33,33,33,.3),0 8px 18px -10px rgba(33,33,33,.14);}
html body .ct-header nav.jy-pn > ul > li > .sub-menu{
  position:absolute !important;top:calc(100% + var(--pn-pad) + 10px) !important;inset-inline-start:0 !important;inset-inline-end:auto !important;
  z-index:20;display:flex !important;flex-direction:column;gap:2px;
  min-width:210px;width:max-content !important;max-width:320px;margin:0 !important;padding:6px !important;list-style:none;box-sizing:border-box;
  background:var(--pn-dd-bg) !important;border:0 !important;border-radius:16px !important;
  box-shadow:var(--pn-dd-shadow),inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim) !important;
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);
  opacity:0 !important;visibility:hidden !important;pointer-events:none !important;transform:translateY(-10px) !important;
  transition:opacity .3s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility 0s linear .3s !important;}
html body .ct-header nav.jy-pn > ul > li.jy-dd-open > .sub-menu,
html body .ct-header nav.jy-pn:not([data-dd]) > ul > li:hover > .sub-menu{
  opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:none !important;
  transition:opacity .3s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility 0s !important;}
html body .ct-header nav.jy-pn > ul > li > .sub-menu::before{content:"" !important;display:block !important;position:absolute !important;left:0;right:0;
  top:calc(-1 * (var(--pn-pad) + 12px)) !important;height:calc(var(--pn-pad) + 12px) !important;background:transparent !important;pointer-events:auto !important;}
html body .ct-header nav.jy-pn > ul > li > .sub-menu::after{display:none !important;}
html body .ct-header nav.jy-pn .sub-menu > li{display:block !important;width:100%;margin:0 !important;padding:0 !important;border:0 !important;}
html body .ct-header nav.jy-pn .sub-menu > li > a{
  display:flex !important;align-items:center;gap:10px;width:100%;box-sizing:border-box;min-height:38px;height:auto !important;
  padding:9px 12px !important;margin:0 !important;border:0 !important;border-radius:10px !important;background:transparent !important;
  color:var(--pn-dd-text) !important;font-size:14px !important;font-weight:500 !important;line-height:1.2 !important;
  letter-spacing:0 !important;text-transform:none !important;text-decoration:none !important;white-space:nowrap;
  transition:background-color .3s ease,color .3s ease !important;}
html body .ct-header nav.jy-pn .sub-menu > li > a::before{content:"";flex:none;width:6px;height:6px;border-radius:999px;background:currentColor;opacity:0;
  transform:scale(.4);transition:opacity .3s ease,transform .3s ease;}
html body .ct-header nav.jy-pn .sub-menu > li > a:hover,
html body .ct-header nav.jy-pn .sub-menu > li > a:focus-visible{background:var(--pn-dd-hover) !important;color:var(--pn-dd-strong) !important;outline:none;}
html body .ct-header nav.jy-pn .sub-menu > li > a:hover::before{opacity:.35;transform:scale(1);}
html body .ct-header nav.jy-pn .sub-menu > li > a:focus-visible{box-shadow:inset 0 0 0 2px var(--pn-ring);}
html body .ct-header nav.jy-pn .sub-menu > li:is(.current-menu-item,.current_page_item) > a{color:var(--pn-dd-current) !important;background:var(--pn-dd-current-bg) !important;}
html body .ct-header nav.jy-pn .sub-menu > li:is(.current-menu-item,.current_page_item) > a::before{opacity:1;transform:scale(1);}
/* options drop in one after another */
html body .ct-header nav.jy-pn > ul > li.jy-dd-open > .sub-menu > li{animation:jyDdItem .34s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i,0) * 35ms + 40ms);}
@keyframes jyDdItem{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* the arrow: "›" at rest, "⌄" while the list is open */
html body .ct-header nav.jy-pn :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop svg{transform:rotate(-90deg);transition:transform .3s ease;}
html[dir="rtl"] body .ct-header nav.jy-pn :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop svg{transform:rotate(90deg);}
html body .ct-header nav.jy-pn > ul > li.jy-dd-open :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop svg,
html body .ct-header nav.jy-pn:not([data-dd]) > ul > li:hover :is(.jy-pn-face,.jy-pn-face-alt) .ct-toggle-dropdown-desktop svg{transform:rotate(0deg) !important;}
/* the parent pill stays lit while its list is open */
html body .ct-header nav.jy-pn > ul > li.jy-dd-open > a.jy-pn-item .jy-pn-fill{transform:scale(1);transition:transform .55s cubic-bezier(.22,1,.36,1);}
html body .ct-header nav.jy-pn > ul > li.jy-dd-open > a.jy-pn-item .jy-pn-face{transform:translateY(calc(var(--pn-roll) * -1));}
html body .ct-header nav.jy-pn > ul > li.jy-dd-open > a.jy-pn-item .jy-pn-face-alt{transform:translateY(0);}
@media (prefers-reduced-motion:reduce){
  html body .ct-header nav.jy-pn > ul > li > .sub-menu{transform:none !important;}
  html body .ct-header nav.jy-pn > ul > li.jy-dd-open > .sub-menu > li{animation:none;}
}
/* keyboard "expand" button: sits invisibly over the arrow inside the pill, as before */
html body .ct-header nav.jy-pn > ul > li > .ct-toggle-dropdown-desktop-ghost{position:absolute !important;z-index:2;top:50%;inset-inline-end:8px;
  width:22px !important;height:22px !important;margin:0 !important;transform:translateY(-50%);border-radius:999px;}
html body .ct-header nav.jy-pn > ul > li > .ct-toggle-dropdown-desktop-ghost:focus-visible{outline:2px solid var(--pn-ring);outline-offset:0;}

/* language switch + theme toggle: their own frosted capsule beside the bar; search: a frosted circle */
html body .ct-header ul.jy-pn-ctrls{position:relative;display:flex;align-items:center;gap:6px;flex:none;
  height:var(--pn-h);margin:0;margin-inline-start:var(--pn-gap);padding:0 var(--pn-pad);box-sizing:border-box;list-style:none;
  border-radius:999px;background:var(--pn-surface);
  box-shadow:var(--pn-shadow),inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim);
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);}
html body .ct-header ul.jy-pn-ctrls > li{margin:0 !important;padding:0 !important;border:0 !important;}
html body .ct-header [data-device="desktop"] [data-id="search"]{display:inline-grid !important;place-items:center;flex:none;
  width:var(--pn-h) !important;height:var(--pn-h) !important;margin:0;margin-inline-start:var(--pn-gap);padding:0 !important;border-radius:999px !important;
  background:var(--pn-surface) !important;box-shadow:var(--pn-shadow),inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim) !important;
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);color:var(--pn-strong) !important;--theme-icon-color:var(--pn-strong);}
/* the logo: bare at the top of the page; once the page scrolls (html.jy-scrolled) and content passes under the
   transparent header, it condenses into its own frosted pill at the bar's height (PillNav's split-layout logo pill) */
html body .ct-header .site-logo-container{display:inline-flex !important;align-items:center;border-radius:999px;
  transition:background-color .35s ease,box-shadow .35s ease,padding .35s cubic-bezier(.22,1,.36,1),margin .35s cubic-bezier(.22,1,.36,1);}
html body .ct-header .site-logo-container .default-logo{transition:height .35s cubic-bezier(.22,1,.36,1);}
html.jy-scrolled:not(.jy-view-hero) body .ct-header .site-logo-container{
  padding:4px 14px;margin-inline-start:-14px;background:var(--pn-surface);
  box-shadow:var(--pn-shadow),inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim);
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);}
html.jy-scrolled:not(.jy-view-hero) body .ct-header .site-logo-container .default-logo{height:36px !important;max-height:36px !important;width:auto !important;}
@media (prefers-reduced-motion:reduce){
  html body .ct-header .site-logo-container, html body .ct-header .site-logo-container .default-logo{transition:none;}
}
/* browsers without backdrop-filter: solid pills instead of see-through ones */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .ct-header{--pn-surface:#2A2A2A;}
  html[data-jy-theme="light"] .ct-header{--pn-surface:#F1F1F1;}
}

/* collapsed (mobile header): the hamburger becomes PillNav's glass toggle */
html body .ct-header [data-device="mobile"] [data-id="trigger"]{display:inline-grid;place-items:center;width:var(--pn-h);height:var(--pn-h);padding:0 !important;border-radius:999px !important;
  background:var(--pn-surface) !important;box-shadow:var(--pn-shadow),inset 0 0 0 1px var(--pn-edge),inset 0 1px 0 var(--pn-rim) !important;
  -webkit-backdrop-filter:var(--pn-blur);backdrop-filter:var(--pn-blur);color:var(--pn-strong) !important;--theme-icon-color:var(--pn-strong);}

@media (prefers-reduced-motion:reduce){
  html body .ct-header nav.jy-pn :is(.jy-pn-face,.jy-pn-face-alt,.jy-pn-fill),
  html body .ct-header nav.jy-pn > ul > li > a.jy-pn-item{transition:none !important;}
}
