.premium-mag-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; padding-top: 20px; padding-bottom: 0; }

                    .premium-mag-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; position: relative; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); height: 100%; }

                    .premium-mag-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 12px; position: relative; }
                    .premium-mag-header::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 60px; height: 2px; background: #e31e24; }

                    .premium-mag-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; color: #111; margin: 0; display: flex; align-items: center; letter-spacing: 0.5px; text-transform: uppercase; }

                    .premium-mag-title.ad-title { color: #888; font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; }
                    .premium-ad-container .premium-mag-header::after { background: #888; width: 40px; }

                    .premium-mag-date { font-family: 'Inter', sans-serif; font-size: 10px; color: #888; font-weight: 600; letter-spacing: 1.5px; display: flex; align-items: center; gap: 4px; text-transform: uppercase; }
                    .premium-mag-date svg { width: 12px; height: 12px; stroke-width: 2.5; }

                    /* Stacked Image Effect */
                    .premium-mag-stack { position: relative; width: 100%; aspect-ratio: 3 / 4; perspective: 1000px; }
                    .premium-mag-stack img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.08); transition: transform 0.6s, box-shadow 0.6s, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1); background: #fff; border: 1px solid rgba(0,0,0,0.04); }

                    .premium-mag-stack img.layer-1 { z-index: 3; transform: translateY(0) scale(1); }
                    .premium-mag-stack img.layer-2 { z-index: 2; transform: translateY(-16px) scale(0.95); opacity: 0.8; }
                    .premium-mag-stack img.layer-3 { z-index: 1; transform: translateY(-32px) scale(0.9); opacity: 0.5; }

                    .premium-mag-card:hover .premium-mag-stack img.layer-1 { transform: translateY(-12px) scale(1.02); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }
                    .premium-mag-card:hover .premium-mag-stack img.layer-2 { transform: translateY(-24px) scale(0.98); opacity: 0.9; }
                    .premium-mag-card:hover .premium-mag-stack img.layer-3 { transform: translateY(-36px) scale(0.94); opacity: 0.7; }

                    /* Pill Button Overlay */
                    .premium-read-btn { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); color: #111; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 12px 24px; border-radius: 30px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); opacity: 0; transition: transform 0.4s, box-shadow 0.4s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 4; display: flex; align-items: center; gap: 8px; white-space: nowrap; pointer-events: none; }
                    .premium-mag-card:hover .premium-read-btn { transform: translateX(-50%) translateY(0); opacity: 1; }
                    .premium-read-btn svg { transition: transform 0.3s ease; }
                    .premium-mag-card:hover .premium-read-btn svg { transform: translateX(4px); }

                    /* Unified Ad Card */
                    .premium-ad-container { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); }
                    .premium-ad-card { background: #f8f9fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 4; position: relative; text-decoration: none; overflow: hidden; border: 1px solid rgba(0,0,0,0.03); }
                    .premium-ad-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
                    .premium-ad-card:hover img { transform: scale(1.03); }
                    .premium-ad-label { position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.8); color: #fff; font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 700; padding: 4px 10px; border-radius: 4px; letter-spacing: 1.5px; text-transform: uppercase; z-index: 2; }
                    .premium-mobile-read-btn { display: none; }

                    @media (max-width: 992px) {
                        .e-paper-section { display: none !important; }
                    }

.section-card-box {
                        background: #fff;
                        border-radius: 20px;
                        box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
                        padding: 32px 32px 28px 32px;
                        margin-bottom: 32px;
                        border: 1px solid rgba(0,0,0,0.04);
                    }
                    @media (max-width: 768px) {
                        .section-card-box { padding: 20px 16px 20px 16px; border-radius: 14px; }
                    }

/* HEADER */
                    .pop-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 12px; position: relative; }
                    .pop-header::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 60px; height: 2px; background: #e31e24; }
                    .pop-title { margin: 0; line-height: 1; display: flex; flex-direction: column; align-items: flex-start; }
                    /* ── Unified section heading typography ── */
                    .pop-title .tt-main {
                        font-family: 'Inter', sans-serif;
                        font-size: 13px;
                        font-weight: 800;
                        color: #aaa;
                        text-transform: uppercase;
                        letter-spacing: 3px;
                        line-height: 1.2;
                        margin-bottom: 2px;
                    }
                    .pop-title .tt-sub {
                        font-family: 'Playfair Display', serif;
                        font-size: 30px;
                        font-style: italic;
                        font-weight: 700;
                        line-height: 1.1;
                        color: #111;
                        padding-right: 6px; /* prevent italic clipping */
                    }
                    /* LEFT PANEL */
                    .pop-split { display: flex; gap: 32px; align-items: stretch; height: 420px; }
                    .pop-left-panel { flex: 0 0 46%; position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.18); background: #111; text-decoration: none; color: inherit; display: block; }
                    .pop-left-panel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); opacity: 0.88; }
                    .pop-left-panel:hover img { transform: scale(1.05); }
                    .pop-left-panel .pop-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.4) 50%, transparent 100%); pointer-events: none; }
                    .pop-left-panel .pop-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 28px; direction: ltr; text-align: left; }
                    .pop-left-panel .pop-badge { display: inline-flex; align-items: center; gap: 6px; background: #e31e24; color: #fff; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; margin-bottom: 12px; }
                    .pop-left-panel h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; line-height: 1.35; color: #fff; margin: 0 0 8px 0; }
                    .pop-left-panel .pop-meta { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
                    /* RIGHT PANEL */
                    .pop-right-panel { flex: 1; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
                    .pop-right-list { display: flex; flex-direction: column; flex: 1; overflow-y: auto; padding-right: 8px; margin-bottom: 10px; }
                    .pop-right-list::-webkit-scrollbar { width: 4px; }
                    .pop-right-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }
                    .pop-right-item { display: flex; gap: 12px; align-items: center; padding: 10px 10px; border-bottom: 1px solid rgba(0,0,0,0.06); text-decoration: none; color: inherit; cursor: pointer; border-radius: 12px; transition: background 0.2s ease; flex-shrink: 0; }
                    .pop-right-item:last-of-type { border-bottom: none; }
                    .pop-right-item:hover { background: rgba(0,0,0,0.03); }
                    .pop-right-item.pop-active { background: rgba(227,30,36,0.06); }
                    .pop-right-item .pop-rank { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: rgba(0,0,0,0.07); line-height: 1; flex-shrink: 0; width: 28px; text-align: center; }
                    .pop-right-item.pop-active .pop-rank { color: #e31e24; }
                    .pop-right-item .pop-thumb { border-radius: 10px; overflow: hidden; flex-shrink: 0; }
                    .pop-right-item .pop-thumb img { width: 72px; height: 72px; object-fit: cover; display: block; transition: transform 0.4s ease; }
                    .pop-right-item:hover .pop-thumb img { transform: scale(1.07); }
                    .pop-right-item .pop-text { flex: 1; direction: ltr; text-align: left; }
                    .pop-right-item h4 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 600; line-height: 1.35; color: #111; margin: 0 0 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
                    .pop-right-item .pop-date { font-family: 'Inter', sans-serif; font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.9px; font-weight: 600; }
                    /* NEXT BUTTON */
                    .pop-next-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; padding: 12px 28px; background: #111; color: #fff; border: none; border-radius: 10px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.6px; cursor: pointer; text-transform: uppercase; transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease; align-self: flex-start; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
                    .pop-next-btn:hover { background: #e31e24; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(227,30,36,0.3); }
                    .pop-next-btn svg { transition: transform 0.3s ease; }
                    .pop-next-btn:hover svg { transform: translateX(5px); }
                    
                    /* --- MOBILE RESPONSIVE --- */
                    @media (max-width: 992px) {
                        .pop-split { flex-direction: column; height: auto; }
                        .pop-left-panel { flex: 0 0 auto; height: 350px; }
                        .pop-left-panel img { min-height: 350px; }
                        .pop-right-panel { flex: 0 0 auto; overflow: visible; }
                        .pop-right-list { max-height: 400px; padding-right: 0; }
                    }

.premium-news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.05); transition: transform 0.4s, box-shadow 0.4s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid rgba(0,0,0,0.03); display: flex; flex-direction: column; height: 100%; position: relative; }
                    .premium-news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
                    .premium-news-image-wrapper { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid rgba(0,0,0,0.03); }
                    .premium-news-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
                    .premium-news-card:hover .premium-news-image-wrapper img { transform: scale(1.05); }
                    .premium-news-badge { position: absolute; top: 12px; right: 12px; background: rgba(227, 30, 36, 0.95); color: #fff; padding: 4px 12px; border-radius: 4px; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(227,30,36,0.2); backdrop-filter: blur(4px); z-index: 2; }
                    .premium-news-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
                    .premium-news-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 800; color: #111; line-height: 1.4; margin: 0 0 10px 0; text-align: right; direction: rtl; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
                    .premium-news-excerpt { font-family: 'Inter', sans-serif; font-size: 13px; color: #666; line-height: 1.6; margin: 0 0 20px 0; text-align: right; direction: rtl; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
                    .premium-news-meta { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06); direction: rtl; }
                    .premium-news-meta-item { display: flex; align-items: center; gap: 6px; color: #888; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; }
                    .premium-news-meta-item svg { width: 14px; height: 14px; fill: #aaa; }
                    .trending-article-cards-wrapper { gap: 24px; }
                    .premium-cta-button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 36px; background: #111; color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 50px; text-decoration: none; transition: transform 0.4s, box-shadow 0.4s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
                    .premium-cta-button:hover { background: #e31e24; transform: translateY(-3px); box-shadow: 0 12px 24px rgba(227,30,36,0.3); color: #fff; }
                    .premium-cta-button svg { width: 16px; height: 16px; fill: currentColor; transition: transform 0.3s ease; }
                    .premium-cta-button:hover svg { transform: translateX(4px); }
                    .premium-cta-button:hover svg { transform: translateX(4px); }

                    /* Premium Hover Popup Styles */
                    .home-latest-article-link { position: relative; display: block; text-decoration: none; }
                    .article-preview-popup { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 340px; background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,0.3); border: 1px solid rgba(0,0,0,0.05); padding: 16px; opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 100; }
                    .home-latest-article-link:hover .article-preview-popup { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1.05); }
                    .article-preview-popup-img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
                    .article-preview-popup-content { padding: 0 4px; }
                    .article-preview-popup-title { font-family: "Poppins", "Noto Nastaliq Urdu", sans-serif; font-size: 16px; font-weight: 700; line-height: 2.2; color: #111; margin: 0 0 8px; text-align: right; unicode-bidi: plaintext; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
                    .article-preview-popup-time { font-family: "Inter", sans-serif; font-size: 12px; color: #888; margin: 0; font-weight: 500; text-transform: uppercase; text-align: right; letter-spacing: 0.5px; }
                    .trending-article-cards-wrapper, .trending-article-cards, .section-wrapper { overflow: visible !important; }

                    /* --- MOBILE RESPONSIVE PREMIUM DESIGN --- */
                    @media (max-width: 992px) {
                        .trending-article-section .section-wrapper { display: flex; flex-direction: column !important; gap: 40px !important; }
                        .trending-article-cards, .home-latest-sidebar { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
                        
                        /* Layout fixes for mobile */
                        .trending-article-section .pop-header { padding-top: 20px; }
                        .trending-article-section .pop-title { font-size: 24px; text-align: center; width: 100%; }
                        .trending-article-section .pop-header::after { left: 50%; transform: translateX(-50%); width: 80px; }

                        .trending-article-cards-wrapper { display: flex; flex-direction: column; gap: 24px; }

                        /* Premium Mobile Card */
                        .premium-news-card {
                            flex-direction: row; /* Horizontal layout for compactness on mobile */
                            align-items: center;
                            border-radius: 16px;
                            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
                            border: 1px solid rgba(0,0,0,0.04);
                            padding: 12px;
                            gap: 16px;
                            background: #ffffff;
                            min-height: 140px;
                        }
                        
                        .premium-news-image-wrapper {
                            width: 110px;
                            height: 110px;
                            flex-shrink: 0;
                            border-radius: 12px;
                            border-bottom: none;
                        }
                        
                        .premium-news-badge {
                            top: 8px;
                            right: 8px;
                            font-size: 9px;
                            padding: 3px 8px;
                            border-radius: 6px;
                            box-shadow: 0 2px 8px rgba(227,30,36,0.3);
                        }
                        
                        .premium-news-content {
                            padding: 0;
                            justify-content: center;
                        }
                        
                        .premium-news-title {
                            font-size: 15px;
                            line-height: 1.5;
                            margin: 0 0 8px 0;
                            -webkit-line-clamp: 3;
                            font-weight: 700;
                        }
                        
                        .premium-news-excerpt {
                            display: none; /* Hide excerpt on mobile to keep it clean */
                        }
                        
                        .premium-news-meta {
                            padding-top: 0;
                            border-top: none;
                            gap: 12px;
                            justify-content: flex-start; /* Align meta to the right for RTL */
                            flex-direction: row-reverse;
                        }
                        
                        .premium-news-meta-item {
                            font-size: 10px;
                        }
                        .premium-news-meta-item svg { width: 12px; height: 12px; }

                        .section-header-cta-button {
                            width: 100%;
                            justify-content: center;
                            padding: 16px;
                        }
                    }
                    
                    @media (max-width: 576px) {
                        /* For very small screens, switch back to stacked card for better visual impact */
                        .premium-news-card {
                            flex-direction: column;
                            padding: 0;
                            min-height: auto;
                            border-radius: 20px;
                        }
                        .premium-news-image-wrapper {
                            width: 100%;
                            height: 200px;
                            border-radius: 20px 20px 0 0;
                        }
                        .premium-news-content {
                            padding: 20px;
                        }
                        .premium-news-title {
                            font-size: 18px;
                            -webkit-line-clamp: 3;
                        }
                        .premium-news-meta {
                            padding-top: 16px;
                            border-top: 1px solid rgba(0,0,0,0.04);
                            justify-content: space-between;
                            flex-direction: row;
                        }
                        .premium-news-excerpt {
                            display: -webkit-box;
                            margin-bottom: 16px;
                        }
                    }

.premium-trending-list { display: flex; flex-direction: column; }
                        .premium-trending-item { display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s ease; gap: 24px; flex-direction: row-reverse; }
                        .premium-trending-item:last-child { border-bottom: none; }
                        .premium-trending-item:hover { transform: translateX(-6px); }
                        .premium-trending-number { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px #e31e24; opacity: 0.3; transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s ease; min-width: 45px; text-align: center; }
                        .premium-trending-item:hover .premium-trending-number { opacity: 1; color: #e31e24; -webkit-text-stroke: 1px transparent; }
                        .premium-trending-content { flex: 1; display: flex; flex-direction: column; gap: 8px; text-align: right; }
                        .premium-trending-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: #111; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
                        .premium-trending-meta { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
                        .premium-trending-box { background: #fff; border-radius: 12px; padding: 0 24px; box-shadow: 0 12px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.03); }
                        
                        /* Premium Trending Header (All Devices) */
                            .premium-trending-header-mobile {
                                padding-top: 32px !important;
                                margin-bottom: 32px !important;
                                border-bottom: none !important;
                                display: flex !important;
                                flex-direction: row !important;
                                justify-content: space-between;
                                align-items: flex-start !important;
                                text-align: left !important;
                                direction: ltr !important;
                                width: 100%;
                            }
                            .premium-trending-header-mobile::after { display: none !important; }
                            
                            .trending-supertitle {
                                font-family: 'Inter', sans-serif;
                                font-size: 9px;
                                font-weight: 800;
                                color: #e31e24;
                                text-transform: uppercase;
                                letter-spacing: 2px;
                                margin: 0;
                                display: inline-flex;
                                align-items: center;
                                padding: 6px 12px;
                                border-radius: 50px;
                                background: rgba(227,30,36,0.06);
                                border: 1px solid rgba(227,30,36,0.12);
                                gap: 6px;
                                flex-shrink: 0;
                                margin-top: 8px; /* slight push down to balance */
                            }
                            .trending-supertitle::before {
                                content: '';
                                display: block;
                                width: 5px;
                                height: 5px;
                                border-radius: 50%;
                                background: #e31e24;
                                box-shadow: 0 0 0 2px rgba(227,30,36,0.2);
                                animation: pulse-trending 2s infinite;
                            }
                            @keyframes pulse-trending {
                                0% { box-shadow: 0 0 0 0 rgba(227,30,36,0.6); }
                                70% { box-shadow: 0 0 0 6px rgba(227,30,36,0); }
                                100% { box-shadow: 0 0 0 0 rgba(227,30,36,0); }
                            }
                            
                    /* Unified tt styles already defined globally in .pop-title above */
                    .premium-trending-title-mobile { align-items: flex-start !important; text-align: left !important; }

/* === PPA Split Panel === */
            .ppa-split { display: grid; grid-template-columns: 3fr 2fr; gap: 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.04); margin-top: 24px; min-height: 520px; }
            @media (max-width: 768px) { .ppa-split { grid-template-columns: 1fr; } }
            /* Left: Featured panel */
            .ppa-featured { position: relative; overflow: hidden; }
            .ppa-featured-img-wrap { position: absolute; inset: 0; }
            .ppa-featured-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); display: block; }
            .ppa-featured-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.05) 100%); }
            .ppa-featured-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 36px; text-align: right; }
            .ppa-featured-badge { display: inline-flex; align-items: center; gap: 6px; background: #e31e24; color: #fff; font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 5px 12px; border-radius: 4px; margin-bottom: 16px; }
            .ppa-featured-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: #fff; line-height: 1.35; margin: 0 0 12px 0; text-shadow: 0 2px 10px rgba(0,0,0,0.5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: opacity 0.4s ease; }
            .ppa-featured-meta { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
            .ppa-read-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 10px 22px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: 0.8px; text-transform: uppercase; transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s ease; }
            .ppa-read-btn:hover { background: rgba(255,255,255,0.3); }
            /* Right: Article list */
            .ppa-list-panel { position: relative; display: flex; flex-direction: column; overflow-y: auto; max-height: 520px; scrollbar-width: thin; scrollbar-color: #e5e5e5 transparent; }
            .ppa-list-panel::-webkit-scrollbar { width: 4px; }
            .ppa-list-panel::-webkit-scrollbar-thumb { background: #e5e5e5; border-radius: 4px; }
            .ppa-panel-item { appearance: none; background: transparent; width: 100%; text-align: right; font-family: inherit; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: none; border-bottom: 1px solid rgba(0,0,0,0.05); cursor: pointer; transition: all 0.25s ease; flex-direction: row-reverse; text-decoration: none; flex-shrink: 0; }
            .ppa-panel-item:last-child { border-bottom: none; }
            .ppa-panel-item:hover { background: rgba(0,0,0,0.02); }
            .ppa-panel-item.ppa-active { background: #fef2f2; border-right: 3px solid #e31e24; }
            .ppa-panel-thumb { width: 76px; height: 58px; border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; }
            .ppa-panel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
            .ppa-panel-item:hover .ppa-panel-thumb img { transform: scale(1.08); }
            .ppa-panel-content { flex: 1; text-align: right; }
            .ppa-panel-title { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; color: #111; line-height: 1.45; margin: 0 0 5px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
            .ppa-panel-item.ppa-active .ppa-panel-title { color: #e31e24; }
            .ppa-panel-meta { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.8px; }
            .ppa-panel-num { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 800; color: #ccc; min-width: 18px; text-align: center; }
            .ppa-panel-item.ppa-active .ppa-panel-num { color: #e31e24; }

/* === Premium App Promo Section === */
.app-promo-section { padding: 80px 0; background: #130a0d; position: relative; overflow: hidden; }
/* Subtle background grid */
.app-promo-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }

.app-promo-card { max-width: 940px; margin: 0 auto; background: radial-gradient(ellipse at 0% 0%, #2a0e14 0%, #151515 50%, #111 100%); border-radius: 24px; padding: 40px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 40px 100px rgba(0,0,0,0.5); z-index: 1; direction: ltr; text-align: left; }
@media(max-width: 992px) { .app-promo-card { grid-template-columns: 1fr; padding: 40px; text-align: center; } }

.app-promo-badge { display: inline-block; border: 1px solid rgba(227, 30, 36, 0.3); background: rgba(227, 30, 36, 0.08); color: #e31e24; font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 50px; margin-bottom: 24px; }
.app-promo-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 800; color: #fff; line-height: 1.15; margin: 0 0 16px 0; }
.app-promo-desc { font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 440px; margin: 0 0 32px 0; }
@media(max-width: 992px) { .app-promo-desc { margin: 0 auto 40px auto; } }

.app-promo-btns { display: flex; gap: 16px; flex-wrap: wrap; }
@media(max-width: 992px) { .app-promo-btns { justify-content: center; } }
.app-btn-custom { display: flex; align-items: center; gap: 12px; background: #000; border: 1px solid rgba(255,255,255,0.08); padding: 12px 24px; border-radius: 14px; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.app-btn-custom:hover { background: #111; border-color: rgba(255,255,255,0.2); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.4); }
.app-btn-icon svg { width: 22px; height: 22px; fill: #fff; }
.app-btn-text { display: flex; flex-direction: column; text-align: left; }
.app-btn-sub { font-family: 'Inter', sans-serif; font-size: 9px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.app-btn-main { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #fff; line-height: 1; }

/* Right Visual - 3D Phone Mockup */
.app-promo-visual { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.css-phone { width: 220px; height: 460px; background: #fff; border-radius: 36px; border: 8px solid #1c1c1e; box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 0 3px #000, inset 0 0 20px rgba(0,0,0,0.1); position: relative; overflow: hidden; transform: rotateY(-12deg) rotateX(4deg); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; }
.app-promo-visual:hover .css-phone { transform: rotateY(0deg) rotateX(0deg); }
.css-phone::after { content: ''; position: absolute; top: -20%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%); transform: rotate(30deg); pointer-events: none; z-index: 50; }
.css-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 70px; height: 20px; background: #000; border-radius: 20px; z-index: 10; box-shadow: inset 0 0 4px rgba(255,255,255,0.2); }

/* Phone internals styling */
.phone-header { background: #fff; padding: 46px 16px 12px 16px; border-bottom: 1px solid #f0f0f0; }
.phone-logo { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 800; color: #111; margin-bottom: 12px; }
.phone-nav { display: flex; gap: 14px; font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 700; color: #888; text-transform: uppercase; border-bottom: 1px solid #f5f5f5; padding-bottom: 6px; }
.phone-nav span.active { color: #e31e24; border-bottom: 2px solid #e31e24; padding-bottom: 4px; margin-bottom: -7px; }
.phone-body { padding: 12px; background: #fafafa; height: calc(100% - 90px); overflow-y: hidden; display: flex; flex-direction: column; gap: 10px; }
.phone-article { display: flex; gap: 10px; align-items: center; background: #fff; padding: 8px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.02); }
.phone-article img { width: 56px; height: 42px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.phone-article-title { font-family: 'Playfair Display', serif; font-size: 10px; font-weight: 700; color: #222; line-height: 1.35; margin: 0 0 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.phone-article-meta { font-family: 'Inter', sans-serif; font-size: 7px; color: #999; text-transform: uppercase; font-weight: 600; }

/* Floating badges */
.float-badge { position: absolute; backdrop-filter: blur(8px); border-radius: 50px; padding: 10px 18px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; box-shadow: 0 16px 32px rgba(0,0,0,0.4); z-index: 20; transition: transform 0.4s; }
.badge-live { top: 15%; right: -30px; background: rgba(60,60,65,0.85); border: 1px solid rgba(255,255,255,0.1); transform: translateZ(40px); }
.badge-live .dot { width: 8px; height: 8px; background: #ff3b3b; border-radius: 50%; box-shadow: 0 0 8px rgba(255,59,59,0.8); }
.badge-premium { bottom: 25%; left: -40px; background: rgba(30,30,32,0.85); border: 1px solid rgba(255,255,255,0.08); transform: translateZ(60px); color: #eee; font-size: 11px; padding: 12px 20px;}
.app-promo-visual:hover .badge-live { transform: translateZ(60px) translateX(-10px); }
.app-promo-visual:hover .badge-premium { transform: translateZ(80px) translateX(10px); }

@keyframes premiumPopup {
                        to { transform: scale(1) translateY(0); opacity: 1; }
                    }
                    #closeButton:hover { transform: scale(1.1) rotate(90deg); background: #e31e24; }
                    #closeButton:hover svg { stroke: #fff !important; }

/* ---------------------------------------------------------------
   1. HERO SECTION — Featured Article row
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-main-row {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* Reduce hero article height and text on mobile */
    .hero-main-row > div[style*="flex: 1"] a,
    .hero-main-row > div > a {
        min-height: 280px !important;
        border-radius: 16px !important;
    }

    /* Reduce h1 font size inside hero */
    .hero-main-row h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    /* Reduce excerpt text */
    .hero-main-row p {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }

    /* Tighten content overlay padding */
    .hero-main-row div[style*="padding: 40px 32px"] {
        padding: 20px 16px 16px 16px !important;
    }

    /* Reduce overall hero section top padding */
    .hero-section .container > div {
        padding: 16px 0 !important;
        gap: 24px !important;
    }
}

/* ---------------------------------------------------------------
   2. E-PAPER SECTION — premium-mag-section
   (already has 992px breakpoint; only minor mobile tweaks needed)
--------------------------------------------------------------- */
@media (max-width: 600px) {
    .premium-mag-section {
        gap: 32px !important;
        padding-bottom: 48px !important;
    }

    .premium-mag-stack {
        height: 300px !important;
    }

    .premium-ad-card {
        height: 220px !important;
    }

    .premium-mag-title {
        font-size: 16px !important;
    }
}

/* ---------------------------------------------------------------
   3. POPULAR TODAY — pop-split
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .pop-split {
        flex-direction: column !important;
        height: auto !important;
        gap: 16px !important;
    }

    .pop-left-panel {
        flex: none !important;
        width: 100% !important;
        min-height: 260px !important;
        height: 260px !important;
        border-radius: 16px !important;
    }

    .pop-left-panel img {
        min-height: 260px !important;
        height: 260px !important;
    }

    .pop-left-panel h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .pop-left-panel .pop-info {
        padding: 16px !important;
    }

    .pop-right-panel {
        flex: none !important;
        width: 100% !important;
        max-height: 320px !important;
        overflow-y: auto !important;
    }

    .pop-right-item {
        padding: 8px !important;
    }

    .pop-right-item .pop-rank {
        font-size: 18px !important;
        width: 22px !important;
    }

    .pop-right-item .pop-thumb img {
        width: 60px !important;
        height: 60px !important;
    }

    .pop-next-btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 12px !important;
    }

    .pop-title {
        font-size: 16px !important;
    }
}

/* ---------------------------------------------------------------
   4. LATEST ARTICLES SECTION
   — cards grid already responsive via styles.css
   — fix the hardcoded 450px right sidebar
--------------------------------------------------------------- */
@media (max-width: 775px) {
    .home-latest-sidebar {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Hide hover popup on touch screens — causes layout issues */
    .article-preview-popup {
        display: none !important;
    }

    .premium-trending-item:hover {
        transform: none !important;
    }

    .premium-trending-number {
        font-size: 28px !important;
        min-width: 34px !important;
    }

    .premium-trending-title {
        font-size: 14px !important;
    }

    .premium-trending-box {
        padding: 0 12px !important;
    }
}

/* ---------------------------------------------------------------
   5. PAST POPULAR ARTICLES — ppa-split
   (grid already collapses to 1fr at 768px)
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .ppa-featured {
        min-height: 280px !important;
    }

    .ppa-featured-body {
        padding: 20px 20px !important;
    }

    .ppa-featured-title {
        font-size: 18px !important;
        -webkit-line-clamp: 2 !important;
    }

    .ppa-list-panel {
        max-height: 300px !important;
    }

    .ppa-panel-thumb {
        width: 60px !important;
        height: 46px !important;
    }

    .ppa-panel-title {
        font-size: 12px !important;
    }
}

/* ---------------------------------------------------------------
   6. APP PROMO SECTION — css-phone + badges
--------------------------------------------------------------- */
@media (max-width: 600px) {
    .css-phone {
        width: 170px !important;
        height: 360px !important;
        border-radius: 28px !important;
    }

    .app-promo-title {
        font-size: 28px !important;
    }

    .badge-live {
        right: 0 !important;
        font-size: 10px !important;
        padding: 7px 12px !important;
    }

    .badge-premium {
        left: 0 !important;
        font-size: 10px !important;
        padding: 8px 14px !important;
    }

    .app-btn-custom {
        padding: 10px 16px !important;
    }

    .app-promo-card {
        padding: 28px 24px !important;
    }
}

/* ---------------------------------------------------------------
   GLOBAL — prevent horizontal overflow on mobile
--------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-section,
    .e-paper-section,
    .trending-article-section,
    .app-promo-section {
        overflow-x: hidden;
    }

    /* Ensure container doesn't cause overflow */
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.mobile-epaper-popup {
        display: none;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(150%);
        width: calc(100% - 32px);
        max-width: 400px;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.1);
        z-index: 9999;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
        opacity: 0;
        border: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-epaper-popup.is-visible {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    .mobile-epaper-popup-content {
        display: flex;
        align-items: center;
        padding: 12px;
        gap: 12px;
        position: relative;
        cursor: pointer;
    }
    .mobile-epaper-popup-close {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #333;
        border: 1px solid rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: rgba(255,255,255,0.8);
        padding: 0;
        transition: background 0.2s;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }
    .mobile-epaper-popup-close:active { background: #555; }
    .mobile-epaper-popup-close svg { width: 12px; height: 12px; }
    
    .mep-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #ff3b3f 0%, #e31e24 100%);
        color: #fff;
        border-radius: 12px;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(227,30,36,0.3);
    }
    .mep-icon svg { width: 20px; height: 20px; }
    
    .mep-text {
        display: flex;
        flex-direction: column;
        flex: 1;
        text-align: left;
    }
    .mep-text h4 {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 2px 0;
        color: #fff;
        line-height: 1.1;
        letter-spacing: 0.2px;
    }
    .mep-text p {
        font-family: 'Inter', sans-serif;
        font-size: 11px;
        font-weight: 500;
        margin: 0;
        color: rgba(255,255,255,0.7);
        letter-spacing: 0.1px;
        line-height: 1.2;
    }
    .mep-btn {
        background: rgba(255,255,255,0.1);
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-weight: 700;
        padding: 8px 16px;
        border-radius: 50px;
        text-decoration: none;
        white-space: nowrap;
        border: 1px solid rgba(255,255,255,0.05);
        transition: background 0.2s;
        margin-right: 4px;
    }
    .mep-btn:active { background: rgba(255,255,255,0.2); }
    
    @media (max-width: 992px) {
        .mobile-epaper-popup { display: block; }
    }

@media (max-width: 992px) {
    .article-preview-popup { display: none !important; }
}
