.afh{--af-ink:#183957;--af-blue:#1686bd;--af-line:#e6edf1;direction:rtl;color:var(--af-ink);background:#fff;font-family:var(--fn-body-font,Vazirmatn,Tahoma,sans-serif)}
.afh,.afh *{box-sizing:border-box}.afh a{text-decoration:none}
.afh-wrap{width:min(calc(100% - 36px),var(--af-width,1240px));margin-inline:auto}
.afh-top{position:relative;z-index:3;background:#fff;border-bottom:1px solid var(--af-line)}
.afh-top .afh-wrap{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}
.afh-top small{color:#718493;font-size:inherit}.afh-date{display:inline-flex;align-items:center;gap:9px;color:#526a7d}
.afh-date:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--af-blue);box-shadow:0 0 0 4px #1686bd1a}
.afh-main{position:relative;isolation:isolate;background:#fff}
.afh-wave-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.afh-wave-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ffffffd9,#ffffff1f 30%,#ffffff0d 50%,#ffffff1f 70%,#ffffffd9)}
.afh-main .afh-brand-row{position:relative;z-index:2;min-height:var(--af-height,170px);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;padding-block:18px}
.afh-brand,.afh-center,.afh-search{min-width:0;max-width:100%}.afh-brand{display:flex;align-items:center}
.afh-brand>a{display:block;max-width:100%;font-weight:900;font-size:26px}
.afh .afh-brand img.custom-logo{display:block;width:var(--af-logo-width,220px)!important;height:var(--af-logo-height,100px)!important;max-width:100%!important;max-height:none!important;object-fit:contain}
.afh-center{justify-self:center;position:relative}
.afh .afh-center>.fn-header-ad-slot{width:fit-content;max-width:100%;padding:0;margin:0}
.afh-slogan{text-align:center}.afh-slogan>span{display:block;margin-bottom:5px;color:var(--af-blue);font-size:12px;font-weight:800}
.afh-slogan strong{display:block;font-size:clamp(19px,2.1vw,30px);font-weight:900;line-height:1.7;animation:afh-slogan 9s ease-in-out infinite}
.afh-slogan em{display:block;margin-top:5px;color:#687e8c;font-size:11px;font-style:normal}
.afh-search{justify-self:end;width:min(100%,255px)}
.afh-search form{display:flex;align-items:center;width:100%;min-height:44px;overflow:hidden;border:1px solid #d7e3e9;border-radius:6px;background:#fffffff0;box-shadow:0 5px 18px #1839570f}
.afh-search label{flex:1;min-width:0}
.afh-search input[type=search]{width:100%;min-width:0;height:44px;padding:0 12px;border:0;background:transparent;color:var(--af-ink);font:inherit;font-size:12px}
.afh-search button{flex:none;min-height:44px;padding:0 14px;border:0;background:var(--af-blue);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.afh-halftone,.afh-wave-center{position:absolute;z-index:0;pointer-events:none;background-image:repeating-linear-gradient(0deg,transparent 0 13px,#ffffffb8 13px 19px),repeating-linear-gradient(90deg,#d5dce1 0 6px,transparent 6px 19px);background-size:19px 19px}
.afh-halftone{top:-55%;bottom:-55%;width:86%;opacity:.46}
.afh-halftone--right{right:0;clip-path:polygon(0 46%,8% 35%,17% 52%,29% 30%,41% 55%,54% 37%,70% 57%,84% 40%,100% 52%,100% 78%,84% 66%,70% 82%,54% 62%,41% 79%,29% 59%,17% 77%,8% 58%,0 69%);animation:afh-wave-right 9s ease-in-out infinite}
.afh-halftone--left{left:0;clip-path:polygon(0 52%,15% 38%,29% 56%,44% 32%,58% 54%,71% 37%,83% 58%,92% 41%,100% 48%,100% 70%,92% 63%,83% 80%,71% 61%,58% 78%,44% 55%,29% 79%,15% 59%,0 73%);animation:afh-wave-left 9s ease-in-out infinite}
.afh-wave-center{top:50%;left:50%;width:min(56vw,730px);height:150px;transform:translate(-50%,-50%) scaleX(.45);opacity:0;clip-path:polygon(0 47%,10% 56%,20% 39%,30% 54%,40% 33%,50% 51%,60% 33%,70% 54%,80% 39%,90% 56%,100% 47%,100% 72%,90% 80%,80% 63%,70% 79%,60% 59%,50% 77%,40% 59%,30% 79%,20% 63%,10% 80%,0 72%);animation:afh-wave-merge 9s ease-in-out infinite}
@keyframes afh-wave-right{0%,100%{transform:translateX(72%);opacity:0}15%,85%{opacity:.42}43%,57%{transform:translateX(-6%);opacity:.56}}
@keyframes afh-wave-left{0%,100%{transform:translateX(-72%);opacity:0}15%,85%{opacity:.42}43%,57%{transform:translateX(6%);opacity:.56}}
@keyframes afh-wave-merge{0%,31%,69%,100%{transform:translate(-50%,-50%) scaleX(.45);opacity:0}43%,57%{transform:translate(-50%,-50%) scaleX(1);opacity:.58}}
@keyframes afh-slogan{0%,24%,76%,100%{text-shadow:none}43%,57%{text-shadow:0 0 15px #1686bd4d}}
.afh-nav{position:relative;z-index:80;background:#fff;border-block:1px solid var(--af-line)}
.afh-nav .fn-nav__list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0;list-style:none;margin:0;padding:0;overflow:visible;white-space:normal}
.afh-nav .fn-nav__list>li{position:relative;list-style:none}
.afh-nav .fn-nav__list>li>a{position:relative;display:block;padding:19px 17px 12px;color:var(--af-ink);font-size:13px;font-weight:800;white-space:nowrap}
.afh-nav .fn-nav__list>li>a:before{content:"";position:absolute;top:7px;right:17px;left:17px;height:2px;border-radius:10px;background:#d7e8f0}
.afh-nav .fn-nav__list>li>a:after{content:"";position:absolute;top:5px;right:17px;width:28px;height:6px;border-radius:20px;background:linear-gradient(90deg,transparent,#6cdbf5,#1686bd,transparent);box-shadow:0 0 9px #1686bda6;animation:afh-menu-light 3.8s ease-in-out infinite alternate}
.afh-nav .fn-nav__list>li:nth-child(2n)>a:after{animation-delay:-1.3s}.afh-nav .fn-nav__list>li:nth-child(3n)>a:after{animation-delay:-2.5s}
@keyframes afh-menu-light{from{right:17px;opacity:.35}to{right:calc(100% - 45px);opacity:1}}
.afh-nav a:hover{color:var(--af-blue);background:#f5fbfe}
.afh-nav .sub-menu{display:none;position:absolute;z-index:20;right:0;min-width:190px;margin:0;padding:5px 0;background:#fff;border:1px solid var(--af-line);box-shadow:0 14px 28px #1839571f;list-style:none}
.afh-nav .sub-menu a{display:block;padding:10px 14px;line-height:1.8}
.afh-nav li:hover>.sub-menu,.afh-nav li:focus-within>.sub-menu,.afh-nav li.fn-submenu-open>.sub-menu{display:block}
.afh-nav .sub-menu .sub-menu{right:100%;top:0}.afh-nav .fn-menu-toggle{display:none}
.afh a:focus-visible,.afh button:focus-visible{outline:2px solid var(--af-blue);outline-offset:3px}
.afh-still .afh-halftone,.afh-still .afh-wave-center,.afh-still .afh-slogan strong,.afh-still .afh-nav a:after{animation:none}
@media(max-width:900px){.afh-main .afh-brand-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.afh-center{grid-column:1/-1;grid-row:2;max-width:100%;width:100%}.afh .afh-center>.fn-header-ad-slot{margin-inline:auto}.afh-search{grid-column:2;grid-row:1}}
@media(max-width:780px){.afh-nav .fn-menu-toggle{display:flex;min-height:44px;min-width:44px}.afh-nav .fn-nav__list{display:none;position:fixed;inset:0 0 0 auto;width:min(86vw,360px);height:100dvh;z-index:200;padding:64px 16px 24px;background:#fff;overflow-y:auto}.afh-nav .fn-nav__list.is-open{display:block}.afh-nav .sub-menu{position:static;min-width:0;box-shadow:none;border:0;padding-inline-start:12px}body.fn-menu-open .afh-nav{z-index:220}.afh .afh-brand img.custom-logo{height:auto!important;max-height:85px!important;max-width:min(100%,180px)!important}}
@media(max-width:520px){.afh-top small{display:none}.afh-main .afh-brand-row{grid-template-columns:minmax(0,1fr);padding-block:14px}.afh-brand{justify-content:center}.afh-search{grid-column:1;grid-row:3;width:100%;justify-self:center}.afh-center{grid-column:1;grid-row:2}.afh-top .afh-wrap{font-size:11px}.afh-slogan strong{white-space:normal}}
@media(prefers-reduced-motion:reduce){.afh *,.afh *:after{animation:none!important}.afh-halftone{opacity:.18;transform:none}.afh-wave-center{display:none}}

/* Independent menu controls: keep global navigation presets from overriding this header. */
body .afh .afh-nav.fn-nav{height:auto!important;min-height:var(--af-nav-height,56px);background:var(--af-nav-bg,#fff)!important;color:var(--af-nav-text,#183957)!important}
body .afh .afh-nav .fn-nav__list>li>a{display:flex;align-items:center;min-height:var(--af-nav-height,56px);padding-block:12px 6px;line-height:1.4;color:var(--af-nav-text,#183957)!important;background:transparent}
body .afh .afh-nav .sub-menu{background:var(--af-submenu-bg,#fff)!important}
body .afh .afh-nav .sub-menu a{color:var(--af-submenu-text,#183957)!important;background:transparent}
body .afh .afh-nav .fn-nav__list a:hover,body .afh .afh-nav .fn-nav__list a:focus-visible,body .afh .afh-nav .current-menu-item>a,body .afh .afh-nav .current-menu-ancestor>a{color:var(--af-nav-active-text,#1686bd)!important;background:var(--af-nav-active-bg,#f5fbfe)!important}
body .afh .afh-nav .fn-menu-toggle{color:var(--af-nav-text,#183957)!important;background:transparent!important}
@media(max-width:780px){body .afh .afh-nav .fn-nav__list{background:var(--af-nav-bg,#fff)!important}body .afh .afh-nav .fn-nav__list>li>a{min-height:44px;padding-block:12px}body .afh .afh-nav.fn-nav{min-height:max(44px,var(--af-nav-height,56px))}}
