.vr-share-box .vr-copy-btn,.vr-share-box .vr-share-btn{
    transition:transform .2s ease-in-out,background-color .2s ease,color .2s ease,box-shadow .2s ease!important
}
.vr-share-box .vr-copy-btn:hover,.vr-share-box .vr-share-btn:hover{
    transform:scale(1.12)!important;
    background-color:#e63946!important;
    color:#fff!important;
    box-shadow:0 4px 10px rgba(230,57,70,.4)!important;
    z-index:10
}
.vr-share-box .vr-copy-btn:active,.vr-share-box .vr-share-btn:active{
    transform:scale(.95)!important;
    background-color:#d62828!important;
    box-shadow:0 2px 5px rgba(230,57,70,.6)!important
}
.modern-post-detail{
    --mp-text:#0f172a;
    --mp-muted:#64748b;
    --mp-border:#e2e8f0;
    --mp-primary:#3b82f6;
    --mp-bg:#ffffff
}
body.dark .modern-post-detail,body.dark-mode .modern-post-detail{
    --mp-text:#f3f4f6;
    --mp-muted:#9ca3af;
    --mp-border:#2a2d35;
    --mp-bg:#0f1115
}
.modern-post-detail .material-symbols-outlined{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    vertical-align:middle
}
.modern-post-detail .breadcrumb-wrapper{
    margin-top:18px;
    margin-bottom:25px
}
.modern-post-detail .breadcrumb{
    display:flex;
    gap:6px;
    list-style:none;
    padding:0;
    margin:0;
    font-size:13px;
    font-weight:600;
    flex-wrap:nowrap;
    overflow-x:auto;
    scrollbar-width:none
}
.modern-post-detail .breadcrumb::-webkit-scrollbar{
    display:none
}
.modern-post-detail .breadcrumb li{
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--mp-muted);
    white-space:nowrap
}
.modern-post-detail .breadcrumb li a{
    color:var(--mp-muted);
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:4px;
    transition:.2s
}
.modern-post-detail .breadcrumb li a:hover,.modern-post-detail .breadcrumb li.active{
    color:var(--mp-primary)
}
.modern-post-detail .post-meta-top{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:15px
}
.modern-post-detail .post-type-badge{
    background:#475569;
    color:#fff;
    padding:4px 12px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px
}
body.dark-mode .modern-post-detail .post-type-badge{
    background:#334155
}
.modern-post-detail .post-category-badge{
    color:#fff;
    padding:4px 12px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    text-decoration:none
}
.modern-post-detail .live-badge{
    background:#ef4444;
    color:#fff;
    padding:4px 12px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    display:flex;
    align-items:center;
    gap:5px;
    animation:pulse 2s infinite
}
.modern-post-detail .archived-badge{
    background:#f59e0b;
    color:#fff;
    padding:4px 12px;
    border-radius:20px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase
}
@keyframes pulse{
    0%{
        opacity:1
    }
    50%{
        opacity:.7
    }
    100%{
        opacity:1
    }
}
.modern-post-detail .post-title{
    font-size:2.2rem;
    font-weight:900;
    color:var(--mp-text);
    line-height:1.3;
    margin:0 0 15px 0;
    letter-spacing:-.5px
}
.modern-post-detail .post-summary{
    font-size:1.15rem;
    font-weight:500;
    color:var(--mp-muted);
    line-height:1.6;
    margin:0 0 25px 0;
    padding-left:15px;
    border-left:4px solid var(--mp-primary)
}
html[dir=rtl] .modern-post-detail .post-summary{
    padding-left:0;
    padding-right:15px;
    border-left:none;
    border-right:4px solid var(--mp-primary)
}
.modern-post-detail .author-meta-box{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px 0;
    border-top:1px solid var(--mp-border);
    border-bottom:1px solid var(--mp-border);
    margin-bottom:25px
}
.modern-post-detail .author-avatar{
    width:52px;
    height:52px;
    min-width:52px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
    border:2px solid var(--mp-border)
}
.modern-post-detail .author-info{
    display:flex;
    flex-direction:column;
    justify-content:center
}
.modern-post-detail .author-name{
    font-size:1rem;
    font-weight:700;
    color:var(--mp-text);
    display:flex;
    align-items:center;
    gap:5px
}
.modern-post-detail .author-name a{
    color:inherit;
    text-decoration:none
}
.modern-post-detail .post-stats{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    font-size:12px;
    color:var(--mp-muted);
    font-weight:500;
    margin-top:4px
}
.modern-post-detail .post-stats span{
    display:flex;
    align-items:center;
    gap:4px
}
.modern-post-detail .post-stats .material-symbols-outlined{
    font-size:15px
}
.modern-post-detail .modern-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:40px;
    padding-top:20px;
    border-top:1px dashed var(--mp-border)
}
.modern-post-detail .modern-tag{
    background:var(--mp-bg);
    border:1px solid var(--mp-border);
    color:var(--mp-muted);
    padding:6px 15px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    transition:.2s
}
.modern-post-detail .modern-tag:hover{
    background:var(--mp-primary);
    color:#fff;
    border-color:var(--mp-primary)
}
.modern-post-detail .modern-comment-tabs{
    display:flex;
    gap:10px;
    border-bottom:none;
    margin-bottom:20px
}
.modern-post-detail .modern-comment-tabs button{
    background:0 0;
    border:1px solid var(--mp-border);
    color:var(--mp-muted);
    padding:8px 20px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    transition:.2s;
    cursor:pointer
}
.modern-post-detail .modern-comment-tabs button.active{
    background:var(--mp-primary);
    color:#fff;
    border-color:var(--mp-primary)
}
@media (max-width:767px){
    .modern-post-detail .post-title{
        font-size:1.8rem
    }
    .modern-post-detail .post-summary{
        font-size:1.05rem
    }
}
.alert{
    position:relative;
    padding:1rem;
    margin-bottom:1rem;
    border:1px solid transparent;
    border-radius:.375rem;
    font-family:inherit;
    font-size:1rem
}
.alert-warning{
    color:#664d03;
    background-color:#fff3cd;
    border-color:#ffecb5
}
.alert-danger{
    color:#842029;
    background-color:#f8d7da;
    border-color:#f5c2c7
}
.alert-success{
    color:#0f5132;
    background-color:#d1e7dd;
    border-color:#badbcc
}
.alert-info{
    color:#055160;
    background-color:#cff4fc;
    border-color:#b6effb
}
.alert-dismissible{
    padding-right:3rem
}
.btn-close{
    position:absolute;
    top:0;
    right:0;
    z-index:2;
    padding:1.25rem 1rem;
    background:0 0;
    border:0;
    font-size:1.5rem;
    font-weight:700;
    line-height:1;
    color:inherit;
    opacity:.5;
    cursor:pointer
}
.btn-close:hover{
    color:inherit;
    opacity:.75
}
.btn-close::before{
    content:"\00d7"
}
.fade{
    transition:opacity .15s linear
}
.fade:not(.show){
    opacity:0
}
.show{
    opacity:1
}
.post-next-prev{
    border-top:1px dashed var(--mp-border);
    padding-top:30px;
    margin-top:40px!important
}
.post-next-prev .left,.post-next-prev .right{
    background:var(--mp-bg);
    border:1px solid var(--mp-border);
    border-radius:12px;
    padding:20px;
    transition:all .3s ease;
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-bottom:15px
}
.post-next-prev .left:hover,.post-next-prev .right:hover{
    border-color:var(--mp-primary);
    box-shadow:0 8px 20px rgba(0,0,0,.06);
    transform:translateY(-3px)
}
body.dark-mode .post-next-prev .left:hover,body.dark-mode .post-next-prev .right:hover{
    box-shadow:0 8px 20px rgba(0,0,0,.3)
}
.post-next-prev .head-title{
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    color:var(--mp-muted);
    letter-spacing:.5px;
    margin-bottom:8px
}
.post-next-prev .head-title a{
    color:var(--mp-muted)!important;
    text-decoration:none!important
}
.post-next-prev h3.title{
    font-size:1.15rem;
    font-weight:800;
    line-height:1.4;
    margin:0
}
.post-next-prev h3.title a{
    color:var(--mp-text)!important;
    text-decoration:none!important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    transition:color .2s
}
.post-next-prev .left:hover h3.title a,.post-next-prev .right:hover h3.title a{
    color:var(--mp-primary)!important
}
.post-next-prev .left{
    align-items:flex-start;
    text-align:left!important
}
.post-next-prev .left .head-title,.post-next-prev .left h3.title{
    text-align:left!important
}
.post-next-prev .right{
    align-items:flex-end;
    text-align:right!important
}
.post-next-prev .right .head-title,.post-next-prev .right h3.title{
    text-align:right!important
}
html[dir=rtl] .post-next-prev .left{
    align-items:flex-end;
    text-align:right!important
}
html[dir=rtl] .post-next-prev .left .head-title,html[dir=rtl] .post-next-prev .left h3.title{
    text-align:right!important
}
html[dir=rtl] .post-next-prev .right{
    align-items:flex-start;
    text-align:left!important
}
html[dir=rtl] .post-next-prev .right .head-title,html[dir=rtl] .post-next-prev .right h3.title{
    text-align:left!important
}
 /* ==========================================================================
       PREMIUM AUTHOR BOX (100% CONTRAST PASSED & RESPONSIVE)
       ========================================================================== */
    .pa-box-modern {
        background: var(--sw-card, #ffffff);
        border: 1px solid var(--sw-border, #e2e8f0);
        border-radius: 16px;
        padding: 30px 24px 24px 24px;
        margin: 50px 0 30px 0;
        position: relative;
        box-shadow: 0 4px 20px rgba(0,0,0,0.03);
        transition: 0.3s ease;
    }
    body.dark-mode .pa-box-modern, body.dark .pa-box-modern {
        background: var(--sw-card, #1e2128);
        border-color: var(--sw-border, #2a2d35);
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    }
    .pa-box-modern:hover { border-color: var(--sw-primary, #3b82f6); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }

    /* Floating Label */
    .pa-label {
        position: absolute;
        top: -14px;
        left: 24px;
        background: var(--sw-primary, #3b82f6);
        color: #ffffff;
        padding: 4px 16px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 10px rgba(59,130,246,0.3);
    }
    html[dir="rtl"] .pa-label { left: auto; right: 24px; }

    /* Top Section (Avatar + Info) */
    .pa-top-wrapper { display: flex; gap: 20px; align-items: flex-start; }
    
    .pa-avatar-wrap {
        flex-shrink: 0; width: 85px; height: 85px; border-radius: 50%;
        border: 3px solid var(--sw-bg, #f8fafc); outline: 1px solid var(--sw-border, #e2e8f0);
        overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s;
    }
    .pa-avatar-wrap:hover { transform: scale(1.05) rotate(3deg); border-color: var(--sw-primary, #3b82f6); }
    .pa-avatar { width: 100%; height: 100%; object-fit: cover; }

    .pa-info { flex-grow: 1; }
    .pa-name-row { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
    
    .pa-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 1.2rem; font-weight: 800; }
    .pa-name a { color: var(--sw-text, #0f172a); text-decoration: none; transition: color 0.2s; }
    .pa-name a:hover { color: var(--sw-primary, #3b82f6); }
    body.dark-mode .pa-name a { color: var(--sw-text, #f3f4f6); }
    body.dark-mode .pa-name a:hover { color: var(--sw-primary, #60a5fa); }

    .pa-role { display: inline-flex; align-items: center; }

    /* Follow Button */
    .pa-follow-wrap { flex-shrink: 0; }
    .pa-follow-form { margin: 0; padding: 0; }
    .pa-btn-follow {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        background: var(--sw-primary, #3b82f6); color: #ffffff;
        border: none; padding: 8px 20px; border-radius: 50px;
        font-size: 13px; font-weight: 700; cursor: pointer; transition: 0.3s;
        box-shadow: 0 4px 12px rgba(59,130,246,0.3); outline: none;
    }
    .pa-btn-follow .material-symbols-outlined { font-size: 18px; }
    .pa-btn-follow:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(59,130,246,0.4); }
    
    .pa-btn-follow.following {
        background: transparent; color: var(--sw-text, #0f172a);
        border: 1px solid var(--sw-border, #e2e8f0); box-shadow: none;
    }
    body.dark-mode .pa-btn-follow.following { color: #f3f4f6; border-color: #374151; }
    .pa-btn-follow.following:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: #ef4444; } /* Red on hover to unfollow */

    /* Bio */
    .pa-bio { color: var(--sw-muted, #475569); font-size: 0.95rem; line-height: 1.6; margin: 0; font-weight: 500; }
    body.dark-mode .pa-bio { color: #cbd5e1; }

    /* Footer (Socials & Reporter) */
    .pa-footer {
        display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
        margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--sw-border, #e2e8f0);
    }
    
    .pa-socials { display: flex; gap: 10px; flex-wrap: wrap; }
    .pa-social-icon {
        width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
        background: transparent; border: 1px solid var(--sw-border, #e2e8f0); border-radius: 50%;
        color: var(--sw-muted, #475569); font-size: 15px; text-decoration: none; transition: 0.3s;
    }
    body.dark-mode .pa-social-icon { color: #94a3b8; border-color: #374151; }
    .pa-social-icon:hover { background: var(--sw-primary, #3b82f6); color: #ffffff; border-color: var(--sw-primary, #3b82f6); transform: translateY(-3px); }

    /* Reporter Button (Contrast Safe) */
    .pa-btn-reporter {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        background: rgba(5, 150, 105, 0.1); color: #059669; /* Safe Green for Light Mode */
        padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
        text-decoration: none; transition: 0.3s; border: 1px solid rgba(5, 150, 105, 0.2);
    }
    body.dark-mode .pa-btn-reporter { background: rgba(16, 185, 129, 0.1); color: #34d399; border-color: rgba(16, 185, 129, 0.2); }
    .pa-btn-reporter .material-symbols-outlined { font-size: 18px; }
    .pa-btn-reporter:hover { background: #059669; color: #ffffff; border-color: #059669; }
    body.dark-mode .pa-btn-reporter:hover { background: #10b981; color: #ffffff; border-color: #10b981; }

    /* Mobile Responsiveness */
    @media (max-width: 767px) {
        .pa-top-wrapper { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
        .pa-name-row { flex-direction: column; align-items: center; justify-content: center; width: 100%; }
        .pa-name { justify-content: center; }
        .pa-follow-wrap { width: 100%; display: flex; justify-content: center; margin-top: 5px; }
        .pa-footer { flex-direction: column; justify-content: center; text-align: center; }
        .pa-socials { justify-content: center; }
        .pa-label { left: 50%; transform: translateX(-50%); right: auto; }
        html[dir="rtl"] .pa-label { right: 50%; transform: translateX(50%); left: auto; }
    }
    
 /* ==========================================================================
       MODERN RELATED & TRENDING POSTS CSS
       ========================================================================== */

    /* --- 1. Related Posts Header --- */
    .mrp-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
    .mrp-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--sw-text, #0f172a); margin: 0; text-transform: uppercase; letter-spacing: -0.5px; }
    .mrp-header .line { flex-grow: 1; height: 3px; background: var(--sw-border, #e2e8f0); border-radius: 2px; }
    body.dark-mode .mrp-header h2, body.dark .mrp-header h2 { color: #f3f4f6; }

    /* --- 2. Related Post Cards --- */
    .mrp-card { 
        display: flex; flex-direction: column; background: var(--sw-card, #ffffff); 
        border: 1px solid var(--sw-border, #e2e8f0); border-radius: 12px; 
        overflow: hidden; text-decoration: none; transition: all 0.3s ease; 
        height: 100%; box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
    }
    .mrp-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); border-color: var(--sw-primary, #3b82f6); }
    
    body.dark-mode .mrp-card, body.dark .mrp-card { background: #1e2128; border-color: #2a2d35; }
    body.dark-mode .mrp-card:hover, body.dark .mrp-card:hover { box-shadow: 0 12px 25px rgba(0,0,0,0.4); border-color: #60a5fa; }

    .mrp-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--sw-shape, #cbd5e1); }
    .mrp-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .mrp-card:hover .mrp-img-wrap img { transform: scale(1.05); }
    
    .mrp-content { padding: 18px; display: flex; align-items: center; flex-grow: 1; }
    .mrp-content h3 { 
        font-size: 1.05rem; font-weight: 700; color: var(--sw-text, #0f172a); 
        line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; 
    }
    .mrp-card:hover .mrp-content h3 { color: var(--sw-primary, #3b82f6); }
    body.dark-mode .mrp-content h3, body.dark .mrp-content h3 { color: #f3f4f6; }
    body.dark-mode .mrp-card:hover .mrp-content h3, body.dark .mrp-card:hover .mrp-content h3 { color: #60a5fa; }

    /* --- 3. Trending Box (Always Dark & Premium) --- */
    .mrp-trending-box { 
        background: #0f172a; padding: 35px; border-radius: 16px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-top: 10px; 
        border: 1px solid #1e293b;
    }
    .mrp-trend-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
    .mrp-trend-header h2 { font-size: 1.3rem; font-weight: 800; color: #ffffff; margin: 0; text-transform: uppercase; letter-spacing: -0.5px; }
    .mrp-trend-header .line { flex-grow: 1; height: 1px; background: rgba(255,255,255,0.15); }
    
    /* Trending List & Items */
    .mrp-trend-list { display: flex; flex-direction: column; gap: 15px; }
    .mrp-trend-item { 
        display: flex; gap: 18px; align-items: center; text-decoration: none; 
        padding-bottom: 15px; border-bottom: 1px dashed rgba(255,255,255,0.15); 
        transition: transform 0.3s ease; 
    }
    .mrp-trend-item:last-child { border-bottom: none; padding-bottom: 0; }
    .mrp-trend-item:hover { transform: translateX(6px); }
    html[dir="rtl"] .mrp-trend-item:hover { transform: translateX(-6px); }
    
    /* High Contrast Numbers (SEO/Accessibility Pass) */
    .mrp-trend-num { 
        font-size: 2.2rem; font-weight: 900; color: #94a3b8; /* Passed contrast test */
        font-style: italic; line-height: 0.8; min-width: 45px; text-align: center; transition: 0.3s; 
    }
    .mrp-trend-item:hover .mrp-trend-num { color: #60a5fa; }
    
    /* Titles */
    .mrp-trend-title { 
        font-size: 0.95rem; font-weight: 700; color: #f8fafc; line-height: 1.45; 
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; 
        overflow: hidden; transition: 0.3s; 
    }
    .mrp-trend-item:hover .mrp-trend-title { color: #60a5fa; }

    /* Mobile Tweaks */
    @media (max-width: 767px) {
        .mrp-trending-box { padding: 25px 20px; }
        .mrp-trend-item { gap: 12px; }
        .mrp-trend-num { font-size: 1.8rem; min-width: 35px; }
        .mrp-content { padding: 12px; }
    }