


/* ═══════════════════════════════════════════
   NEWSPAPER 3-COLUMN ARTICLE LAYOUT
   ═══════════════════════════════════════════ */

.single-article-page {
    background: #f7f7f7;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.single-article-page > .container {
    padding-top: 32px;
    padding-bottom: 80px;
    max-width: 1260px;
}

/* ── 3-Column Grid: Left / Center / Right ── */
.np-layout {
    display: grid;
    grid-template-columns: 1.15fr 2fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ── Shared White Box Style ── */
.np-box {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* ═══════════════════════
   LEFT BOX — Title & Meta
   ═══════════════════════ */
.np-left { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 0; }

.np-category {
    display: inline-flex;
    align-items: center;
    background: rgba(227, 30, 36, 0.08);
    color: #e31e24;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(227, 30, 36, 0.12);
    box-shadow: 0 2px 8px rgba(227,30,36,0.03);
    align-self: flex-start;
}

.np-title {
    font-family: "Noto Nastaliq Urdu", serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    color: #0a0a0a !important;
    margin: 0 0 24px !important;
    direction: rtl !important;
    text-align: right !important;
}

.np-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0 0;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    margin-bottom: 24px;
}
.np-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.np-author-info { display: flex; flex-direction: column; }
.np-author-name {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}
.np-author-meta {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #777;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 3px;
}
.np-listen-btn {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #e31e24;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}
.np-listen-btn:hover {
    background: #e31e24;
    color: #fff;
    border-color: #e31e24;
    box-shadow: 0 6px 16px rgba(227,30,36,0.2);
}
@keyframes np-spin { 100% { transform: rotate(360deg); } }

.np-social-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

/* Language Toggles */
.np-lang-active { background: linear-gradient(135deg, #e31e24 0%, #ff4b4b 100%); color: #fff; border: none; padding: 10px 28px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 700; cursor: default; display: inline-flex; align-items: center; box-shadow: 0 6px 16px rgba(227,30,36,0.3); letter-spacing: 0.2px; }
.np-lang-inactive { background: #fff; color: #555; border: 1px solid #e0e0e0; padding: 9px 27px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); letter-spacing: 0.2px; }
.np-lang-inactive:hover { background: #fafafa; color: #111; border-color: #ccc; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }

.np-social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.np-social-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.np-social-btn.facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.np-social-btn.twitter:hover  { background: #1da1f2; color: #fff; border-color: #1da1f2; }
.np-social-btn.whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.np-social-btn.linkedin:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.np-social-btn.email:hover    { background: #555;    color: #fff; border-color: #555; }

/* Tags section in left box */
.np-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.np-tag {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}
.np-tag:hover { background: #e31e24; color: #fff; border-color: #e31e24; }

/* Reaction voting inside left box */
.np-vote {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.np-vote-title {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.np-vote-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.np-vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #fafafa;
    padding: 10px 4px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #666;
}
.np-vote-btn img { width: 28px; height: 28px; }
.np-vote-btn:hover { border-color: #e31e24; background: #fff5f5; color: #e31e24; transform: translateY(-2px); }

/* ═══════════════════════════════
   CENTER BOX — Image + Content
   ═══════════════════════════════ */
.np-center { padding: 0; }

.np-hero-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}
.np-hero-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.np-hero-img:hover { transform: scale(1.02); }
.np-hero-iframe {
    width: 100%;
    height: 340px;
    display: block;
    border: none;
}
.np-img-caption {
    background: #f7f7f7;
    border-top: 1px solid #ebebeb;
    padding: 10px 20px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    font-style: italic;
}

.np-content-body { padding: 24px 28px 28px; }

.np-article-text {
    font-family: "Noto Nastaliq Urdu", serif !important;
    font-size: 20px !important;
    line-height: 2.8 !important;
    color: #333 !important;
    direction: rtl !important;
    text-align: right !important;
    margin-bottom: 24px !important;
}
.np-article-text strong { color: #111; font-weight: 700; }

/* Pull Quote / Blockquote */
.np-pullquote {
    border-left: 4px solid #e31e24;
    background: #fff9f9;
    margin: 28px 0;
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}
.np-pullquote p {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.7;
    font-style: italic;
}
.np-pullquote::before {
    content: '\201C';
    display: block;
    font-size: 48px;
    color: #e31e24;
    line-height: 1;
    margin-bottom: -8px;
    font-family: Georgia, serif;
}

.np-source {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #aaa;
    padding-top: 16px;
    border-top: 1px solid #eee;
    margin-top: 24px;
    direction: rtl;
    text-align: right;
}

/* ═══════════════════════════════
   RIGHT BOX — Related + Trending
   ═══════════════════════════════ */
.np-right { padding: 24px; display: flex; flex-direction: column; gap: 0; }

.np-section-label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 12px;
    border-bottom: 2px solid #111;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.np-section-label span {
    width: 6px;
    height: 6px;
    background: #e31e24;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Related Stories — thumbnail cards */
.np-related-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}
.np-related-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    transition: all 0.2s ease;
}
.np-related-item:last-child { border-bottom: none; }
.np-related-item:hover .np-related-title { color: #e31e24; }
.np-related-thumb {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.np-related-item:hover .np-related-thumb { transform: scale(1.04); }
.np-related-info { flex: 1; min-width: 0; }
.np-related-title {
    font-family: "Noto Nastaliq Urdu", serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0 0 4px;
    direction: rtl;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.np-related-date {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    color: #bbb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: right;
    direction: rtl;
}

/* Trending — numbered list */
.np-trending-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    counter-reset: trend-counter;
}
.np-trending-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    counter-increment: trend-counter;
    transition: all 0.2s ease;
}
.np-trending-item:last-child { border-bottom: none; }
.np-trending-num {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #ddd;
    line-height: 1.2;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.np-trending-num::before { content: counter(trend-counter); }
.np-trending-item:hover .np-trending-num { color: #e31e24; }
.np-trending-title {
    font-family: "Noto Nastaliq Urdu", serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    line-height: 1.8;
    margin: 0;
    direction: rtl;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
    flex: 1;
}
.np-trending-item:hover .np-trending-title { color: #e31e24; }

/* Ad card in right column */
.np-ad-block {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    margin-top: 4px;
}
.np-ad-img {
    width: 100%;
    border-radius: 10px;
    display: block;
    height: auto;
    margin-bottom: 10px;
}
.np-ad-label {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    color: #bbb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.np-ad-title {
    font-family: "Noto Nastaliq Urdu", serif;
    font-size: 14px;
    color: #111;
    direction: rtl;
    text-align: right;
    line-height: 2;
    margin: 0;
}

/* ═══════════════════════════════════════════════
   PREMIUM AUDIO PLAYER CARD (Desktop & Mobile)
   ═══════════════════════════════════════════════ */
.am-audio-player-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #f0f0f4;
    border-radius: 16px;
    padding: 12px 18px;
    margin: 18px 0 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    width: 100%;
}
.am-audio-player-card:hover {
    border-color: #fecdd3;
    box-shadow: 0 8px 24px rgba(186,18,26,0.06);
}
.am-audio-play-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ba121a 0%, #e31e24 100%);
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(186,18,26,0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    padding: 0;
}
.am-audio-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(186,18,26,0.42);
}
.am-audio-play-btn:active {
    transform: scale(0.96);
}
.am-audio-play-btn.is-playing {
    background: #0f172a;
    box-shadow: 0 4px 14px rgba(15,23,42,0.28);
}
.am-audio-spin {
    animation: amAudioSpin 1s linear infinite;
}
@keyframes amAudioSpin {
    100% { transform: rotate(360deg); }
}
.am-audio-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    direction: ltr;
}
.am-audio-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.am-audio-title {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}
.am-audio-badge {
    font-family: 'Inter', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ba121a;
    background: #fee2e2;
    padding: 2px 7px;
    border-radius: 4px;
}
.am-audio-status {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}
.am-audio-waves {
    display: flex;
    align-items: center;
    gap: 3.5px;
    height: 22px;
    padding-left: 6px;
    flex-shrink: 0;
}
.am-wave-bar {
    width: 3px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 3px;
    transition: height 0.2s ease, background-color 0.2s ease;
}
.am-audio-waves.is-active .am-wave-bar {
    background: #e31e24;
    animation: amWavePulse 1.2s ease-in-out infinite alternate;
}
.am-audio-waves.is-active .am-wave-bar:nth-child(1) { animation-delay: 0.1s; height: 16px; }
.am-audio-waves.is-active .am-wave-bar:nth-child(2) { animation-delay: 0.3s; height: 22px; }
.am-audio-waves.is-active .am-wave-bar:nth-child(3) { animation-delay: 0.2s; height: 14px; }
.am-audio-waves.is-active .am-wave-bar:nth-child(4) { animation-delay: 0.4s; height: 20px; }
.am-audio-waves.is-active .am-wave-bar:nth-child(5) { animation-delay: 0.15s; height: 10px; }

@keyframes amWavePulse {
    0% { height: 6px; }
    50% { height: 22px; }
    100% { height: 8px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN & MOBILE ARTICLE FLOW
   IMAGE -> TITLE -> AUDIO -> CONTENT -> SOCIAL
   ═══════════════════════════════════════════════ */

/* Smooth touch behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}
body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
}

@media (max-width: 1100px) {
    .np-layout { grid-template-columns: 1fr 1.8fr; }
    .np-right-col { grid-column: span 2; }
}

@media (max-width: 992px) {
    .single-article-page {
        background: #f4f4f6;
    }
    .single-article-page > .container {
        padding-top: 14px;
        padding-bottom: 40px;
        padding-left: 14px;
        padding-right: 14px;
        max-width: 760px;
    }

    /* Single cohesive article card on mobile */
    .np-layout {
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 24px rgba(0,0,0,0.05);
        overflow: hidden;
        gap: 0;
        width: 100%;
    }

    /* Flatten column wrappers so children participate in the mobile flex flow */
    .np-col-left,
    .np-col-center,
    .np-box.np-left,
    .np-box.np-center {
        display: contents;
    }

    /* ── 1. Hero Image / Video at the very top ── */
    .np-hero-img-wrap {
        order: 1;
        width: 100%;
        max-height: 420px;
        overflow: hidden;
        background: #000;
        border-radius: 0;
        border-bottom: 1px solid #f1f5f9;
    }
    .np-hero-img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: cover;
        display: block;
    }
    .np-hero-iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border: none;
        display: block;
    }

    /* ── 2. Image Caption ── */
    .np-img-caption {
        order: 2;
        padding: 10px 18px 12px;
        font-size: 11.5px;
        color: #64748b;
        background: #fafafa;
        border-bottom: 1px solid #f1f5f9;
        line-height: 1.5;
        font-family: 'Inter', sans-serif;
    }

    /* ── 3. Category Header & Alerts ── */
    .np-cat-header {
        order: 3;
        padding: 18px 18px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 0 !important;
    }
    .am-fallback-alert {
        order: 4;
        margin: 12px 18px 0;
    }

    /* ── 4. Headline / Title ── */
    .np-title {
        order: 5;
        padding: 12px 18px 0 !important;
        margin: 0 !important;
    }
    .article-mode-urdu .np-title {
        font-size: 27px !important;
        line-height: 1.75 !important;
    }
    .article-mode-english .np-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    /* ── 5. Author Row ── */
    .np-author-row {
        order: 6;
        margin: 14px 18px 0;
        padding: 12px 0;
        border-top: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
    }
    .np-author-avatar {
        width: 44px;
        height: 44px;
    }

    /* ── 6. Audio Player Bar ── */
    .am-audio-player-card {
        order: 7;
        margin: 14px 18px 4px;
        width: calc(100% - 36px);
        align-self: center;
    }

    /* ── 7. Language Toggle Bar ── */
    .np-lang-toggle-bar {
        order: 8;
        margin: 14px 18px 0 !important;
        padding-bottom: 14px !important;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        gap: 10px;
    }
    .np-lang-active,
    .np-lang-inactive {
        padding: 8px 20px;
        font-size: 13.5px;
    }

    /* ── 8. Content Body ── */
    .np-content-body {
        order: 9;
        padding: 18px 18px 24px;
        box-sizing: border-box;
        width: 100%;
    }
    .article-mode-urdu .np-article-text {
        font-size: 18px !important;
        line-height: 2.6 !important;
        text-align: right !important;
    }
    .article-mode-english .np-article-text {
        font-size: 15.5px !important;
        line-height: 1.85 !important;
        color: #1e293b !important;
        text-align: left !important;
    }
    .np-pullquote {
        margin: 20px 0;
        padding: 16px 18px;
        border-left: 3px solid #ba121a;
        background: #fff8f8;
        border-radius: 8px;
        font-size: 14.5px;
    }
    .np-source {
        margin-top: 18px;
        padding-top: 12px;
        border-top: 1px dashed #e2e8f0;
        font-size: 12px;
        color: #64748b;
    }

    /* ── 9. Social Share Stack (Sleek horizontal row on mobile) ── */
    .np-social-stack {
        order: 10;
        margin: 0 18px 20px;
        padding-top: 18px;
        border-top: 1px solid #f1f5f9;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    .np-social-btn {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        padding: 11px 12px;
        font-size: 12px;
        border-radius: 10px;
        min-height: 44px;
        box-sizing: border-box;
    }

    /* ── 10. Reaction Voting ── */
    .np-vote {
        order: 11;
        margin: 0 18px 20px;
        padding: 18px;
        background: #f8fafc;
        border-radius: 14px;
        border: 1px solid #f1f5f9;
    }
    .np-vote-row {
        display: flex;
        justify-content: space-around;
        gap: 8px;
    }
    .np-vote-btn {
        min-height: 46px;
        border-radius: 10px;
        padding: 8px 10px;
    }

    /* ── 11. Tags ── */
    .np-tags {
        order: 12;
        margin: 0 18px 20px;
        padding-top: 16px;
        border-top: 1px solid #f1f5f9;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* ── 12. Trending Video ── */
    .np-trending-video-box {
        order: 13;
        margin: 0 18px 24px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    /* ── 13. Right Column (Related Stories & Trending Articles) ── */
    .np-right-col {
        order: 14;
        width: 100%;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        padding: 24px 18px;
        box-sizing: border-box;
    }
    .np-right-col .np-box.np-right {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

/* Extra small screens (Phones <= 480px) */
@media (max-width: 480px) {
    .single-article-page > .container {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
    }
    .np-layout {
        border-radius: 16px;
    }
    .np-cat-header,
    .np-title,
    .np-author-row,
    .np-content-body,
    .np-social-stack,
    .np-vote,
    .np-tags,
    .np-right-col {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .am-audio-player-card {
        margin: 12px 14px 4px;
        width: calc(100% - 28px);
        padding: 10px 14px;
        gap: 10px;
    }
    .am-audio-play-btn {
        width: 42px;
        height: 42px;
    }
    .am-audio-title {
        font-size: 12.5px;
    }
    .am-audio-status {
        font-size: 11px;
    }
    .article-mode-urdu .np-title {
        font-size: 24px !important;
    }
    .article-mode-english .np-title {
        font-size: 21px !important;
    }
    .article-mode-urdu .np-article-text {
        font-size: 17px !important;
        line-height: 2.5 !important;
    }
    .article-mode-english .np-article-text {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
    .np-hero-img-wrap {
        max-height: 260px;
    }
    .np-social-btn {
        flex: 1 1 100%;
    }
}

/* No sticky hover lift on touch devices */
@media (hover: none) {
    .np-social-btn:hover,
    .np-box:hover,
    .chat:hover,
    .button-hero:hover,
    .ra-item:hover .ra-item-img {
        transform: none !important;
    }
}

/* ── Global: Comments & Contact Section ── */
.section.bg-primary { background: #f5f5f7 !important; padding: 48px 0; }
.section.bg-primary .content-header-title { font-size: 18px !important; font-weight: 700 !important; color: #111 !important; text-transform: none; letter-spacing: 0; }
.section.bg-primary .section-header-cta-button { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; color: #e31e24; text-decoration: none; display: flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 1px; }
.section.bg-primary .section-header-cta-icon { width: 16px; height: 16px; fill: #e31e24; }
.contact-section.bg-primary { background: #fafafa !important; padding: 80px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.contact-section .container { margin: 0 auto; }

.comments-layout { display: flex; gap: 80px; align-items: stretch; width: 100%; max-width: 100%; margin: 0 auto; }
@media(max-width: 1000px) { .comments-layout { flex-direction: column; gap: 40px; } }
.comments-sidebar { width: 35%; min-width: 380px; max-width: 480px; flex-shrink: 0; }
@media(max-width: 1000px) { .comments-sidebar { width: 100%; min-width: 0; max-width: none; } }
.comments-main { flex: 1; min-width: 0; width: 100%; padding-bottom: 40px; }
.comments-sidebar-box { background: #09090b; padding: 60px 48px; border-radius: 32px; color: #fff; box-shadow: 0 32px 64px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.08); position: sticky; top: 40px; height: calc(100vh - 80px); min-height: 500px; max-height: 700px; display: flex; flex-direction: column; justify-content: center; text-align: left; border: 1px solid rgba(255,255,255,0.04); overflow: hidden; }
.comments-sidebar-box::before { content: ''; position: absolute; top: -30%; left: -30%; width: 160%; height: 160%; background: radial-gradient(circle at 50% 0%, rgba(227, 30, 36, 0.12) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.comments-sidebar-box > * { position: relative; z-index: 1; }
.comments-sidebar-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.8); margin-bottom: 24px; align-self: flex-start; }
.comments-sidebar-badge-dot { width: 6px; height: 6px; background: #e31e24; border-radius: 50%; box-shadow: 0 0 10px #e31e24; animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0% { box-shadow: 0 0 0 0 rgba(227,30,36,0.4); } 70% { box-shadow: 0 0 0 6px rgba(227,30,36,0); } 100% { box-shadow: 0 0 0 0 rgba(227,30,36,0); } }
.comments-sidebar-box h3 { font-family: "Poppins", serif; font-size: 42px; font-weight: 800; margin: 0 0 20px; color: #fff; letter-spacing: -1.5px; line-height: 1.1; }
.comments-sidebar-box h3 span { color: transparent; background: linear-gradient(135deg, #e31e24, #ff6b6b); -webkit-background-clip: text; background-clip: text; }
.comments-sidebar-box p { font-family: "Inter", sans-serif; font-size: 15.5px; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 0; }
.comments-sidebar-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: linear-gradient(135deg, rgba(227,30,36,0.15) 0%, rgba(227,30,36,0.02) 100%); color: #e31e24; border-radius: 20px; margin-bottom: 28px; box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 12px 32px rgba(227,30,36,0.1); border: 1px solid rgba(227,30,36,0.15); align-self: flex-start; }
.comments-sidebar-icon svg { width: 28px; height: 28px; fill: currentColor; filter: drop-shadow(0 4px 8px rgba(227,30,36,0.4)); }

.contact-section .article-section-details-vote-text { text-align: left !important; margin-bottom: 32px; }
.contact-section .article-section-details-vote-text-title { font-family: "Poppins", sans-serif; font-size: 32px; font-weight: 800; color: #111; margin-bottom: 8px; letter-spacing: -0.5px; position: relative; display: inline-block; }
.contact-section .article-section-details-vote-text-title::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 40px; height: 3px; background: #e31e24; border-radius: 2px; }
.contact-section .article-section-details-vote-text-subtitle { font-family: "Inter", sans-serif; font-size: 13px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 16px; }

.contact-info { display: flex; gap: 24px; margin-bottom: 24px; }
@media(max-width: 600px) { .contact-info { flex-direction: column; gap: 16px; margin-bottom: 16px; } }
.contact-info-input { flex: 1; position: relative; }
.form-input, .text-input { width: 100%; border: 1px solid transparent; border-radius: 16px; font-family: "Inter", sans-serif; font-size: 15px; color: #111; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.04); outline: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }
.form-input { padding: 18px 24px; }
.text-input { padding: 24px; resize: vertical; min-height: 160px; line-height: 1.6; }
.form-input::placeholder, .text-input::placeholder { color: #a0a0a0; font-weight: 400; }
.form-input:focus, .text-input:focus { background: #fff; border-color: rgba(227,30,36,0.3); box-shadow: 0 8px 32px rgba(227,30,36,0.08), 0 0 0 4px rgba(227,30,36,0.05); transform: translateY(-2px); }

.contact-cta { text-align: right; margin-top: 24px; }
.button-hero { background: linear-gradient(135deg, #e31e24 0%, #9e0d12 100%); color: #fff; border: none; padding: 16px 48px; border-radius: 50px; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 10px 24px rgba(227,30,36,0.3), inset 0 2px 0 rgba(255,255,255,0.2); text-transform: uppercase; letter-spacing: 1.5px; position: relative; overflow: hidden; display: inline-block; }
.button-hero::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s ease; }
.button-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(227,30,36,0.4), inset 0 2px 0 rgba(255,255,255,0.2); color: #fff; }
.button-hero:hover::before { left: 100%; }

.chats { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.chat { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; background: #fff; border-radius: 16px; box-shadow: 0 2px 16px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); transition: transform 0.25s ease; }
.chat:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.chat-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.chat-content { flex: 1; min-width: 0; }
.chat-content-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chat-content-text-user { font-family: "Poppins", sans-serif; font-weight: 700; color: #111; font-size: 14px; letter-spacing: -0.2px; }
.chat-content-text { font-family: "Inter", sans-serif; font-size: 14px; color: #555; line-height: 1.7; }

.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: #15803d; padding: 14px 18px; border-radius: 12px; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-success::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #16a34a; color: #fff; border-radius: 50%; font-size: 12px; }



/* ── Related Articles Section ── */
.ra-section {
    background: linear-gradient(160deg, #f8f9fb 0%, #eef0f5 100%);
    padding: 60px 0;
}
.ra-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}
.ra-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ra-header-accent {
    width: 5px;
    height: 32px;
    background: linear-gradient(180deg, #e31e24, #ff6b6b);
    border-radius: 4px;
    flex-shrink: 0;
}
.ra-header-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    margin: 0;
}
.ra-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #e31e24;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: gap 0.2s ease;
}
.ra-header-cta:hover { gap: 12px; }
.ra-header-cta svg { transition: transform 0.2s ease; }
.ra-header-cta:hover svg { transform: translateX(3px); }
.ra-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 992px) { .ra-columns { grid-template-columns: 1fr; } }
.ra-column {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05), 0 1px 4px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ra-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-decoration: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.055);
    transition: background 0.2s ease;
    border-radius: 0;
    position: relative;
    overflow: visible;
}
.ra-item:last-child { border-bottom: none; padding-bottom: 0; }
.ra-item:first-child { padding-top: 0; }
.ra-item:hover .ra-item-title { color: #e31e24; }
.ra-item:hover .ra-item-img { transform: scale(1.06); }
.ra-item-text { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ra-item-title {
    font-family: 'Noto Nastaliq Urdu', 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.75;
    margin: 0 0 10px 0;
    text-align: right;
    direction: rtl;
    display: -webkit-box;
    -webkit-line-clamp: 3; line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.ra-item-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    direction: rtl;
}
.ra-item-time {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.ra-item-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
}
.ra-item-img-wrap {
    width: 115px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ra-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
