:root{--navy:#0b1220;--ink:#172033;--muted:#6b7587;--blue:#1e7be8;--blue2:#56a8ff;--line:#e7ebf2;--surface:#fff;--surface2:#f5f8fc;--shadow:0 22px 70px rgba(15,31,58,.1);--radius:22px;--container:1180px}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;scroll-padding-top:88px}body{font-family:'Vazirmatn',Tahoma,Arial,sans-serif;color:var(--ink);background:#f8fafc;line-height:1.9;overflow-x:hidden}body.search-open{overflow:hidden}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer;border:0}.container{width:min(calc(100% - 44px),var(--container));margin:auto}.section{padding:112px 0;position:relative}.section-alt{background:var(--surface2)}.page-progress{position:fixed;top:0;left:0;height:3px;width:0;background:linear-gradient(90deg,var(--blue),var(--blue2));z-index:10001;transition:width .08s linear}
.site-header{position:fixed;top:0;left:0;right:0;height:76px;background:rgba(248,250,252,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(214,221,233,.74);z-index:9000}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--navy);display:grid;place-items:center;color:#fff;box-shadow:0 8px 24px rgba(11,18,32,.16)}.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy strong{font-size:1.05rem;letter-spacing:.08em}.brand-copy small{font-size:.61rem;color:var(--muted);margin-top:6px;direction:ltr;text-align:right}.main-nav{display:flex;align-items:center;gap:5px}.main-nav a{padding:10px 12px;border-radius:12px;font-size:.86rem;color:#495366;transition:.25s}.main-nav a:hover,.main-nav a.active{background:#edf4fc;color:var(--blue)}.mobile-menu-toggle{display:none;width:44px;height:44px;border-radius:14px;background:#eef3f9;color:var(--navy);font-size:1.05rem}
.zg-slider-menu{position:fixed;left:16px;top:55%;transform:translateY(-50%);width:54px;padding:6px;display:flex;flex-direction:column;gap:7px;background:rgba(255,255,255,.72);backdrop-filter:blur(14px);border:1px solid rgba(218,224,235,.92);border-radius:18px;box-shadow:0 18px 50px rgba(17,29,53,.1);z-index:8500}.quick-item{height:43px;border-radius:13px;display:flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap;color:#596375;background:transparent;transition:.25s}.quick-item i{min-width:42px;text-align:center;font-size:.95rem}.quick-item span{font-size:.77rem;opacity:0;transition:.2s}.quick-item:hover,.quick-item.active{background:#edf5fe;color:var(--blue);transform:translateX(2px)}.zg-slider-menu:hover{width:154px}.zg-slider-menu:hover .quick-item span{opacity:1}.search-trigger{background:transparent;width:100%}
.search-panel{position:fixed;inset:0;background:rgba(8,15,27,.55);backdrop-filter:blur(8px);display:grid;place-items:start center;padding-top:118px;opacity:0;pointer-events:none;transition:.25s;z-index:10000}.search-panel.open{opacity:1;pointer-events:auto}.search-box{width:min(760px,calc(100% - 32px));background:#fff;border-radius:26px;box-shadow:0 35px 100px rgba(0,0,0,.22);overflow:hidden}.search-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.search-head button{width:36px;height:36px;border-radius:11px;background:#f2f5f9;color:#536074}.search-input-wrap{margin:18px 22px 10px;height:56px;border:1px solid #dce3ee;border-radius:16px;display:flex;align-items:center;gap:12px;padding:0 16px;transition:.2s}.search-input-wrap:focus-within{border-color:#93c9fb;box-shadow:0 0 0 4px #eaf4ff}.search-input-wrap i{color:#8a95a7}.search-input-wrap input{flex:1;border:0;outline:0;background:transparent}.search-result-meta{padding:0 22px 12px;color:#8a95a6;font-size:.78rem}.search-results{max-height:420px;overflow:auto;padding:0 12px 14px}.search-result{display:flex;align-items:flex-start;gap:14px;padding:14px 12px;border-radius:15px;transition:.2s}.search-result:hover{background:#f4f8fd}.search-result-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#eef6ff;color:var(--blue);display:grid;place-items:center}.search-result strong{display:block;font-size:.88rem}.search-result small{display:block;color:#7c8798;font-size:.72rem;margin-top:4px}
.hero{min-height:760px;padding-top:144px;padding-bottom:100px;background:radial-gradient(circle at 78% 25%,rgba(87,168,255,.15),transparent 32%),linear-gradient(145deg,#f9fbfe 0%,#f2f6fb 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:66px}.hero-copy{position:relative;z-index:2}.eyebrow,.section-kicker{font-size:.72rem;letter-spacing:.12em;color:var(--blue);font-weight:800;direction:ltr;display:inline-flex;align-items:center;gap:9px}.eyebrow span{width:32px;height:1px;background:var(--blue);display:inline-block}.hero h1{font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.18;letter-spacing:-.04em;margin:22px 0;max-width:800px}.hero h1 em{font-style:normal;background:linear-gradient(135deg,var(--blue),#53aefb);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-lead{font-size:1rem;color:#697487;max-width:720px}.hero-actions{display:flex;gap:12px;align-items:center;margin:30px 0 20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 20px;border-radius:15px;font-size:.84rem;font-weight:700;transition:.25s}.btn-primary{background:var(--navy);color:#fff;box-shadow:0 14px 30px rgba(11,18,32,.16)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(11,18,32,.22)}.btn-ghost{border:1px solid #dbe3ee;background:rgba(255,255,255,.65);color:#3c4658}.btn-ghost:hover{border-color:#acd5ff;color:var(--blue);background:#fff}.hero-mini{display:flex;flex-wrap:wrap;gap:18px;color:#737e90;font-size:.75rem}.hero-mini i{color:#4e9bee;margin-left:6px}.hero-visual{position:relative}.hero-card{position:relative;background:rgba(255,255,255,.78);border:1px solid rgba(218,226,237,.95);border-radius:34px;padding:28px;box-shadow:var(--shadow);overflow:hidden}.hero-card:before{content:"";position:absolute;inset:auto -15% -38% -15%;height:65%;background:radial-gradient(circle,rgba(82,163,248,.18),transparent 64%)}.hero-logo-wrap{position:relative;z-index:1;min-height:220px;border-radius:25px;background:linear-gradient(145deg,#fff,#f2f6fb);display:grid;place-items:center;padding:30px}.hero-logo-wrap img{max-width:260px;width:100%;height:auto;display:block}.logo-fallback{display:none;flex-direction:column;align-items:center;gap:8px;color:var(--navy)}.logo-fallback i{font-size:3.4rem;color:var(--blue)}.logo-fallback strong{font-size:1.45rem;letter-spacing:.12em}.logo-fallback small{font-size:.72rem;color:var(--muted)}.hero-console{position:relative;margin-top:18px;border-radius:17px;background:var(--navy);color:#c9d9eb;min-height:54px;display:flex;align-items:center;gap:7px;padding:0 15px;direction:ltr;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;overflow:hidden}.hero-console code{margin:auto}.hero-console code span{color:#7cc0ff}.console-dot{width:8px;height:8px;border-radius:50%;background:#718096}.hero-metrics{position:relative;margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.hero-metrics div{background:#f8fafc;border:1px solid #e8edf5;border-radius:16px;text-align:center;padding:13px 7px}.hero-metrics strong{display:block;font-size:1.15rem;color:var(--navy);line-height:1.1}.hero-metrics span{display:block;font-size:.63rem;color:#7a8597;margin-top:5px}.hero-bg-orb{position:absolute;border-radius:50%;pointer-events:none}.orb-one{width:260px;height:260px;background:rgba(69,158,246,.08);right:-80px;top:100px}.orb-two{width:180px;height:180px;background:rgba(11,18,32,.05);left:-50px;bottom:0}
.feature-strip{margin-top:-58px;position:relative;z-index:5}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature-card{display:flex;align-items:center;gap:13px;min-height:112px;background:rgba(255,255,255,.95);border:1px solid #e2e8f1;border-radius:22px;padding:20px;box-shadow:0 14px 35px rgba(15,31,58,.07);transition:.28s}.feature-card:hover,.feature-card.is-selected{transform:translateY(-5px);box-shadow:0 22px 44px rgba(15,31,58,.11);border-color:#b9dbfb}.icon-ring{width:56px;height:56px;position:relative;border-radius:50%;display:grid;place-items:center;flex:0 0 56px;background:#f0f6fc;color:var(--blue);overflow:hidden;z-index:0}.icon-ring:before{content:"";position:absolute;inset:0;border:4px solid var(--blue);border-radius:50%;transform:scale(.2) rotate(-65deg);transform-origin:center;opacity:0;transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .2s}.feature-card:hover .icon-ring:before,.feature-card.is-selected .icon-ring:before{transform:scale(1) rotate(300deg);opacity:1}.icon-ring:after{content:"";position:absolute;inset:4px;border-radius:50%;background:#fff;z-index:-1}.icon-ring i{position:relative;z-index:2}.feature-card span:not(.icon-ring){display:flex;flex-direction:column;min-width:0}.feature-card strong{font-size:.92rem}.feature-card small{font-size:.68rem;color:#808b9c;white-space:nowrap}.card-arrow{margin-right:auto;color:#9ba5b6;transition:.25s}.feature-card:hover .card-arrow{color:var(--blue);transform:translateX(-3px)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:42px}.section-heading h2{font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.25;margin:10px 0 7px;letter-spacing:-.03em}.section-heading p{max-width:700px;color:#778294;font-size:.87rem}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:.78rem;white-space:nowrap}.count-pill{border:1px solid #d9e4f1;background:#f6f9fd;padding:8px 13px;border-radius:999px;color:#687588;font-size:.72rem;white-space:nowrap}
.degree-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px;justify-content:center}.degree-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #dfe6ef;background:#fff;color:#657084;border-radius:12px;font-family:inherit;font-size:.69rem;font-weight:800;transition:.22s;cursor:pointer}.degree-tabs button:hover{border-color:#b9d9f7;background:#f7fbff;color:var(--blue);transform:translateY(-1px)}.degree-tabs button.active{background:#eef6ff;border-color:#b9d9f7;color:var(--blue);box-shadow:0 8px 22px rgba(30,123,232,.08)}.resource-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.resource-card{display:grid;grid-template-columns:auto 1fr;gap:15px;background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:19px;box-shadow:0 12px 34px rgba(15,31,58,.045);transition:.25s}.resource-card:hover{transform:translateY(-4px);border-color:#c6e0fb;box-shadow:0 18px 44px rgba(15,31,58,.08)}.resource-icon{width:46px;height:46px;border-radius:14px;background:#edf5fd;color:var(--blue);display:grid;place-items:center}.resource-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.65rem;color:#8791a2;margin-bottom:4px}.resource-top b{font-size:.58rem;border-radius:999px;padding:3px 7px;background:#f1f5f9;color:#677386}.resource-card h3{font-size:.93rem;line-height:1.5;margin-bottom:7px}.resource-card p{font-size:.7rem;line-height:1.9;color:#7a8596;min-height:53px}.resource-card a{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:var(--blue);font-size:.69rem;font-weight:700}.topic-panel{margin-top:28px;padding:23px;border:1px solid #e1e7ef;background:#fff;border-radius:22px}.topic-title{display:flex;align-items:center;gap:13px;margin-bottom:17px}.topic-title>i{width:42px;height:42px;border-radius:12px;background:#eef5fc;color:var(--blue);display:grid;place-items:center}.topic-title h3{font-size:.96rem}.topic-title p{font-size:.71rem;color:#8390a2;margin-top:2px}.topic-tags{display:flex;flex-wrap:wrap;gap:8px}.topic-tags span{font-size:.64rem;color:#5e697b;background:#f6f8fb;border:1px solid #e6eaf0;padding:6px 10px;border-radius:999px}
.article-list{display:grid;gap:14px}.article-card{display:grid;grid-template-columns:64px 1fr auto;align-items:stretch;gap:22px;background:#fff;border:1px solid #e5eaf2;border-radius:22px;padding:22px;box-shadow:0 11px 34px rgba(15,31,58,.04);transition:.25s}.article-card:hover{border-color:#c0ddfa;transform:translateY(-3px);box-shadow:0 20px 44px rgba(15,31,58,.08)}.article-number{width:56px;height:56px;border-radius:16px;background:var(--navy);color:#fff;display:grid;place-items:center;font:800 .82rem ui-monospace,Consolas,monospace}.article-body{text-align:left;direction:ltr}.article-label{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eff6fe;color:var(--blue);font-size:.58rem;font-weight:800;letter-spacing:.06em}.article-card h3{font-size:1rem;line-height:1.65;margin:8px 0 6px}.article-card p{font-size:.72rem;color:#7a8597;line-height:1.8}.article-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:11px;color:#8993a4;font-size:.62rem}.article-meta i{color:#7eaee0;margin-right:5px}.article-action{align-self:center;justify-self:end;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #dae3ee;padding:10px 13px;border-radius:12px;color:var(--blue);font-size:.68rem;transition:.25s}.article-action:hover{background:#eef6ff;border-color:#b4d8fb}.notice-card{margin-top:18px;display:flex;gap:14px;align-items:flex-start;border:1px solid #dfe8f4;background:#f8fbff;border-radius:18px;padding:17px 19px}.notice-card>i{color:var(--blue);font-size:1rem;margin-top:4px}.notice-card strong{font-size:.78rem}.notice-card p{font-size:.64rem;color:#6d788a;line-height:1.85;margin-top:4px}
.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.book-card{background:#fff;border:1px solid #e4e9f1;border-radius:22px;overflow:hidden;box-shadow:0 12px 36px rgba(15,31,58,.05);transition:.25s}.book-card:hover{transform:translateY(-5px);box-shadow:0 22px 44px rgba(15,31,58,.09)}.book-cover{height:210px;background:linear-gradient(155deg,#0b1220,#213552);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#fff;position:relative;overflow:hidden}.book-cover:before{content:"";position:absolute;width:190px;height:190px;border:1px solid rgba(255,255,255,.15);border-radius:50%;left:-50px;bottom:-95px}.book-cover i{font-size:2.5rem;color:#8cc7ff;position:relative}.book-cover span{font-size:.6rem;letter-spacing:.14em;color:#afbdd0;position:relative;direction:ltr}.book-body{padding:19px}.book-body h3{font-size:.92rem;line-height:1.65;direction:ltr;text-align:left;min-height:66px}.book-body p{font-size:.68rem;color:#8791a1;margin:7px 0}.book-body a{font-size:.68rem;color:var(--blue);display:inline-flex;align-items:center;gap:7px}
.project-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.project-card{background:#fff;border:1px solid #e3e9f1;border-radius:20px;padding:21px;min-height:215px;transition:.25s}.project-card:hover{transform:translateY(-4px);border-color:#c3ddf8;box-shadow:0 18px 42px rgba(15,31,58,.07)}.project-icon{width:50px;height:50px;border-radius:15px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;margin-bottom:26px}.project-tag{font-size:.58rem;color:#8a95a6;letter-spacing:.06em;text-transform:uppercase;direction:ltr;display:inline-block}.project-card h3{font-size:.88rem;line-height:1.65;direction:ltr;text-align:left;margin:5px 0}.project-card p{font-size:.68rem;color:#7c8798}
.research-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:18px;align-items:stretch}.glass-card{background:#fff;border:1px solid #e1e7ef;border-radius:24px;box-shadow:0 16px 42px rgba(15,31,58,.05)}.research-intro{padding:29px}.big-icon{width:60px;height:60px;border-radius:17px;background:var(--navy);color:#93cbff;display:grid;place-items:center;font-size:1.2rem;margin-bottom:21px}.research-intro h3{font-size:1.05rem;direction:ltr;text-align:left}.research-intro p{margin-top:10px;color:#768193;font-size:.78rem;line-height:2}.interest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.interest-grid span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:70px;border:1px solid #e5eaf2;border-radius:17px;background:#fbfcfe;font-size:.72rem;color:#5e697b;transition:.22s}.interest-grid span:hover{background:#eff7ff;color:var(--blue);border-color:#c4dff8;transform:translateY(-2px)}
.about-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.about-main{padding:28px;display:grid;grid-template-columns:auto 1fr;gap:0 16px;align-items:center}.about-avatar{width:76px;height:76px;border-radius:21px;background:linear-gradient(145deg,#0b1220,#263a5c);color:#93cbff;display:grid;place-items:center;font-size:1.7rem}.about-main h3{font-size:1.2rem}.about-main .role{font-size:.68rem;color:var(--blue);direction:ltr}.about-main>p{grid-column:1/-1;color:#727e90;font-size:.78rem;line-height:2;margin-top:19px}.about-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.about-facts div{background:#fff;border:1px solid #e1e7ef;border-radius:19px;padding:20px}.about-facts span{font-size:.64rem;color:#8a95a6;display:block;direction:ltr}.about-facts strong{display:block;font-size:.8rem;margin-top:5px;direction:ltr}
.timeline{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.timeline:before{content:"";position:absolute;top:39px;left:0;right:0;height:1px;background:#dbe4ef;z-index:0}.timeline-item{position:relative;z-index:1;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:20px;min-height:185px}.timeline-item>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--navy);color:#fff;font:800 .68rem ui-monospace,Consolas,monospace;margin-bottom:18px}.timeline-item h3{font-size:.88rem}.timeline-item p{font-size:.68rem;color:#778294;line-height:1.9;margin-top:6px}
.stats-section{padding:75px 0;background:var(--navy);color:#fff;position:relative;overflow:hidden}.stats-section:before{content:"";position:absolute;width:460px;height:460px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-160px;top:-230px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;position:relative}.stat-card{border:1px solid rgba(255,255,255,.08);border-radius:21px;padding:24px;background:rgba(255,255,255,.03);text-align:center}.stat-icon{width:46px;height:46px;border-radius:14px;background:rgba(91,171,255,.12);color:#88c7ff;display:grid;place-items:center;margin:0 auto 15px}.stat-card strong{display:block;font:800 2.15rem/1 ui-monospace,Consolas,monospace;direction:ltr}.stat-card>span:last-child{display:block;color:#aab7c9;font-size:.7rem;margin-top:8px}
.contact-section{padding-bottom:120px}.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:18px}.contact-info{display:grid;gap:12px;align-content:start}.contact-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e7ef;border-radius:19px;padding:18px}.contact-card>span{width:45px;height:45px;border-radius:13px;background:#eef6ff;color:var(--blue);display:grid;place-items:center}.contact-card small{display:block;color:#8a95a6;font-size:.61rem}.contact-card a{display:block;margin-top:2px;color:#344054;font-size:.77rem;direction:ltr;text-align:left}.contact-note{padding:19px;border-radius:19px;border:1px dashed #cdd9e8;background:#f8fbff;color:#687587;display:flex;gap:11px;align-items:flex-start}.contact-note i{color:var(--blue);margin-top:6px}.contact-note p{font-size:.68rem}.contact-form{padding:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid label{display:flex;flex-direction:column;gap:7px}.form-grid label.full{grid-column:1/-1}.form-grid label span{font-size:.69rem;color:#677285}.form-grid input,.form-grid textarea{border:1px solid #dce3ed;background:#fbfcfe;border-radius:14px;outline:0;padding:13px 14px;color:var(--ink);transition:.2s}.form-grid input:focus,.form-grid textarea:focus{border-color:#8dc5f8;box-shadow:0 0 0 4px #edf6ff;background:#fff}.form-grid textarea{resize:vertical;min-height:145px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px}.form-footer small{color:#8892a2;font-size:.63rem}.form-footer .btn{border:0}.form-footer .btn[disabled]{opacity:.65;cursor:wait}
.site-footer{background:#08101d;color:#c8d2df;padding:34px 0;border-top:1px solid rgba(255,255,255,.06)}.footer-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:25px;align-items:center}.footer-grid strong{font-size:.98rem;letter-spacing:.12em}.footer-grid p{font-size:.64rem;color:#7f8b9d;margin-top:5px;direction:ltr}.footer-links{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}.footer-links a{font-size:.66rem;color:#94a1b2;transition:.2s}.footer-links a:hover{color:#89c8ff}.footer-copy{text-align:left;display:flex;flex-direction:column;gap:4px;font-size:.68rem}.footer-copy small{font-size:.6rem;color:#758195;direction:ltr}.back-top{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:14px;background:var(--navy);color:#fff;box-shadow:0 12px 30px rgba(15,31,58,.18);z-index:7000;opacity:0;pointer-events:none;transition:.25s}.back-top.show{opacity:1;pointer-events:auto}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}.reveal.visible{opacity:1;transform:none}.reveal-delay{transition-delay:.08s}.reveal-delay-1{transition-delay:.06s}.reveal-delay-2{transition-delay:.12s}.reveal-delay-3{transition-delay:.18s}
@media (max-width:1100px){.main-nav a{padding:9px 8px;font-size:.77rem}.hero-grid{gap:35px}.feature-grid{grid-template-columns:repeat(2,1fr)}.resource-grid{grid-template-columns:repeat(2,1fr)}.book-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:repeat(3,1fr)}.research-layout{grid-template-columns:1fr}.about-grid{grid-template-columns:1fr}.timeline{grid-template-columns:repeat(2,1fr)}.timeline:before{display:none}}
@media (max-width:820px){.site-header{height:68px}.mobile-menu-toggle{display:grid;place-items:center}.main-nav{position:absolute;top:75px;left:14px;right:14px;background:rgba(255,255,255,.97);border:1px solid #e0e6ef;border-radius:20px;padding:10px;display:grid;grid-template-columns:repeat(2,1fr);box-shadow:0 20px 50px rgba(15,31,58,.12);opacity:0;pointer-events:none;transform:translateY(-8px);transition:.2s}.main-nav.open{opacity:1;pointer-events:auto;transform:none}.main-nav a{padding:12px}.zg-slider-menu{left:11px;top:auto;bottom:15px;transform:none;flex-direction:row;width:auto;padding:6px;border-radius:17px}.zg-slider-menu:hover{width:auto}.quick-item{height:42px;width:42px;justify-content:center}.quick-item span{display:none!important}.quick-item i{min-width:42px}.hero{padding-top:120px;min-height:auto}.hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center}.hero .eyebrow{justify-content:center}.hero-lead{margin:auto}.hero-actions,.hero-mini{justify-content:center}.hero-visual{max-width:650px;margin:auto;width:100%}.feature-strip{margin-top:-20px}.article-card{grid-template-columns:50px 1fr}.article-action{grid-column:2;justify-self:start}.contact-layout{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;text-align:center}.footer-copy{text-align:center;align-items:center}.footer-links{justify-content:center}.search-panel{padding-top:86px}.search-box{border-radius:22px}.hero h1{font-size:clamp(2.15rem,8vw,3.6rem)}}
@media (max-width:600px){.container{width:min(calc(100% - 28px),var(--container))}.section{padding:82px 0}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions .btn{width:100%}.hero-mini{gap:10px;justify-content:center;font-size:.67rem}.hero-card{padding:16px;border-radius:25px}.hero-logo-wrap{min-height:180px;padding:20px}.hero-metrics{grid-template-columns:repeat(2,1fr)}.feature-grid,.resource-grid,.book-grid,.project-grid,.timeline{grid-template-columns:1fr}.feature-card{min-height:100px}.interest-grid{grid-template-columns:repeat(2,1fr)}.article-card{grid-template-columns:1fr;gap:14px}.article-number{width:47px;height:47px}.article-action{grid-column:auto;justify-self:start}.section-heading{align-items:flex-start;flex-direction:column;margin-bottom:30px}.count-pill{align-self:flex-start}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.form-footer{align-items:stretch;flex-direction:column}.form-footer .btn{width:100%}.book-cover{height:190px}.site-footer{padding-bottom:95px}.topic-tags{gap:6px}.topic-tags span{font-size:.59rem}.search-result{padding:12px 9px}.search-result strong{font-size:.8rem}}

/* =========================================================
   ZANDIGROUP - FULL CONTENT EXTENSIONS
========================================================= */
.skill-modern-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.skill-modern{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:17px 16px;box-shadow:0 10px 28px rgba(15,31,58,.045);transition:.25s}.skill-modern:hover{transform:translateY(-4px);border-color:#c5def7;box-shadow:0 16px 36px rgba(15,31,58,.08)}.skill-modern-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.skill-modern-top span{display:flex;align-items:center;gap:8px;font-size:.76rem;font-weight:700;color:#485365;direction:ltr;text-align:left}.skill-modern-top i{color:var(--blue);font-size:.85rem;width:18px;text-align:center}.skill-modern-top b{font-size:.66rem;color:var(--blue);font-weight:800}.skill-modern-track{height:8px;border-radius:99px;background:#edf2f7;overflow:hidden}.skill-modern-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#2563eb,#64b5f6);transition:width 1.2s ease}.about-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.about-panel{padding:24px}.panel-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.panel-title i{width:42px;height:42px;border-radius:12px;background:#eef6ff;color:var(--blue);display:grid;place-items:center}.panel-title h3{font-size:.95rem}.about-panel p{font-size:.74rem;line-height:2;color:#727e90;margin:8px 0}.team-one{padding:25px;display:flex;align-items:center;gap:22px;max-width:720px}.team-avatar{width:110px;height:110px;border-radius:28px;background:#f2f6fb;overflow:hidden;display:grid;place-items:center;color:var(--blue);font-size:2rem;flex:0 0 110px}.team-avatar img{width:100%;height:100%;object-fit:cover}.team-one h3{font-size:1.05rem}.team-one p{font-size:.73rem;color:#7a8596;margin-top:5px}.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.social-links a{width:34px;height:34px;border:1px solid #dfe6ef;border-radius:10px;display:grid;place-items:center;color:#657184;background:#fff;transition:.2s}.social-links a:hover{color:var(--blue);border-color:#bcd9f8;background:#f4f9ff}.blog-placeholder{padding:50px 24px;text-align:center}.blog-placeholder>i{width:62px;height:62px;border-radius:18px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 15px;font-size:1.4rem}.blog-placeholder h3{font-size:1rem;margin-bottom:8px}.blog-placeholder p{font-size:.72rem;color:#7b8798}.resource-grid .resource-card h3{direction:rtl;text-align:right}.resource-grid .resource-card p{direction:rtl;text-align:right}.resource-grid .resource-card a{direction:rtl}.resource-card.is-hidden{display:none!important}
@media (max-width:980px){.skill-modern-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){.skill-modern-grid,.about-subgrid{grid-template-columns:1fr}.team-one{max-width:none}.resource-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.resource-grid{grid-template-columns:1fr}.team-one{align-items:flex-start;flex-direction:column}.team-avatar{width:90px;height:90px;flex-basis:90px}.skill-modern{padding:15px}.blog-placeholder{padding:35px 18px}}

/* =========================================================
   ZANDIGROUP - REQUESTED UI UPDATES
========================================================= */
.contact-top{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.contact-top .contact-card{min-height:112px}.contact-message{background:#fff;border:1px solid #e1e7ef;border-radius:24px;padding:28px;box-shadow:0 14px 40px rgba(15,31,58,.055)}.contact-message-head{display:flex;align-items:center;gap:14px;margin-bottom:22px}.contact-message-head>span{width:50px;height:50px;border-radius:15px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:1.05rem}.contact-message-head h3{font-size:1rem;margin:0}.contact-message-head p{font-size:.71rem;color:#7c8797;margin-top:3px}.contact-message .contact-form{padding:0;background:transparent;border:0;box-shadow:none}.contact-message .form-grid{gap:16px}.contact-message .form-grid label span{font-size:.71rem;font-weight:600}.contact-message .form-grid input,.contact-message .form-grid textarea{background:#f9fbfd}
.site-footer{background:#fff;color:#273247;padding:42px 0;border-top:1px solid #e1e7ef}.footer-inner{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:30px;align-items:center}.footer-brand-title{font-size:1.18rem;font-weight:800;color:var(--navy);margin-bottom:3px}.footer-brand-role{font-size:.8rem;color:#6d7889;margin-bottom:15px}.footer-socials{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.footer-socials a{width:40px;height:40px;border:1px solid #dce4ee;border-radius:12px;display:grid;place-items:center;background:#f9fbfd;color:#5d687a;transition:.22s}.footer-socials a:hover{color:var(--blue);border-color:#bcd9f7;background:#eef7ff;transform:translateY(-2px)}.footer-socials i{font-size:1.05rem}.footer-socials img{width:18px;height:18px;object-fit:contain}.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:11px 16px}.footer-links a{font-size:.76rem;color:#596578;transition:.2s}.footer-links a:hover{color:var(--blue)}.footer-copy{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.footer-copy strong{font-size:1.18rem;letter-spacing:.1em;color:var(--navy)}.footer-copy small{font-size:.7rem;color:#7f8a9c;direction:ltr}.footer-copy>span{font-size:.72rem;color:#7f8a9c;direction:ltr}
.skill-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:-8px 0 28px}.skill-tabs button{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #dfe6ef;background:#fff;color:#637085;border-radius:13px;font-size:.75rem;transition:.22s}.skill-tabs button b{font-size:.65rem;color:#8b96a7;background:#f2f5f9;border-radius:999px;padding:2px 7px}.skill-tabs button:hover{border-color:#bcdaf8;background:#f7fbff;color:var(--blue)}.skill-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.skill-tabs button.active b{background:rgba(255,255,255,.14);color:#fff}.skill-modern-top i{width:36px;height:36px;border-radius:10px;background:#eef6ff;display:inline-grid;place-items:center;font-size:1.05rem;flex:0 0 36px}.skill-modern-top span{gap:10px}.skill-modern.is-hidden{display:none!important}
@media (max-width:980px){.contact-top{grid-template-columns:1fr}.footer-inner{grid-template-columns:1fr}.footer-copy{text-align:center;align-items:center}.footer-links{justify-content:flex-start}}
@media (max-width:600px){.contact-message{padding:20px}.contact-top .contact-card{min-height:96px}.skill-tabs{gap:7px}.skill-tabs button{width:100%;justify-content:space-between}.footer-links{justify-content:center}.footer-socials{justify-content:center}.footer-brand{text-align:center}.footer-copy{text-align:center;align-items:center}}

/* =========================================================
   ZANDIGROUP - ROUND 3 UI REFINEMENTS
========================================================= */
.article-card:hover h3,.article-card:hover .article-body h3{color:var(--blue)!important}
.article-card h3{transition:color .22s ease}

/* Books */
.book-card{overflow:hidden;position:relative;background:#fff;border:1px solid #e1e7ef;border-radius:22px;box-shadow:0 14px 38px rgba(15,31,58,.055);transition:.28s}.book-card:hover{transform:translateY(-6px);border-color:#bddbfa;box-shadow:0 22px 50px rgba(15,31,58,.1)}
.book-cover{position:relative;height:300px;overflow:hidden;background:linear-gradient(145deg,#eef5fc,#dfeaf5);display:flex;align-items:center;justify-content:center}.book-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}.book-card:hover .book-cover img{transform:scale(1.035)}.book-specialty{position:absolute;top:13px;right:13px;padding:7px 10px;border-radius:10px;background:rgba(11,18,32,.88);color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.02em;box-shadow:0 8px 20px rgba(0,0,0,.14);z-index:2}.book-card:nth-child(2) .book-specialty,.book-card:nth-child(3) .book-specialty{background:#0f766e}.book-card:nth-child(4) .book-specialty{background:#1d4ed8}.book-body{padding:20px 20px 22px}.book-body h3{font-size:.96rem;line-height:1.65;color:var(--ink);margin-bottom:7px}.book-fa-title{font-size:.86rem;font-weight:700;color:var(--blue);line-height:1.8;margin-bottom:8px}.book-role{font-size:.68rem;color:#818c9d;margin-bottom:14px}.book-body>a{font-size:.7rem;color:var(--blue);font-weight:800;display:inline-flex;align-items:center;gap:7px}

/* About */
.about-profile-grid{display:grid;grid-template-columns:1.45fr .95fr;gap:20px;margin-bottom:20px}.about-profile-main{padding:30px}.about-profile-head{display:flex;align-items:center;gap:18px;margin-bottom:20px}.about-avatar-large{width:92px;height:92px;border-radius:26px;font-size:2rem;background:linear-gradient(145deg,#edf6ff,#f8fbff);color:var(--blue);box-shadow:inset 0 0 0 1px #d8e8fa;flex:0 0 92px}.about-profile-main h3{font-size:1.35rem;color:var(--navy);margin-bottom:3px}.about-profile-main .role{font-size:.78rem;color:var(--blue);font-weight:700}.about-profile-main>p{font-size:.84rem;line-height:2.15;color:#687588;margin:11px 0}.education-card{padding:25px}.education-title{margin-bottom:18px}.education-title .panel-title{}.education-list{display:grid;gap:10px}.education-item{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;padding:11px;border:1px solid #e4ebf4;border-radius:15px;background:#f9fbfd;transition:.22s}.education-item:hover{transform:translateX(-3px);border-color:#bddcfb;background:#f4f9ff}.education-icon{width:44px;height:44px;border-radius:12px;background:#eef6ff;color:var(--blue);display:grid;place-items:center}.education-degree{display:block;font-size:.61rem;color:#8792a3;margin-bottom:2px}.education-item strong{display:block;font-size:.77rem;color:#425066}.education-item small{display:block;font-size:.6rem;color:#98a2b1;direction:ltr;text-align:right;margin-top:1px}.about-facts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.about-fact-card{background:#fff;border:1px solid #e3e9f1;border-radius:18px;padding:17px 14px;box-shadow:0 10px 28px rgba(15,31,58,.035);transition:.24s}.about-fact-card:hover{transform:translateY(-3px);border-color:#bddaf7}.about-fact-card span{font-size:.62rem;color:#8a95a6;display:block}.about-fact-card strong{font-size:.88rem;color:var(--navy);display:block;margin-top:5px}.about-fact-card small{font-size:.6rem;color:#a0a9b5;display:block;direction:ltr;text-align:right;margin-top:4px}.about-topic-card{padding:28px;margin-top:8px;background:#fff;border:1px solid #e0e7ef;border-radius:25px;box-shadow:0 14px 40px rgba(15,31,58,.05)}.about-topic-head{display:flex;align-items:center;gap:13px;margin-bottom:24px}.topic-head-icon{width:52px;height:52px;border-radius:15px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:1.15rem}.about-topic-head h3{font-size:1.03rem;color:var(--navy)}.about-topic-head p{font-size:.69rem;color:#808b9c;margin-top:3px}.about-topic-groups{display:grid;grid-template-columns:1fr 1fr;gap:20px}.topic-group{border:1px solid #e4eaf2;border-radius:19px;background:#fbfcfe;padding:19px}.topic-group-title{display:flex;align-items:center;gap:9px;font-size:.82rem;font-weight:800;color:#445066;margin-bottom:15px}.topic-group-title i{color:var(--blue)}.about-topic-items{display:flex;flex-wrap:wrap;gap:8px}.about-topic-items span{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:999px;color:#687487;font-size:.62rem;cursor:default;transition:.22s}.about-topic-items span:hover{background:#eef7ff;color:var(--blue);border-color:#b9d9f8;transform:translateY(-2px);box-shadow:0 7px 15px rgba(30,123,232,.08)}

/* Skills */
.skill-modern{padding:16px 17px}.skill-modern-top{direction:rtl}.skill-modern-top span{direction:rtl;text-align:right;display:flex;align-items:center;gap:10px;min-width:0}.skill-modern-top span>i{order:0;width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:1.08rem}.skill-name-wrap{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:1px!important;min-width:0}.skill-name-wrap strong{font-size:.78rem;color:#435067;line-height:1.45;white-space:nowrap}.skill-branch{font-size:.58rem!important;color:#8b96a7!important;font-weight:500!important;line-height:1.3;white-space:nowrap}.skill-modern-top>b{font-size:.65rem;direction:ltr;flex:0 0 auto}

/* Guided experience section */
.experience-group-head{display:flex;align-items:center;gap:13px;margin:30px 0 15px}.experience-group-icon{width:48px;height:48px;border-radius:14px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:1.05rem;flex:0 0 48px}.experience-group-head h3{font-size:1rem;color:var(--navy)}.experience-group-head p{font-size:.68rem;color:#808b9c;margin-top:2px}.experience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.experience-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:20px;box-shadow:0 11px 32px rgba(15,31,58,.045);transition:.25s;position:relative;overflow:hidden}.experience-card:before{content:"";position:absolute;right:0;top:0;width:4px;height:100%;background:linear-gradient(180deg,#56a8ff,#1e7be8);opacity:.8}.experience-card:hover{transform:translateY(-5px);border-color:#c4def8;box-shadow:0 20px 42px rgba(15,31,58,.08)}.experience-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.experience-card-top>i{color:#9aa5b6;font-size:.8rem}.experience-card h4{font-size:.82rem;line-height:1.75;color:#3f4b60;direction:ltr;text-align:left;margin-bottom:8px;min-height:65px}.experience-card p{font-size:.7rem;line-height:1.9;color:#778396;direction:rtl;text-align:right;min-height:53px}.experience-button{margin-top:15px;padding:9px 13px;border-radius:11px;border:1px solid #cfe2f7;background:#f4f9ff;color:var(--blue);font-size:.65rem;font-weight:800;transition:.2s}.experience-button:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.experience-modal{position:fixed;inset:0;background:rgba(8,15,27,.52);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:25px;opacity:0;pointer-events:none;transition:.25s;z-index:11000}.experience-modal.open{opacity:1;pointer-events:auto}.experience-modal-panel{position:relative;width:min(720px,100%);background:#fff;border:1px solid #e0e7ef;border-radius:25px;padding:30px;box-shadow:0 35px 100px rgba(0,0,0,.22)}.experience-modal-close{position:absolute;left:17px;top:17px;width:38px;height:38px;border-radius:11px;background:#f1f4f8;color:#5e6979}.experience-modal-tag{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef6ff;color:var(--blue);font-size:.62rem;font-weight:800;margin-bottom:13px}.experience-modal-panel h3{font-size:1.1rem;line-height:1.8;color:var(--navy);direction:ltr;text-align:left;max-width:90%}.experience-modal-panel p{font-size:.78rem;line-height:2.1;color:#6e7a8d;margin:12px 0 22px}.experience-modal-panel .btn{font-size:.7rem}

@media (max-width:980px){.about-profile-grid{grid-template-columns:1fr}.about-facts-grid{grid-template-columns:repeat(2,1fr)}.about-topic-groups{grid-template-columns:1fr}.experience-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:820px){.skill-modern-top span>i{width:42px;height:42px;flex-basis:42px}.experience-grid{grid-template-columns:1fr}.about-profile-main{padding:23px}.about-topic-card{padding:21px}.education-list{grid-template-columns:1fr 1fr}.book-cover{height:270px}}
@media (max-width:600px){.about-profile-head{align-items:flex-start}.about-avatar-large{width:78px;height:78px;flex-basis:78px;font-size:1.55rem}.about-profile-main h3{font-size:1.15rem}.about-profile-main>p{font-size:.77rem}.about-facts-grid{grid-template-columns:1fr 1fr}.education-list{grid-template-columns:1fr}.about-topic-items{gap:6px}.about-topic-items span{font-size:.58rem;padding:6px 8px}.book-cover{height:250px}.experience-card h4{min-height:auto}.experience-card p{min-height:auto}.experience-modal{padding:14px}.experience-modal-panel{padding:24px 18px 20px}.experience-modal-panel h3{font-size:.95rem}}

/* =========================================================
   FINAL REFINEMENTS — ARTICLES / BOOKS / CONTACT / HEADINGS
========================================================= */

/* Horizontal separator between major sections */
main > .section{
    border-bottom:1px solid var(--line);
}
main > .section:last-of-type{
    border-bottom:0;
}

/* Section kicker icons */
.section-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.section-kicker i{
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#edf5fe;
    color:var(--blue);
    font-size:.72rem;
    box-shadow:inset 0 0 0 1px #dbeafa;
}

/* Article cards: blue title only on hover */
.article-card h3,
.article-body h3{
    color:var(--ink) !important;
    transition:color .22s ease;
}
.article-card:hover h3,
.article-card:hover .article-body h3{
    color:var(--blue) !important;
}

/* Book action as a real button */
.book-view-btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 14px;
    border:1px solid #cfe1f5;
    border-radius:11px;
    background:#f5f9fe;
    color:var(--blue) !important;
    font-size:.69rem !important;
    font-weight:800;
    transition:.23s ease;
}
.book-view-btn:hover{
    color:#fff !important;
    background:var(--blue);
    border-color:var(--blue);
    transform:translateY(-2px);
    box-shadow:0 10px 22px rgba(30,123,232,.18);
}
.book-view-btn i{
    font-size:.76rem;
}

/* Contact cards */
.contact-top .contact-card{
    transition:transform .23s ease, border-color .23s ease, box-shadow .23s ease, background .23s ease;
}
.contact-top .contact-card:hover{
    transform:translateY(-4px);
    border-color:#c8dcf3;
    box-shadow:0 18px 38px rgba(15,31,58,.08);
}
.contact-card a{
    font-weight:800 !important;
    font-size:.92rem !important;
    line-height:1.5;
    transition:color .23s ease;
}
.contact-card:nth-child(1) a:hover,
.contact-card:nth-child(3) a:hover{
    color:var(--blue) !important;
}
.contact-card:nth-child(2) a{
    font-size:1rem !important;
    font-weight:900 !important;
    letter-spacing:.02em;
}
.contact-card:nth-child(2) a:hover{
    color:#16a34a !important;
}
.contact-card:nth-child(2)>span{
    color:#16a34a !important;
    background:#eefbf2 !important;
}
.contact-card:nth-child(1)>span,
.contact-card:nth-child(3)>span{
    color:var(--blue) !important;
}

/* Better spacing around major sections */
.section-heading{position:relative}

@media (max-width:600px){
    main > .section{border-bottom-width:1px}
    .section-kicker i{width:24px;height:24px;font-size:.68rem}
    .contact-card a{font-size:.84rem !important}
    .contact-card:nth-child(2) a{font-size:.92rem !important}
}

/* =========================================================
   ROUND 4 FIXES
========================================================= */
.section-kicker{flex-direction:row-reverse;}
.section-kicker i{order:2;}
.article-card{grid-template-columns:minmax(0,1fr) auto;}
.article-card h3{transition:color .22s ease;}
.article-body{direction:ltr;text-align:left;}
.article-label{margin-bottom:2px;}
.article-action{justify-self:end;}
.experience-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px;}
.experience-tabs button{display:inline-flex;align-items:center;justify-content:center;padding:10px 15px;border:1px solid #dfe6ef;background:#fff;color:#647084;border-radius:13px;font-family:inherit;font-size:.73rem;font-weight:700;transition:.22s;}
.experience-tabs button:hover,.experience-tabs button.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.blog-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.blog-card{display:flex;flex-direction:column;min-width:0;min-height:235px;background:#fff;border:1px solid #e1e7ef;border-radius:22px;padding:21px;box-shadow:0 11px 32px rgba(15,31,58,.045);cursor:pointer;transition:.25s;}
.blog-card:hover{transform:translateY(-5px);border-color:#bedcf9;box-shadow:0 18px 42px rgba(15,31,58,.08);}
.blog-card:hover h3{color:var(--blue);}
.blog-card h3{font-size:1rem;line-height:1.75;color:#39455a;margin:10px 0 8px;transition:color .22s ease;}
.blog-icon{width:54px;height:54px;border-radius:16px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:1.15rem;}
.blog-body{min-width:0;display:flex;flex-direction:column;height:100%;}
.blog-label{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:5px 9px;border-radius:999px;background:#f0f6fd;color:var(--blue);font-size:.58rem;font-weight:800;}
.blog-body p{font-size:.72rem;color:#7a8597;line-height:1.95;margin:0;}
.blog-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:16px;color:#7f8a9b;font-size:.65rem;border-top:1px solid #eef2f6;}
.blog-view{display:inline-flex;align-items:center;gap:5px;}
.blog-more-count{font-size:.7rem;color:#6f7c8f;margin-top:11px;text-align:center;}
.blog-controls{display:flex;justify-content:center;gap:10px;margin-top:24px;flex-wrap:wrap;}
.blog-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:22px;}
.blog-modal.open{display:flex;}
.blog-modal-backdrop{position:absolute;inset:0;background:rgba(11,18,32,.42);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.blog-modal-panel{position:relative;z-index:1;width:min(920px,100%);max-height:min(88vh,900px);overflow:auto;background:#fff;border:1px solid #dfe7f0;border-radius:28px;padding:34px;box-shadow:0 28px 80px rgba(15,31,58,.22);}
.blog-modal-close{position:absolute;top:18px;left:18px;width:38px;height:38px;border:1px solid #e1e7ef;background:#f7f9fc;color:#6a7688;border-radius:11px;display:grid;place-items:center;cursor:pointer;transition:.2s;}
.blog-modal-close:hover{color:var(--blue);border-color:#bcd9f8;background:#eef6ff;}
.blog-single-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding-left:45px;}
.blog-single-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:.72rem;font-weight:800;background:#eef6ff;border-radius:999px;padding:7px 11px;}
.blog-single-meta{display:flex;align-items:center;gap:14px;color:#7c8797;font-size:.7rem;flex-wrap:wrap;}
.blog-single-meta span{display:inline-flex;align-items:center;gap:6px;}
.blog-modal-panel h2{font-size:clamp(1.65rem,3vw,2.2rem);line-height:1.7;color:var(--navy);margin:20px 0 12px;}
.blog-modal-lead{font-size:.92rem;line-height:2.15;font-weight:700;color:#46546a;background:#f7faff;border-right:4px solid var(--blue);padding:15px 18px;border-radius:14px;margin-bottom:25px;}
.blog-modal-content{font-size:.84rem;line-height:2.25;color:#606d80;}
.blog-modal-content p{margin:0 0 18px;}
.blog-modal-content p strong:first-child{color:#354258;}
.blog-feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:28px;padding-top:18px;border-top:1px solid #e8edf3;color:#717e90;font-size:.72rem;}
.blog-feedback .reaction-button{display:inline-flex;align-items:center;gap:6px;}
.blog-share{border:1px solid #dfe6ef;background:#fff;color:#647084;border-radius:11px;padding:8px 12px;font-family:inherit;cursor:pointer;transition:.2s;}
.blog-share:hover{color:var(--blue);border-color:#bcd9f8;background:#f4f9ff;}
.blog-modal-actions{display:flex;justify-content:flex-end;margin-top:20px;}
.more-content{margin-top:18px;}
.more-content p{font-size:.79rem;line-height:2.1;color:#626f82;margin-bottom:13px;}
.post-reactions{display:flex;align-items:center;gap:8px;margin-top:24px;flex-wrap:wrap;}
.reaction-button{border:1px solid #dfe6ef;background:#f8fafc;border-radius:11px;padding:8px 11px;font-family:inherit;cursor:pointer;}
.post-views{display:inline-flex;align-items:center;gap:6px;color:#7f8a9b;margin-right:auto;font-size:.7rem;}
.detail-page .site-header{position:sticky;top:0;}
.detail-home-link{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:.76rem;font-weight:700;}
.detail-card{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;padding:30px;}
.detail-icon{width:72px;height:72px;border-radius:20px;background:#edf6ff;color:var(--blue);display:grid;place-items:center;font-size:1.55rem;}
.detail-head h1{font-size:clamp(1.7rem,4vw,3rem);line-height:1.55;margin:10px 0 7px;color:var(--navy);}
.detail-head p{font-size:.82rem;line-height:2;color:#778396;max-width:850px;}
.download-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.download-card{display:grid;grid-template-columns:auto 1fr;gap:14px;background:#fff;border:1px solid #e1e7ef;border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(15,31,58,.04);}
.download-icon{width:48px;height:48px;border-radius:14px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;}
.download-card h3{font-size:.9rem;line-height:1.6;margin-bottom:6px;}
.download-card p{font-size:.69rem;line-height:1.9;color:#7a8597;margin-bottom:12px;}
.empty-download,.detail-note{border:1px dashed #cdd9e8;background:#f8fbff;border-radius:20px;padding:26px;text-align:center;color:#748195;}
.empty-download i{font-size:1.8rem;color:var(--blue);margin-bottom:10px;}
.empty-download h3{font-size:.95rem;color:#4e5a6d;margin-bottom:6px;}
.empty-download p,.detail-note p{font-size:.7rem;line-height:1.9;}
.detail-note{margin-top:18px;display:flex;gap:12px;text-align:right;align-items:flex-start;}
.detail-note>i{color:var(--blue);margin-top:3px;}
@media(max-width:980px){.download-grid{grid-template-columns:repeat(2,1fr)}.article-card{grid-template-columns:1fr}.article-action{justify-self:start}.detail-card{grid-template-columns:1fr;}.detail-icon{width:62px;height:62px;}}
@media(max-width:900px){.blog-posts{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.experience-tabs button{width:100%;}.blog-posts{grid-template-columns:1fr}.blog-card{min-height:0}.blog-icon{width:50px}.download-grid{grid-template-columns:1fr}.detail-card{padding:22px}.detail-note{flex-direction:column;}.article-body{direction:ltr;text-align:left;}.post-views{margin-right:0;}.blog-modal{padding:10px}.blog-modal-panel{padding:25px 18px;border-radius:22px;max-height:94vh}.blog-single-head{padding-left:40px}.blog-single-meta{font-size:.65rem}.blog-modal-panel h2{font-size:1.35rem}.blog-modal-content{font-size:.78rem}}


/* =========================================================
   ROUND 5 — SKILL FILTERS / COURSE DETAIL MODAL / EXPERIENCE
========================================================= */
.skill-tabs{justify-content:flex-start;gap:8px;}
.skill-tabs button{width:auto;min-width:0;padding:8px 11px;border-radius:12px;background:#fff;color:#657084;border:1px solid #dfe6ef;box-shadow:none;}
.skill-tabs button i{font-size:.78rem;color:var(--blue);margin-left:1px;}
.skill-tabs button b{font-size:.6rem;padding:2px 6px;background:#f2f6fa;color:#7b8798;}
.skill-tabs button:hover{background:#f1f7ff!important;color:var(--blue)!important;border-color:#b9d9f8!important;}
.skill-tabs button.active{background:#edf6ff!important;color:var(--blue)!important;border-color:#b9d9f8!important;box-shadow:0 6px 16px rgba(37,99,235,.08)!important;}
.skill-tabs button.active b{background:#dcecff;color:var(--blue);}
.degree-track{display:block;font-size:.58rem;color:#8b96a7;line-height:1.4;margin-top:2px;white-space:nowrap;}
.resource-top{align-items:flex-start;flex-wrap:wrap;}
.resource-top>span{white-space:nowrap;}
.about-topic-card{width:100%;}
.about-topic-groups{grid-template-columns:1fr;}
.experience-tabs button{background:#fff!important;color:#657084!important;border-color:#dfe6ef!important;}
.experience-tabs button:hover{background:#f1f7ff!important;color:var(--blue)!important;border-color:#b9d9f8!important;}
.experience-tabs button.active{background:#edf6ff!important;color:var(--blue)!important;border-color:#b9d9f8!important;box-shadow:0 6px 16px rgba(37,99,235,.08)!important;}
.content-detail-link{cursor:pointer;background:transparent;font-family:inherit;}
.content-detail-link:hover{background:#eef6ff;border-color:#b4d8fb;color:var(--blue);}

/* Course details modal */
.course-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;visibility:hidden;pointer-events:none;z-index:12000;transition:opacity .25s ease,visibility .25s ease;}
.course-modal.open{opacity:1;visibility:visible;pointer-events:auto;}
.course-modal-backdrop{position:absolute;inset:0;background:rgba(7,16,29,.48);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
.course-modal-panel{position:relative;width:min(860px,100%);max-height:min(88vh,900px);overflow:auto;background:#fff;border:1px solid #dfe7f0;border-radius:28px;padding:30px;box-shadow:0 34px 100px rgba(7,16,29,.24);transform:translateY(18px) scale(.985);transition:transform .25s ease;}
.course-modal.open .course-modal-panel{transform:none;}
.course-modal-close{position:absolute;left:18px;top:18px;width:40px;height:40px;border:1px solid #e0e6ef;border-radius:12px;background:#f6f8fb;color:#6f7b8c;font-size:1rem;cursor:pointer;}
.course-modal-close:hover{background:#eef6ff;color:var(--blue);border-color:#b9d9f8;}
.course-modal-head{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:14px;padding-left:48px;margin-bottom:20px;}
.course-modal-icon{width:58px;height:58px;border-radius:17px;background:#edf6ff;color:var(--blue);display:grid;place-items:center;font-size:1.35rem;}
.course-modal-count{justify-self:start;align-self:start;margin-top:7px;padding:7px 10px;border-radius:999px;background:#f4f8fc;border:1px solid #e0e8f1;color:#748196;font-size:.65rem;font-weight:800;white-space:nowrap;}
.course-modal-head h2{font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.55;color:var(--navy);margin:0;direction:rtl;text-align:right;}
.course-modal-head p{margin-top:4px;font-size:.7rem;color:#8792a3;direction:rtl;text-align:right;}
.course-modal-intro{font-size:.83rem;line-height:2.1;color:#6d798b;margin:0 0 23px;padding:17px 18px;background:#f8fbff;border:1px solid #e3ecf5;border-radius:18px;direction:rtl;text-align:right;}
.course-modal-content{display:grid;gap:12px;}
.course-topic-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 18px;border:1px solid #e1e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,31,58,.04);transition:.22s;direction:rtl;}
.course-topic-item:hover{transform:translateY(-2px);border-color:#bad9f8;background:#fbfdff;box-shadow:0 14px 32px rgba(37,99,235,.07);}
.course-topic-copy{min-width:0;}
.course-topic-copy h3{font-size:.9rem;color:#334158;margin:0 0 5px;}
.course-topic-copy p{font-size:.67rem;color:#7c8899;line-height:1.8;margin:0;}
.course-topic-link{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;padding:9px 12px;border-radius:11px;border:1px solid #c9def5;background:#f4f9ff;color:var(--blue);font-size:.66rem;font-weight:800;text-decoration:none;}
.course-topic-link:hover{background:var(--blue);color:#fff;border-color:var(--blue);}
.course-modal-empty{display:grid;place-items:center;text-align:center;gap:8px;padding:34px 20px;border:1px dashed #cfddea;background:#fbfdff;border-radius:20px;color:#7b8798;}
.course-modal-empty i{font-size:1.6rem;color:var(--blue);}
.course-modal-empty strong{font-size:.85rem;color:#47556c;}
.course-modal-empty span{font-size:.68rem;line-height:1.9;}
.course-modal-bottom-close{display:inline-flex;align-items:center;gap:8px;margin-top:22px;padding:10px 15px;border:1px solid #dfe6ef;border-radius:12px;background:#f7f9fb;color:#687487;font-family:inherit;font-size:.68rem;font-weight:800;cursor:pointer;}
.course-modal-bottom-close:hover{background:#eef6ff;color:var(--blue);border-color:#b9d9f8;}
body.course-modal-open{overflow:hidden;}
@media(max-width:620px){.skill-tabs{gap:6px}.skill-tabs button{font-size:.67rem;padding:7px 9px}.course-modal{padding:10px}.course-modal-panel{padding:22px 16px 18px;border-radius:22px;max-height:92vh}.course-modal-head{grid-template-columns:auto 1fr;padding-left:40px}.course-modal-count{grid-column:1 / -1;order:3;justify-self:start;margin-top:0}.course-modal-icon{width:50px;height:50px}.course-topic-item{align-items:flex-start;flex-direction:column}.course-topic-link{width:100%;justify-content:center}.course-modal-head h2{font-size:1.15rem}.degree-track{font-size:.55rem;white-space:normal;}}

.course-modal-source{margin-top:14px;font-size:.62rem;color:#8a95a6;text-align:right;direction:rtl}
.resource-card{cursor:pointer}.content-detail-link{cursor:pointer}

/* =========================================================
   ROUND 7 — BLOG / BOOKS / EXPERIENCE CARD REFINEMENT
========================================================= */

/* Blog cards: richer hierarchy */
.blog-card{
    min-height:300px;
    padding:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #dfe7f0;
    border-radius:22px;
}
.blog-card:before{
    content:"";
    display:block;
    height:3px;
    width:100%;
    background:linear-gradient(90deg,var(--blue),#79bdff);
    opacity:.9;
}
.blog-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 20px 0;
    direction:rtl;
}
.blog-label{
    margin:0;
    padding:6px 10px;
    border:1px solid #d9e9f8;
    background:#f2f8fe;
    color:#2878c9;
    font-size:.60rem;
    font-weight:800;
}
.blog-label i{font-size:.58rem}
.blog-read-time{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#7c8899;
    font-size:.63rem;
    white-space:nowrap;
}
.blog-read-time i{color:#8aa4c0}
.blog-card .blog-body{
    padding:0 20px 18px;
}
.blog-card h3{
    font-size:1.02rem;
    line-height:1.8;
    margin:14px 0 8px;
    color:#334055;
    font-weight:800;
}
.blog-card:hover h3{color:var(--blue)}
.blog-card p{
    font-size:.74rem;
    line-height:2;
    color:#707d90;
    min-height:58px;
    margin:0;
}
.blog-analysis{
    display:flex;
    align-items:center;
    margin-top:17px;
    padding:9px 11px;
    border-radius:12px;
    background:#fafcff;
    border:1px solid #edf1f6;
    color:#68768a;
    font-size:.63rem;
}
.blog-analysis span{display:inline-flex;align-items:center;gap:6px}
.blog-analysis i{color:var(--blue);font-size:.66rem}
.blog-card .blog-footer{
    margin-top:18px;
    padding-top:14px;
    border-top:1px solid #edf1f5;
    font-size:.66rem;
}
.blog-card .blog-footer>span:first-child{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#4d5a6d;
    font-weight:800;
}
.blog-card:hover .blog-footer>span:first-child{color:var(--blue)}
.blog-card .blog-view{font-size:.62rem}

/* Blog modal hierarchy */
.blog-single-kicker{
    box-shadow:inset 0 0 0 1px #d7e8f8;
}
.blog-modal-panel h2{
    font-weight:800;
    letter-spacing:-.02em;
}
.blog-modal-lead{
    border-top:1px solid #e8eff7;
    border-bottom:1px solid #e8eff7;
}
.blog-modal-content p{
    padding:0 0 16px;
}
.blog-modal-content p strong:first-child{
    display:block;
    font-size:.92rem;
    color:#344158;
    margin-bottom:5px;
}

/* Books: muted Persian title + full-width bottom action */
.book-card{display:flex;flex-direction:column;height:100%}
.book-body{display:flex;flex-direction:column;flex:1;padding:20px}
.book-body h3{font-size:.96rem;font-weight:800}
.book-fa-title{
    color:#667386 !important;
    font-weight:500 !important;
    font-size:.78rem !important;
    line-height:1.9;
    margin-top:2px;
    margin-bottom:8px;
}
.book-role{
    color:#7d8795 !important;
    font-weight:500;
    margin-bottom:16px;
}
.book-view-btn{
    width:100% !important;
    margin-top:auto;
    min-height:44px;
    border-radius:13px;
    font-size:.71rem !important;
    letter-spacing:.01em;
}
.book-view-btn i{font-size:.78rem}

/* Experience / thesis cards */
.experience-card{
    min-height:0;
    display:flex;
    flex-direction:column;
    padding:18px 19px 17px;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.experience-card:after{
    content:"";
    position:absolute;
    left:16px;
    top:16px;
    width:34px;
    height:34px;
    border:1px solid #e7edf5;
    border-radius:12px;
    pointer-events:none;
}
.experience-card-top{margin-bottom:15px;padding-left:2px}
.experience-phase{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 9px;
    border-radius:9px;
    background:#f0f6fd;
    color:#6f87a2;
    border:1px solid #dae8f6;
    font-size:.58rem;
    font-weight:800;
    direction:ltr;
}
.experience-card h4{
    font-size:.91rem;
    line-height:1.85;
    font-weight:800;
    color:#364258;
    margin-bottom:10px;
    min-height:0;
}
.experience-card p{
    font-size:.71rem;
    line-height:2;
    color:#707d90;
    min-height:64px;
}
.experience-domain{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:4px;
    padding:9px 10px;
    background:#f7faff;
    border:1px solid #e8eef5;
    border-radius:12px;
    color:#617084;
    font-size:.62rem;
    line-height:1.8;
}
.experience-domain i{
    color:var(--blue);
    margin-top:2px;
    flex:0 0 auto;
}
.experience-button{
    width:100%;
    margin-top:auto;
    min-height:42px;
    border-radius:12px;
    font-size:.67rem;
}
.experience-button:hover{transform:translateY(-1px)}

@media(max-width:820px){
    .blog-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
    .experience-card{min-height:300px}
}
@media(max-width:600px){
    .blog-posts{grid-template-columns:1fr}
    .blog-card{min-height:0}
    .blog-card-top{padding:15px 16px 0}
    .blog-card .blog-body{padding:0 16px 16px}
    .blog-card h3{font-size:.94rem}
    .blog-card p{font-size:.70rem}
    .experience-card{min-height:0}
    .experience-phase{font-size:.55rem}
}

/* =========================================================
   ROUND 8 — ARTICLE FILTERS & EXPERIENCE TYPOGRAPHY
========================================================= */
.article-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 26px}
.article-filters button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid #dfe6ef;background:#fff;color:#657084;border-radius:12px;font-family:inherit;font-size:.69rem;font-weight:800;transition:.22s;cursor:pointer}
.article-filters button i{color:var(--blue);font-size:.73rem}
.article-filters button b{font-size:.63rem;color:#8b96a7}
.article-filters button:hover{border-color:#b9d9f7;background:#f7fbff;color:var(--blue);transform:translateY(-1px)}
.article-filters button.active{background:#eef6ff;border-color:#b9d9f7;color:var(--blue);box-shadow:0 8px 22px rgba(30,123,232,.08)}
.article-filters button.active b{color:var(--blue)}
.article-card.is-hidden{display:none}
.article-card{grid-template-columns:minmax(0,1fr) auto}
.experience-tabs button{display:inline-flex;align-items:center;gap:8px}
.experience-tabs button i{font-size:.72rem}
.experience-tabs button.active{background:#eef6ff;border-color:#b9d9f7;color:var(--blue)}
.experience-persian{display:flex;align-items:flex-start;gap:10px;direction:rtl;text-align:right;margin:5px 0 12px;line-height:1.95}
.experience-persian i{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#eef6ff;color:var(--blue);display:grid;place-items:center;font-size:.82rem;margin-top:2px}
.experience-persian strong{font-size:.83rem;color:var(--navy);font-weight:800}
.experience-english{direction:ltr;text-align:left;background:#f7f9fc;border:1px solid #e3e9f1;border-radius:13px;padding:13px 14px;color:#7b8697;font-size:.72rem;line-height:1.85;font-weight:400;margin-bottom:12px;min-height:54px}
.experience-card-top{direction:rtl}
@media(max-width:700px){.article-filters{justify-content:stretch}.article-filters button{flex:1 1 calc(50% - 8px)}.experience-persian strong{font-size:.78rem}.experience-english{font-size:.68rem}}

/* Blog card bottom row: analysis right, views center, full-text left */
.blog-card-bottom{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:12px;
    margin-top:auto;
    padding-top:15px;
    border-top:1px solid #edf1f5;
    direction:rtl;
    color:#7f8a9b;
    font-size:.64rem;
}
.blog-analysis-count{
    justify-self:start;
    color:#69778b;
    font-weight:700;
    white-space:nowrap;
}
.blog-view{
    justify-self:center;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    color:#768398;
    white-space:nowrap;
}
.blog-view i{font-size:.66rem;color:#8aa0b8}
.blog-read-full{
    justify-self:end;
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#59677b;
    font-weight:800;
    white-space:nowrap;
    transition:.22s ease;
}
.blog-card:hover .blog-read-full{color:var(--blue)}
.blog-read-full i{font-size:.62rem;color:currentColor}
@media(max-width:600px){
    .blog-card-bottom{grid-template-columns:1fr auto 1fr;font-size:.60rem;gap:8px;}
    .blog-analysis-count{justify-self:start;}
    .blog-read-full{justify-self:end;}
}

/* Compact student project cards */
.experience-grid[data-experience-group="student"] .experience-card{min-height:0;padding:17px 18px 16px;}
.experience-grid[data-experience-group="student"] .experience-card-top{margin-bottom:10px;}
.experience-grid[data-experience-group="student"] .experience-persian{margin:4px 0 10px;}
.experience-grid[data-experience-group="student"] .experience-english{min-height:0;margin-bottom:0;padding:11px 12px;}

/* Compact blog cards */
.blog-card{min-height:250px;}
.blog-card p{min-height:0;}
.blog-card .blog-body{padding-bottom:16px;}

/* Blog detail modal — floating controls + boxed paragraphs */
.blog-modal{align-items:flex-start;padding:76px 22px 22px;}
.blog-modal-toolbar{position:absolute;top:28px;left:50%;transform:translateX(-50%);width:min(920px,calc(100% - 44px));display:flex;align-items:center;gap:7px;justify-content:flex-start;z-index:2;direction:ltr;}
.blog-modal-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;padding:0 10px;border:1px solid #cfe0f0;background:rgba(255,255,255,.95);color:#5f7288;border-radius:10px;font-family:inherit;font-size:.62rem;font-weight:800;box-shadow:0 8px 22px rgba(15,31,58,.10);transition:.2s;}
.blog-modal-tool i{font-size:.67rem;color:#6f9dcc;}
.blog-modal-tool:hover{color:var(--blue);border-color:#aecdeb;background:#f7fbff;transform:translateY(-1px);}
.blog-modal-tool-close{color:#64758a;}
.blog-modal-panel{max-height:calc(100vh - 98px);padding:30px 34px 28px;border-radius:24px;}
.blog-single-head{padding-left:0;}
.blog-modal-content{display:grid;gap:12px;font-size:.82rem;line-height:2.15;}
.blog-paragraph-box{padding:15px 17px;background:#fbfdff;border:1px solid #e6edf4;border-radius:15px;box-shadow:0 6px 18px rgba(15,31,58,.035);direction:rtl;text-align:right;}
.blog-paragraph-box:hover{border-color:#cfe2f5;background:#fff;box-shadow:0 9px 22px rgba(37,99,235,.055);}
.blog-paragraph-box p{margin:0;color:#606d80;}
.blog-paragraph-box h3{font-size:.78rem;line-height:1.9;color:#344158;margin:0 0 5px;font-weight:800;}
.blog-feedback{margin-top:22px;padding-top:15px;gap:6px;font-size:.67rem;}
.reaction-button{padding:6px 9px;border-radius:9px;background:#f8fbff;color:#68788d;border-color:#d7e3ef;font-size:.64rem;}
.reaction-button:hover{color:var(--blue);background:#eef6ff;border-color:#bed9f2;}
.reaction-button i{color:#7ea7cf;}
.blog-modal-actions,.blog-share,.blog-modal-close{display:none!important;}
@media(max-width:600px){
  .degree-tabs{justify-content:stretch;}
  .degree-tabs button{flex:1 1 calc(50% - 8px);}
  .blog-card{min-height:0;}
  .blog-modal{padding:68px 10px 10px;}
  .blog-modal-toolbar{top:20px;width:calc(100% - 20px);}
  .blog-modal-tool{height:30px;padding:0 9px;font-size:.59rem;}
  .blog-modal-panel{max-height:calc(100vh - 82px);padding:24px 16px 20px;border-radius:20px;}
  .blog-paragraph-box{padding:13px 14px;border-radius:13px;}
  .blog-paragraph-box h3{font-size:.74rem;}
  .blog-feedback{margin-top:18px;}
}

/* Degree/content filters — visually aligned with article filters */
.degree-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 13px;border:1px solid #dfe6ef;background:#fff;color:#657084;border-radius:12px;font-family:inherit;font-size:.69rem;font-weight:800;transition:.22s;cursor:pointer}
.degree-tabs button:hover{border-color:#b9d9f7;background:#f7fbff;color:var(--blue);transform:translateY(-1px)}
.degree-tabs button.active{background:#eef6ff;border-color:#b9d9f7;color:var(--blue);box-shadow:0 8px 22px rgba(30,123,232,.08)}

/* Experience labels — no more Phase/Project pill buttons */
.experience-card-top{display:block;margin-bottom:10px}
.experience-phase{display:none!important}
.experience-card .project-tag{display:inline-block;padding:0;border:0;background:transparent;color:#8a95a6;font-size:.61rem;font-weight:700;letter-spacing:.01em;direction:rtl;text-transform:none}

/* Student projects stay compact and content-driven */
.experience-grid[data-experience-group="student"] .experience-card{min-height:0;height:auto;padding:16px 18px 15px}
.experience-grid[data-experience-group="student"] .experience-card p{min-height:0}

/* Thinner Persian book title */
.book-fa-title{font-size:.78rem !important;font-weight:400 !important;color:#747f8f !important;line-height:1.85;margin-bottom:8px}
.book-role{font-weight:400 !important;color:#8993a2 !important}

/* Book detail modal */
.book-modal{position:fixed;inset:0;z-index:12100;display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}
.book-modal.open{opacity:1;visibility:visible;pointer-events:auto}
.book-modal-backdrop{position:absolute;inset:0;background:rgba(11,18,32,.43);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.book-modal-panel{position:relative;z-index:1;width:min(860px,100%);background:#fff;border:1px solid #dde6f0;border-radius:24px;box-shadow:0 28px 85px rgba(15,31,58,.20);padding:22px;overflow:hidden}
.book-modal-layout{display:grid;grid-template-columns:minmax(185px,235px) minmax(0,1fr);gap:24px;align-items:stretch;direction:ltr}
.book-modal-cover{border-radius:17px;overflow:hidden;background:#eef4fa;border:1px solid #e0e8f1;min-height:300px;box-shadow:0 10px 28px rgba(15,31,58,.08)}
.book-modal-cover img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}
.book-modal-info{direction:rtl;text-align:right;padding:7px 4px 3px}
.book-modal-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--blue);background:#eef6ff;border:1px solid #dbeafa;padding:6px 9px;border-radius:9px;font-size:.59rem;font-weight:800}
.book-modal-kicker i{font-size:.66rem}
.book-modal-info h2{font-size:1.25rem;line-height:1.75;color:var(--navy);margin:16px 0 8px;direction:ltr;text-align:left}
.book-modal-fa-title{font-size:.82rem;line-height:1.95;color:#7c8796;font-weight:400;margin-bottom:8px}
.book-modal-role{font-size:.65rem;color:#8a95a5;margin-bottom:14px}
.book-modal-text{font-size:.73rem;line-height:2.05;color:#687487;padding:12px 13px;background:#f8fbff;border:1px solid #e5edf5;border-radius:13px}
.book-modal-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin-top:17px}
.book-modal-open-file,.book-modal-bottom-close,.book-modal-close{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d4e2ef;background:#f7fbff;color:#5d7893;border-radius:10px;font-family:inherit;font-size:.62rem;font-weight:800;transition:.2s}
.book-modal-open-file,.book-modal-bottom-close{min-height:33px;padding:0 10px}
.book-modal-open-file:hover,.book-modal-bottom-close:hover,.book-modal-close:hover{color:var(--blue);border-color:#b9d9f7;background:#eef6ff;transform:translateY(-1px)}
.book-modal-close{position:absolute;top:14px;left:14px;width:32px;height:32px;padding:0;z-index:2}
.book-modal-close i{font-size:.68rem}
body.book-modal-open{overflow:hidden}
@media(max-width:650px){
 .book-modal{padding:10px}
 .book-modal-panel{padding:17px;border-radius:20px;max-height:92vh;overflow:auto}
 .book-modal-layout{grid-template-columns:1fr;gap:17px}
 .book-modal-cover{width:min(230px,72vw);min-height:270px;height:270px;justify-self:center}
 .book-modal-cover img{min-height:270px}
 .book-modal-info h2{font-size:1.05rem;margin-top:13px}
 .book-modal-actions{margin-top:14px}
}


/* =========================================================
   ZANDIGROUP - BOOK / EXPERIENCE / CONTACT REFINEMENTS
========================================================= */
.book-cover{
    height:235px !important;
    padding:18px 18px 20px;
    background:linear-gradient(145deg,#f8fbfe,#eef4fa) !important;
}
.book-cover img{
    width:auto !important;
    height:88% !important;
    max-width:78% !important;
    object-fit:contain !important;
    object-position:center center !important;
    border-radius:8px;
    box-shadow:0 9px 22px rgba(15,31,58,.10);
}
.book-card:hover .book-cover img{transform:scale(1.02) !important;}
.book-specialty{
    top:12px !important;
    right:12px !important;
    padding:6px 10px !important;
    border-radius:10px !important;
    font-size:.60rem !important;
    line-height:1.4;
    box-shadow:0 6px 16px rgba(15,31,58,.10) !important;
    letter-spacing:0 !important;
}
.book-specialty-author{
    background:#2563eb !important;
    color:#fff !important;
}
.book-specialty-translation{
    background:#0f766e !important;
    color:#fff !important;
}
.book-body h3{font-weight:800 !important;}
.book-fa-title{font-weight:400 !important;color:#7a8493 !important;}
.book-role{display:none !important;}
.book-view-btn{
    direction:rtl;
    flex-direction:row-reverse;
    background:#f5f9fe !important;
    color:var(--blue) !important;
    border-color:#cfe1f5 !important;
}
.book-view-btn:hover{
    background:#edf6ff !important;
    color:var(--blue) !important;
    border-color:#b8d8f7 !important;
    box-shadow:0 8px 20px rgba(37,99,235,.10) !important;
}
.book-view-btn i{order:2;font-size:.78rem !important;}
.book-modal-cover{
    min-height:0 !important;
    height:330px !important;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}
.book-modal-cover img{
    width:auto !important;
    height:92% !important;
    max-width:88% !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center center !important;
    box-shadow:0 12px 28px rgba(15,31,58,.10);
    border-radius:8px;
}
.book-modal-role{display:none !important;}
.experience-card:after{display:none !important;}
.contact-message .form-grid label.full input[name="subject"]{
    width:100%;
}
.contact-message .form-footer .btn-primary{
    background:var(--blue) !important;
    color:#fff !important;
    box-shadow:0 10px 24px rgba(37,99,235,.16) !important;
}
.contact-message .form-footer .btn-primary:hover{
    background:#155fc7 !important;
    box-shadow:0 14px 28px rgba(37,99,235,.20) !important;
}
@media(max-width:820px){
    .book-cover{height:235px !important;}
}
@media(max-width:600px){
    .book-cover{height:215px !important;padding:16px;}
    .book-cover img{height:88% !important;max-width:76% !important;}
    .book-specialty{top:10px !important;right:10px !important;font-size:.56rem !important;padding:5px 8px !important;}
    .book-modal-cover{height:275px !important;}
}
