/* ════════════════════════════════════════════════════════
   author.css — نُقل من inline في author.php للتخزين بالكاش.
   ════════════════════════════════════════════════════════ */
/* ══ Layout ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .m-section--author  { order: 1; }}/* ══ Sidebar Box ═════════════════════════════════════════════════════ *//* ══ Search ══════════════════════════════════════════════════════════ *//* ══ Brands Quick List ═══════════════════════════════════════════════ *//* ══ Author Header ═══════════════════════════════════════════════════ */

.m-author-header {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 18px;
    direction: rtl;
}
.m-author-header .m-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f3f3f3;
    display: block;
}
.m-author-header .m-author-meta { flex: 1; min-width: 0; }
.m-author-header h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}
.m-author-header .m-author-bio {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── أيقونات السوشيال ميديا في هيدر صفحة الكاتب (E-E-A-T) — 2026-07-10 ── */
.m-author-page-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.m-author-header .m-author-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #666;
    transition: background-color .2s, color .2s;
}
.m-author-header .m-author-social-link:hover {
    color: #fff;
}
.m-author-header .m-author-social-facebook:hover { background: #1877f2; }
.m-author-header .m-author-social-twitter:hover  { background: #000000; }
.m-author-header .m-author-social-linkedin:hover { background: #0a66c2; }/* ══ Toolbar ═════════════════════════════════════════════════════════ */
.m-toolbar-count strong { color: #cc0000; }/* ══ Grid (نفس صفحة mobiles: صورة كاملة بدون قص) ══════════════════════ */

.m-archive-card {
    display: block;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.m-archive-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    transition: transform 0.3s;
}
.m-archive-brand {
    display: block;
    color: #cc0000;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}
.m-archive-type {
    display: inline-block;
    background: #f3f3f3;
    color: #888;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.m-archive-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}
.m-archive-price {
    font-size: 12px;
    color: #1976d2;
    font-weight: 700;
}
.m-archive-excerpt {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}/* ══ Empty / Pagination ══════════════════════════════════════════════ */

@media (min-width: 1900px) {
    .m-author-header h1 { font-size: 26px; }
    .m-author-header .m-author-bio { font-size: 15px; }}
