:root{
  --blue:#0ea5e9;--blue2:#075985;--blue-soft:#38bdf8;
  --grad:linear-gradient(120deg,#0ea5e9 0%,#075985 100%);
  --ink:#0b2136;--ink2:#0e2a44;--ink3:#153a5c;
  --paper:#e8f4fd;--card:#fff;--line:#e7e9ee;--muted:#8b909c;--text:#1d2027;
  --r:18px;--shadow:0 10px 34px rgba(14,15,19,.10);--shadow-lg:0 24px 60px rgba(14,15,19,.20);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Vazirmatn',Tahoma,sans-serif;background:var(--paper);color:var(--text);line-height:1.85;font-size:15px;overflow-x:hidden}
a{color:inherit;text-decoration:none}
.wrap{max-width:1280px;margin:0 auto;padding:0 20px}

/* --- EMPTY IMAGE PLACEHOLDERS (نمایش جای تصویرها به‌صورت خالی) --- */
img{
  background:#d7e6f2;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238fb2cd'%3E%3Cpath d='M21 3H3a2 2 0 00-2 2v14a2 2 0 002 2h18a2 2 0 002-2V5a2 2 0 00-2-2zm0 16H3V5h18v14zM8.5 11l-3.5 4.5h14L14 9l-3.5 4.5z'/%3E%3Ccircle cx='7.5' cy='8' r='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center;
  background-size:38px;
  color:transparent;
  min-height:20px;
}

.topbar{background:var(--ink);color:#aeb4c0;font-size:12.5px}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;height:40px}
.topbar .social{display:flex;gap:7px}
.topbar .social a{width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.07);transition:.25s}
.topbar .social a:hover{background:var(--blue);color:#fff}
.topbar .social svg{width:14px;height:14px;fill:currentColor}
.topbar .date{display:flex;align-items:center;gap:6px}
.topbar .date svg{width:14px;height:14px;fill:var(--blue-soft)}
.nav{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;gap:14px;min-height:74px}
.brand{display:flex;align-items:center;gap:12px}
.brand .badge{width:52px;height:52px;border-radius:50%;background:#fff;border:2px solid var(--line);padding:3px;flex:none;box-shadow:0 4px 14px rgba(14,165,233,.16)}
.brand .badge img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.brand .tt b{display:block;font-size:14.5px;font-weight:900;line-height:1.5;color:var(--ink)}
.brand .tt span{font-size:10px;letter-spacing:1.2px;color:var(--muted);font-weight:600}
.menu{display:flex;align-items:center;gap:2px;margin-inline-start:auto}
.menu a{padding:10px 13px;font-size:14px;font-weight:700;color:#3a3f4a;border-radius:10px;transition:.2s;white-space:nowrap}
.menu a:hover{color:var(--blue);background:rgba(14,165,233,.07)}
.menu a.active{color:#fff;background:var(--grad)}
.nav .ico-btn{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--ink);color:#fff;cursor:pointer}
.nav .ico-btn svg{width:18px;height:18px;fill:currentColor}
.burger{display:none}
.phero{background:var(--ink);color:#fff;position:relative;overflow:hidden;padding:56px 0}
.phero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 15%,rgba(14,165,233,.45),transparent 45%),radial-gradient(circle at 10% 90%,rgba(14,165,233,.2),transparent 40%)}
.phero::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(125deg,rgba(255,255,255,.025) 0 2px,transparent 2px 30px)}
.phero .wrap{position:relative}
.phero .pre{display:flex;align-items:center;gap:8px;color:#7dd3fc;font-weight:800;font-size:13px;margin-bottom:8px}
.phero .pre span{width:26px;height:3px;background:var(--grad);border-radius:3px}
.phero h1{font-size:36px;font-weight:900}
.phero .crumb{margin-top:10px;font-size:13px;color:#bcc1cd}
.phero .crumb b{color:#fff}
.sec{padding:50px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.sec-head .pre{display:flex;align-items:center;gap:8px;color:var(--blue);font-weight:800;font-size:13px;margin-bottom:6px}
.sec-head .pre span{width:26px;height:3px;background:var(--grad);border-radius:3px}
.sec-head h2{font-size:26px;font-weight:900;color:var(--ink)}
/* play button helper */
.play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:var(--grad);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 30px rgba(14,165,233,.5);transition:.25s;z-index:3}
.play svg{fill:#fff;margin-inline-start:3px}
/* featured video */
.vfeatured{display:grid;grid-template-columns:1.5fr 1fr;gap:26px;background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg)}
.vfeatured .thumb{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.vfeatured .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.9s}
.vfeatured:hover .thumb img{transform:scale(1.05)}
.vfeatured .thumb .ov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,33,54,.55),transparent 60%)}
.vfeatured .play{width:76px;height:76px}
.vfeatured .play svg{width:32px;height:32px}
.vfeatured .dur{position:absolute;bottom:14px;inset-inline-start:14px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;font-weight:700;padding:4px 12px;border-radius:8px;z-index:3}
.vfeatured .info{padding:34px 30px;display:flex;flex-direction:column;justify-content:center}
.vfeatured .cat{display:inline-block;background:rgba(14,165,233,.1);color:var(--blue2);font-weight:800;font-size:12px;padding:5px 14px;border-radius:50px;margin-bottom:14px;width:fit-content}
.vfeatured h2{font-size:23px;font-weight:900;color:var(--ink);line-height:1.6;margin-bottom:12px}
.vfeatured p{font-size:14px;color:#5b6570;line-height:1.95;margin-bottom:20px}
.vfeatured .meta{display:flex;gap:20px;font-size:13px;color:var(--muted)}
.vfeatured .meta span{display:flex;align-items:center;gap:6px}
.vfeatured .meta svg{width:14px;height:14px;fill:currentColor}
/* grid */
.vid-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.vcard{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow);transition:.28s;display:block}
.vcard:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.vcard .thumb{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.vcard .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.8s}
.vcard:hover .thumb img{transform:scale(1.08)}
.vcard .thumb .ov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,33,54,.45),transparent 55%)}
.vcard .play{width:56px;height:56px}
.vcard .play svg{width:22px;height:22px}
.vcard:hover .play{transform:translate(-50%,-50%) scale(1.12)}
.vcard .dur{position:absolute;bottom:10px;inset-inline-start:10px;background:rgba(0,0,0,.7);color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:7px;z-index:3}
.vcard .cat{position:absolute;top:10px;inset-inline-end:10px;background:var(--grad);color:#fff;font-size:11px;font-weight:800;padding:4px 11px;border-radius:50px;z-index:3}
.vcard .bd{padding:16px 18px}
.vcard h3{font-size:15px;font-weight:800;color:var(--ink);line-height:1.7;transition:.2s}
.vcard:hover h3{color:var(--blue)}
.vcard .meta{display:flex;gap:16px;margin-top:10px;font-size:12px;color:var(--muted)}
.vcard .meta span{display:flex;align-items:center;gap:5px}
.vcard .meta svg{width:13px;height:13px;fill:currentColor}
.load-more{display:block;margin:32px auto 0;background:#fff;border:1.5px solid var(--line);color:var(--ink);font-weight:800;font-size:14px;padding:13px 34px;border-radius:50px;cursor:pointer;transition:.2s;font-family:inherit}
.load-more:hover{background:var(--grad);color:#fff;border-color:transparent}
footer{background:var(--ink2);color:#aeb4c0;padding:54px 0 0}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:30px}
.foot-brand .b{display:flex;align-items:center;gap:13px;margin-bottom:16px}
.foot-brand .b img{width:62px;height:62px;background:#fff;border-radius:50%;padding:4px}
.foot-brand .b b{font-size:15px;color:#fff;font-weight:900;line-height:1.6}
footer p,footer li{font-size:13.5px;line-height:2;color:#9aa0ac}
footer h4{color:#fff;font-size:15.5px;font-weight:800;margin-bottom:16px;position:relative;padding-bottom:11px}
footer h4::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:36px;height:3px;background:var(--grad);border-radius:3px}
footer ul{list-style:none}
footer ul li a:hover{color:#fff}
.fcontact .row{display:flex;align-items:center;gap:9px;margin-bottom:9px;direction:ltr;justify-content:flex-end}
.fcontact .row svg{width:16px;height:16px;fill:var(--blue-soft);flex:none}
.foot-bar{border-top:1px solid rgba(255,255,255,.08);margin-top:42px;padding:18px 0;font-size:12.5px;text-align:center;color:#8b909c}
@media(max-width:920px){.vfeatured{grid-template-columns:1fr}.vid-grid{grid-template-columns:1fr 1fr}.foot-grid{grid-template-columns:1fr}}
@media(max-width:680px){.menu{display:none}.burger{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--ink);color:#fff;margin-inline-start:auto}.burger svg{width:22px;height:22px;fill:#fff}.vid-grid{grid-template-columns:1fr}}
/* --- FEDERATION DROPDOWN --- */
.menu .has-sub{position:relative}
.menu .sub-toggle{display:flex;align-items:center;gap:5px;padding:10px 13px;font-size:14px;font-weight:700;color:#3a3f4a;border-radius:10px;cursor:pointer;white-space:nowrap;transition:.2s}
.menu .sub-toggle svg{width:14px;height:14px;fill:currentColor;transition:.2s}
.menu .has-sub:hover .sub-toggle{color:#0ea5e9;background:rgba(14,165,233,.07)}
.menu .has-sub:hover .sub-toggle svg{transform:rotate(180deg)}
.menu .sub-toggle.active{color:#fff;background:var(--grad)}
.menu .submenu{position:absolute;top:calc(100% + 6px);inset-inline-end:0;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:8px;display:flex;flex-direction:column;gap:2px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.22s;z-index:90}
.menu .has-sub:hover .submenu{opacity:1;visibility:visible;transform:none}
.menu .submenu a{padding:10px 13px;border-radius:9px;font-size:13.5px;font-weight:700;color:#3a3f4a;white-space:nowrap;transition:.18s}
.menu .submenu a:hover{background:rgba(14,165,233,.08);color:#0ea5e9}
.menu .submenu a.active{background:var(--grad);color:#fff}
@media(max-width:680px){.menu .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:2px 0 2px 14px;min-width:auto}}

/* logo image: no placeholder */
img.logo{background:none;background-image:none;min-height:0}

/* profile button */
.nav .profile-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef4f8;color:#0ea5e9;cursor:pointer;transition:.2s;flex:none}
.nav .profile-btn:hover{background:var(--grad);color:#fff}
.nav .profile-btn svg{width:21px;height:21px;fill:currentColor}

/* brand alignment fix */
.brand{align-items:center}
.brand .tt{display:flex;flex-direction:column;justify-content:center}
.brand .tt span{white-space:nowrap}
