/* ════════════════════════════════════════════════════════════════
   about.css — درباره انجمن — بارگذاری در main و admin
   ════════════════════════════════════════════════════════════════ */

/* ─── سربرگ ─── */
.about-hero{position:relative;overflow:hidden;border-radius:var(--radius-lg);
     background:linear-gradient(135deg,#4f46e5,#7c3aed 50%,#a855f7);
     padding:52px 40px;color:#fff;margin-bottom:28px}
.about-hero::before{content:'';position:absolute;inset:0;
     background:radial-gradient(ellipse 50% 80% at 90% 20%,rgba(255,255,255,.08),transparent)}
.ah-decor{position:absolute;border-radius:50%;pointer-events:none}
.ah-d1{width:220px;height:220px;top:-80px;left:-60px;background:rgba(255,255,255,.06)}
.ah-d2{width:160px;height:160px;bottom:-60px;right:30%;background:rgba(255,255,255,.04)}

.ah-content{position:relative;display:flex;align-items:center;gap:40px;flex-wrap:wrap;z-index:1}
.ah-text{flex:1;min-width:280px}
.ah-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.15);
     border:1px solid rgba(255,255,255,.25);border-radius:99px;padding:5px 16px;
     font-size:12px;font-weight:800;margin-bottom:14px}
.ah-badge .esa-ico{width:15px;height:15px}
.ah-text h1{font-size:28px;margin-bottom:6px;line-height:1.6}
.ah-sub{font-size:14px;opacity:.85;margin-bottom:16px}
.ah-intro{font-size:13.5px;line-height:2.2;opacity:.95;max-width:560px}

.ah-photo{position:relative;flex:0 0 300px;max-width:100%}
.ah-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);
     border:4px solid rgba(255,255,255,.2);box-shadow:0 16px 48px -12px rgba(0,0,0,.4)}
.ah-photo-label{position:absolute;bottom:12px;right:12px;background:rgba(0,0,0,.55);
     color:#fff;font-size:10.5px;padding:3px 12px;border-radius:99px;backdrop-filter:blur(4px)}

/* ─── اعضای انجمن ─── */
.about-team{margin-top:8px}
.team-title{display:flex;align-items:center;gap:14px;justify-content:center;
     font-size:18px;margin-bottom:24px;color:var(--text)}
.team-line{flex:1;max-width:80px;height:2px;background:linear-gradient(90deg,transparent,var(--primary),transparent)}

.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}

.team-card{background:var(--surface);border:1px solid var(--border);
     border-radius:var(--radius-lg);padding:28px 20px;text-align:center;
     box-shadow:var(--shadow);transition:border-color .15s,transform .15s;
     display:flex;flex-direction:column;align-items:center;gap:8px}
.team-card:hover{border-color:var(--primary);transform:translateY(-4px)}

.tm-photo{width:100px;height:100px;border-radius:50%;overflow:hidden;
     border:3px solid var(--primary-soft);background:var(--primary-soft);
     display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.tm-photo img{width:100%;height:100%;object-fit:cover}
.tm-initial{font-size:36px;font-weight:800;color:var(--primary-strong)}

.tm-name{font-size:15px;line-height:1.7;margin:0}
.tm-position{display:inline-block;background:var(--primary-soft);color:var(--primary-strong);
     border-radius:99px;padding:3px 16px;font-size:12px;font-weight:800}
.tm-bio{font-size:12.5px;color:var(--text-muted);line-height:1.9;margin:6px 0 0;
     border-top:1px dashed var(--border);padding-top:10px;width:100%}

/* ─── واکنش‌گرایی ─── */
@media(max-width:760px){
    .about-hero{padding:36px 24px}
    .ah-content{flex-direction:column;text-align:center;gap:24px}
    .ah-text{min-width:100%}
    .ah-intro{margin-inline:auto}
    .ah-photo{flex:none;width:min(100%,280px)}
    .ah-text h1{font-size:23px}
    .team-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
    .tm-photo{width:80px;height:80px}
    .tm-initial{font-size:28px}
    .tm-name{font-size:13.5px}
    .tm-bio{font-size:11.5px}
}
@media(max-width:420px){
    .team-grid{grid-template-columns:1fr}
    .team-card{padding:22px 16px}
}