.mrj3y-single-post {
    background: #fff;
    padding: 40px;
    margin: 0 auto 5px;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(12, 79, 90, 0.05);
    border-top: 3px solid #0c4f5a;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

/* --- Cyber-Clean 2026 Layout (1200px Centered) --- */
.mrj3y-tags-container,

.mrj3y-inline-related-news,
.mrj3y-comments-container,
.mrj3y-full-width-section,
.mrj3y-category-posts-grid,
.mrj3y-important-posts-single {
    max-width: 1200px !important;
    margin: 5px auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    clear: both;
    background: #ffffff !important;
    border: 1px solid rgba(12, 79, 90, 0.05) !important;
    border-top: 3px solid #0c4f5a !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02) !important;
    transition: none !important; /* Remove hover motion */
}

/* Unified 2026 Accents */
.mrj3y-tags-container::before,
.mrj3y-comments-container::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: #0c4f5a;
    border-radius: 50%;
    opacity: 0.3;
}

.mrj3y-breadcrumb {
    margin: 0 0 20px 0;
    padding: 10px 16px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(236, 253, 250, 0.65) 0%, rgba(248, 250, 252, 0.98) 55%, rgba(255, 255, 255, 1) 100%);
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(12, 79, 90, 0.06), 0 1px 0 rgba(255, 255, 255, 0.85) inset
}

.mrj3y-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0
}

.mrj3y-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    background: transparent;
    border: none
}

.mrj3y-breadcrumb-item:hover {
    color: #0c4f5a
}

.mrj3y-breadcrumb-item.mrj3y-breadcrumb-home i {
    font-size: 15px;
    color: #0c4f5a;
    opacity: 0.85
}

.mrj3y-breadcrumb-item.mrj3y-breadcrumb-home:hover i {
    color: #0c4f5a
}

.mrj3y-breadcrumb-item.mrj3y-breadcrumb-home .mrj3y-breadcrumb-home-text {
    font-size: 14px;
}

.mrj3y-breadcrumb-item i {
    font-size: 12px;
    color: rgba(12, 79, 90, 0.45)
}

.mrj3y-breadcrumb-item:hover i {
    color: #0c4f5a
}

.mrj3y-breadcrumb-separator {
    color: rgba(12, 79, 90, 0.28);
    font-size: 11px;
    padding: 0 2px;
    display: inline-flex;
    align-items: center
}

.mrj3y-breadcrumb-separator i {
    font-size: 10px;
    opacity: 0.8
}

.mrj3y-breadcrumb-current {
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    background: transparent;
    border: none;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* Ensure header and title are on top of any overlaying elements */
.mrj3y-single-header {
    position: relative;
    z-index: 5;
    margin-bottom: 0 !important; /* Removed space */
}

.mrj3y-single-title {
    position: relative;
    z-index: 6;
    font-size: 46px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 22px 0;
    padding: 20px 22px 20px 22px;
    line-height: 1.38;
    text-align: right;
    direction: rtl;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 249, 1) 100%);
    border: 1px solid rgba(12, 79, 90, 0.14);
    border-right: 5px solid rgba(12, 79, 90, 0.85);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 12px rgba(12, 79, 90, 0.07), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
}

.mrj3y-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    margin: 0 auto 0 auto !important; /* No bottom margin */
    max-width: 950px; /* Matched with image width for seamless connection */
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(236, 253, 250, 0.75) 0%, rgba(241, 245, 249, 0.92) 45%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid rgba(12, 79, 90, 0.18);
    border-bottom: 4px solid #0c4f5a !important; /* The distinctive separator line */
    border-radius: 12px 12px 0 0;
    position: relative;
    border-right: 4px solid #0c4f5a;
    box-shadow: 0 4px 18px rgba(12, 79, 90, 0.07);
}

.mrj3y-meta-group-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mrj3y-meta-group-dates {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid rgba(12, 79, 90, 0.1);
}

.mrj3y-single-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.mrj3y-single-meta-item svg {
    color: #0c4f5a;
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

.mrj3y-meta-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mrj3y-author-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b; /* لون رمادي احترافي هادئ */
    padding: 1px 7px;
    border: 1px solid rgba(12, 79, 90, 0.2);
    border-radius: 4px;
    display: inline-block;
    line-height: 1.2;
    margin-right: 3px;
    background: transparent;
}

@media (max-width: 768px) {
    /* Set the container to provide the 5px gap from screen edges */
    .mrj3y-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Final Comprehensive 5px Mobile Spacing Policy */
    .mrj3y-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
        max-width: 100% !important;
    }

    /* All major containers and blocks take 100% width and 0 margins */
    .mrj3y-single-post,
    .mrj3y-tags-container,

    .mrj3y-inline-related-news,
    .mrj3y-comments-container,
    .mrj3y-full-width-section,
    .mrj3y-category-posts-grid,
    .mrj3y-important-posts-single,
    /* ad class removed */

    .mrj3y-article-google-news-bar,
    .mrj3y-follow-inline-row,
    .mrj3y-google-news-wrap,
    .mrj3y-latest-category-posts,
    .mrj3y-live-full-container,
    .mrj3y-related-posts,
    .mrj3y-comments-section,
    .mrj3y-auto-loaded-post,
    .mrj3y-single-post-meta,
    .mrj3y-breadcrumb,
    .mrj3y-single-title {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
    }

/* removed */



    /* Standardize internal vertical spacing and remove horizontal padding */
    .mrj3y-single-post {
        padding: 15px 0 !important;
        margin-top: -50px !important; /* ارفع الصفحة لفوق 50 بكسل */
    }

    .mrj3y-breadcrumb {
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .mrj3y-single-title {
        font-size: 28px !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        margin-bottom: 15px !important;
    }

    .mrj3y-single-post-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px 12px !important;
        background: #f8fafc !important;
        border: 1px solid #edf2f7 !important;
        border-right: none !important;
        border-top: 3px solid #0c4f5a !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important;
    }

    .mrj3y-meta-group-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mrj3y-meta-group-dates {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        background: rgba(12, 79, 90, 0.04);
        padding: 10px;
        border-radius: 8px;
        border: 1px dashed rgba(12, 79, 90, 0.15);
    }

    .mrj3y-single-meta-item {
        font-size: 13px;
        gap: 6px;
    }

    .mrj3y-single-content {
        padding: 15px 0 !important;
    }

    .mrj3y-single-image-wrapper {
        margin: 0 0 10px 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }

    /* Blocks specific horizontal padding removal */
    .mrj3y-tags-container,

    .mrj3y-inline-related-news,
    .mrj3y-comments-container,
    .mrj3y-important-posts-single,
    .mrj3y-article-google-news-bar,
    .mrj3y-follow-inline-row,
    .mrj3y-google-news-wrap,
    .mrj3y-latest-category-posts,
    .mrj3y-live-full-container,
    .mrj3y-category-grid-section-title {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Content elements internal spacing reset */
    .mrj3y-single-content p, 
    .mrj3y-single-content h2, 
    .mrj3y-single-content h3, 
    .mrj3y-single-content h4,

    .mrj3y-single-content blockquote,
    .mrj3y-single-content figure,
    .mrj3y-single-content img,
    .mrj3y-single-content iframe,
    .mrj3y-single-content table {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Lists and blockquotes need special care for markers */

        padding-right: 20px !important; /* Keep some space for markers, but relative to the 5px container */
    }
}

/* --- Admin Bar Optimization (Making things more compact for logged-in users) --- */
.admin-bar .mrj3y-single-title {
    font-size: 38px;
    padding: 15px 20px;
    margin-bottom: 15px;
}

.admin-bar .mrj3y-single-post-meta {
    padding: 10px 18px;
    margin-bottom: 18px;
    gap: 15px;
}

.admin-bar .mrj3y-single-image-wrapper {
    max-height: 450px;
    overflow: hidden;
}

.admin-bar .mrj3y-single-image-wrapper img {
    object-position: center 25%;
    /* Shift image slightly to keep focal point if cropped */
}

.admin-bar .mrj3y-author-box {
    margin: 30px 0;
}

.admin-bar .mrj3y-author-box-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}


.mrj3y-single-post-meta::before {
    display: none
}

.mrj3y-single-post-meta::after {
    display: none
}

.mrj3y-single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 14px
}

.mrj3y-single-meta-item .mrj3y-icon {
    color: #0c4f5a;
    flex-shrink: 0;
    opacity: 1
}

.mrj3y-meta-link,
.mrj3y-meta-text {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none
}

.mrj3y-meta-link:hover {
    color: #0c4f5a
}

.mrj3y-meta-categories {
    flex-wrap: wrap
}

.mrj3y-categories-nested {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-right: 6px
}

.mrj3y-category-nested {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(12, 79, 90, 0.12);
    border: 1px solid rgba(12, 79, 90, 0.28);
    border-radius: 20px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none
}

.mrj3y-category-nested:hover {
    background: rgba(12, 79, 90, 0.92);
    border-color: rgba(12, 79, 90, 0.95);
    color: #fff
}

/* ============================================================
   Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„Ø¨Ø§Ø±Ø²Ø© â€” Ù…Ø³Ø§Ø­Ø© Ø¸Ù‡ÙˆØ± Ù…ÙˆØ­Ù‘Ø¯Ø© Ù„Ø¬Ù…ÙŠØ¹ Ø§Ù„Ù…Ù‚Ø§Ù„Ø§Øª: Ø¥Ø·Ø§Ø± 16:9 Ø¨Ø¹Ø±Ø¶ Ø§Ù„Ù…Ø­ØªÙˆÙ‰Ø›
   object-fit: cover ÙŠÙ…Ù„Ø£ Ø§Ù„Ø¥Ø·Ø§Ø± Ø¨Ø§Ù„ÙƒØ§Ù…Ù„ Ù…Ù‡Ù…Ø§ ÙƒØ§Ù† Ù…Ù‚Ø§Ø³ Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„Ù…Ø±ÙÙˆØ¹Ø© (Ù‚Ø¯ ÙŠÙÙ‚Øµ Ø·Ø±Ù Ø®ÙÙŠÙ Ù„Ù„Ù…Ø­Ø§ÙØ¸Ø© Ø¹Ù„Ù‰ Ø§Ù„Ø´ÙƒÙ„).
   ============================================================ */
.mrj3y-imp-media {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 12px 12px 0 0;
}

.mrj3y-imp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.mrj3y-imp-card:hover .mrj3y-imp-img {
    transform: scale(1.1);
}

.mrj3y-imp-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    z-index: 2;
}

.mrj3y-imp-card:hover .mrj3y-imp-media::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.mrj3y-single-image-wrapper {
    position: relative;
    max-width: 950px;
    margin: 0 auto 25px auto; /* No top margin to touch meta */
    padding: 12px;
    background: #0c4f5a;
    background: radial-gradient(circle at 50% 50%, #1a3a3f 0%, #0c4f5a 50%, #1a3a3f 100%);
    background-size: 200% 200%;
    animation: mrj3y-mesh-bg 15s ease infinite;
    border-radius: 0 0 12px 12px; /* Flat top to connect with meta */
    border: 3px solid #0c4f5a;
    border-top: none; /* Separator comes from meta-bottom */
    box-shadow: 0 15px 40px rgba(12, 79, 90, 0.15);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes mrj3y-mesh-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mrj3y-single-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0V0zm1 1h1v1H1V1z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}


.mrj3y-single-image {
    width: 100% !important;
    height: auto !important;
    max-height: 550px;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4); /* Distinctive dark background to eliminate white space */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.mrj3y-single-image-wrapper:hover {
    box-shadow: 0 25px 60px rgba(12, 79, 90, 0.25);
}

/* ——— Live Indicator (Badge) ——— */
.mrj3y-live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 38, 38, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    text-transform: uppercase;
}

.mrj3y-live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
    animation: mrj3y-pulse-white 2s infinite;
}

@keyframes mrj3y-pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ——— Live Embed Container ——— */
.mrj3y-live-embed-container {
    margin: 15px 0 25px 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mrj3y-live-embed-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: none;
}

/* ——— Live Full Container ——— */
.mrj3y-live-full-container {
    background: #fff;
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.1);
}

.mrj3y-live-section-title {
    font-size: 20px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.mrj3y-live-dot-small {
    width: 10px;
    height: 10px;
    background: #dc2626;
    border-radius: 50%;
    animation: mrj3y-pulse-red 1.5s infinite;
}

@keyframes mrj3y-pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

.mrj3y-live-text-content {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    padding: 15px;
    background: #fffdf5;
    border-radius: 12px;
    border: 1px dashed #ffc107;
}

/* ØªØ£ÙƒØ¯ Ø£Ù† ØªØ§Ø¬ Ø§Ù„ÙØ¦Ø© ÙÙˆÙ‚ Ø§Ù„Ù€ overlay */
.mrj3y-single-image-category {
    z-index: 3
}

.mrj3y-single-image-category {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2
}

.mrj3y-single-image-category-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.82);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.mrj3y-single-image-category-link:hover {
    background: rgba(14, 127, 134, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3)
}

/* Dark Mode */
body.mrj3y-dark-mode .mrj3y-single-image-wrapper {
    background: linear-gradient(145deg, #2a2a2a 0%, #1f1f1f 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    border-right-color: rgba(14, 127, 134, 0.7)
}

body.mrj3y-dark-mode .mrj3y-single-image-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-right-color: rgba(14, 127, 134, 1)
}

body.mrj3y-dark-mode .mrj3y-single-image-category-link {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.15)
}

body.mrj3y-dark-mode .mrj3y-single-image-category-link:hover {
    background: rgba(14, 127, 134, 0.85)
}

/* ØªÙ‚Ù„ÙŠÙ„ Ø§Ù„Ø­Ø±ÙƒØ© Ù„Ù…Ù† ÙŠÙØ¶Ù„ Ø°Ù„Ùƒ (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    .mrj3y-single-image-wrapper {
        transition: none !important;
    }
}

.mrj3y-single-image-alt {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%
}

.mrj3y-single-image-wrapper:hover .mrj3y-single-image-alt {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    max-height: none
}

.mrj3y-single-content {
    color: #333;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    padding: 25px 15px;
    background: transparent
}

.mrj3y-single-content p {
    margin-bottom: 20px
}

.mrj3y-single-content a {
    color: #0c4f5a;
    text-decoration: underline;
    font-weight: 600;
}

.mrj3y-single-content a:hover {
    color: #08373e;
    text-decoration: none;
}



.mrj3y-single-content h2 {
    color: #212121;
    font-size: 32px;
    font-weight: 800;
    margin: 40px 0 25px 0;
    padding: 18px 25px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, rgba(14, 127, 134, 0.04) 100%);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-left: 6px solid rgba(14, 127, 134, 0.8);
    border-right: 3px solid rgba(14, 127, 134, 0.2);
    border-radius: 0;
    position: relative;
    line-height: 1.4;
    box-shadow: 0 3px 8px rgba(14, 127, 134, 0.1);
    overflow: hidden
}

.mrj3y-single-content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(14, 127, 134, 0.6), rgba(255, 87, 34, 0.7), rgba(14, 127, 134, 0.6), transparent)
}

.mrj3y-single-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -6px;
    right: -3px;
    height: 2px;
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.3), transparent)
}

.mrj3y-single-content h3 {
    color: #212121;
    font-size: 27px;
    font-weight: 700;
    margin: 35px 0 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.06) 0%, rgba(14, 127, 134, 0.03) 100%);
    border: 2px solid rgba(14, 127, 134, 0.25);
    border-left: 5px solid rgba(14, 127, 134, 0.6);
    border-right: 2px solid rgba(14, 127, 134, 0.15);
    border-radius: 0;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 2px 6px rgba(14, 127, 134, 0.08)
}

.mrj3y-single-content h3::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -5px;
    right: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14, 127, 134, 0.4), rgba(255, 87, 34, 0.5), rgba(14, 127, 134, 0.4), transparent)
}

.mrj3y-single-content h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -5px;
    right: -2px;
    height: 1px;
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.2), transparent)
}

.mrj3y-single-content h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 28px 0 18px 0;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.04) 0%, rgba(14, 127, 134, 0.02) 100%);
    border: 1px solid rgba(14, 127, 134, 0.2);
    border-left: 4px solid rgba(14, 127, 134, 0.5);
    border-right: 1px solid rgba(14, 127, 134, 0.1);
    border-radius: 0;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 1px 4px rgba(14, 127, 134, 0.06)
}

.mrj3y-single-content h4::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -4px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(14, 127, 134, 0.3), rgba(255, 87, 34, 0.4), rgba(14, 127, 134, 0.3), transparent)
}

.mrj3y-single-content h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -4px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.15), transparent)
}

.mrj3y-tags-container {
    padding: 20px !important;
    position: relative;
    overflow: hidden;
}

.mrj3y-tags-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 127, 134, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.mrj3y-tags-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}

.mrj3y-tags-title svg {
    color: #0e7f86;
    font-size: 1.1em;
}

.mrj3y-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.mrj3y-tag-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    background: #ffffff;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid rgba(14, 127, 134, 0.12);
    border-right: 4px solid #0e7f86;
    /* لمسة بصرية ثابتة ومميزة */
    border-radius: 4px 10px 10px 4px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
}

.mrj3y-tag-item::before {
    content: "#";
    margin-left: 5px;
    color: #0e7f86;
    opacity: 0.5;
    font-weight: 400;
}

.mrj3y-tag-item:hover {
    color: #ffffff !important;
    background: #0e7f86 !important;
    border-color: #0e7f86 !important;
}


.mrj3y-tag-item:hover::before {
    color: #ffffff;
    opacity: 1;
}

/* Dark Mode Support for Tags */
.mrj3y-dark-mode .mrj3y-tags-container {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: rgba(125, 211, 252, 0.15);
    border-right-color: #5eead4;
}

.mrj3y-dark-mode .mrj3y-tags-title {
    color: #f1f5f9;
}

.mrj3y-dark-mode .mrj3y-tags-title svg {
    color: #5eead4;
}

.mrj3y-dark-mode .mrj3y-tag-item {
    background: rgba(30, 41, 59, 0.8);
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.08);
    border-right: 4px solid #5eead4;
}

.mrj3y-dark-mode .mrj3y-tag-item::before {
    color: #5eead4;
}

.mrj3y-dark-mode .mrj3y-tag-item:hover {
    background: #5eead4 !important;
    color: #0f172a !important;
}

.mrj3y-dark-mode .mrj3y-tag-item:hover::before {
    color: #0f172a;
}
}

/* Mobile Tag Styles Overrides - Removed to prevent conflict with style.css */
/* Handled by style.css for better control */
@media (max-width: 768px) {

    .mrj3y-tags-container,
    .mrj3y-tags-list,
    .mrj3y-tag-item {
        /* Legacy styles removed for minimalist design */
    }
}

.mrj3y-single-content a {
    color: #0e7f86;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(14, 127, 134, 0.3);
    padding-bottom: 3px;
    position: relative;
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.05) 0%, transparent 100%);
    border-radius: 0;
    transition: none
}

/* ============================================================
   Article Content Lists (Premium & Clean)
   ============================================================ */
.mrj3y-single-content ul,
.mrj3y-single-content ol {
    margin: 25px 0;
    padding: 0;
    list-style: none;
    direction: rtl;
}

.mrj3y-single-content ul li,
.mrj3y-single-content ol li {
    position: relative;
    padding: 10px 45px 10px 10px; /* Space on the right for absolute marker */
    margin-bottom: 5px;
    line-height: 1.8;
    color: #1e293b;
    border-bottom: 1px solid rgba(12, 79, 90, 0.04);
    transition: all 0.2s ease;
}

.mrj3y-single-content ul li:last-child,
.mrj3y-single-content ol li:last-child {
    border-bottom: none;
}

.mrj3y-single-content ul li:hover,
.mrj3y-single-content ol li:hover {
    background: rgba(12, 79, 90, 0.02);
    padding-right: 50px; /* Slight expansion on hover for interaction */
}

/* Bullets (ul) */
.mrj3y-single-content ul li::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 18px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #0c4f5a 0%, #0e7f86 100%);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(12, 79, 90, 0.2);
    transition: all 0.2s ease;
}

.mrj3y-single-content ul li:hover::before {
    transform: rotate(45deg);
    background: #0f766e;
}

/* Numbering (ol) */
.mrj3y-single-content ol {
    counter-reset: mrj3y-content-counter;
}

.mrj3y-single-content ol li {
    counter-increment: mrj3y-content-counter;
}

.mrj3y-single-content ol li::before {
    content: counter(mrj3y-content-counter);
    position: absolute;
    right: 8px;
    top: 12px;
    width: 26px;
    height: 26px;
    background: #0c4f5a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 3px 8px rgba(12, 79, 90, 0.15);
}

.mrj3y-single-content ol li:hover::before {
    background: #0f766e;
    transform: scale(1.1);
}

/* Nested Lists */
.mrj3y-single-content ul ul,
.mrj3y-single-content ol ol,
.mrj3y-single-content ul ol,
.mrj3y-single-content ol ul {
    margin: 15px 35px 15px 0;
    border-right: 2px solid rgba(12, 79, 90, 0.08);
    padding-right: 10px;
}

.mrj3y-single-content ul ul li::before {
    width: 6px;
    height: 6px;
    background: #64748b;
    top: 20px;
}

/* Dark Mode */
body.mrj3y-dark-mode .mrj3y-single-content ul li,
body.mrj3y-dark-mode .mrj3y-single-content ol li {
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.mrj3y-dark-mode .mrj3y-single-content ul li:hover,
body.mrj3y-dark-mode .mrj3y-single-content ol li:hover {
    background: rgba(255, 255, 255, 0.02);
}

body.mrj3y-dark-mode .mrj3y-single-content ol li::before {
    background: #0f766e;
    color: #fff;
}

.mrj3y-single-content a:hover {
    color: #0b4f4a;
    border-bottom-color: rgba(14, 127, 134, 0.6);
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.08) 0%, rgba(255, 87, 34, 0.04) 100%)
}

/* conficting styles removed */


.mrj3y-single-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: rgba(139, 0, 0, 0.05);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-right: 5px solid rgba(14, 127, 134, 0.7);
    border-left: 2px solid rgba(14, 127, 134, 0.3);
    border-radius: 0;
    position: relative;
    direction: rtl;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    font-size: 18px
}

.mrj3y-single-content blockquote::before {
    content: '"';
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 60px;
    line-height: 1;
    color: rgba(14, 127, 134, 0.3);
    font-family: Georgia, serif;
    font-weight: bold
}

.mrj3y-single-content blockquote::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 127, 134, 0.7), rgba(14, 127, 134, 0.5), rgba(14, 127, 134, 0.7))
}

.mrj3y-single-content blockquote p {
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1
}

.mrj3y-single-content blockquote p:last-child {
    margin-bottom: 0
}

.mrj3y-single-content blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-style: normal;
    color: rgba(14, 127, 134, 0.8);
    font-weight: 600;
    text-align: left;
    direction: ltr
}

.mrj3y-single-content blockquote cite::before {
    content: '— '

}

.mrj3y-single-content code {
    background: rgba(139, 0, 0, 0.08);
    border: 1px solid rgba(14, 127, 134, 0.2);
    border-radius: 0;
    padding: 3px 8px;
    font-size: 15px;
    color: #0e7f86;
    font-family: 'Courier New', monospace
}

.mrj3y-single-content pre {
    margin: 25px 0;
    padding: 20px;
    background: rgba(139, 0, 0, 0.05);
    border: 2px solid rgba(14, 127, 134, 0.3);
    border-right: 4px solid rgba(14, 127, 134, 0.5);
    border-radius: 0;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    line-height: 1.6;
    font-size: 14px;
    color: #333
}

.mrj3y-single-content pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: inherit
}

/* Minimalist & Responsive Table */
.mrj3y-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.mrj3y-single-content table th,
.mrj3y-single-content table td {
    padding: 10px 15px;
    border: 1px solid #eee;
    text-align: right;
}

.mrj3y-single-content table th {
    background-color: #fafafa;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mrj3y-single-content table {
        display: table;
        /* استعادة نظام الجدول الطبيعي */
        width: 100%;
        overflow: visible;
    }

    .mrj3y-single-content table th,
    .mrj3y-single-content table td {
        min-width: auto;
        /* السماح للأعمدة بالتقلص لتناسب الشاشة */
        white-space: normal;
        word-break: break-word;
        /* كسر الكلمات الطويلة لتناسب المربعات الصغيرة */
        padding: 8px 5px;
        font-size: 13px;
        /* تصغير الخط قليلاً ليناسب الشاشة */
    }
}

.mrj3y-single-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 2px solid rgba(14, 127, 134, 0.2) !important;
    display: block !important;
    object-fit: contain !important;
    box-sizing: border-box !important
}

.mrj3y-single-content figure,
.mrj3y-single-content .wp-block-image,
.mrj3y-single-content .wp-caption {
    max-width: 100% !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important
}

.mrj3y-single-content figure img,
.mrj3y-single-content .wp-block-image img,
.mrj3y-single-content .wp-caption img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important
}


.mrj3y-article-google-news-bar {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 32px;
    padding: 20px 24px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
    /* -webkit-backdrop-filter: blur(12px); */
    /* backdrop-filter: blur(12px); */
    border: 2px solid rgba(66, 133, 244, 0.45);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(66, 133, 244, 0.12), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    position: relative;
    z-index: 10
}

.mrj3y-article-google-news-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-size: 17px;
    font-weight: 700
}

.mrj3y-article-google-news-link:hover {
    color: #0d47a1 !important
}

.mrj3y-article-google-news-icon {
    display: inline-flex;
    flex-shrink: 0
}

.mrj3y-article-google-news-icon svg {
    display: block;
    width: 32px;
    height: 32px
}

.mrj3y-article-google-news-text {
    letter-spacing: 0.01em
}

@media (max-width:768px) {
    .mrj3y-article-google-news-bar {
        padding: 16px 20px;
        margin-bottom: 28px
    }

    .mrj3y-article-google-news-link {
        font-size: 15px;
        gap: 12px
    }

    .mrj3y-article-google-news-icon svg {
        width: 28px;
        height: 28px
    }
}

.mrj3y-follow-inline-row {
    position: relative;
    z-index: 10;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 0 0 32px 0;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none
}

.mrj3y-follow-inline-cell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none
}

.mrj3y-follow-inline-label {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase
}

.mrj3y-follow-inline-fb-btn,
.mrj3y-follow-inline-tw-btn,
.mrj3y-follow-inline-tg-btn,
.mrj3y-follow-inline-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    min-height: 52px
}

.mrj3y-follow-inline-fb-btn {
    background: linear-gradient(145deg, #1877f2 0%, #0d5bbf 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.25)
}

.mrj3y-follow-inline-fb-btn:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
    color: #fff !important
}

.mrj3y-follow-inline-tw-btn {
    background: linear-gradient(145deg, #0f0f0f 0%, #000 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2)
}

.mrj3y-follow-inline-tw-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: #fff !important
}

.mrj3y-follow-inline-tg-btn {
    background: linear-gradient(145deg, #229ED9 0%, #1a7fb3 100%);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3)
}

.mrj3y-follow-inline-tg-btn:hover {
    box-shadow: 0 8px 24px rgba(34, 158, 217, 0.45);
    color: #fff !important
}

.mrj3y-follow-inline-google-btn {
    background: linear-gradient(145deg, #fff 0%, #f0f4fc 100%);
    color: #1a1a2e !important;
    border-color: rgba(66, 133, 244, 0.35)
}

.mrj3y-follow-inline-google-btn:hover {
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.25);
    color: #1a1a2e !important;
    border-color: rgba(66, 133, 244, 0.5)
}

.mrj3y-follow-inline-fb-btn .mrj3y-icon,
.mrj3y-follow-inline-tw-btn .mrj3y-icon,
.mrj3y-follow-inline-tg-btn .mrj3y-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0
}

.mrj3y-follow-google-icon {
    display: inline-flex;
    line-height: 1;
    flex-shrink: 0
}

.mrj3y-follow-google-icon svg {
    display: block;
    width: 22px;
    height: 22px
}

.mrj3y-follow-fb-widget {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}

.mrj3y-follow-fb-widget iframe {
    max-width: 100%
}

@media (max-width:600px) {
    .mrj3y-follow-inline-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 28px
    }

    .mrj3y-follow-inline-fb-btn,
    .mrj3y-follow-inline-tw-btn,
    .mrj3y-follow-inline-tg-btn,
    .mrj3y-follow-inline-google-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 48px
    }
}

.mrj3y-google-news-wrap {
    margin: 36px 0 32px 0;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 10
}

.mrj3y-google-news-button {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 28px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fc 50%, #e8f0fe 100%) !important;
    border: 1px solid rgba(66, 133, 244, 0.25) !important;
    border-radius: 24px !important;
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    direction: rtl;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(66, 133, 244, 0.08) !important;
    cursor: pointer !important;
    box-sizing: border-box !important
}

.mrj3y-google-news-button:hover {
    background: linear-gradient(135deg, #eef4fc 0%, #e3edfc 50%, #d6e6fc 100%) !important;
    border-color: rgba(66, 133, 244, 0.4) !important;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.12), 0 0 0 1px rgba(66, 133, 244, 0.15) !important;
    color: #1a1a2e !important
}

.mrj3y-goog.mrj3y-news-scroll-inner {
    display: inline-flex;
    gap: 35px;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    width: max-content;
    position: relative;
    direction: rtl
}

.mrj3y-google-news-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important
}

.mrj3y-google-news-icon {
    width: 32px !important;
    height: 32px !important;
    display: block !important
}

.mrj3y-google-news-text {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important
}

/* Share box: التنسيقات في style.css */

.mrj3y-latest-category-posts {
    margin: 30px 0;
    padding: 20px;
    background: #0a3740;
    background: linear-gradient(152deg, #082e36 0%, #0a3f47 38%, #0c4f5a 62%, #0a3740 85%, #062b32 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25)
}

.mrj3y-latest-category-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.25);
    position: relative
}

.mrj3y-latest-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.85) 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2)
}

.mrj3y-latest-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0
}

.mrj3y-latest-category-item {
    margin: 0;
    padding: 0;
    position: relative
}

.mrj3y-latest-category-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%)
}

.mrj3y-latest-category-item:last-child::after {
    display: none
}

.mrj3y-latest-category-link {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.7;
    padding: 15px 0;
    padding-right: 25px;
    position: relative
}

.mrj3y-latest-category-link::before {
    content: '▸';

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 800
}

.mrj3y-latest-category-link:hover {
    color: #fff;
    padding-right: 30px;
    background: rgba(255, 255, 255, 0.08)
}

.mrj3y-latest-category-link:hover::before {
    color: #fff
}

.mrj3y-category-posts-grid {
    margin: 40px auto;
    padding: 0 15px;
    max-width: 1200px;
    box-sizing: border-box;
    clear: both;
}

.mrj3y-category-grid-section-title {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 28px 0 18px 0;
    padding: 14px 20px 14px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 250, 250, 0.99) 100%);
    border: 1px solid rgba(12, 79, 90, 0.22);
    border-right: none;
    border-radius: 0 12px 12px 0;
    position: relative;
    text-align: right;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
    margin-right: 0;
    box-sizing: border-box
}

.mrj3y-category-grid-section-title::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0c4f5a, #0a3f47);
    border-radius: 0 12px 12px 0
}

.mrj3y-category-grid-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12, 79, 90, 0.3))
}

.mrj3y-category-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.mrj3y-category-grid-item {
    margin: 0;
    padding: 0
}

.mrj3y-category-grid-link {
    display: flex;
    flex-direction: column;
    /* ØªØ­ÙˆÙŠÙ„ Ù„Ù†Ø¸Ø§Ù… Ø§Ù„ÙƒØ±ÙˆØª */
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(12, 79, 90, 0.15);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mrj3y-category-grid-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(12, 79, 90, 0.12);
    border-color: rgba(12, 79, 90, 0.3);
}

.mrj3y-category-grid-image-wrapper {
    width: 100%;
    height: 180px;
    /* الارتفاع المطلوب */
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
    padding: 0;
    margin: 0;
    display: block;
    border-bottom: 1px solid rgba(12, 79, 90, 0.08);
}

.mrj3y-category-posts-grid .mrj3y-category-grid-image-wrapper img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: top
}

.mrj3y-category-grid-image-wrapper img.mrj3y-category-grid-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important
}

.mrj3y-category-grid-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.1) 0%, rgba(139, 0, 0, 0.15) 50%, rgba(139, 0, 0, 0.1) 100%);
    display: block
}

.mrj3y-category-grid-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    /* backdrop-filter: blur(5px); */
    /* -webkit-backdrop-filter: blur(5px); */
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2
}

.mrj3y-category-grid-content {
    padding: 10px;
    min-height: 80px;
    display: flex;
    align-items: center
}

.mrj3y-category-grid-title {
    color: #212121;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(12, 79, 90, 0.25);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none
}

.mrj3y-category-grid-link:hover .mrj3y-category-grid-title {
    color: #0c4f5a;
    text-shadow: 0 2px 6px rgba(12, 79, 90, 0.35);
    border-bottom-color: rgba(12, 79, 90, 0.6)
}

.mrj3y-category-grid-meta {
    display: none
}

@media (max-width:992px) {
    .mrj3y-category-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .mrj3y-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 6px 10px;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(12, 79, 90, 0.2);
        border-radius: 0;
        box-shadow: none
    }
}

@media (max-width:768px) {
    .mrj3y-category-posts-grid {
        margin: 24px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        border-left: 1px solid rgba(12, 79, 90, 0.2);
        border-right: 1px solid rgba(12, 79, 90, 0.2)
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-link {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 90px;
        padding: 0;
        border-radius: 12px;
        border: 1px solid rgba(12, 79, 90, 0.25);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        position: relative;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.97) 0%, rgba(253, 250, 250, 0.99) 100%)
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-link::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, rgba(12, 79, 90, 0.95), rgba(74, 12, 24, 0.9));
        border-radius: 0 12px 12px 0;
        z-index: 1
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover {
        border-color: rgba(12, 79, 90, 0.5);
        box-shadow: 0 4px 20px rgba(12, 79, 90, 0.2)
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover::before {
        width: 5px;
        box-shadow: 0 0 12px rgba(12, 79, 90, 0.45)
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-image-wrapper {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        height: 70px;
        min-height: 70px;
        max-height: 70px;
        flex-shrink: 0;
        border-radius: 12px;
        border: 2px solid rgba(12, 79, 90, 0.35);
        overflow: hidden;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08)
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-image-wrapper img,
    .mrj3y-category-posts-grid .mrj3y-category-grid-image-wrapper .mrj3y-category-grid-image {
        width: 70px !important;
        height: 70px !important;
        min-width: 70px !important;
        min-height: 70px !important;
        max-width: 70px !important;
        max-height: 70px !important;
        object-fit: cover !important;
        display: block !important
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-date {
        display: none
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-content {
        flex: 1;
        min-width: 0;
        padding: 10px 14px 10px 12px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        text-align: right
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-title {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        margin: 0 0 6px 0;
        padding: 0;
        border: none;
        border-bottom: none;
        color: #1a1a1a
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover .mrj3y-category-grid-title {
        color: #0c4f5a
    }

    .mrj3y-category-grid-meta {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #666;
        margin-top: 4px
    }

    .mrj3y-category-grid-date-text {
        color: #888;
        font-weight: 500
    }

    .mrj3y-category-grid-cat {
        display: inline-block;
        background: linear-gradient(135deg, rgba(12, 79, 90, 0.2), rgba(61, 10, 20, 0.15));
        color: #0c4f5a;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 6px;
        border: 1px solid rgba(12, 79, 90, 0.35)
    }
}

@media (max-width:768px) {
    .mrj3y-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .mrj3y-category-grid-image-wrapper {
        height: 160px
    }

    .mrj3y-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 4px 0;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(14, 127, 134, 0.15);
        border-radius: 0;
        box-shadow: none
    }
}

.mrj3y-related-posts {
    margin: 40px 0
}

.mrj3y-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px
}

@media (max-width:992px) {
    .mrj3y-single-title {
        font-size: 38px
    }

    .mrj3y-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px
    }
}

@media (max-width:768px) {
    .mrj3y-single-image-wrapper {
        margin: 0 0 10px 0;
        border-radius: 12px;
        border-right-width: 3px
    }

    .mrj3y-single-image-category {
        top: 10px;
        right: 10px
    }

    .mrj3y-single-image-category-link {
        padding: 5px 12px;
        font-size: 12px
    }

    .mrj3y-single-title {
        font-size: 30px;
        font-weight: 800;
        line-height: 1.35;
        margin: 0 0 18px 0;
        padding: 16px 18px 16px 18px;
        color: #1a1a1a;
        text-align: right;
        letter-spacing: -0.3px;
        border-right-width: 4px;
        border-radius: 0 8px 8px 0;
    }

    .mrj3y-single-post-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 16px 12px;
        margin: 0 0 20px 0
    }

    .mrj3y-single-meta-item {
        width: 100%;
        justify-content: flex-start;
        padding: 6px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(12, 79, 90, 0.12)
    }

    .mrj3y-single-meta-item:last-child {
        border-bottom: none
    }

    .mrj3y-single-meta-item .mrj3y-icon {
        width: 18px;
        height: 18px;
        margin-left: 8px
    }

    .mrj3y-single-image-alt {
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 700;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%)
    }

    .mrj3y-single-content {
        padding: 20px 0 !important;
        font-size: 17px !important;
        line-height: 1.85 !important;
        color: #333 !important;
        margin: 0 !important;
        background: transparent !important
    }

    .mrj3y-single-content p {
        margin-bottom: 18px !important;
        text-align: right !important;
        color: #333 !important
    }

    .mrj3y-single-content h2 {
        font-size: 26px !important;
        font-weight: 800 !important;
        padding: 15px 20px !important;
        margin: 30px 0 18px 0 !important;
        background: rgba(139, 0, 0, 0.05) !important;
        border: 2px solid rgba(14, 127, 134, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(14, 127, 134, 0.6) !important;
        border-radius: 0 !important;
        position: relative !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content h2::before {
        content: '' !important;
        position: absolute !important;
        top: -2px !important;
        left: 0 !important;
        right: 0 !important;
        height: 2px !important;
        background: linear-gradient(90deg, transparent, rgba(14, 127, 134, 0.4), transparent) !important
    }

    .mrj3y-single-content h3 {
        font-size: 23px !important;
        font-weight: 700 !important;
        padding: 12px 20px !important;
        margin: 25px 0 15px 0 !important;
        background: rgba(139, 0, 0, 0.03) !important;
        border: 2px solid rgba(14, 127, 134, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(14, 127, 134, 0.5) !important;
        border-radius: 0 !important;
        line-height: 1.4 !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content h4 {
        font-size: 19px !important;
        font-weight: 700 !important;
        padding: 10px 20px !important;
        margin: 20px 0 12px 0 !important;
        background: rgba(139, 0, 0, 0.02) !important;
        border: 1px solid rgba(14, 127, 134, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(14, 127, 134, 0.4) !important;
        border-radius: 0 !important;
        line-height: 1.5 !important;
        color: #333 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content a {
        color: #0e7f86 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(14, 127, 134, 0.3) !important;
        padding-bottom: 2px !important;
        position: relative !important
    }



    .mrj3y-single-content blockquote {
        margin: 30px 0 !important;
        padding: 20px 25px !important;
        background: rgba(139, 0, 0, 0.05) !important;
        border: 2px solid rgba(14, 127, 134, 0.3) !important;
        border-right: 5px solid rgba(14, 127, 134, 0.7) !important;
        border-left: 2px solid rgba(14, 127, 134, 0.3) !important;
        border-radius: 0 !important;
        position: relative !important;
        direction: rtl !important;
        font-style: italic !important;
        color: #444 !important;
        line-height: 1.8 !important;
        font-size: 18px !important
    }

    .mrj3y-single-content blockquote::before {
        content: '"' !important;
        position: absolute !important;
        right: 15px !important;
        top: 10px !important;
        font-size: 60px !important;
        line-height: 1 !important;
        color: rgba(14, 127, 134, 0.3) !important;
        font-family: Georgia, serif !important;
        font-weight: bold !important
    }

    .mrj3y-single-content code {
        background: rgba(139, 0, 0, 0.08) !important;
        border: 1px solid rgba(14, 127, 134, 0.2) !important;
        border-radius: 0 !important;
        padding: 3px 8px !important;
        font-size: 15px !important;
        color: #0e7f86 !important;
        font-family: 'Courier New', monospace !important
    }

    .mrj3y-single-content pre {
        margin: 25px 0 !important;
        padding: 20px !important;
        background: rgba(139, 0, 0, 0.05) !important;
        border: 2px solid rgba(14, 127, 134, 0.3) !important;
        border-right: 4px solid rgba(14, 127, 134, 0.5) !important;
        border-radius: 0 !important;
        overflow-x: auto !important;
        direction: ltr !important;
        text-align: left !important;
        line-height: 1.6 !important;
        font-size: 14px !important;
        color: #333 !important
    }

    .mrj3y-single-content pre code {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: inherit !important
    }


    .mrj3y-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 2px solid rgba(14, 127, 134, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure,
    .mrj3y-single-content .wp-block-image,
    .mrj3y-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure img,
    .mrj3y-single-content .wp-block-image img,
    .mrj3y-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .mrj3y-breadcrumb {
        margin: 0 0 18px 0 !important;
        padding: 10px 14px !important;
        min-height: 40px !important;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, rgba(236, 253, 250, 0.55) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
        border: 1px solid rgba(12, 79, 90, 0.14) !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(12, 79, 90, 0.06) !important
    }

    .mrj3y-breadcrumb-inner {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        direction: rtl !important;
        min-height: 20px !important
    }

    .mrj3y-breadcrumb-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        color: #555 !important;
        text-decoration: none !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        padding: 0 !important;
        transition: color 0.2s ease !important
    }

    .mrj3y-breadcrumb-item:hover {
        color: #0c4f5a !important
    }

    .mrj3y-breadcrumb-item i {
        font-size: 11px !important;
        color: rgba(12, 79, 90, 0.42) !important
    }

    .mrj3y-breadcrumb-item:hover i {
        color: #0c4f5a !important
    }

    .mrj3y-breadcrumb-separator {
        color: rgba(12, 79, 90, 0.26) !important;
        font-size: 11px !important;
        padding: 0 4px !important
    }

    .mrj3y-breadcrumb-separator i {
        font-size: 9px !important
    }

    .mrj3y-breadcrumb-current {
        color: #0f172a !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 4px 0 !important
    }


    .mrj3y-latest-category-posts {
        margin: 24px 0;
        padding: 0 14px 20px 14px;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(152deg, #082e36 0%, #0a3f47 38%, #0c4f5a 62%, #0a3740 85%, #062b32 100%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        position: relative;
        overflow: hidden
    }

    .mrj3y-latest-category-posts::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
        border-radius: 0 4px 4px 0
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-title {
        margin: 0 0 16px 0;
        padding: 14px 0 12px 0;
        border-bottom: 3px solid rgba(255, 255, 255, 0.25);
        border-radius: 0;
        position: relative;
        color: #fff
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-title::after {
        display: block;
        content: '';
        position: absolute;
        bottom: -3px;
        right: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.85));
        border-radius: 0 2px 2px 0
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-link {
        transition: none;
        padding: 12px 28px 12px 0;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.95)
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-link:hover {
        padding-right: 28px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-link::before {
        transition: none;
        color: rgba(255, 255, 255, 0.7)
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-link:hover::before {
        right: 0;
        transform: translateY(-50%);
        color: #fff
    }

    .mrj3y-latest-category-posts .mrj3y-latest-category-item::after {
        right: 14px;
        left: 14px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent)
    }

    .mrj3y-category-posts-grid {
        margin: 24px 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box
    }

    .mrj3y-google-news-wrap {
        margin: 28px 0 !important
    }

    .mrj3y-google-news-button {
        padding: 16px 22px !important;
        font-size: 17px !important;
        border-radius: 20px !important
    }

    .mrj3y-google-news-icon {
        width: 28px !important;
        height: 28px !important
    }

    .mrj3y-share-box-title,
    .mrj3y-latest-category-title {
        font-size: 19px;
        margin-bottom: 15px;
        padding-bottom: 10px
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-section-title {
        font-size: 1.05rem;
        margin: 24px 0 16px 0;
        width: 100%;
        padding: 12px 20px 12px 24px;
        border-radius: 0 10px 10px 0
    }

    .mrj3y-latest-category-title {
        font-weight: 800 !important
    }

    .mrj3y-latest-category-link {
        font-weight: 800 !important
    }

    .mrj3y-share-box-grid {
        gap: 10px
    }

    .mrj3y-share-box-btn {
        padding: 11px 16px;
        font-size: 14px
    }

    .mrj3y-category-grid-title {
        font-size: 14px;
        line-height: 1.4;
        padding: 6px 10px;
        margin-bottom: 6px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(14, 127, 134, 0.15);
        border-radius: 0;
        box-shadow: none
    }

    .mrj3y-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px
    }

    .mrj3y-post-navigation {
        flex-direction: column;
        gap: 15px
    }
}

@media (max-width:480px) {
    .mrj3y-single-title {
        font-size: 24px;
        font-weight: 800;
        line-height: 1.38;
        margin: 0 0 16px 0;
        padding: 14px 16px;
        color: #1a1a1a;
        text-align: right;
        letter-spacing: -0.2px;
        border-right-width: 4px;
        border-radius: 0 8px 8px 0;
    }

    .mrj3y-single-post-meta {
        padding: 12px 14px 10px;
        margin: 0 0 18px 0;
        gap: 8px
    }

    .mrj3y-single-meta-item {
        padding: 5px 0;
        font-size: 12px
    }

    .mrj3y-single-meta-item .mrj3y-icon {
        width: 16px;
        height: 16px;
        margin-left: 6px
    }

    .mrj3y-single-image-alt {
        padding: 12px 15px;
        font-size: 14px;
        font-weight: 700
    }

    .mrj3y-single-content {
        padding: 18px 15px !important;
        font-size: 16px !important;
        line-height: 1.8 !important;
        color: #333 !important
    }

    .mrj3y-single-content p {
        margin-bottom: 16px !important;
        text-align: right !important;
        color: #333 !important
    }

    .mrj3y-single-content h2 {
        font-size: 23px !important;
        padding: 12px 20px !important;
        margin: 25px 0 15px 0 !important;
        background: rgba(139, 0, 0, 0.05) !important;
        border: 2px solid rgba(14, 127, 134, 0.3) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 5px solid rgba(14, 127, 134, 0.6) !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content h3 {
        font-size: 21px !important;
        padding: 10px 20px !important;
        margin: 20px 0 12px 0 !important;
        background: rgba(139, 0, 0, 0.03) !important;
        border: 2px solid rgba(14, 127, 134, 0.25) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 4px solid rgba(14, 127, 134, 0.5) !important;
        color: #212121 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content h4 {
        font-size: 17px !important;
        padding: 8px 20px !important;
        margin: 18px 0 10px 0 !important;
        background: rgba(139, 0, 0, 0.02) !important;
        border: 1px solid rgba(14, 127, 134, 0.2) !important;
        border-left: none !important;
        border-right: none !important;
        border-left: 3px solid rgba(14, 127, 134, 0.4) !important;
        color: #333 !important;
        width: 100% !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content a {
        color: #0e7f86 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        border-bottom: 2px solid rgba(14, 127, 134, 0.3) !important;
        font-size: 16px !important
    }



    .mrj3y-single-content blockquote {
        padding: 15px 18px !important;
        font-size: 16px !important;
        margin: 25px 0 !important
    }

    .mrj3y-single-content code {
        font-size: 14px !important
    }

    .mrj3y-single-content pre {
        padding: 14px !important;
        font-size: 13px !important;
        margin: 20px 0 !important
    }


    .mrj3y-single-image-wrapper {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    .mrj3y-single-image-wrapper .mrj3y-single-image,
    .mrj3y-single-image-wrapper img.mrj3y-single-image {
        object-fit: cover !important;
    }

    .mrj3y-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border: 2px solid rgba(14, 127, 134, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure,
    .mrj3y-single-content .wp-block-image,
    .mrj3y-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure img,
    .mrj3y-single-content .wp-block-image img,
    .mrj3y-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .mrj3y-breadcrumb {
        margin: 0 0 14px 0 !important;
        padding: 8px 12px !important;
        min-height: 38px !important;
        box-sizing: border-box !important
    }

    .mrj3y-breadcrumb-inner {
        gap: 5px !important
    }

    .mrj3y-breadcrumb-item {
        font-size: 12px !important;
        gap: 4px !important
    }

    .mrj3y-latest-category-title {
        font-weight: 800 !important
    }

    .mrj3y-latest-category-link {
        font-weight: 800 !important
    }

    .mrj3y-breadcrumb-item i {
        font-size: 10px !important
    }

    .mrj3y-breadcrumb-separator {
        font-size: 10px !important;
        padding: 0 3px !important
    }

    .mrj3y-breadcrumb-current {
        font-size: 12px !important
    }

    .mrj3y-share-article-section {
        margin: 10px 15px;
        padding: 10px 0
    }

    .mrj3y-google-news-wrap {
        margin: 25px 15px
    }

    .mrj3y-latest-category-posts {
        margin: 20px 0;
        padding: 0 12px 18px 12px;
        width: 100%;
        box-sizing: border-box;
        background: linear-gradient(152deg, #082e36 0%, #0a3f47 38%, #0c4f5a 62%, #0a3740 85%, #062b32 100%);
        border: 1px solid rgba(255, 255, 255, 0.1)
    }

    .mrj3y-category-posts-grid {
        margin: 20px 0;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
        border-left: 1px solid rgba(14, 127, 134, 0.15);
        border-right: 1px solid rgba(14, 127, 134, 0.15)
    }

    .mrj3y-google-news-wrap {
        margin: 24px 0 !important
    }

    .mrj3y-google-news-button {
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 18px !important
    }

    .mrj3y-google-news-icon {
        width: 26px !important;
        height: 26px !important
    }

    .mrj3y-share-box-title,
    .mrj3y-latest-category-title {
        font-size: 17px;
        margin-bottom: 12px
    }

    .mrj3y-category-posts-grid .mrj3y-category-grid-section-title {
        font-size: 1rem;
        margin: 20px 0 14px 0;
        width: 100%;
        padding: 11px 18px 11px 22px;
        border-radius: 0 8px 8px 0
    }

    .mrj3y-share-box-btn {
        padding: 10px 14px;
        font-size: 13px
    }



    .mrj3y-single-content blockquote {
        padding: 15px 18px;
        font-size: 16px;
        margin: 25px 0;
        line-height: 1.75
    }

    .mrj3y-single-content blockquote::before {
        font-size: 45px;
        right: 12px;
        top: 8px
    }

    .mrj3y-single-content pre {
        padding: 14px;
        font-size: 13px;
        margin: 20px 0;
        overflow-x: auto
    }

    .mrj3y-single-content code {
        font-size: 14px;
        padding: 2px 6px
    }


    .mrj3y-single-content a {
        font-size: 16px;
        border-bottom-width: 2px
    }

    .mrj3y-single-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 2px solid rgba(14, 127, 134, 0.2) !important;
        display: block !important;
        object-fit: contain !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure,
    .mrj3y-single-content .wp-block-image,
    .mrj3y-single-content .wp-caption {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important
    }

    .mrj3y-single-content figure img,
    .mrj3y-single-content .wp-block-image img,
    .mrj3y-single-content .wp-caption img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important
    }

    .mrj3y-related-grid {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .mrj3y-category-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .mrj3y-category-grid-image-wrapper {
        height: 160px
    }

    .mrj3y-category-grid-title {
        font-size: 13px;
        line-height: 1.3;
        padding: 5px 8px;
        margin-bottom: 5px;
        background: transparent;
        border: none;
        border-bottom: 2px solid rgba(14, 127, 134, 0.15);
        border-radius: 0;
        box-shadow: none
    }
}

body.mrj3y-dark-mode .mrj3y-single-title {
    color: #f0f0f0 !important;
    background: linear-gradient(135deg, rgba(35, 35, 35, 0.98) 0%, rgba(28, 28, 28, 1) 100%) !important;
    border-color: rgba(12, 79, 90, 0.5) !important;
    border-right-color: rgba(14, 127, 134, 0.85) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
}

body.mrj3y-dark-mode .mrj3y-breadcrumb {
    background: linear-gradient(135deg, rgba(22, 34, 40, 0.96) 0%, rgba(18, 28, 34, 0.98) 100%) !important;
    border: 1px solid rgba(12, 79, 90, 0.38) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
}

body.mrj3y-dark-mode .mrj3y-single-post-meta {
    background: linear-gradient(135deg, rgba(18, 42, 48, 0.96) 0%, rgba(14, 62, 68, 0.88) 45%, rgba(22, 34, 42, 0.96) 100%) !important;
    border: 1px solid rgba(12, 79, 90, 0.42) !important;
    border-right: 3px solid rgba(14, 127, 134, 0.55) !important;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.05) inset !important;
}

body.mrj3y-dark-mode .mrj3y-single-meta-item {
    color: rgba(241, 245, 249, 0.94) !important;
}

body.mrj3y-dark-mode .mrj3y-single-meta-item .mrj3y-icon {
    color: #7dd3fc !important;
    opacity: 1 !important;
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-item {
    color: #e2e8f0 !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-item:hover {
    color: #7dd3fc !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-item i {
    color: rgba(125, 211, 252, 0.55) !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-item:hover i {
    color: #7dd3fc !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-separator {
    color: rgba(148, 163, 184, 0.55) !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-separator i {
    color: rgba(148, 163, 184, 0.55) !important
}

body.mrj3y-dark-mode .mrj3y-breadcrumb-current {
    color: #f8fafc !important
}

body.mrj3y-dark-mode .mrj3y-meta-item {
    color: #cbd5e1 !important
}

body.mrj3y-dark-mode .mrj3y-meta-text {
    color: #cbd5e1 !important
}

body.mrj3y-dark-mode .mrj3y-meta-icon {
    color: #7dd3fc !important
}

body.mrj3y-dark-mode .mrj3y-meta-category-item {
    color: #cbd5e1 !important
}

body.mrj3y-dark-mode .mrj3y-meta-link {
    color: #e2e8f0 !important
}

body.mrj3y-dark-mode .mrj3y-meta-link:hover {
    color: #7dd3fc !important
}

body.mrj3y-dark-mode .mrj3y-meta-category-item:hover {
    color: #7dd3fc !important
}

body.mrj3y-dark-mode .mrj3y-category-nested {
    background: rgba(12, 79, 90, 0.38) !important;
    border: 1px solid rgba(125, 211, 252, 0.28) !important;
    color: #f1f5f9 !important
}

body.mrj3y-dark-mode .mrj3y-category-nested:hover {
    background: rgba(12, 79, 90, 0.88) !important;
    border-color: rgba(125, 211, 252, 0.45) !important;
    color: #fff !important
}



body.mrj3y-dark-mode .mrj3y-latest-category-title {
    color: #ffffff !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-link {
    color: #ffffff !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-link:hover {
    color: #ff6b6b !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-link::before {
    color: #ffffff !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-link:hover::before {
    color: #ff6b6b !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-posts {
    background: rgba(38, 38, 38, 0.85) !important;
    border: 1px solid rgba(14, 127, 134, 0.35) !important;
    border-radius: 8px
}

body.mrj3y-dark-mode .mrj3y-latest-category-title {
    border-bottom-color: rgba(14, 127, 134, 0.5) !important
}

body.mrj3y-dark-mode .mrj3y-latest-category-title::after {
    background: linear-gradient(90deg, rgba(14, 127, 134, 0.7), rgba(255, 87, 34, 0.8), rgba(14, 127, 134, 0.7)) !important;
    box-shadow: 0 2px 8px rgba(14, 127, 134, 0.3)
}

body.mrj3y-dark-mode .mrj3y-latest-category-item::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), rgba(14, 127, 134, 0.25), rgba(255, 255, 255, 0.12), transparent) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid {
    background: rgba(28, 28, 28, 0.6) !important;
    border-color: rgba(12, 79, 90, 0.4) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-section-title {
    color: #f5f5f5 !important;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.98), rgba(35, 35, 35, 0.99)) !important;
    border-color: rgba(12, 79, 90, 0.5) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3)
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-section-title::before {
    background: linear-gradient(180deg, #0c4f5a, #0a3f47) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-link {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.98), rgba(36, 36, 36, 0.99)) !important;
    border-color: rgba(12, 79, 90, 0.5) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover {
    border-color: rgba(12, 79, 90, 0.65) !important;
    box-shadow: 0 4px 20px rgba(12, 79, 90, 0.25) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-content,
body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-title {
    color: #f0f0f0 !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover .mrj3y-category-grid-title {
    color: #7cc7c9 !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-meta,
body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-date-text {
    color: #b0b0b0 !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-date {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5)
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-cat {
    background: rgba(12, 79, 90, 0.4) !important;
    color: #7cc7c9 !important;
    border-color: rgba(12, 79, 90, 0.55) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-image-wrapper {
    border-color: rgba(12, 79, 90, 0.45) !important
}

body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-image-placeholder {
    background: rgba(50, 50, 50, 0.8) !important
}

@media (max-width:768px) {
    body.mrj3y-dark-mode .mrj3y-single-content {
        color: #e5e5e5 !important;
        background: transparent !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content p {
        color: #e5e5e5 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content * {
        color: inherit
    }

    body.mrj3y-dark-mode .mrj3y-single-content h2 {
        color: #ffffff !important;
        background: rgba(14, 127, 134, 0.2) !important;
        border-color: rgba(14, 127, 134, 0.5) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content h3 {
        color: #f5f5f5 !important;
        background: rgba(14, 127, 134, 0.15) !important;
        border-color: rgba(14, 127, 134, 0.4) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content h4 {
        color: #f0f0f0 !important;
        background: rgba(14, 127, 134, 0.12) !important;
        border-color: rgba(14, 127, 134, 0.35) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content a {
        color: #ff6b6b !important;
        border-bottom-color: rgba(255, 107, 107, 0.5) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content a:hover {
        color: #ff8787 !important;
        border-bottom-color: rgba(255, 135, 135, 0.7) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content code {
        color: #ff6b6b !important;
        background: rgba(14, 127, 134, 0.25) !important;
        border-color: rgba(14, 127, 134, 0.4) !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content pre {
        background: rgba(14, 127, 134, 0.2) !important;
        border-color: rgba(14, 127, 134, 0.5) !important;
        color: #e5e5e5 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content pre code {
        color: #e5e5e5 !important;
        background: transparent !important;
        border: none !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content blockquote {
        background: rgba(14, 127, 134, 0.2) !important;
        border-color: rgba(14, 127, 134, 0.5) !important;
        color: #e5e5e5 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content blockquote p {
        color: #e5e5e5 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content blockquote cite {
        color: rgba(255, 107, 107, 0.9) !important
    }


    body.mrj3y-dark-mode .mrj3y-single-content img {
        border-color: rgba(14, 127, 134, 0.4) !important;
        opacity: 0.95
    }

    body.mrj3y-dark-mode .mrj3y-breadcrumb {
        background: linear-gradient(135deg, rgba(22, 34, 40, 0.96) 0%, rgba(18, 28, 34, 0.98) 100%) !important;
        border-color: rgba(12, 79, 90, 0.38) !important;
    }

    body.mrj3y-dark-mode .mrj3y-breadcrumb-item {
        color: #e2e8f0 !important;
    }

    body.mrj3y-dark-mode .mrj3y-breadcrumb-current {
        color: #f8fafc !important;
    }

    body.mrj3y-dark-mode .mrj3y-single-post-meta {
        background: linear-gradient(135deg, rgba(18, 42, 48, 0.96) 0%, rgba(14, 62, 68, 0.88) 45%, rgba(22, 34, 42, 0.96) 100%) !important;
        border-color: rgba(12, 79, 90, 0.42) !important;
        border-right-color: rgba(14, 127, 134, 0.55) !important;
    }

    body.mrj3y-dark-mode .mrj3y-single-meta-item {
        border-bottom-color: rgba(125, 211, 252, 0.14) !important;
    }

    body.mrj3y-dark-mode .mrj3y-single-meta-item,
    body.mrj3y-dark-mode .mrj3y-meta-link,
    body.mrj3y-dark-mode .mrj3y-meta-text {
        color: rgba(241, 245, 249, 0.94) !important;
    }

    body.mrj3y-dark-mode .mrj3y-category-nested {
        background: rgba(12, 79, 90, 0.38) !important;
        border-color: rgba(125, 211, 252, 0.28) !important;
        color: #f1f5f9 !important;
    }

    body.mrj3y-dark-mode .mrj3y-meta-link:hover {
        color: #7dd3fc !important;
    }
}

@media (max-width:480px) {
    body.mrj3y-dark-mode .mrj3y-single-content {
        color: #e0e0e0 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content p {
        color: #e0e0e0 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content h2 {
        color: #ffffff !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content h3 {
        color: #f5f5f5 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content h4 {
        color: #f0f0f0 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content a {
        color: #ff6b6b !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content code {
        color: #ff6b6b !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content pre {
        color: #e0e0e0 !important
    }

    body.mrj3y-dark-mode .mrj3y-single-content blockquote {
        color: #e0e0e0 !important
    }


    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-section-title {
        color: #f5f5f5 !important;
        background: linear-gradient(135deg, rgba(38, 38, 38, 0.98), rgba(42, 42, 42, 0.98)) !important;
        border-color: rgba(14, 127, 134, 0.4) !important
    }

    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-title {
        color: #f0f0f0 !important;
        border-bottom-color: rgba(14, 127, 134, 0.3) !important
    }

    body.mrj3y-dark-mode .mrj3y-category-grid-link:hover .mrj3y-category-grid-title {
        color: #58c2c7 !important;
        border-bottom-color: rgba(14, 127, 134, 0.6) !important
    }

    body.mrj3y-dark-mode .mrj3y-category-grid-meta,
    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-meta {
        color: #b0b0b0 !important
    }

    body.mrj3y-dark-mode .mrj3y-category-grid-date-text,
    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-date-text {
        color: #a0a0a0 !important
    }

    body.mrj3y-dark-mode .mrj3y-category-grid-cat,
    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-cat {
        background: rgba(14, 127, 134, 0.25) !important;
        color: #58c2c7 !important;
        border-color: rgba(14, 127, 134, 0.4) !important
    }

    body.mrj3y-dark-mode .mrj3y-category-grid-section-title::before {
        background: linear-gradient(180deg, #1a6b73, #0f766e) !important
    }
}

@media (max-width:768px) {
    body.mrj3y-dark-mode .mrj3y-category-posts-grid {
        border-left-color: rgba(14, 127, 134, 0.3) !important;
        border-right-color: rgba(14, 127, 134, 0.3) !important
    }

    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-title {
        color: #f0f0f0 !important
    }

    body.mrj3y-dark-mode .mrj3y-category-posts-grid .mrj3y-category-grid-link:hover .mrj3y-category-grid-title {
        color: #58c2c7 !important
    }
}

@media (max-width:480px) {
    body.mrj3y-dark-mode .mrj3y-category-posts-grid {
        border-left-color: rgba(14, 127, 134, 0.3) !important;
        border-right-color: rgba(14, 127, 134, 0.3) !important
    }
}

.mrj3y-single-post {
    position: relative
}

.mrj3y-read-progress-sentinel {
    position: absolute;
    top: 70%;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    min-height: 4px;
    pointer-events: none;
    opacity: 0;
    z-index: 0
}

.mrj3y-auto-loaded-posts {
    margin-top: 0
}

.mrj3y-auto-loaded-post {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid rgba(14, 127, 134, 0.2)
}

body.mrj3y-dark-mode .mrj3y-auto-loaded-post {
    border-top-color: rgba(14, 127, 134, 0.3)
}

.mrj3y-comments-section {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 2px solid rgba(14, 127, 134, 0.2)
}

.mrj3y-add-comment-wrap {
    display: none
}

.mrj3y-btn-add-comment {
    display: none
}

.mrj3y-open-comment-modal {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #0f766e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none
}

.mrj3y-btn-add-comment:hover,
.mrj3y-open-comment-modal:hover {
    background: #0b4f4a;
    color: #fff
}

.mrj3y-comment-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s ease, opacity 0.2s ease
}

.mrj3y-comment-modal.is-open {
    visibility: visible;
    opacity: 1
}

.mrj3y-comment-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer
}

.mrj3y-comment-modal-box {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    padding: 24px 28px;
    animation: mrj3y-modal-in 0.25s ease
}

@keyframes mrj3y-modal-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mrj3y-comment-modal-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px
}

.mrj3y-comment-modal-close:hover {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08)
}

.mrj3y-comment-modal-title {
    margin: 0 0 8px;
    padding-left: 36px;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a
}

.mrj3y-comment-modal-note {
    margin: 0 0 20px;
    padding-left: 36px;
    font-size: 13px;
    color: #666
}

.mrj3y-comment-form .mrj3y-form-group {
    margin-bottom: 16px
}

.mrj3y-comment-form-actions {
    margin: 20px 0 0
}

body.mrj3y-dark-mode .mrj3y-comment-modal-box {
    background: #2a2a2a
}

body.mrj3y-dark-mode .mrj3y-comment-modal-title {
    color: #f0f0f0
}

body.mrj3y-dark-mode .mrj3y-comment-modal-note {
    color: #b0b0b0
}

body.mrj3y-dark-mode .mrj3y-comment-modal-close {
    color: #ccc
}

body.mrj3y-dark-mode .mrj3y-comment-modal-close:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15)
}





/* â€”â€”â€” ØµÙ†Ø¯ÙˆÙ‚ Ø§Ù„ÙƒØ§ØªØ¨ â€” ØªØµÙ…ÙŠÙ… Ø­ØµØ±ÙŠ (v3) â€”â€”â€” */
/* --- Author Box Redesign v4.1 (Premium & Enhanced Layout) --- */
.mrj3y-author-v4 {
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
    direction: rtl;
    position: relative;
    z-index: 10;
}

.mrj3y-author-v4-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(12, 79, 90, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mrj3y-author-v4-card:hover {
    box-shadow: 0 20px 50px rgba(12, 79, 90, 0.1);
}

.mrj3y-author-v4-deco-1, .mrj3y-author-v4-deco-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.mrj3y-author-v4-deco-1 {
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(12, 79, 90, 0.04) 0%, transparent 70%);
}

.mrj3y-author-v4-deco-2 {
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(14, 127, 134, 0.03) 0%, transparent 70%);
}

.mrj3y-author-v4-content {
    display: flex;
    flex-direction: column;
    padding: 35px;
    position: relative;
    z-index: 1;
}

.mrj3y-author-v4-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mrj3y-author-v4-avatar-container {
    position: relative;
}

.mrj3y-author-v4-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(12, 79, 90, 0.1);
    border: 3px solid #fff;
}

.mrj3y-author-v4-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f6f7 0%, #e0eef0 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c4f5a;
    border: 3px solid #fff;
}

.mrj3y-author-v4-placeholder svg { width: 45px; height: 45px; opacity: 0.6; }

.mrj3y-author-v4-status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid #fff;
    border-radius: 50%;
}

.mrj3y-author-v4-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    color: #0c4f5a;
    background: rgba(12, 79, 90, 0.08);
    padding: 5px 12px;
    border-radius: 8px;
}

/* Dark Mode */
body.mrj3y-dark-mode .mrj3y-author-v4-card { background: #1a1a1a; border-color: rgba(255, 255, 255, 0.05); }
body.mrj3y-dark-mode .mrj3y-author-v4-name { color: #f1f5f9; }
body.mrj3y-dark-mode .mrj3y-author-v4-bio { color: #94a3b8; }
body.mrj3y-dark-mode .mrj3y-v4-meta-item, 
body.mrj3y-dark-mode .mrj3y-author-v4-social-link { background: #262626; color: #a3a3a3; border-color: #333; }
body.mrj3y-dark-mode .mrj3y-author-v4-img, 
body.mrj3y-dark-mode .mrj3y-author-v4-placeholder { border-color: #262626; }
body.mrj3y-dark-mode .mrj3y-author-v4-footer { border-top-color: #262626; }

/* Mobile View (Specific Request: Image next to name, Label above) */
.mrj3y-author-v4-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.mrj3y-author-v4-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mrj3y-author-v4-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mrj3y-v4-contact-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.mrj3y-v4-contact-link:hover {
    background: #0c4f5a;
    color: #fff;
    transform: translateY(-2px);
    border-color: #0c4f5a;
}

.mrj3y-v4-contact-link svg { width: 14px; height: 14px; }

.mrj3y-v4-stat-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #0c4f5a;
    background: rgba(12, 79, 90, 0.05);
    padding: 6px 14px;
    border-radius: 12px;
    margin-right: 5px;
}

.mrj3y-v4-stat-badge svg { width: 14px; height: 14px; opacity: 0.7; }

.mrj3y-author-v4-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.mrj3y-author-v4-visual { flex-shrink: 0; }
.mrj3y-author-v4-info { flex: 1; min-width: 0; }

.mrj3y-author-v4-name-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mrj3y-author-v4-name { font-size: 28px; font-weight: 900; margin: 0; color: #0f172a; }
.mrj3y-author-v4-name a { color: inherit; text-decoration: none; }
.mrj3y-author-v4-name a:hover { color: #0c4f5a; }

.mrj3y-verified-badge {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #0ea5e9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.15));
}


.mrj3y-author-v4-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark Mode Adjustments */
body.mrj3y-dark-mode .mrj3y-author-v4-header { border-bottom-color: #262626; }
body.mrj3y-dark-mode .mrj3y-v4-contact-link { background: #262626; border-color: #333; color: #a3a3a3; }
body.mrj3y-dark-mode .mrj3y-v4-stat-badge { background: rgba(255, 255, 255, 0.05); color: #94a3b8; }
body.mrj3y-dark-mode .mrj3y-author-v4-name { color: #f1f5f9; }
body.mrj3y-dark-mode .mrj3y-author-v4-bio { color: #94a3b8; }

@media (max-width: 768px) {
    .mrj3y-author-v4-content { padding: 18px; }
    
    .mrj3y-author-v4-header {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .mrj3y-author-v4-header-right { gap: 10px; }
    .mrj3y-author-v4-contact { margin-right: 6px; gap: 6px; }
    .mrj3y-v4-contact-link { width: 30px; height: 30px; border-radius: 9px; }
    .mrj3y-v4-stat-badge { padding: 6px 12px; font-size: 12px; border-radius: 10px; }

    .mrj3y-author-v4-body {
        display: grid;
        grid-template-areas: 
            "visual name"
            "bio bio";
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0;
    }

    .mrj3y-author-v4-visual { 
        grid-area: visual; 
        margin-left: 15px; 
    }
    
    .mrj3y-author-v4-info { 
        display: contents;
    }

    .mrj3y-author-v4-name-wrap { 
        grid-area: name; 
        display: flex;
        align-items: center;
        gap: 6px; 
        height: 64px; /* Matches avatar height + border */
    }

    .mrj3y-author-v4-bio { 
        grid-area: bio; 
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.7;
        color: #475569;
        -webkit-line-clamp: 8; 
    }

    .mrj3y-author-v4-avatar-container { 
        width: 64px; 
        height: 64px; 
        padding: 3px;
        background: #fff;
        border: 1px solid #f1f5f9;
        border-radius: 18px;
    }
    
    .mrj3y-author-v4-img, .mrj3y-author-v4-placeholder { 
        border-radius: 15px; 
        width: 100%;
        height: 100%;
        border: none;
    }

    .mrj3y-author-v4-name { 
        font-size: 21px; 
        margin: 0; 
        letter-spacing: -0.02em;
    }
    .mrj3y-verified-badge { width: 17px; height: 17px; }

    .mrj3y-author-v4-label { font-size: 10.5px; padding: 4px 12px; border-radius: 8px; }

    body.mrj3y-dark-mode .mrj3y-author-v4-avatar-container { background: #262626; border-color: #333; }
    body.mrj3y-dark-mode .mrj3y-author-v4-bio { color: #94a3b8; }
}



.mrj3y-category-grid-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.mrj3y-category-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1), filter 0.4s ease;
}

.mrj3y-category-grid-item:hover .mrj3y-category-grid-image {
    transform: scale(1.08);
}

.mrj3y-category-grid-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
}

.mrj3y-category-grid-item:hover .mrj3y-category-grid-image-wrapper::after {
    left: 150%;
    transition: left 0.8s ease-in-out;
}





/* ============================================================
   Subheadings Refresh (Simple + Professional)
   عناوين المقال الفرعية: حافة يمين وتصميم نظيف
   ============================================================ */
.mrj3y-single-content h2,
.mrj3y-single-content h3,
.mrj3y-single-content h4 {
    background: linear-gradient(135deg, #ffffff 0%, #f7fbfc 100%) !important;
    border: 1px solid rgba(15, 118, 110, 0.16) !important;
    border-right: 5px solid #0f766e !important;
    border-left: 1px solid rgba(15, 118, 110, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 12px rgba(2, 12, 27, 0.06) !important;
    color: #0b2b3d !important;
    position: relative !important;
    overflow: hidden !important;
}

.mrj3y-single-content h2::before,
.mrj3y-single-content h3::before,
.mrj3y-single-content h4::before,
.mrj3y-single-content h2::after,
.mrj3y-single-content h3::after,
.mrj3y-single-content h4::after {
    display: none !important;
    content: none !important;
}

.mrj3y-single-content h2 {
    font-size: 31px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    margin: 34px 0 20px !important;
    padding: 14px 18px !important;
}

.mrj3y-single-content h3 {
    font-size: 25px !important;
    font-weight: 750 !important;
    line-height: 1.45 !important;
    margin: 28px 0 16px !important;
    padding: 12px 16px !important;
    border-right-width: 4px !important;
}

.mrj3y-single-content h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    margin: 22px 0 14px !important;
    padding: 10px 14px !important;
    border-right-width: 3px !important;
}

body.mrj3y-dark-mode .mrj3y-single-content h2,
body.mrj3y-dark-mode .mrj3y-single-content h3,
body.mrj3y-dark-mode .mrj3y-single-content h4 {
    background: linear-gradient(135deg, rgba(33, 37, 41, 0.94) 0%, rgba(28, 31, 34, 0.94) 100%) !important;
    border-color: rgba(88, 194, 199, 0.28) !important;
    border-right-color: #58c2c7 !important;
    color: #e8f4f5 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
    .mrj3y-single-content h2 {
        font-size: 26px !important;
        margin: 28px 0 16px !important;
        padding: 12px 14px !important;
    }

    .mrj3y-single-content h3 {
        font-size: 22px !important;
        margin: 24px 0 14px !important;
        padding: 10px 13px !important;
    }

    .mrj3y-single-content h4 {
        font-size: 18px !important;
        margin: 20px 0 12px !important;
        padding: 9px 12px !important;
    }
}

/* Inline «اقرأ أيضاً» — كان inline في single.php */
.mrj3y-inline-related-news {
    padding: 20px !important;
    position: relative;
    overflow: hidden;
}

.mrj3y-inline-related-news::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #0f766e, #14b8a6);
}

.mrj3y-inline-related-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f766e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mrj3y-inline-related-title svg {
    width: 20px;
    height: 20px;
    color: #14b8a6;
}

.mrj3y-inline-related-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mrj3y-inline-related-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #1e293b;
    padding: 12px;
    border-radius: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid transparent;
}

.mrj3y-inline-related-item a:hover {
    background: #fff;
    border-color: rgba(15, 118, 110, 0.15);
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.08);
    color: #0f766e;
    transform: translateX(-4px);
}

.mrj3y-inline-related-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
}

.mrj3y-inline-icon-fallback {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.mrj3y-inline-icon-fallback svg {
    width: 20px;
    height: 20px;
}

.mrj3y-inline-related-text {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

body.mrj3y-dark-mode .mrj3y-inline-related-news {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: rgba(94, 234, 212, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.mrj3y-dark-mode .mrj3y-inline-related-title {
    color: #5eead4;
}

body.mrj3y-dark-mode .mrj3y-inline-related-item a {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.02);
}

body.mrj3y-dark-mode .mrj3y-inline-related-item a:hover {
    background: rgba(94, 234, 212, 0.05);
    border-color: rgba(94, 234, 212, 0.2);
    color: #5eead4;
}

body.mrj3y-dark-mode .mrj3y-inline-related-icon {
    border-color: #334155;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.mrj3y-dark-mode .mrj3y-inline-icon-fallback {
    background: #334155;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .mrj3y-inline-related-news {
        padding: 16px;
        margin: 24px 0;
        border-radius: 16px;
    }

    .mrj3y-inline-related-item a {
        padding: 10px;
        gap: 12px;
    }

    .mrj3y-inline-related-icon {
        width: 38px;
        height: 38px;
    }

    .mrj3y-inline-related-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .mrj3y-inline-related-text {
        font-size: 14px;
    }
}

/* قسم «أخبار ذات صلة» — كان inline في single.php */
.mrj3y-related-section {
    margin: 24px 0 20px;
    direction: rtl;
    clear: both;
}

.mrj3y-related-header {
    margin-bottom: 0;
}

.mrj3y-related-heading {
    all: revert;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    background: #fff !important;
    border: 2px solid #e8e8e8 !important;
    border-bottom: none !important;
    border-radius: 14px 14px 0 0 !important;
    border-right: 4px solid #0f766e !important;
    line-height: 1.5 !important;
}

.mrj3y-related-heading::before,
.mrj3y-related-heading::after {
    content: none !important;
    display: none !important;
}

.mrj3y-related-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0f766e 0%, #0d5f66 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.2);
}

.mrj3y-related-heading-icon .mrj3y-icon {
    width: 16px;
    height: 16px;
    margin: 0;
}

.mrj3y-related-list {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-top: none;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

.mrj3y-related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease, padding-right 0.25s ease;
    position: relative;
}

.mrj3y-related-item:last-child {
    border-bottom: none;
}

.mrj3y-related-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.02));
    transition: width 0.3s ease;
}

.mrj3y-related-item:hover {
    background: rgba(15, 118, 110, 0.03);
    padding-right: 22px;
}

.mrj3y-related-item:hover::before {
    width: 4px;
}

.mrj3y-related-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.04));
    color: #0f766e;
    font-weight: 800;
    font-size: 14px;
    border: 1.5px solid rgba(15, 118, 110, 0.15);
    transition: all 0.25s ease;
}

.mrj3y-related-item:hover .mrj3y-related-num {
    background: linear-gradient(135deg, #0f766e, #0d5f66);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3);
    transform: scale(1.08);
}

.mrj3y-related-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mrj3y-related-title {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.55;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mrj3y-related-item:hover .mrj3y-related-title {
    color: #0f766e;
}

.mrj3y-related-date {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    margin: 0;
}

body.mrj3y-dark-mode .mrj3y-related-heading {
    background: rgba(35, 35, 35, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    border-right-color: #0f766e !important;
    color: #e0e0e0 !important;
}

body.mrj3y-dark-mode .mrj3y-related-list {
    background: rgba(35, 35, 35, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

body.mrj3y-dark-mode .mrj3y-related-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.mrj3y-dark-mode .mrj3y-related-item:hover {
    background: rgba(15, 118, 110, 0.06);
}

body.mrj3y-dark-mode .mrj3y-related-title {
    color: #e8e8e8;
}

body.mrj3y-dark-mode .mrj3y-related-item:hover .mrj3y-related-title {
    color: #58c2c7;
}

body.mrj3y-dark-mode .mrj3y-related-date {
    color: #aaa;
}

body.mrj3y-dark-mode .mrj3y-related-num {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.25);
    color: #58c2c7;
}

body.mrj3y-dark-mode .mrj3y-related-item:hover .mrj3y-related-num {
    background: linear-gradient(135deg, #0f766e, #0d5f66);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 480px) {
    .mrj3y-related-heading {
        font-size: 17px !important;
        padding: 12px 14px !important;
    }

    .mrj3y-related-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .mrj3y-related-num {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12px;
    }

    .mrj3y-related-title {
        font-size: 14.5px;
    }

    .mrj3y-related-date {
        font-size: 11px;
    }
}

/* بطاقة متابعة Google داخل المقال — كان inline في single.php */
.mrj3y-new-wrap {
    text-decoration: none !important;
    display: block;
    margin: 30px 0;
    width: 100%;
    clear: both;
}

.mrj3y-new-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid rgba(12, 79, 90, 0.08);
    border-top: 5px solid #4285f4;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    direction: rtl;
    width: 100%;
    max-width: 1200px;
    margin: 5px auto;
    box-sizing: border-box;
}

.mrj3y-new-wrap:hover .mrj3y-new-box {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.1);
    transform: translateY(-2px);
}

.mrj3y-new-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.mrj3y-new-text {
    flex: 1;
    text-align: right;
    min-width: 0;
}

.mrj3y-new-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mrj3y-new-title .mrj3y-name {
    color: #4285f4;
    font-weight: 900;
}

.mrj3y-new-desc {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.4;
}

/* Google Hint Styling */

.mrj3y-new-wrap .mrj3y-google-hint-prominent {
    font-size: 11px;
    color: #4285f4;
    background: rgba(66, 133, 244, 0.06);
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: 700;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.mrj3y-new-btn-simple {
    background: #4285f4;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.mrj3y-new-wrap:hover .mrj3y-new-btn-simple {
    background: #3367d6;
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

body.mrj3y-dark-mode .mrj3y-new-box {
    background: #1e293b;
    border-color: #4285f4;
}

body.mrj3y-dark-mode .mrj3y-new-title {
    color: #f1f5f9;
}

body.mrj3y-dark-mode .mrj3y-new-desc {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .mrj3y-new-box {
        padding: 10px 12px;
        gap: 10px;
    }

    .mrj3y-new-icon svg {
        width: 35px;
        height: 35px;
    }

    .mrj3y-new-title {
        font-size: 14px !important;
        white-space: normal;
    }

    .mrj3y-new-desc {
        font-size: 11px;
        line-height: 1.2;
    }

    .mrj3y-new-wrap .mrj3y-google-hint-prominent {
        margin-top: 3px;
        padding: 1px 6px;
        font-size: 9px;
    }

    .mrj3y-new-btn-simple {
        padding: 8px 12px;
        font-size: 12px;
    }
}



/* ad styles removed */


/* ============================================================
   Comments System Redesign v2 (Premium & Mobile Optimized)
   ============================================================ */
.mrj3y-comments-container {
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(12, 79, 90, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    direction: rtl;
    position: relative;
}

.mrj3y-comments-inner {
    padding: 40px;
}

.mrj3y-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(12, 79, 90, 0.05);
}

.mrj3y-comments-title {
    font-size: 26px;
    font-weight: 900;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.mrj3y-comments-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0c4f5a 0%, #08373e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(12, 79, 90, 0.15);
}

/* Comment List */
.mrj3y-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.mrj3y-comment-v2-item {
    margin-bottom: 30px;
}

.mrj3y-comment-v2-item:last-child {
    margin-bottom: 0;
}

.mrj3y-comment-v2-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(12, 79, 90, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mrj3y-comment-v2-card:hover {
    background: #ffffff;
    border-color: rgba(12, 79, 90, 0.15);
    box-shadow: 0 10px 30px rgba(12, 79, 90, 0.08);
    transform: translateY(-3px);
}

.mrj3y-comment-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.mrj3y-comment-v2-author-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mrj3y-comment-v2-avatar img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mrj3y-comment-v2-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mrj3y-comment-v2-author-name {
    font-size: 17px;
    font-weight: 800;
    margin: 0;
    color: #0c4f5a;
}

.mrj3y-comment-v2-author-name a {
    color: inherit;
    text-decoration: none;
}

.mrj3y-comment-v2-date {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.mrj3y-comment-v2-actions .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mrj3y-comment-v2-actions .comment-reply-link:hover {
    background: #0c4f5a;
    color: #fff;
    border-color: #0c4f5a;
    transform: scale(1.05);
}

.mrj3y-comment-v2-content {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    color: #334155;
    line-height: 1.8;
    font-size: 15.5px;
    border-right: 4px solid #0c4f5a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.mrj3y-comment-v2-pending {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #b45309;
    background: #fffbeb;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Comment Form */
.mrj3y-comment-form-wrapper {
    background: #f1f5f9;
    padding: 40px;
    border-radius: 28px;
    border: 1px solid rgba(12, 79, 90, 0.05);
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mrj3y-comment-notes {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 600;
}

.mrj3y-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.mrj3y-form-field label {
    display: block;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 14px;
}

.mrj3y-input-wrapper, .mrj3y-textarea-wrapper {
    position: relative;
}

.mrj3y-field-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.mrj3y-traditional-form input,
.mrj3y-traditional-form textarea {
    width: 100%;
    padding: 15px 18px 15px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.mrj3y-traditional-form input {
    padding-right: 48px;
}

.mrj3y-traditional-form input:focus,
.mrj3y-traditional-form textarea:focus {
    border-color: #0c4f5a;
    outline: none;
    box-shadow: 0 0 0 5px rgba(12, 79, 90, 0.06);
    background: #fff;
}

.mrj3y-comment-submit {
    background: #0c4f5a;
    color: #fff;
    border: none;
    padding: 18px 45px;
    font-size: 17px;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(12, 79, 90, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.mrj3y-comment-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(12, 79, 90, 0.35);
    background: #08373e;
}

/* Nested Comments */
.mrj3y-comment-list .children {
    list-style: none;
    margin-right: 40px;
    border-right: 2px dashed #e2e8f0;
    padding-right: 20px;
    margin-top: 20px;
}

/* Dark Mode */
body.mrj3y-dark-mode .mrj3y-comments-container {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.05);
}

body.mrj3y-dark-mode .mrj3y-comments-title { color: #f8fafc; }
body.mrj3y-dark-mode .mrj3y-comments-header { border-bottom-color: rgba(255, 255, 255, 0.05); }
body.mrj3y-dark-mode .mrj3y-comment-v2-card { background: #1e293b; border-color: rgba(255, 255, 255, 0.05); }
body.mrj3y-dark-mode .mrj3y-comment-v2-card:hover { background: #243147; }
body.mrj3y-dark-mode .mrj3y-comment-v2-author-name { color: #38bdf8; }
body.mrj3y-dark-mode .mrj3y-comment-v2-content { background: #0f172a; color: #cbd5e1; border-right-color: #38bdf8; }
body.mrj3y-dark-mode .mrj3y-comment-v2-actions .comment-reply-link { background: #334155; border-color: #475569; color: #e2e8f0; }
body.mrj3y-dark-mode .mrj3y-comment-form-wrapper { background: #1e293b; }
body.mrj3y-dark-mode .comment-reply-title { color: #f8fafc; }
body.mrj3y-dark-mode .mrj3y-traditional-form input,
body.mrj3y-dark-mode .mrj3y-traditional-form textarea { background: #0f172a; border-color: #334155; color: #f1f5f9; }

/* Mobile Optimization (Full Width Policy) */
@media (max-width: 768px) {
    .mrj3y-comments-container {
        margin: 20px 0 !important;
        border-radius: 12px !important;
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
    }

    .mrj3y-comments-inner {
        padding: 20px 10px !important;
    }

    .mrj3y-comments-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .mrj3y-comments-title {
        font-size: 22px;
    }

    .mrj3y-comment-v2-card {
        padding: 15px 10px;
        border-radius: 16px;
    }

    .mrj3y-comment-v2-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .mrj3y-comment-v2-author-block {
        flex-direction: column;
        gap: 8px;
    }

    .mrj3y-comment-v2-avatar img {
        width: 50px;
        height: 50px;
    }

    .mrj3y-comment-v2-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mrj3y-comment-v2-content {
        padding: 15px;
        font-size: 14.5px;
        border-radius: 12px;
    }

    .mrj3y-comment-form-wrapper {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .mrj3y-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .mrj3y-comment-submit {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    .mrj3y-comment-list .children {
        margin-right: 15px;
        padding-right: 10px;
    }
}


/* ============================================================
   Mobile Edge-to-Edge Sections Policy (5px Gap)
   Targets: Top News, Latest News, Comments
   ============================================================ */
@media (max-width: 768px) {
    /* 1. Global Container Padding Reset */
    .mrj3y-container {
        padding-left: 5px !important;
        padding-right: 5px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Target Blocks Reset (Edge-to-Edge with 5px Gap from screen) */
    .mrj3y-important-posts-single,
    .mrj3y-category-posts-grid,
    .mrj3y-comments-container,
    .mrj3y-single-post,
    .mrj3y-related-section,
    .mrj3y-tags-container {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
        border: 1px solid rgba(12, 79, 90, 0.12) !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    /* 3. Titles / Headers inside these boxes */
    .mrj3y-important-posts-title,
    .mrj3y-category-grid-section-title,
    .mrj3y-comments-header,
    .mrj3y-related-heading {
        margin: 0 !important;
        padding: 14px 15px !important;
        font-size: 18px !important;
        background: rgba(12, 79, 90, 0.03) !important;
        border: none !important;
        border-bottom: 1px solid rgba(12, 79, 90, 0.1) !important;
        border-radius: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 4. Internal Content Reset (Remove horizontal padding to reach the box border) */
    .mrj3y-single-content,
    .mrj3y-comments-inner,
    .mrj3y-category-grid-wrapper,
    .mrj3y-important-posts-list,
    .mrj3y-related-list {
        padding: 15px 10px !important; /* Small internal padding from the box border */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 5. Specific Content Elements within Article */
    .mrj3y-single-content p,
    .mrj3y-single-content h2,
    .mrj3y-single-content h3,
    .mrj3y-single-content h4 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 6. Dark Mode Adjustments for these boxes */
    body.mrj3y-dark-mode .mrj3y-important-posts-single,
    body.mrj3y-dark-mode .mrj3y-category-posts-grid,
    body.mrj3y-dark-mode .mrj3y-comments-container,
    body.mrj3y-dark-mode .mrj3y-single-post,
    body.mrj3y-dark-mode .mrj3y-related-section {
        background: #1a1a1a !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    body.mrj3y-dark-mode .mrj3y-important-posts-title,
    body.mrj3y-dark-mode .mrj3y-category-grid-section-title,
    body.mrj3y-dark-mode .mrj3y-comments-header {
        background: rgba(255, 255, 255, 0.05) !important;
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    }

    /* 7. Title and Meta (5px horizontal padding) */
    .mrj3y-single-title {
        padding: 15px 5px !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
        border-right-width: 3px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .mrj3y-single-post-meta {
        padding: 10px 5px !important;
        gap: 12px 8px !important;
        font-size: 13px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

/* removed */

}
/* --- Share Section Redesign v2 (Simple & Professional) --- */
.mrj3y-share-v2 {
    margin: 40px auto;
    max-width: 1200px;
    width: 100%;
    direction: rtl;
}

.mrj3y-share-v2-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(12, 79, 90, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mrj3y-share-v2-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.mrj3y-share-v2-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(12, 79, 90, 0.05);
    color: #0c4f5a;
    border-radius: 10px;
    font-size: 18px;
}

.mrj3y-share-v2-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.mrj3y-share-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.mrj3y-share-v2-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    /* No motion effect as requested */
}

.mrj3y-share-v2-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mrj3y-share-v2-fb { background: #1877f2; }
.mrj3y-share-v2-fb:hover { background: #1464cc; }

.mrj3y-share-v2-x { background: #000000; }
.mrj3y-share-v2-x:hover { background: #333333; }

.mrj3y-share-v2-wa { background: #25d366; }
.mrj3y-share-v2-wa:hover { background: #1eb956; }

.mrj3y-share-v2-tg { background: #0088cc; }
.mrj3y-share-v2-tg:hover { background: #0077b5; }

.mrj3y-share-v2-copy { background: #475569; }
.mrj3y-share-v2-copy:hover { background: #334155; }

.mrj3y-share-v2-btn-icon { font-size: 18px; display: flex; align-items: center; }

/* Dark Mode */
body.mrj3y-dark-mode .mrj3y-share-v2-container {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.05);
}
body.mrj3y-dark-mode .mrj3y-share-v2-title { color: #f1f5f9; }
body.mrj3y-dark-mode .mrj3y-share-v2-header { border-bottom-color: #262626; }
body.mrj3y-dark-mode .mrj3y-share-v2-icon { background: #262626; color: #5eead4; }

/* Mobile Edge-to-Edge */
@media (max-width: 768px) {
    .mrj3y-share-v2 {
        margin: 20px 0 !important;
    }
    .mrj3y-share-v2-container {
        border-radius: 12px !important;
        padding: 20px 15px;
        border-left: none;
        border-right: none;
    }
    .mrj3y-share-v2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mrj3y-share-v2-btn-text { font-size: 14px; }
    .mrj3y-share-v2-btn { padding: 12px 10px; border-radius: 12px; }
    .mrj3y-share-v2-copy { grid-column: span 2; }
}
