
/* AY Soft V17 bilingual routing + inner-page polish */
body.ay-lang-en{direction:ltr}
body.ay-lang-ar{direction:rtl}
body.ay-lang-en .wp-content-shell,
body.ay-lang-en .wp-article,
body.ay-lang-en .wp-contact-layout,
body.ay-lang-en .wp-site-footer{font-family:'Cairo',sans-serif}
.ay-v17-header .wp-header-inner{display:grid;grid-template-columns:190px 1fr auto;align-items:center}
.ay-v17-menu{display:flex;align-items:center;justify-content:center;gap:24px}
.ay-v17-menu a{font-weight:700;white-space:nowrap}
.ay-v17-head-actions{display:flex;align-items:center;gap:12px}
.ay-v17-lang{display:flex;align-items:center;gap:5px;border:1px solid #e1e8f0;background:#fff;border-radius:999px;padding:4px 6px;font-size:10px;font-weight:800;color:#6e7f93;box-shadow:0 4px 12px #0a31590c}
.ay-v17-lang>span{display:flex;align-items:center;gap:4px;padding:5px 7px;border-radius:999px}
.ay-v17-lang>span.active{background:#eef4fa;color:#0a315d}
.ay-v17-lang .flag{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important;font-size:14px;line-height:1}
.ay-v17-lang i{width:1px;height:15px;background:#dfe6ee}
body.ay-lang-en .wp-header-inner,
body.ay-lang-en .wp-footer-inner{direction:ltr}
body.ay-lang-ar .wp-header-inner,
body.ay-lang-ar .wp-footer-inner{direction:rtl}
body.ay-lang-en .wp-blog-hero,
body.ay-lang-en .wp-post-copy,
body.ay-lang-en .wp-article,
body.ay-lang-en .wp-contact-intro,
body.ay-lang-en .wp-contact-form{text-align:left}
body.ay-lang-ar .wp-blog-hero,
body.ay-lang-ar .wp-post-copy,
body.ay-lang-ar .wp-article,
body.ay-lang-ar .wp-contact-intro,
body.ay-lang-ar .wp-contact-form{text-align:right}
.ay-v17-footer .wp-footer-inner{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:20px}
.ay-v17-footer-links{display:flex;gap:16px;align-items:center}
.ay-v17-about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}
.ay-v17-about-grid article,.ay-v17-seo-section{background:#fff;border:1px solid #e2eaf5;border-radius:20px;padding:30px;box-shadow:0 13px 30px #0a31570a}
.ay-v17-about-grid article>span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff4df;color:#c87600;font-weight:900;margin-bottom:12px}
.ay-v17-about-grid h2,.ay-v17-seo-section h2{color:#0a2d59;font-size:26px;line-height:1.4;margin:0 0 10px}
.ay-v17-about-grid p,.ay-v17-seo-section p{color:#5b6f87;font-size:16px;line-height:1.9;margin:0}
.ay-v17-seo-section{margin-top:18px}
.ay-v17-about-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.ay-v17-about-links a{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:10px;background:#0a315d;color:#fff;font-weight:800}
.ay-v17-about-links a+ a{background:#fff;color:#0a315d;border:1px solid #d6a24a}
.ay-v17-search-form{display:flex;gap:10px;max-width:650px;margin-top:24px;position:relative;z-index:1}
.ay-v17-search-form input[type="search"]{flex:1;min-height:48px;border-radius:10px;border:1px solid #cdd8e7;padding:0 14px;font:inherit}
.ay-v17-search-form button{min-height:48px;padding:0 20px;border:0;border-radius:10px;background:#e79a18;color:#082f5d;font-weight:900;cursor:pointer}
body.ay-lang-en .wp-contact-layout{direction:ltr}
body.ay-lang-ar .wp-contact-layout{direction:rtl}
body.ay-lang-en .wp-form-field label,
body.ay-lang-en .wp-contact-form{text-align:left}
body.ay-lang-ar .wp-form-field label,
body.ay-lang-ar .wp-contact-form{text-align:right}
@media(max-width:980px){
  .ay-v17-header .wp-header-inner{grid-template-columns:160px 1fr;gap:12px}
  .ay-v17-head-actions{grid-column:1/-1;justify-content:center;padding-bottom:12px}
  .ay-v17-menu{gap:14px;flex-wrap:wrap}
  .ay-v17-footer .wp-footer-inner{grid-template-columns:1fr 1fr}
  .ay-v17-about-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .ay-v17-header .wp-header-inner{display:flex;flex-wrap:wrap;justify-content:center}
  .ay-v17-menu{order:3;width:100%;justify-content:center;font-size:13px}
  .ay-v17-head-actions{order:2;padding:0}
  .ay-v17-footer .wp-footer-inner{grid-template-columns:1fr;text-align:center}
  .ay-v17-footer-links{justify-content:center;flex-wrap:wrap}
  .ay-v17-search-form{flex-direction:column}
}

/* AYSOFT_INNER_HEADER_V22_20261031 */
.ay-v17-header .wp-header-inner{
  position:relative;
  display:grid!important;
  align-items:center;
  gap:24px;
}
body.ay-lang-ar .ay-v17-header .wp-header-inner{
  direction:ltr!important;
  grid-template-columns:auto minmax(0,1fr) 190px!important;
  grid-template-areas:"actions menu brand"!important;
}
body.ay-lang-en .ay-v17-header .wp-header-inner{
  direction:ltr!important;
  grid-template-columns:190px minmax(0,1fr) auto!important;
  grid-template-areas:"brand menu actions"!important;
}
.ay-v17-header .wp-brand{grid-area:brand;min-width:0}
body.ay-lang-ar .ay-v17-header .wp-brand{justify-self:end}
body.ay-lang-en .ay-v17-header .wp-brand{justify-self:start}
.ay-v17-header .ay-v17-menu{
  grid-area:menu!important;
  position:static!important;
  inset:auto!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:22px;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ay-lang-ar .ay-v17-header .ay-v17-menu{direction:rtl!important}
body.ay-lang-en .ay-v17-header .ay-v17-menu{direction:ltr!important}
.ay-v17-header .ay-v17-menu a{
  position:relative;
  min-height:44px;
  padding:10px 0!important;
  color:#485d75;
  font-size:13px;
  line-height:1.3;
}
.ay-v17-header .ay-v17-menu a.active{color:#c97d08}
.ay-v17-header .ay-v17-menu a.active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:3px;
  height:2px;
  border-radius:999px;
  background:#d98b12;
}
.ay-v17-header .ay-v17-head-actions{
  grid-area:actions!important;
  width:auto!important;
  min-width:0!important;
  justify-self:start;
  display:flex;
  align-items:center;
  gap:10px;
}
body.ay-lang-en .ay-v17-header .ay-v17-head-actions{justify-self:end}
.ay-v17-menu-toggle{
  grid-area:toggle;
  display:none;
  width:40px;height:40px;
  padding:0;
  border:1px solid #dfe7ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 18px rgba(8,47,93,.06);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  cursor:pointer;
}
.ay-v17-menu-toggle span{display:block;width:18px;height:2px;border-radius:3px;background:#082f5d}
@media(max-width:1120px){
  .ay-v17-header .ay-v17-menu{gap:14px}
  .ay-v17-header .ay-v17-menu a{font-size:11.5px}
  .ay-v17-header .aysoft-header-socials{display:none!important}
}
@media(max-width:900px){
  .ay-v17-header .wp-header-inner{
    min-height:76px!important;
    width:min(100% - 28px,1240px)!important;
    display:grid!important;
    gap:10px!important;
    padding:0!important;
  }
  body.ay-lang-ar .ay-v17-header .wp-header-inner{
    grid-template-columns:42px auto minmax(0,1fr)!important;
    grid-template-areas:"toggle actions brand"!important;
  }
  body.ay-lang-en .ay-v17-header .wp-header-inner{
    grid-template-columns:minmax(0,1fr) auto 42px!important;
    grid-template-areas:"brand actions toggle"!important;
  }
  .ay-v17-header .wp-brand img{width:152px!important;height:54px!important}
  .ay-v17-menu-toggle{display:flex}
  .ay-v17-header .ay-v17-head-actions{padding:0!important;grid-column:auto!important}
  .ay-v17-header .ay-v17-lang{font-size:9px;padding:3px 5px}
  .ay-v17-header .ay-v17-lang>span{padding:5px 6px}
  .ay-v17-header .ay-v17-menu{
    display:none!important;
    position:absolute!important;
    top:calc(100% + 8px)!important;
    left:0!important;
    right:0!important;
    z-index:80;
    width:100%!important;
    padding:10px!important;
    background:#fff!important;
    border:1px solid #dfe7ef!important;
    border-radius:16px!important;
    box-shadow:0 18px 45px rgba(8,47,93,.14)!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:2px!important;
  }
  .ay-v17-header .ay-v17-menu.open{display:flex!important}
  .ay-v17-header .ay-v17-menu a{
    width:100%;
    min-height:42px;
    padding:10px 12px!important;
    border-radius:10px;
    font-size:13px!important;
  }
  .ay-v17-header .ay-v17-menu a.active{background:#fff7e9}
  .ay-v17-header .ay-v17-menu a.active:after{display:none}
}
@media(max-width:520px){
  .ay-v17-header .wp-header-inner{width:calc(100% - 22px)!important}
  .ay-v17-header .wp-brand img{width:138px!important}
  .ay-v17-header .ay-v17-lang .flag{font-size:12px!important}
  .ay-v17-header .ay-v17-lang>span{padding:4px 5px}
}


/* AYSOFT_INNER_HEADER_FINAL_V23_20261031
   Final cache-safe inner header + blog hero contrast.
*/
.ay-v17-header .wp-header-inner{
  min-height:82px!important;
  width:min(1320px,calc(100% - 44px))!important;
  padding:0!important;
}
body.ay-lang-ar .ay-v17-header .wp-header-inner{
  grid-template-columns:auto minmax(0,1fr) 176px!important;
  grid-template-areas:"actions menu brand"!important;
}
body.ay-lang-en .ay-v17-header .wp-header-inner{
  grid-template-columns:176px minmax(0,1fr) auto!important;
  grid-template-areas:"brand menu actions"!important;
}
.ay-v17-header .wp-brand{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
body.ay-lang-ar .ay-v17-header .wp-brand{justify-self:end!important}
body.ay-lang-en .ay-v17-header .wp-brand{justify-self:start!important}
.ay-v17-header .wp-brand img{
  width:170px!important;
  height:58px!important;
  object-fit:contain!important;
}
.ay-v17-header .ay-v17-menu{
  gap:24px!important;
  min-width:0!important;
}
.ay-v17-header .ay-v17-menu a{
  font-size:13px!important;
  font-weight:800!important;
}
.ay-v17-header .ay-v17-head-actions{
  grid-area:actions!important;
  width:auto!important;
  min-width:max-content!important;
  height:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  padding:0!important;
  align-self:center!important;
}
body.ay-lang-ar .ay-v17-header .ay-v17-head-actions{justify-self:start!important}
body.ay-lang-en .ay-v17-header .ay-v17-head-actions{justify-self:end!important}

.ay-v17-header .ay-v17-search{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #dbe5ef!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#0a315f!important;
  text-decoration:none!important;
  box-shadow:0 5px 16px rgba(8,47,93,.05)!important;
}
.ay-v17-header .ay-v17-search svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.ay-v17-header .ay-v17-lang{
  min-height:40px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:3px 6px!important;
  border:1px solid #dbe5ef!important;
  border-radius:22px!important;
  background:#fff!important;
  color:#75859a!important;
  font-size:10px!important;
  font-weight:850!important;
  text-decoration:none!important;
  direction:ltr!important;
  box-shadow:0 5px 16px rgba(8,47,93,.04)!important;
}
.ay-v17-header .ay-v17-lang>span{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  height:30px!important;
  padding:0 5px!important;
  border-radius:15px!important;
}
.ay-v17-header .ay-v17-lang>span.active{
  background:#eef4fa!important;
  color:#0a315f!important;
}
.ay-v17-header .ay-v17-lang i{
  width:1px!important;
  height:15px!important;
  background:#e0e7ee!important;
}
.ay-v17-header .ay-v17-lang .flag{
  font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif!important;
  font-size:13px!important;
}

.ay-v17-header .ay-v17-cta{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 16px!important;
  border:0!important;
  border-radius:12px!important;
  background:#0b67ef!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:850!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-shadow:0 8px 20px rgba(11,103,239,.18)!important;
}
.ay-v17-header .ay-v17-cta:hover{
  background:#0757ce!important;
  color:#fff!important;
}
.ay-v17-header .ay-v17-cta svg{
  width:16px!important;
  height:16px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.ay-v17-header .ay-v17-cta svg path{
  fill:none!important;
  stroke:currentColor!important;
}

/* Blog hub uses a light hero, so force dark readable copy over it. */
.ay-v17-blog .wp-blog-hero{
  color:#0a315d!important;
  background:
    radial-gradient(circle at 8% 80%,rgba(22,104,237,.08),transparent 32%),
    radial-gradient(circle at 92% 8%,rgba(222,154,25,.09),transparent 30%),
    linear-gradient(135deg,#f8fbff,#fff 58%,#fff9ef)!important;
}
.ay-v17-blog .wp-blog-hero .wp-eyebrow{
  color:#2d78e8!important;
}
.ay-v17-blog .wp-blog-hero h1{
  color:#082f5d!important;
  text-shadow:none!important;
}
.ay-v17-blog .wp-blog-hero p{
  color:#60758c!important;
}
.ay-v17-blog .wp-blog-hero:after{
  opacity:.85!important;
  pointer-events:none!important;
}

@media(max-width:1120px){
  .ay-v17-header .ay-v17-menu{gap:14px!important}
  .ay-v17-header .ay-v17-menu a{font-size:11.5px!important}
  .ay-v17-header .ay-v17-cta{padding-inline:12px!important;font-size:12px!important}
}
@media(max-width:900px){
  .ay-v17-header .wp-header-inner{
    min-height:76px!important;
    width:min(100% - 28px,1240px)!important;
  }
  .ay-v17-header .ay-v17-cta{display:none!important}
  .ay-v17-header .ay-v17-head-actions{
    min-width:auto!important;
    gap:7px!important;
  }
  .ay-v17-header .ay-v17-search{
    width:38px!important;
    height:38px!important;
    flex-basis:38px!important;
  }
}
@media(max-width:520px){
  .ay-v17-header .wp-header-inner{
    width:calc(100% - 22px)!important;
    min-height:72px!important;
  }
  .ay-v17-header .wp-brand img{
    width:138px!important;
    height:50px!important;
  }
  .ay-v17-header .ay-v17-lang{padding:2px 4px!important}
  .ay-v17-header .ay-v17-lang>span{
    height:28px!important;
    padding-inline:4px!important;
    font-size:9px!important;
  }
  .ay-v17-header .ay-v17-lang .flag{font-size:12px!important}
  .ay-v17-blog .wp-blog-hero{padding:34px 22px!important}
  .ay-v17-blog .wp-blog-hero h1{font-size:34px!important}
}


/* AYSOFT_INNER_HEADER_MOBILE_V24_20261031 */
@media(max-width:900px){
  .ay-v17-header{
    overflow:visible!important;
  }
  .ay-v17-header .wp-header-inner{
    width:calc(100% - 24px)!important;
    min-height:72px!important;
    height:72px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:7px!important;
    padding:0!important;
    margin-inline:auto!important;
    direction:ltr!important;
    flex-wrap:nowrap!important;
  }
  .ay-v17-header .wp-brand{
    flex:0 0 126px!important;
    width:126px!important;
    min-width:126px!important;
    margin:0!important;
  }
  .ay-v17-header .wp-brand img{
    width:126px!important;
    height:48px!important;
  }
  .ay-v17-header .ay-v17-head-actions{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0!important;
    margin:0!important;
  }
  .ay-v17-header .ay-v17-search{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }
  .ay-v17-header .ay-v17-lang{
    min-height:36px!important;
    height:36px!important;
    padding:2px 4px!important;
    gap:3px!important;
  }
  .ay-v17-header .ay-v17-lang>span{
    height:26px!important;
    padding:0 4px!important;
    font-size:8.5px!important;
  }
  .ay-v17-header .ay-v17-lang .flag{
    font-size:11px!important;
  }
  .ay-v17-header .ay-v17-cta{
    display:none!important;
  }
  .ay-v17-menu-toggle{
    position:static!important;
    flex:0 0 40px!important;
    width:40px!important;
    height:40px!important;
    margin:0!important;
    align-self:center!important;
  }

  body.ay-lang-ar .ay-v17-header .ay-v17-menu-toggle{order:1!important}
  body.ay-lang-ar .ay-v17-header .ay-v17-head-actions{order:2!important}
  body.ay-lang-ar .ay-v17-header .wp-brand{order:3!important;justify-content:flex-end!important}

  body.ay-lang-en .ay-v17-header .wp-brand{order:1!important;justify-content:flex-start!important}
  body.ay-lang-en .ay-v17-header .ay-v17-head-actions{order:2!important}
  body.ay-lang-en .ay-v17-header .ay-v17-menu-toggle{order:3!important}

  .ay-v17-header .ay-v17-menu{
    top:calc(100% + 8px)!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
}
@media(max-width:390px){
  .ay-v17-header .wp-header-inner{
    width:calc(100% - 18px)!important;
    gap:5px!important;
  }
  .ay-v17-header .wp-brand{
    flex-basis:112px!important;
    width:112px!important;
    min-width:112px!important;
  }
  .ay-v17-header .wp-brand img{width:112px!important}
  .ay-v17-header .ay-v17-search{
    width:34px!important;height:34px!important;flex-basis:34px!important
  }
  .ay-v17-header .ay-v17-lang{
    height:34px!important;min-height:34px!important
  }
}
