.khbr{--dark:#062f3b;--teal:#0d5a6e;--gold:#c9a45c;--red:#c4161c;font-family:Vazirmatn,'Noto Sans',sans-serif;background:#fff;color:#17212b}
.khbr *{box-sizing:border-box}
.khbr [hidden]{display:none!important}
.khbr a{color:inherit;text-decoration:none}
.khbr-in{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.khbr button,.khbr input{font:inherit}
.khbr :focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.khbr-top{background:var(--dark);color:#fff;font-size:13px}
.khbr-top .khbr-in{min-height:52px;padding-block:4px}
.khbr-langs{display:flex;gap:2px}
.khbr-langs button{min-height:44px;padding:0 14px;border:0;border-radius:10px;background:none;color:#fff;font-weight:700;font-size:13px;cursor:pointer}
.khbr-langs button[aria-pressed="true"]{background:#fff;color:var(--dark)}
.khbr-brand{background:linear-gradient(135deg,var(--teal),#08404f);color:#fff}
.khbr-brand .khbr-in{min-height:140px;padding-block:14px}
.khbr-logo{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px}
.khbr-logo img{width:210px;height:auto;max-width:100%}
.khbr-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.khbr-search{display:flex;background:#fff;border-radius:12px;overflow:hidden;margin:0}
.khbr-search input{width:230px;height:48px;border:0;padding:0 14px;font-size:14px;min-width:0}
.khbr-search button{border:0;border-inline-start:1px solid #dde3e7;background:#fff;color:var(--teal);padding:0 16px;font-weight:700;font-size:14px;cursor:pointer}
.khbr-tv{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 20px;border-radius:12px;background:var(--red);font-weight:700;font-size:15px}
.khbr-burger{display:none}
.khbr-nav{background:#fff;border-top:3px solid var(--gold);box-shadow:0 3px 10px rgba(0,0,0,.07)}
.khbr-nav .khbr-in{justify-content:flex-start;gap:4px;min-height:56px}
.khbr-nav a{padding:10px 14px;border-radius:8px;font-weight:500;font-size:15px}
.khbr-nav a:hover{background:#e8f1f3}
.khbr-nav a.is-active{background:var(--teal);color:#fff}
.khbr ul{list-style:none;margin:0;padding:0}
header.khbr{position:sticky;top:0;z-index:100}
.khbr-clocks{display:flex;gap:16px;font-size:12px;color:#cfe3e8}
.khbr-clocks bdi{font-weight:700;color:#fff}
.khbr-live{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 18px;border:2px solid #fff;border-radius:12px;font-weight:700}
.khbr-live i{width:10px;height:10px;border-radius:50%;background:#ff4d52;animation:khbr-blink 1.4s infinite}
@keyframes khbr-blink{50%{opacity:.25}}
.khbr-mini{display:none}
.khbr-nav .khbr-mini{background:var(--dark);padding:6px 10px}
.khbr-mini img{display:block;width:74px;height:auto}
.khbr-nav .khbr-mini:hover{background:var(--teal)}
.khbr.is-stuck .khbr-mini{display:block}
.khbr-world{border:0;background:none;padding:10px 14px;border-radius:8px;font-weight:500;font-size:15px;color:inherit;cursor:pointer}
.khbr-world:hover,.khbr-world[aria-expanded="true"]{background:#e8f1f3}
.khbr-nav{position:relative}
.khbr-mega{position:absolute;inset-inline:0;top:100%;background:#fff;border-top:1px solid #e1e5e9;box-shadow:0 14px 24px rgba(0,0,0,.14)}
.khbr-mega .khbr-in{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-block:14px}
.khbr-mega a{border-inline-start:3px solid var(--gold);border-radius:0}
.khbr-breaking{border-bottom:1px solid #e1e5e9}
.khbr-ticker{flex:1;min-width:0}
.khbr-ticker li{display:none;line-height:1.8}
.khbr-ticker li.is-on{display:block;animation:khbr-in .4s}
@keyframes khbr-in{from{opacity:0;transform:translateY(8px)}}
.khbr-pause{width:44px;height:44px;border:1px solid #cfd6dc;border-radius:10px;background:#fff;cursor:pointer;flex-shrink:0}
@media(prefers-reduced-motion:reduce){.khbr *{animation:none!important}}
.khbr-breaking .khbr-in{justify-content:flex-start;flex-wrap:nowrap;min-height:46px;font-size:14px}
.khbr-breaking strong{background:var(--red);color:#fff;border-radius:6px;padding:2px 12px;white-space:nowrap}
@media(max-width:800px){
.khbr-in{padding-inline:12px}
.khbr-top .khbr-date{width:100%;text-align:center;padding-top:4px}
.khbr-langs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%}
.khbr-langs button{padding:0;font-size:12px}
.khbr-brand .khbr-in{min-height:0;padding-block:10px;gap:10px}
.khbr-logo img{width:130px}
.khbr-logo span{display:none}
.khbr-burger{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.5);border-radius:12px;background:none;cursor:pointer}
.khbr-burger i,.khbr-burger i:before,.khbr-burger i:after{display:block;width:22px;height:2px;background:#fff;content:""}
.khbr-burger i{position:relative}.khbr-burger i:before,.khbr-burger i:after{position:absolute;left:0;top:-7px}.khbr-burger i:after{top:7px}
.khbr-actions,.khbr-search,.khbr-tv{width:100%}
.khbr-search input{flex:1}
.khbr-js .khbr-nav{display:none}
.khbr-js .khbr-nav.is-open{display:block}
.khbr-nav .khbr-in{flex-direction:column;align-items:stretch;padding-block:8px}
.khbr-js:not(.is-menu) .khbr-actions{display:none}
.khbr-nav{max-height:45vh;overflow-y:auto}
.khbr.is-stuck .khbr-mini{display:none}
.khbr-world{text-align:start}
.khbr-mega{position:static;box-shadow:none}
.khbr-mega .khbr-in{display:flex;padding-inline-start:28px}
.khbr-clocks{width:100%;justify-content:center;gap:10px;font-size:11px;flex-wrap:wrap}
.khbr-live{width:100%}
}
@media(max-width:800px) and (max-height:500px){header.khbr{position:static}}

/* ===== v3 visual design ===== */
@font-face{font-family:'KhbrVazir';src:url(../fonts/vazirmatn-arabic-wght-normal.woff2) format('woff2');font-weight:100 900;font-display:swap}
.khbr{--dark:#04161d;--teal:#0b4f62;--gold:#d4af6a;--red:#d11f2a;--green:#0f9d58;font-family:KhbrVazir,'Noto Sans',sans-serif}
header.khbr:before{content:"";display:block;height:4px;background:linear-gradient(to left,var(--green) 33.3%,#fff 33.3% 66.6%,var(--red) 66.6%)}
.khbr-top{border-bottom:1px solid rgba(212,175,106,.22)}
.khbr-top .khbr-in{min-height:50px;padding-block:2px}
.khbr-date{color:#e6eef0;font-weight:500}
.khbr-clocks{gap:0}
.khbr-clocks li{padding:0 14px;border-inline-start:1px solid rgba(255,255,255,.14);color:#9fbcc4}
.khbr-clocks li:first-child{border:0}
.khbr-clocks bdi{margin-inline-start:6px;font-size:13px}
.khbr-langs button{min-height:44px;border-radius:0;border-bottom:3px solid transparent;font-weight:500;color:#c3d6db}
.khbr-langs button:hover{color:#fff}
.khbr-langs button[aria-pressed="true"]{background:rgba(255,255,255,.06);color:#fff;border-bottom-color:var(--gold);font-weight:700}
.khbr-brand{position:relative;isolation:isolate;border-bottom:1px solid var(--gold);background:radial-gradient(ellipse 60% 140% at 85% 50%,rgba(31,135,160,.55),transparent 70%),linear-gradient(100deg,#05202a,var(--teal) 60%,#073442)}
.khbr-brand:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.11;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2780%27%20fill%3D%27none%27%20stroke%3D%27%23f1dfb6%27%20stroke-width%3D%271.1%27%20stroke-linecap%3D%27round%27%3E%3Ccircle%20cx%3D%2740%27%20cy%3D%2740%27%20r%3D%274%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%280%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%2845%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%2890%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%28135%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%28180%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%28225%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%28270%2040%2040%29%27/%3E%3Cpath%20d%3D%27M40%2033C34%2027%2034%2019%2040%2015C46%2019%2046%2027%2040%2033Z%27%20transform%3D%27rotate%28315%2040%2040%29%27/%3E%3Cpath%20d%3D%27M0%2024C13%2024%2024%2013%2024%200M56%200C56%2013%2067%2024%2080%2024M80%2056C67%2056%2056%2067%2056%2080M24%2080C24%2067%2013%2056%200%2056%27/%3E%3Cpath%20d%3D%27M40%2015C40%208%2033%208%2033%203M40%2065C40%2072%2047%2072%2047%2077M15%2040C8%2040%208%2047%203%2047M65%2040C72%2040%2072%2033%2077%2033%27/%3E%3C/svg%3E");-webkit-mask-image:linear-gradient(to right,#000,transparent 75%);mask-image:linear-gradient(to right,#000,transparent 75%)}
.khbr-brand .khbr-in{min-height:156px}
.khbr-logo{gap:8px}
.khbr-logo img{width:226px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.khbr-logo span{display:flex;align-items:center;gap:10px;color:#f1dfb6;font-weight:500;letter-spacing:0}
.khbr-logo span:before,.khbr-logo span:after{content:"";width:26px;height:1px;background:var(--gold)}
.khbr-search{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:3px;transition:background .2s}
.khbr-search:focus-within{background:rgba(255,255,255,.17);border-color:var(--gold)}
.khbr-search input{width:260px;height:44px;background:transparent;color:#fff;padding-inline:18px;outline:0}
.khbr-search input::placeholder{color:#c9dce1}
.khbr-search button{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--gold);font-size:0;flex-shrink:0;position:relative}
.khbr-search button:before{content:"";position:absolute;inset:0;background:var(--dark);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E") center/22px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5'/%3E%3C/svg%3E") center/22px no-repeat}
.khbr-tv{height:52px;border-radius:999px;gap:12px;padding-inline:8px 22px;background:linear-gradient(135deg,#e32a36,#a90f19);box-shadow:0 8px 20px rgba(169,15,25,.4);transition:transform .2s}
.khbr-tv:hover{transform:translateY(-2px)}
.khbr-play{width:36px;height:36px;border-radius:50%;background:#fff;position:relative;flex-shrink:0}
.khbr-play:after{content:"";position:absolute;left:14px;top:11px;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent var(--red)}
.khbr-live{height:52px;border-radius:999px;border-width:1px}
.khbr-nav{border-top:0;box-shadow:0 8px 22px rgba(4,22,29,.09)}
.khbr-nav .khbr-in{gap:2px;min-height:58px}
.khbr-nav a:not(.khbr-mini),.khbr-world{position:relative;border-radius:0;padding:16px 16px;font-weight:700;color:#14262e;background:none}
.khbr-nav .khbr-in>a:not(.khbr-mini):after,.khbr-world:after{content:"";position:absolute;inset-inline:16px;bottom:0;height:3px;background:var(--red);transform:scaleX(0);transition:transform .2s}
.khbr-nav a:not(.khbr-mini):hover,.khbr-world:hover,.khbr-world[aria-expanded="true"],.khbr-nav a.is-active{background:none;color:var(--red)}
.khbr-nav .khbr-in>a:hover:after,.khbr-nav a.is-active:after,.khbr-world:hover:after,.khbr-world[aria-expanded="true"]:after{transform:scaleX(1)}
.khbr-nav .khbr-mini{border-radius:10px;margin-inline-end:8px}
.khbr-mega{border-top:1px solid var(--gold);background:#fbfaf7}
.khbr-nav .khbr-mega a{padding:12px 16px;border-inline-start:3px solid var(--gold)}
.khbr-breaking{background:#fbfaf7}
.khbr-breaking strong{border-radius:999px;padding:3px 16px}
@media(max-width:800px){
.khbr-top .khbr-in{gap:4px}
.khbr-clocks li{padding:0 8px}
.khbr-clocks bdi{font-size:12px;margin-inline-start:3px}
.khbr-langs button{padding:0}
.khbr-brand .khbr-in{min-height:0}
.khbr-logo img{width:138px}
.khbr-logo span{display:none}
.khbr-burger{border-radius:50%;border-color:var(--gold)}
.khbr-search input{width:auto}
.khbr-tv,.khbr-live{width:100%}
.khbr-nav .khbr-in{gap:0}
.khbr-nav .khbr-in>a:not(.khbr-mini),.khbr-world{padding:12px 8px;border-bottom:1px solid #eef0f1;text-align:start}
.khbr-nav .khbr-in>a:after,.khbr-world:after{display:none}
.khbr-nav .khbr-mini{display:none}
.khbr-mega .khbr-in{padding-inline:24px 12px}
}
@media(max-width:800px) and (max-height:500px){header.khbr{position:static}}
.khbr button.khbr-world{font-weight:700;font-size:15px}
.khbr-langs button[aria-pressed="true"]{font-weight:700}
@media(min-width:801px) and (max-width:1100px){.khbr-top .khbr-in{padding-block:8px 0}.khbr-langs{width:100%;justify-content:center}.khbr-clocks li{padding:0 10px}}

@font-face{font-family:KhbrVazir;src:url(../fonts/vazirmatn-latin-wght-normal.woff2) format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0000-00FF,U+0100-024F}

/* WordPress integration: preserve actual menu links and submenus. */
.khbr-langs a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-bottom:3px solid transparent;font-size:13px;font-weight:500;color:#c3d6db}.khbr-langs a[aria-current=page]{background:#ffffff0f;color:#fff;border-bottom-color:var(--gold);font-weight:700}.khbr-nav .khbr-menu{display:flex;align-items:center;flex-wrap:wrap;gap:2px;flex:1;min-width:0}.khbr-menu>li{position:relative;display:flex;align-items:center;flex-wrap:wrap}.khbr-menu>li>a{display:block}.khbr-menu .current-menu-item>a,.khbr-menu .current_page_item>a{color:var(--red)}.khbr-menu .sub-menu{display:none;position:absolute;top:100%;inset-inline-start:0;min-width:220px;max-width:calc(100vw - 28px);background:#fff;border-top:2px solid var(--gold);box-shadow:0 10px 24px #04161d26;padding:10px;z-index:120}.khbr-menu .sub-menu a{display:block;white-space:normal}.khbr-menu .sub-menu .sub-menu{inset-inline-start:100%;top:0}.khbr-menu li:hover>.sub-menu,.khbr-menu li:focus-within>.sub-menu,.khbr-menu li.is-open>.sub-menu{display:block}.khbr-subtoggle{border:0;background:none;color:var(--dark);min-width:32px;min-height:40px;cursor:pointer}.khbr-menu li.is-closed>.sub-menu{display:none!important}.khbr-logo img{height:auto;aspect-ratio:640/294;object-fit:contain}.khbr-top .khbr-date{white-space:nowrap}.khbr-actions{min-width:0}.khbr-search{max-width:100%}.khbr-search input{min-width:0}.khbr-live i{animation:none}.khbr-top .khbr-in{max-width:1440px}.khbr-brand .khbr-in,.khbr-nav>.khbr-in{max-width:1440px}.khbr-brand .khbr-in{min-height:196px}.khbr-logo img{width:274px}.khbr-search input{width:300px}.khbr-tv{height:60px;font-size:17px}.khbr-search{padding:4px}.khbr-search input{height:48px}.khbr-search button{width:48px;height:48px}.khbr-brand .khbr-in{padding-inline:30px}.khbr-nav .khbr-in{min-height:66px}.khbr-nav a:not(.khbr-mini){font-size:16px}.khbr .khbr-mini img{object-fit:contain}.admin-bar header.khbr{margin-top:0}.khbr-logo{flex-shrink:0}
@media(max-width:800px){.khbr-langs a{padding:0 5px;font-size:12px}.khbr-brand .khbr-in{min-height:0;padding:14px 16px;gap:14px}.khbr-logo img{width:150px}.khbr-actions{flex-basis:100%}.khbr-search input{width:100%}.khbr-search{width:100%}.khbr-nav .khbr-menu{display:block;width:100%}.khbr-menu>li{display:flex;width:100%;border-bottom:1px solid #eef0f1}.khbr-menu>li>a{flex:1}.khbr-menu .sub-menu,.khbr-menu .sub-menu .sub-menu{position:static;flex-basis:100%;width:100%;box-shadow:none;border-top:0;padding-inline-start:20px;min-width:0;max-width:100%}.khbr-menu li:not(.is-open)>.sub-menu{display:none}.khbr:not(.khbr-js) .khbr-menu li>.sub-menu{display:block}.khbr:not(.khbr-js) .khbr-burger{display:none}.khbr-clocks li{padding:0 6px}.khbr-clocks{gap:0}.khbr-tv{height:50px;font-size:15px}}
@media(min-width:801px) and (max-width:1100px){.khbr-brand .khbr-in{gap:24px}.khbr-logo img{width:220px}.khbr-search input{width:200px}.khbr-tv{font-size:14px;height:52px;padding-inline:12px}.khbr-clocks{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.khbr *{transition:none!important;animation:none!important}}
