/* Urdu Comments Styler CSS */
.urdu-comment.pdms-jauhar {
    font-family: 'Jameel Noori Nastaleq', sans-serif;
    direction: rtl !important;
    unicode-bidi: embed;
    text-align: right !important;
    font-size: 22px;
    line-height: 1.8;
    letter-spacing: 0 !important;
    width: 100%;
    display: block;
}

/* Force RTL direction and right alignment for all elements inside Urdu comments */
.urdu-comment.pdms-jauhar * {
    direction: rtl !important;
    text-align: right !important;
}

/* Ensure proper RTL styling for comment meta */
.urdu-comment ~ .comment-metadata {
    direction: rtl;
    text-align: right;
}

/* Adjust line height and spacing for better Urdu readability */
.comment-content .urdu-comment {
    line-height: 2;
    word-spacing: 2px;
}

/* Style for the comment container when it contains Urdu */
.comment-body:has(.urdu-comment) {
    border-right: 2px solid #e6e6e6;
    padding-right: 15px;
    margin-bottom: 20px;
    direction: rtl;
}

/* Force RTL for the entire comment body when Urdu is detected */
.comment-body .urdu-comment,
.comment-body .urdu-comment p,
.comment-body .urdu-comment div,
.comment-body .urdu-comment span {
    direction: rtl !important;
    text-align: right !important;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .urdu-comment.pdms-jauhar {
        font-size: 20px;
    }
}

/* Override any theme styles that might interfere with RTL display */
.urdu-comment.pdms-jauhar {
    text-align: right !important;
    direction: rtl !important;
    unicode-bidi: embed !important;
}

/* Ensure all text inside Urdu comments is right-aligned */
.urdu-comment.pdms-jauhar,
.urdu-comment.pdms-jauhar p,
.urdu-comment.pdms-jauhar div,
.urdu-comment.pdms-jauhar span,
.urdu-comment.pdms-jauhar li,
.urdu-comment.pdms-jauhar ul,
.urdu-comment.pdms-jauhar ol {
    text-align: right !important;
    direction: rtl !important;
}