/* دور ۲۰ (تسک ۱۰) — هدر صفحات زیردسته‌ی «آموزش» و «انجمن» دقیقاً به سبک کادر صفحه‌ی «مقالات»:
   کارت کاغذی، نوار رنگی بالا، آیکون سه‌بعدی شناور، درخشش ملایم و آمار به‌صورت قرص. سبک و بدون تصویر اضافه. */
.h20{--c:#1f4e8c;--h20-gold:#b8902f;--h20-ink:#1b2a41;--h20-sub:#5b6474;--h20-line:rgba(27,42,65,.12);
  position:relative;overflow:hidden;isolation:isolate;display:flex;gap:22px;align-items:flex-start;flex-wrap:nowrap;padding:30px 32px;border-radius:28px;
  background:#fffdf8;border:1px solid var(--h20-line);box-shadow:0 1px 0 rgba(27,42,65,.04),0 14px 40px -18px rgba(27,42,65,.28);margin-bottom:22px;color:var(--h20-ink);
  -webkit-backdrop-filter:none;backdrop-filter:none}
.h20::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--c),var(--h20-gold));z-index:1}
.h20::after{content:"";position:absolute;z-index:-1;inset-inline-end:-70px;top:-90px;width:300px;height:300px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,color-mix(in srgb,var(--c) 20%,transparent),transparent 68%);animation:h20glow 9s ease-in-out infinite alternate}
@keyframes h20glow{from{transform:translate(0,0) scale(1);opacity:.75}to{transform:translate(-26px,18px) scale(1.2);opacity:1}}
.h20>div{flex:1;min-width:0}
.h20 .h20-ico{flex:0 0 84px;height:84px;border-radius:24px;display:flex;align-items:center;justify-content:center;position:relative;
  background:linear-gradient(145deg,#fff,color-mix(in srgb,var(--c) 10%,#fff));border:1px solid color-mix(in srgb,var(--c) 25%,#fff);
  box-shadow:0 14px 26px -16px color-mix(in srgb,var(--c) 80%,#000),inset 0 1px 0 #fff;animation:h20float 5s ease-in-out infinite}
.h20 .h20-ico .ic3{width:64px;height:64px;filter:drop-shadow(0 6px 8px rgba(0,0,0,.18))}
.h20 .h20-ico i{font-size:1.9rem;color:var(--c)}
@keyframes h20float{0%,100%{transform:translateY(0) rotate(-1.5deg)}50%{transform:translateY(-6px) rotate(1.5deg)}}
.h20 .h20-kicker{display:inline-block;font:700 .72rem/1 'Inter','Vazirmatn',sans-serif;letter-spacing:.22em;color:var(--h20-gold);margin-bottom:10px;text-transform:uppercase}
.h20 h1{margin:0;font:900 clamp(1.6rem,3.6vw,2.4rem)/1.4 'Vazirmatn',sans-serif;color:var(--h20-ink)}
.h20 .h20-lead{margin:10px 0 0;color:var(--h20-sub);line-height:2.05;max-width:760px;font-size:1rem}
.h20 .h20-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.h20 .h20-stats span{padding:6px 14px;border-radius:999px;background:color-mix(in srgb,var(--c) 8%,#fff);border:1px solid color-mix(in srgb,var(--c) 18%,#fff);font-size:.82rem;color:var(--h20-sub)}
.h20 .h20-stats b{color:var(--c);font-size:1rem;margin-inline-end:4px}
.h20 .h20-act{align-self:center;display:flex;flex-direction:column;gap:10px;min-width:230px}
.h20 .h20-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:.75rem 1.4rem;border-radius:999px;background:var(--c);color:#fff;border:1px solid var(--c);
  font:700 .88rem 'Vazirmatn',sans-serif;cursor:pointer;text-decoration:none;transition:transform .2s,box-shadow .2s;white-space:nowrap}
.h20 .h20-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px -12px color-mix(in srgb,var(--c) 80%,#000)}
.h20 .h20-btn:focus-visible{outline:2px solid var(--h20-gold);outline-offset:3px}
/* حالت قدیمی صفحه‌ی آموزش (ah-head) / انجمن (fr16-head) را کاملاً خنثی می‌کند */
.ah-head.h20,.fr16-head.h20{background:#fffdf8;border:1px solid var(--h20-line);padding:30px 32px;border-radius:28px;flex-wrap:nowrap}
.ah-head.h20 h1,.fr16-head.h20 h1{color:var(--h20-ink)}
@media (max-width:760px){
  .h20,.ah-head.h20,.fr16-head.h20{flex-direction:column;padding:22px 18px;gap:14px;border-radius:22px}
  .h20 .h20-ico{flex:none;width:68px;height:68px;border-radius:20px}.h20 .h20-ico .ic3{width:50px;height:50px}
  .h20 .h20-act{width:100%;min-width:0}
}
@media (prefers-reduced-motion:reduce){.h20::after,.h20 .h20-ico{animation:none}}
.h20>.h20-act,.fr16-head.h20>.h20-act{flex:0 0 auto;min-width:210px;width:auto}
@media (max-width:760px){.h20>.h20-act,.fr16-head.h20>.h20-act{width:100%;min-width:0}}
