/* صفحه‌ی نویسنده (سبک پروفایل): کاور + آواتار + نام + کارت‌های آمار + نوشته‌ها */
.me-au{ padding-top:0; }
.me-au-hero{ margin:0; }
.me-au-cover{
  height:200px; background-size:cover; background-position:center; background-color:#1d2b64;
  border-radius:0 0 var(--me-radius) var(--me-radius);
}
@media (min-width:0){ .me-au-cover{ border-radius:var(--me-radius); } }
.me-au-cover.is-default{ background-image:linear-gradient(115deg, #17214f 0%, #405098 58%, #e8173b 150%); }
.me-au-id{ display:flex; flex-direction:column; align-items:center; margin-top:-54px; padding:0 20px; text-align:center; }
.me-au-avatar{ width:108px; height:108px; border-radius:50%; object-fit:cover; border:5px solid var(--me-surface); background:var(--me-img-bg); box-shadow:0 2px 12px rgba(0,0,0,.14); }
.me-au-name{ margin:14px 0 14px; font-size:22px; line-height:1.8; font-weight:800; text-align:center; text-wrap:balance; }
.me-au-btn{
  display:inline-flex; align-items:center; gap:8px; padding:8px 26px; border:1.5px solid var(--me-text); border-radius:999px;
  font-size:13px; font-weight:700; color:var(--me-text); text-decoration:none; transition:all .15s;
}
.me-au-btn:hover{ background:var(--me-text); color:var(--me-surface); }
.me-au-bio{ max-width:680px; margin:18px auto 0; font-size:14px; line-height:2.15; color:var(--me-muted); text-align:center; text-wrap:pretty; }

.me-au-sec{ margin-top:52px; }
.me-au-stats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:14px; margin-top:8px; }
.me-au-stat{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; text-align:center;
  min-height:150px; padding:22px 12px; background:var(--me-surface); border-radius:10px; box-shadow:0 1px 8px rgba(0,0,0,.09);
}
.me-au-stat-ic svg{ width:30px; height:30px; display:block; }
.me-au-stat b{ font-size:19px; line-height:1.6; font-weight:800; }
.me-au-stat-lb{ font-size:12px; line-height:1.8; color:var(--me-muted); }
.me-au-stat.is-tenure .me-au-stat-ic{ color:#8e44ad; } .me-au-stat.is-spec .me-au-stat-ic{ color:#f39c12; }
.me-au-stat.is-posts  .me-au-stat-ic{ color:#2e6bd6; } .me-au-stat.is-words .me-au-stat-ic{ color:#2e6bd6; }
.me-au-stat.is-comments .me-au-stat-ic{ color:#f1c40f; } .me-au-stat.is-likes .me-au-stat-ic{ color:#8e44ad; }
.me-au-stat.is-views  .me-au-stat-ic{ color:#27ae60; }

.me-au-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; margin-top:8px; }
.me-au-card{ display:flex; flex-direction:column; background:var(--me-surface); border-radius:10px; box-shadow:0 1px 10px rgba(0,0,0,.1); overflow:hidden; min-width:0; }
.me-au-card-img{ display:block; }
.me-au-img{ width:100%; aspect-ratio:16/9; border-radius:0; }
.me-au-card-body{ display:flex; flex-direction:column; gap:12px; padding:14px 16px 16px; flex:1; }
.me-au-card-title{ margin:0; font-size:14px; line-height:1.95; font-weight:800; text-align:justify; text-wrap:pretty; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.me-au-card-title a{ color:var(--me-text); text-decoration:none; } .me-au-card-title a:hover{ color:var(--me-primary); }
.me-au-card .me-feed-meta{ margin-top:auto; }

@media (max-width:1100px){ .me-au-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:782px){
  .me-au-cover{ height:150px; }
  .me-au-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .me-au-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
  .me-au-card-body{ padding:12px; } .me-au-card-title{ font-size:13px; }
}
@media (max-width:480px){ .me-au-grid{ grid-template-columns:minmax(0,1fr); } }
