/* =========================================================
   VP Multi Author Boxes - Clean layout
   ========================================================= */

   .vpma-author-boxes {
    margin-top: 30px !important;
    margin-bottom: 10px !important;
    clear: both !important;
}

.vpma-author-box-wrap {
    position: relative !important;
    padding: 24px 24px 20px !important;
    margin: 0 0 22px 0 !important;
    border: 1px solid #e6e6e6 !important;
    background: #fff !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    direction: rtl !important;
    text-align: right !important;
    min-height: 145px !important;
}

/* مسافة بين البوكسات */
.vpma-author-box-wrap + .vpma-author-box-wrap {
    margin-top: 18px !important;
}

/* الصورة */
.vpma-author-avatar {
    position: absolute !important;
    right: 24px !important;
    top: 24px !important;
    width: 96px !important;
    height: 96px !important;
    display: block !important;
}

.vpma-author-avatar img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    background: #f2f2f2 !important;
}

/* المحتوى */
.vpma-author-desc {
    margin-right: 120px !important;
    min-height: 96px !important;
}

/* الدور */
.vpma-author-role {
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #8a8a8a !important;
    margin: 0 0 6px 0 !important;
}

/* الاسم */
.vpma-author-name {
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
}

.vpma-author-name a {
    color: #222 !important;
    text-decoration: none !important;
}

.vpma-author-name a:hover {
    text-decoration: underline !important;
}

/* الوصف */
.vpma-author-description {
    font-size: 15px !important;
    line-height: 1.95 !important;
    color: #444 !important;
    margin: 0 !important;
    word-break: break-word !important;
}

/* السوشيال */
.vpma-author-socials {
    margin-top: 12px !important;
}

.vpma-author-socials a {
    color: #222 !important;
    text-decoration: none !important;
    margin-left: 10px !important;
    font-size: 14px !important;
}

.vpma-author-socials a:hover {
    opacity: 0.75 !important;
}

/* موبايل */
@media (max-width: 767px) {
    .vpma-author-box-wrap {
        padding: 20px !important;
        text-align: center !important;
        min-height: 0 !important;
    }

    .vpma-author-avatar {
        position: static !important;
        width: 86px !important;
        height: 86px !important;
        margin: 0 auto 14px auto !important;
    }

    .vpma-author-avatar img {
        width: 86px !important;
        height: 86px !important;
    }

    .vpma-author-desc {
        margin-right: 0 !important;
        min-height: 0 !important;
        text-align: center !important;
    }

    .vpma-author-name {
        font-size: 18px !important;
    }

    .vpma-author-description {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }
}

/* English / LTR override */
html[lang^="en"] .vpma-author-box-wrap {
    direction: ltr !important;
    text-align: left !important;
}

html[lang^="en"] .vpma-author-avatar {
    left: 24px !important;
    right: auto !important;
}

html[lang^="en"] .vpma-author-desc {
    margin-left: 120px !important;
    margin-right: 0 !important;
}

html[lang^="en"] .vpma-author-role,
html[lang^="en"] .vpma-author-name,
html[lang^="en"] .vpma-author-description {
    text-align: left !important;
}

html[lang^="en"] .vpma-author-socials {
    text-align: left !important;
}

html[lang^="en"] .vpma-author-socials a {
    margin-right: 10px !important;
    margin-left: 0 !important;
}