/* From partials/_footer.php */
.footer-social-links a { width: 34px !important; height: 34px !important; line-height: 34px !important; }
.footer-social-links a svg { width: 14px !important; height: 14px !important; }
@media (max-width: 768px) {
    .newsletter-inputs { flex-wrap: wrap; }
    .newsletter-inputs .form-control { width: 100%; margin-bottom: 0.5rem; }
    .newsletter-inputs .btn { width: 100%; }
}

/* From partials/_footer.php */
.cat-title {
            display: flex;
            align-items: center;
            margin: 22px 0;
        }

        /* 1. Double Slanted Lines Update */
        .cat-title::before {
            content: "";
            width: 4px;
            height: 20px;
            background: var(--vr-block-color); /* Pehli line ka color */
            border-radius: 2px;
            margin-right: 14px; /* Text se pehle ka space */
            transform: skewX(-15deg); /* Halka tircha karne ke liye */
            box-shadow: 6px 0 0 var(--vr-theme-color); /* Dusri line yahan se banegi (Alag color) */
        }

        .cat-title h3 {
            display: flex;
            align-items: center;
            font-size: 27px;
            font-weight: 700;
            margin: 0;
            white-space: nowrap;
            color: var(--vr-theme-color);
        }

        .cat-title h3 .last-word {
    background: var(--vr-block-color);
    color: #fff !important;
    padding: 2px 14px 2px 8px;
    margin-left: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    position: relative;
    z-index: 2;
    
    /* Yeh property badge ko thoda niche karne ke liye jodi gayi hai */
    transform: translateY(2px); 
}

        .cat-title .line {
            flex: 1;
            height: 2px;
            margin-left: 10px;
            background: linear-gradient(to right, var(--vr-block-color) 0, rgba(0,0,0,0.1) 90%, transparent 100%) !important;
            z-index: 1;
            transform: translateY(2px); 
        }

        .cat-title h3:has(.last-word) + .line {
            margin-left: -5px !important;
        }

        /* 2. SVG Alignment & Link Fixes */
        .cat-title a {
            display: inline-flex; /* Icon aur text ko align karne ke liye */
            align-items: center;  /* Vertical center alignment */
            gap: 4px;             /* Text aur icon ke beech ka gap */
            flex-shrink: 0 !important;
            white-space: nowrap !important;
            margin-left: 12px;
            font-size: 14px; /* Thoda size increase kiya better visibility ke liye */
            text-decoration: none;
            color: var(--vr-theme-color);
            font-weight: 700;
        }

        .cat-title a:hover {
            color: #ff55ee;
        }
@media (max-width: 576px) {
    .cat-title h3 {
        font-size: 21px;
        font-weight: 800;
    }
    
    .cat-title h3 .last-word {
        font-size: 14px;
        padding: 2px 10px 2px 6px;
    }
    
    .cat-title a {
        font-size: 12px;
        margin-left: 8px;
    }
    
    .cat-title::before {
        margin-right: 10px;
    }
}

/* From partials/_footer.php */
.hover-lift { transition: transform 0.2s ease; }
    .hover-lift:hover { transform: translateY(-3px); }
    .footer-dynamic-links li a:hover { opacity: 1 !important; padding-left: 5px; color: var(--vr-theme-color) !important; }
    .transition-all { transition: all 0.25s ease; }
    .hover-theme-color:hover { color: var(--vr-theme-color) !important; }

/* From partials/_bottom_nav.php */
.bottom-nav-bg {
                display: none !important;
            }

            .bottom-nav-wrapper {
                background-color: rgba(255, 255, 255, 0.85) !important;
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                border-top: 1px solid rgba(0, 0, 0, 0.05);
            }

            [data-bs-theme="dark"] .bottom-nav-wrapper {
                background-color: rgba(26, 29, 32, 0.85) !important;
                border-top: 1px solid rgba(255, 255, 255, 0.05);
            }

/* From partials/_bottom_nav.php */
body.bottom-nav-hidden #bottomMenu {
            display: none !important;
        }

/* From partials/_bottom_nav.php */
body[data-bs-theme="dark"] .theme-icon-light,
                        [data-bs-theme="dark"] .theme-icon-light {
                            display: flex !important;
                        }

                        body[data-bs-theme="dark"] .theme-icon-dark,
                        [data-bs-theme="dark"] .theme-icon-dark {
                            display: none !important;
                        }

/* From partials/_bottom_nav.php */
.bottom-nav-wrapper {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 70px;
            z-index: 1030;
            filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.08));
            transition: bottom 0.4s ease-in-out;
        }

        .bottom-nav-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: background-color 0.3s;
            -webkit-mask-image: linear-gradient(black, black), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M0,0 C30,0 32,32 60,32 C88,32 90,0 120,0 L120,70 L0,70 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(black, black);
            -webkit-mask-size: calc(50% - 59px) 100%, 120px 70px, calc(50% - 59px) 100%;
            -webkit-mask-position: left top, center top, right top;
            -webkit-mask-repeat: no-repeat;
            mask-image: linear-gradient(black, black), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M0,0 C30,0 32,32 60,32 C88,32 90,0 120,0 L120,70 L0,70 Z' fill='black'/%3E%3C/svg%3E"), linear-gradient(black, black);
            mask-size: calc(50% - 59px) 100%, 120px 70px, calc(50% - 59px) 100%;
            mask-position: left top, center top, right top;
            mask-repeat: no-repeat;
        }

        .bottom-vews-items {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            position: relative;
            height: 100%;
            padding: 0 5px 8px 5px;
            z-index: 2
        }

        .vews-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: #777;
            transition: color .2s;
            cursor: pointer
        }

        .vews-item.active,
        .vews-item:hover {
            color: #e63946
        }

        .vews-item .vews-nav-icon {
            margin-bottom: 2px;
        }

        .vews-item .nav-label {
            font-size: 11px;
            font-weight: 600;
            white-space: nowrap
        }

        .vews-item-form {
            display: flex;
            flex: 1;
            margin: 0;
            padding: 0
        }

        .vews-item-form button.vews-item {
            width: 100%;
            background: 0 0;
            border: none;
            outline: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            padding: 0
        }

        .center-action-wrapper {
            flex: 1.2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            position: relative;
            height: 100%
        }

        .center-action-btn {
            position: absolute;
            top: -25px;
            width: 56px;
            height: 56px;
            background: linear-gradient(135deg, var(--vr-theme-color) 0, var(--vr-block-color) 100%) !important;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #fff !important;
            text-decoration: none !important;
            border: 3px solid rgba(255, 255, 255, 0.85);
            box-shadow: 0 6px 15px rgba(13, 110, 253, .4);
            animation: pulse-hint 3.5s infinite ease-in-out;
            transition: border-color .3s
        }

        .center-action-btn:active {
            animation: none;
            transform: scale(.92)
        }

        .center-action-btn svg {
            margin: 0;
            color: #ffffff !important;
        }

        .center-text-label {
            position: absolute;
            bottom: -2px;
            font-size: 11px;
            font-weight: 600;
            color: #777
        }

        .center-action-btn:active,
        .center-action-btn:focus,
        .center-action-btn:hover {
            color: #fff !important
        }

        .center-action-btn:hover svg {
            color: #fff !important
        }

        @keyframes pulse-hint {
            0% {
                transform: translateY(0) scale(1);
                box-shadow: 0 4px 12px rgba(13, 110, 253, .4)
            }

            50% {
                transform: translateY(-4px) scale(1.03);
                box-shadow: 0 8px 20px rgba(13, 110, 253, .7)
            }

            100% {
                transform: translateY(0) scale(1);
                box-shadow: 0 4px 12px rgba(13, 110, 253, .4)
            }
        }

        @media (min-width:600px) {

            .bottom-nav-wrapper,
            .top-nav {
                display: none !important
            }
        }

        [data-bs-theme="dark"] .bottom-nav-wrapper {
            filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, .5))
        }

        [data-bs-theme="dark"] .bottom-nav-bg {
            background-color: rgba(30, 30, 30, 0.85);
        }

        [data-bs-theme="dark"] .vews-item {
            color: #aaa
        }

        [data-bs-theme="dark"] .center-text-label {
            color: #aaa
        }

        [data-bs-theme="dark"] .nav-label {
            color: #aaa !important;
        }

        [data-bs-theme="dark"] .center-action-btn {
            border: 3px solid #1e1e1e
        }

        .nav-label {
            color: #212529 !important;
        }

        .badge-new-app {
            position: absolute;
            top: -10px;
            right: 5px;
            background-color: #ff3b30;
            color: white;
            font-size: 0.55rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            border: 1px solid #fff;
            animation: pulse-new 1.5s infinite;
            z-index: 10;
        }

        @keyframes pulse-new {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
            }

            70% {
                transform: scale(1.1);
                box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
            }

            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
            }
        }

        #pwa-install-menu-btn {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* Dark mode overrides for modal */
        [data-bs-theme="dark"] .modal-content {
            background-color: #1a1d20;
        }

        [data-bs-theme="dark"] .modal-content h5 {
            color: #fff !important;
        }

        [data-bs-theme="dark"] .btn-light {
            background: #2b3035;
            color: #fff;
            border-color: #3b455d !important;
        }

/* From partials/_featured_section.php */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');

        .featured-section {
            --page:#f5f5f7;
            --white:#ffffff;
            --ink:#14141a;
            --ink-soft:#6b6b74;
            --line:#e7e7ec;
            --grad1:#ff5b6a;
            --grad2:#7c5cff;
            --grad-css:linear-gradient(135deg, var(--grad1), var(--grad2));
        }

        [data-bs-theme="dark"] .featured-section, .dark-mode .featured-section {
            --page:#0d0d11;
            --white:#15151c;
            --ink:#f0f0f5;
            --ink-soft:#a0a0ab;
            --line:#262630;
        }

        .featured-section .wrap { max-width:1240px; margin:0 auto; }

        /* ============ TOP GRID: slider + side posts ============ */
        .featured-section .top-grid {
            display:grid;
            grid-template-columns:1.7fr 1fr;
            gap:24px;
            align-items:stretch;
        }
        .featured-section .left-col { min-width:0; }

        /* ============ FEATURED SLIDER ============ */
        .featured-section .featured {
            position:relative;
            border-radius:22px;
            overflow:hidden;
            height:400px;
            box-shadow:0 40px 80px -20px rgba(20,20,26,.35), 0 0 0 1px rgba(20,20,26,.04);
            background: #08080c;
        }

        .featured-section .f-slide {
            position:absolute; inset:0;
            opacity:0; transition:opacity .7s ease;
            pointer-events:none;
        }
        .featured-section .f-slide.active { opacity:1; pointer-events:auto; }
        .featured-section .f-slide img {
            width:100%; height:100%; object-fit:cover; display:block;
            transform:scale(1.08);
            transition:transform 8s ease-out;
        }
        .featured-section .f-slide.active img { transform:scale(1); }
        .featured-section .f-scrim {
            position:absolute; inset:0;
            background:linear-gradient(0deg, rgba(8,8,12,.92) 0%, rgba(8,8,12,.55) 35%, rgba(8,8,12,.05) 62%),
                       linear-gradient(90deg, rgba(8,8,12,.35) 0%, transparent 45%);
        }

        /* top row: counter + progress */
        .featured-section .f-top {
            position:absolute; top:0; left:0; right:0;
            display:flex; align-items:center; gap:14px;
            padding:20px 24px 0; z-index:6;
        }
        .featured-section .f-progress { flex:1; display:flex; gap:6px; }
        .featured-section .f-progress .seg { flex:1; height:3px; border-radius:3px; background:rgba(255,255,255,.28); overflow:hidden; }
        .featured-section .f-progress .seg i { display:block; height:100%; width:0%; background:#fff; }
        .featured-section .f-progress .seg.done i { width:100%; }
        .featured-section .f-progress .seg.current i.animate { animation:segFill 5s linear forwards; }
        @keyframes segFill { from{width:0%;} to{width:100%;} }
        .featured-section .f-count {
            font-size:12px; font-weight:700; color:#fff; letter-spacing:.5px;
            font-variant-numeric:tabular-nums;
            white-space:nowrap;
        }
        .featured-section .f-count span { opacity:.55; }

        /* glass content panel */
        .featured-section .f-body {
            position:absolute; left:0; right:0; bottom:0;
            padding:28px 26px 24px;
            z-index:5;
            display:flex; align-items:flex-end; justify-content:space-between;
            gap:24px;
        }
        .featured-section .f-main { max-width:640px; min-width:0; }
        .featured-section .f-pill {
            display:inline-flex; align-items:center; gap:6px;
            font-size:11px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase;
            padding:6px 12px; border-radius:20px; color:#fff;
            margin-bottom:16px;
        }
        .featured-section .f-pill::before { content:''; width:6px; height:6px; border-radius:50%; background:#fff; }
        .featured-section .f-title {
            font-family:'Playfair Display',Georgia,serif;
            font-weight:800;
            font-size:clamp(20px, 2.4vw, 28px);
            line-height:1.16;
            color:#fff;
            margin-bottom:10px;
            text-shadow:0 6px 24px rgba(0,0,0,.35);
        }
        .featured-section .f-title a {
            color: inherit;
            text-decoration: none;
            transition: opacity .2s ease;
        }
        .featured-section .f-title a:hover {
            opacity: 0.92;
            text-decoration: underline;
        }
        .featured-section .f-excerpt {
            font-size:13px; color:rgba(255,255,255,.82); line-height:1.5;
            margin-bottom:14px; max-width:92%;
            display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
        }
        .featured-section .f-meta { display:flex; align-items:center; gap:10px; }
        .featured-section .f-av {
            width:26px; height:26px; border-radius:50%;
            background:var(--grad-css);
            display:flex; align-items:center; justify-content:center;
            font-size:11px; font-weight:800; color:#fff;
        }
        .featured-section .f-meta-text { font-size:12px; color:rgba(255,255,255,.75); }
        .featured-section .f-meta-text b { color:#fff; font-weight:700; }

        .featured-section .f-cta {
            flex-shrink:0;
            display:flex; align-items:center; gap:8px;
            background:rgba(255,255,255,.14);
            border:1px solid rgba(255,255,255,.35);
            backdrop-filter:blur(14px);
            -webkit-backdrop-filter:blur(14px);
            color:#fff !important; font-size:13px; font-weight:700;
            padding:12px 18px; border-radius:14px;
            cursor:pointer; white-space:nowrap;
            text-decoration:none !important;
            transition:background .2s ease, transform .2s ease;
        }
        .featured-section .f-cta:hover { background:rgba(255,255,255,.24); transform:translateY(-2px); color:#fff !important; }
        .featured-section .f-cta svg { width:15px; height:15px; }

        /* arrows - visible on hover */
        .featured-section .f-nav {
            position:absolute; top:50%;
            width:46px; height:46px; border-radius:50%;
            background:rgba(255,255,255,.14);
            border:1px solid rgba(255,255,255,.35);
            backdrop-filter:blur(14px);
            -webkit-backdrop-filter:blur(14px);
            display:flex; align-items:center; justify-content:center;
            color:#fff; cursor:pointer; z-index:6;
            opacity: 0;
            pointer-events: none;
            transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .featured-section .f-nav.prev { left:10px; transform:translateY(-50%) translateX(-12px); }
        .featured-section .f-nav.next { right:10px; transform:translateY(-50%) translateX(12px); }
        .featured-section .featured:hover .f-nav.prev { left:20px; opacity:1; pointer-events:auto; transform:translateY(-50%) translateX(0); }
        .featured-section .featured:hover .f-nav.next { right:20px; opacity:1; pointer-events:auto; transform:translateY(-50%) translateX(0); }
        .featured-section .f-nav:hover { background:var(--grad-css); border-color:transparent; transform:translateY(-50%) scale(1.08) !important; }

        @media (max-width: 768px) {
            .featured-section .f-nav { opacity: 0.85; pointer-events: auto; transform:translateY(-50%) translateX(0); }
            .featured-section .f-nav.prev { left: 12px; }
            .featured-section .f-nav.next { right: 12px; }
        }
        .featured-section .f-nav svg { width:18px; height:18px; }

        /* ============ THUMBNAIL RAIL ============ */
        .featured-section .rail {
            display:flex; gap:12px;
            margin-top:16px;
            overflow-x:auto;
            scrollbar-width:none;
            padding-bottom:2px;
        }
        .featured-section .rail::-webkit-scrollbar { display:none; }
        .featured-section .rail-item {
            position:relative;
            flex:0 0 auto;
            width:172px; height:96px;
            border-radius:14px; overflow:hidden;
            cursor:pointer;
            border:2px solid transparent;
            transition:border-color .25s ease, transform .25s ease;
            background: #101014;
        }
        .featured-section .rail-item.active { border-color:transparent; box-shadow:0 0 0 2.5px #7c5cff, 0 8px 20px rgba(124,92,255,.3); }
        .featured-section .rail-item:hover { transform:translateY(-2px); }
        .featured-section .rail-item img { width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.75); transition:filter .25s ease; }
        .featured-section .rail-item.active img { filter:brightness(.55); }
        .featured-section .rail-item:hover img { filter:brightness(.85); }
        .featured-section .rail-overlay {
            position:absolute; inset:0; padding:9px 10px;
            display:flex; flex-direction:column; justify-content:space-between;
            background:linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 55%);
        }
        .featured-section .rail-cat {
            align-self:flex-start;
            font-size:8.5px; font-weight:800; letter-spacing:.8px; text-transform:uppercase;
            color:#fff; background:rgba(255,255,255,.2); padding:2px 6px; border-radius:4px;
            backdrop-filter:blur(4px);
        }
        .featured-section .rail-title {
            font-size:11px; font-weight:700; color:#fff; line-height:1.25;
            display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
        }
        .featured-section .rail-item.active .rail-overlay::after {
            content:''; position:absolute; top:8px; right:8px;
            width:6px; height:6px; border-radius:50%; background:#7c5cff;
            box-shadow:0 0 0 3px rgba(124,92,255,.35);
        }

        /* ============ SIDE POSTS ============ */
        .featured-section .side-col {
            display:flex; flex-direction:column;
            background:var(--white);
            border:1px solid var(--line);
            border-radius:22px;
            padding:18px 16px;
            box-shadow:0 20px 45px -18px rgba(20,20,26,.14);
        }
        .featured-section .side-title {
            display:flex; align-items:center; gap:8px;
            font-size:12px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase;
            color:var(--ink); margin-bottom:6px; padding:0 4px;
        }
        .featured-section .side-title .bar { width:14px; height:3px; border-radius:2px; background:var(--grad-css); }

        .featured-section .post-row {
            display:flex; gap:12px; align-items:center;
            padding:12px 4px; border-radius:14px;
            cursor:pointer;
            color: inherit;
            text-decoration: none !important;
            transition:background .2s ease;
        }
        .featured-section .post-row:hover { background:var(--page); }
        .featured-section .post-row + .post-row { border-top:1px solid var(--line); }

        .featured-section .post-thumb {
            width:64px; height:64px; border-radius:12px; overflow:hidden; flex-shrink:0;
            position:relative;
            background: #202028;
        }
        .featured-section .post-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

        .featured-section .post-text { min-width:0; flex-grow: 1; }
        .featured-section .post-cat {
            display:inline-flex; align-items:center; gap:5px;
            font-size:9.5px; font-weight:800; letter-spacing:1px; text-transform:uppercase;
            margin-bottom:5px;
        }
        .featured-section .post-cat::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
        .featured-section .post-title {
            font-size:13px; font-weight:700; line-height:1.32; color:var(--ink);
            display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
            transition: color .2s ease;
        }
        .featured-section .post-row:hover .post-title {
            color: var(--grad1);
        }
        .featured-section .post-time { font-size:10.5px; color:var(--ink-soft); margin-top:5px; }

        /* ============ COMPACT EDITOR PICKS ============ */
        .featured-section .ep-card {
            display: flex;
            align-items: center;
            gap: 14px;
            background: var(--white);
            border: 1px solid var(--line);
            padding: 12px;
            border-radius: 16px;
            transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
            color: inherit;
            text-decoration: none !important;
            height: 100%;
            box-shadow: 0 4px 15px rgba(20, 20, 26, 0.03);
        }
        .featured-section .ep-card:hover {
            transform: translateY(-3px);
            border-color: transparent;
            box-shadow: 0 12px 28px rgba(20, 20, 26, 0.12);
            background: var(--white);
        }
        .featured-section .ep-thumb {
            width: 88px;
            height: 88px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
            background: #202028;
        }
        .featured-section .ep-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }
        .featured-section .ep-card:hover .ep-thumb img {
            transform: scale(1.08);
        }
        .featured-section .ep-num {
            position: absolute;
            top: 6px;
            left: 6px;
            font-size: 10px;
            font-weight: 800;
            color: #fff;
            padding: 2px 6px;
            border-radius: 6px;
            line-height: 1;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            letter-spacing: 0.5px;
        }
        .featured-section .ep-content {
            min-width: 0;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .featured-section .ep-cat {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 9.5px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        .featured-section .ep-cat::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: currentColor;
        }
        .featured-section .ep-title {
            font-size: 13.5px;
            font-weight: 700;
            line-height: 1.35;
            color: var(--ink);
            margin: 0 0 6px 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.2s ease;
        }
        .featured-section .ep-card:hover .ep-title {
            color: var(--grad1);
        }
        .featured-section .ep-meta {
            font-size: 11px;
            color: var(--ink-soft);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width:980px) {
            .featured-section .top-grid { grid-template-columns:1fr; }
            .featured-section .featured { height:440px; }
            .featured-section .side-col { margin-top:20px; box-shadow:none; }
        }

        @media (max-width:860px) {
            .featured-section .f-body { flex-direction:column; align-items:flex-start; gap:16px; }
            .featured-section .f-cta { align-self:flex-start; }
        }

        @media (max-width:620px) {
            .featured-section .featured { height:380px; border-radius:18px; }
            .featured-section .f-body { padding:22px 18px 20px; }
            .featured-section .f-title { font-size:clamp(19px,6vw,24px); }
            .featured-section .f-excerpt { display:none; }
            .featured-section .f-top { padding:16px 18px 0; }
            .featured-section .f-nav { width:38px; height:38px; }
            .featured-section .f-nav.prev { left:12px; } .featured-section .f-nav.next { right:12px; }
            .featured-section .rail-item { width:132px; height:80px; }
            .featured-section .side-col { padding:16px 12px; border-radius:18px; }
        }

/* From partials/_live_tv_section.php */
/* Dark Mode support for Title */
    [data-bs-theme="dark"] .cat-title .auto-title { color: var(--bs-body-color) !important; }
    [data-bs-theme="dark"] .cat-title a { color: var(--bs-body-color) !important; }

    /* Title dot */
    .dot-red-pulse-standard { width: 12px; height: 12px; background: #dc3545; border-radius: 50%; display: inline-block; animation: pulse-red-minimal-standard 2s infinite; }
    @keyframes pulse-red-minimal-standard { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } }

    /* NEW LIVE TV GRID */
    .live-tv-grid{
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 15px;
    }

    .live-tv-grid::-webkit-scrollbar{
        height: 6px;
    }

    .live-tv-grid::-webkit-scrollbar-thumb{
        background: #d1d5db;
        border-radius: 50px;
    }

    /* CARD */
    .channel-card{
        display: block;
        position: relative;
        width: 240px;
        min-width: 240px;
        flex-shrink: 0;
        background:#ffffff;
        border-radius:22px;
        overflow:hidden;
        transition:.35s;
        border:1px solid rgba(0,0,0,.08);
        box-shadow: 0 10px 25px rgba(0,0,0,.06);
    }

    .channel-card:hover{
        transform:translateY(-8px);
    }

    .channel-card.live:hover{
        box-shadow: 0 0 25px rgba(0,255,170,.15), 0 15px 35px rgba(0,0,0,.15);
    }

    .channel-card.offline{
        opacity:.9;
    }

    .channel-card.offline:hover{
        box-shadow: 0 0 25px rgba(255,70,70,.15);
    }

    .category-badge{
        position:absolute;
        top:12px;
        left:12px;
        z-index:10;
        background:rgba(255,255,255,0.85); 
        backdrop-filter:blur(10px);
        color:#000;
        font-weight: 700;
        font-size:11px;
        padding:5px 10px;
        border-radius:30px;
        box-shadow:0 2px 8px rgba(0,0,0,0.1);
    }

    .premium-badge{
        position:absolute;
        bottom:0;
        left:0;
        z-index:10;
        background:linear-gradient(135deg, #ffd700, #ff8c00);
        color:#000;
        font-weight: 800;
        font-size:10px;
        padding:4px 8px;
        border-radius:4px;
        box-shadow:0 2px 5px rgba(0,0,0,0.3);
    }

    .favorite-btn{
        position:absolute;
        top:45px;
        right:12px;
        z-index:15;
        background:rgba(0,0,0,0.3);
        backdrop-filter:blur(5px);
        color:#fff;
        padding:6px;
        border-radius:50%;
        cursor:pointer;
        transition:.2s;
    }
    .favorite-btn:hover{ background:rgba(255,0,0,0.8); }
    .favorite-btn.active .heart-icon { fill: #ff2a2a; color: #ff2a2a; }

    .status-badge{
        position:absolute;
        top:12px;
        right:12px;
        z-index:10;
        font-size:11px;
        font-weight:bold;
        padding:5px 10px;
        border-radius:30px;
    }

    .live-badge{
        background:rgba(255,0,0,0.15);
        backdrop-filter:blur(8px);
        color:#ff2a2a;
        border:1px solid rgba(255,0,0,0.3);
        animation:tv-pulse 1.5s infinite;
    }

    .offline-badge{
        background:rgba(85,85,85,0.15);
        backdrop-filter:blur(8px);
        color:#888;
        border:1px solid rgba(85,85,85,0.3);
    }

    .tv-screen{
        position:relative;
        height:160px;
        background:#000;
        display:flex;
        align-items:center;
        justify-content:center;
        overflow:hidden;
    }

    .hover-preview{
        position:absolute;
        inset:0;
        background-size:cover;
        background-position:center;
        opacity:0;
        transition:opacity 0.4s ease;
        z-index:3;
    }
    .channel-card:hover .hover-preview { opacity:1; }

    .tv-screen::before{
        content:"";
        position:absolute;
        inset:0;
        background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,.03),
            rgba(255,255,255,.03) 2px,
            transparent 2px,
            transparent 4px
        );
        z-index:4;
        pointer-events:none;
    }

    .tv-screen::after{
        content:"";
        position:absolute;
        inset:0;
        background:
        linear-gradient(
        135deg,
        rgba(255,255,255,.08),
        transparent 40%);
        z-index:4;
        pointer-events:none;
    }

    .channel-logo{
        max-width:75%;
        max-height:80px;
        object-fit:contain;
        position:relative;
        z-index:2;
    }

    .fallback-logo{
        display:none;
        align-items:center;
        justify-content:center;
        color:#00ff99;
        z-index:2;
    }

    .signal-bars{
        position:absolute;
        bottom:12px;
        right:12px;
        display:flex;
        gap:3px;
        z-index:5;
    }

    .signal-bars span{
        width:5px;
        border-radius:10px;
        background:#00ff95;
    }

    .signal-bars span:nth-child(1){height:8px;}
    .signal-bars span:nth-child(2){height:12px;}
    .signal-bars span:nth-child(3){height:16px;}
    .signal-bars span:nth-child(4){height:20px;}

    .offline-screen{
        color:#ff5c5c;
        font-weight:bold;
        font-size:15px;
        letter-spacing:2px;
        text-shadow:0 0 12px red;
        position: relative;
        z-index: 2;
    }

    .channel-info{
        padding:18px;
    }

    .channel-name{
        color:#111827;
        font-size:18px;
        font-weight:700;
        margin-bottom:4px;
    }

    .channel-status{
        color:#10b981; 
        font-weight: 600;
        font-size:13px;
    }

    .channel-card.offline .channel-status{
        color:#ef4444; 
    }

    .channel-footer{
        display:flex;
        justify-content:space-between;
        color:#6b7280;
        font-size:12px;
        font-weight: 600;
    }

    .channel-card.live .tv-screen{
        box-shadow: inset 0 0 40px rgba(0,255,170,.12);
    }

    [data-bs-theme="dark"] .channel-card {
        background:#131a25;
        border:1px solid rgba(255,255,255,.08);
        box-shadow: 0 10px 25px rgba(0,0,0,.35);
    }
    [data-bs-theme="dark"] .channel-name { color: #ffffff; }
    [data-bs-theme="dark"] .category-badge { background:rgba(0,0,0,0.6); color:#ffffff; border:1px solid rgba(255,255,255,0.1); }
    [data-bs-theme="dark"] .channel-footer { color:#8fa2b6; }
    [data-bs-theme="dark"] .channel-status { color: #00ff95; }
    [data-bs-theme="dark"] .channel-card.offline .channel-status { color: #ff6b6b; }

    @keyframes tv-pulse{
        50%{
            transform:scale(1.05);
            text-shadow:0 0 15px rgba(255,255,255,0.4);
        }
    }

    .submit-card .no-signal-bg {
        background: repeating-linear-gradient(
            0deg,
            #e5e5e5,
            #e5e5e5 10px,
            #d5d5d5 10px,
            #d5d5d5 20px
        );
        box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
    }
    
    .submit-card .no-signal-text-wrapper {
        background: #000;
        padding: 5px 15px;
        transform: skewX(-10deg);
        box-shadow: 0 0 15px rgba(0,0,0,0.5);
        z-index: 10;
    }
    
    .submit-card:hover .no-signal-text-wrapper {
        animation: glitch-anim 0.2s linear infinite;
    }

    @keyframes glitch-anim {
        0% { transform: skewX(-10deg) translate(0); }
        20% { transform: skewX(-10deg) translate(-2px, 1px); }
        40% { transform: skewX(-10deg) translate(-1px, -1px); }
        60% { transform: skewX(-10deg) translate(2px, 1px); }
        80% { transform: skewX(-10deg) translate(1px, -1px); }
        100% { transform: skewX(-10deg) translate(0); }
    }

    @media(max-width:768px){
        .channel-card{
            width: 200px;
            min-width: 200px;
        }
        .live-tv-grid{
            gap:12px;
        }
        .tv-screen{
            height:120px;
        }
        .channel-name{
            font-size:15px;
        }
        .channel-footer{
            flex-direction:column;
            gap:5px;
        }
    }

/* From partials/_market_ticker.php */
/* Glassmorphic Ticker Bar Container */
    .market-pulse-bar {
        background: var(--bs-body-bg, #ffffff);
        padding: 10px 0;
        color: var(--bs-body-color, #14171c);
        overflow: hidden;
        position: relative;
        z-index: 95;
    }
    
    .market-pulse-inner {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    /* Left Glowing Live Badge */
    .market-badge {
        background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(124, 92, 255, 0.15));
        border: 1px solid rgba(0, 210, 255, 0.35);
        padding: 5px 14px;
        border-radius: 50px;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.6px;
        color: #00d2ff;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        white-space: nowrap;
        box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
        flex-shrink: 0;
        z-index: 2;
    }
    .market-live-dot {
        width: 8px;
        height: 8px;
        background: #2ecc71;
        border-radius: 50%;
        box-shadow: 0 0 8px #2ecc71;
        animation: marketPulseDot 1.5s infinite;
    }
    @keyframes marketPulseDot {
        0% { transform: scale(0.95); opacity: 0.7; }
        50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 14px #2ecc71; }
        100% { transform: scale(0.95); opacity: 0.7; }
    }

    .market-badge.exchange-badge {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 87, 34, 0.15));
        border-color: rgba(255, 193, 7, 0.4);
        color: #ffc107;
        cursor: pointer;
        transition: all 0.25s ease;
        text-decoration: none !important;
    }
    .market-badge.exchange-badge:hover {
        background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 87, 34, 0.25));
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 193, 7, 0.25);
    }
    .market-badge.exchange-badge i { margin-right: 2px; }

    /* Horizontal Scrolling Track */
    .market-ticker-wrapper {
        flex-grow: 1;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .market-ticker-track {
        display: flex;
        align-items: center;
        gap: 12px;
        width: max-content;
        /* Animation always on for both desktop and mobile! */
        animation: scrollMarket 45s linear infinite;
    }
    
    @keyframes scrollMarket {
        0% { transform: translateX(0); }
        100% { transform: translateX(-33.33%); }
    }

    .market-ticker-wrapper:hover .market-ticker-track {
        animation-play-state: paused;
    }

    /* Individual Ticker Cards */
    .market-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        background: var(--bs-tertiary-bg, rgba(0, 0, 0, 0.03));
        border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.05));
        border-radius: 12px;
        white-space: nowrap;
        transition: all 0.25s ease;
        text-decoration: none !important;
        color: inherit !important;
    }
    .market-item:hover {
        background: var(--bs-secondary-bg, rgba(0, 0, 0, 0.06));
        border-color: var(--bs-border-color, rgba(0, 0, 0, 0.1));
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .market-symbol { font-weight: 700; font-size: 0.85rem; color: var(--bs-secondary-color, #6c757d); letter-spacing: 0.3px; }
    .market-price { font-weight: 800; font-size: 0.92rem; color: var(--bs-body-color, #212529); }
    
    .market-change {
        font-weight: 700;
        font-size: 0.76rem;
        padding: 2px 7px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }
    .market-change.up {
        background: rgba(46, 204, 113, 0.15);
        color: #2ecc71;
        border: 1px solid rgba(46, 204, 113, 0.35);
        box-shadow: 0 0 10px rgba(46, 204, 113, 0.1) inset;
    }
    .market-change.down {
        background: rgba(255, 77, 94, 0.15);
        color: #ff4d5e;
        border: 1px solid rgba(255, 77, 94, 0.35);
        box-shadow: 0 0 10px rgba(255, 77, 94, 0.1) inset;
    }

    @media (max-width: 768px) {
        .market-pulse-inner {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        .market-badge {
            margin-left: 15px;
            font-size: 0.74rem;
            padding: 4px 12px;
        }
        .market-ticker-wrapper {
            width: 100%;
            padding: 2px 15px 6px 15px;
        }
        /* Touch devices can also pause on touch */
        .market-ticker-wrapper:active .market-ticker-track {
            animation-play-state: paused;
        }
    }

/* From partials/_smart_alert_popup.php */
/* Responsive Next-Gen Glassmorphic Alert */
    #smartAlertToast {
        z-index: 1080;
        display: none;
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        background: rgba(18, 22, 30, 0.92);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-bottom: none !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 210, 255, 0.15) inset;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        overflow: hidden;
        color: #ffffff;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
    }
    @media (min-width: 768px) {
        #smartAlertToast {
            left: auto;
            right: 30px;
            bottom: 30px;
            width: 440px;
            max-width: 440px;
            border-radius: 24px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
            box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 210, 255, 0.2) inset;
        }
    }
    
    /* Mobile Drag Handle */
    .alert-swipe-handle {
        width: 44px;
        height: 4px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 10px;
        margin: 12px auto 6px auto;
        display: block;
        cursor: grab;
    }
    @media (min-width: 768px) {
        .alert-swipe-handle { display: none; }
    }

    /* Pulsing Glow Ring Animation */
    @keyframes alertPulseGlow {
        0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.45), 0 0 20px rgba(0, 210, 255, 0.2) inset; }
        70% { box-shadow: 0 0 0 14px rgba(0, 210, 255, 0), 0 0 20px rgba(0, 210, 255, 0.2) inset; }
        100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0), 0 0 20px rgba(0, 210, 255, 0.2) inset; }
    }
    .alert-icon-ring {
        width: 60px;
        height: 60px;
        background: rgba(0, 210, 255, 0.12);
        border-radius: 50%;
        border: 1px solid rgba(0, 210, 255, 0.35);
        animation: alertPulseGlow 2.5s infinite;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }

    /* Button Styling & Hover Effects */
    .btn-alert-action {
        border-radius: 10px;
        font-size: 0.88rem;
        font-weight: 700;
        padding: 10px 20px;
        transition: all 0.25s ease;
        text-decoration: none !important;
    }
    .btn-alert-primary {
        background: linear-gradient(135deg, #00d2ff, #0099ff);
        color: #0c1017 !important;
        box-shadow: 0 6px 18px rgba(0, 210, 255, 0.3);
        border: none;
    }
    .btn-alert-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 210, 255, 0.45);
        color: #000 !important;
    }
    .btn-alert-secondary {
        background: rgba(255, 255, 255, 0.06);
        color: #e2e2e8 !important;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }
    .btn-alert-secondary:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        transform: translateY(-2px);
    }
    .btn-alert-snooze {
        background: transparent;
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.78rem;
        font-weight: 600;
        border: none;
        padding: 4px 10px;
        margin-top: 10px;
        transition: color 0.2s;
    }
    .btn-alert-snooze:hover { color: rgba(255, 255, 255, 0.85); }

    /* Progress Countdown Bar */
    .alert-progress-track {
        width: 100%;
        height: 3px;
        background: rgba(255, 255, 255, 0.08);
        position: absolute;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }
    #alertProgressBar {
        height: 100%;
        width: 100%;
        background: linear-gradient(90deg, #00d2ff, #7c5cff, #ff5b6a);
        transition: width 0.1s linear;
    }

/* From category/_block_content_1.php */
.custom-block-1-layout .sidebar-col {
        background: #fdfdfd;
        border-radius: 20px;
        padding: 20px 15px;
        box-shadow: inset 0 0 20px rgba(0,0,0,0.01);
        border: 1px solid rgba(0,0,0,0.03);
    }
    
    .custom-block-1-layout .timeline-wrapper { border-left: 2px dashed rgba(0,0,0,0.1); padding-left: 24px; margin-left: 10px; margin-top: 15px; position: relative; }
    .custom-block-1-layout .timeline-bullet { position: absolute; left: -31px; top: 0px; width: 14px; height: 14px; border-radius: 50%; background-color: #fff; border: 3px solid var(--vr-theme-color, #0d6efd); box-shadow: 0 0 0 4px #fdfdfd; transition: all 0.3s; }
    .custom-block-1-layout .timeline-item:hover .timeline-bullet { background-color: var(--vr-theme-color, #0d6efd); box-shadow: 0 0 10px rgba(13,110,253,0.3); }
    .custom-block-1-layout .timeline-item { transition: all 0.3s; margin-bottom: 25px; }
    .custom-block-1-layout .timeline-item:hover { transform: translateX(5px); }

    .custom-block-1-layout .modern-card { transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05); }
    .custom-block-1-layout .modern-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; }
    
    .custom-block-1-layout .right-number { 
        font-size: 2.2rem; 
        line-height: 0.8; 
        font-family: 'Arial Black', Impact, sans-serif; 
        color: transparent; 
        -webkit-text-stroke: 1px rgba(0,0,0,0.2); 
        transition: all 0.3s;
    }
    .custom-block-1-layout .modern-list-item:hover .right-number { 
        -webkit-text-stroke: 1px var(--vr-theme-color, #dc3545); 
        color: rgba(220,53,69,0.1); 
    }
    .custom-block-1-layout .modern-list-item { transition: all 0.3s; padding: 15px; border-radius: 15px; margin-bottom: 10px; }
    .custom-block-1-layout .modern-list-item:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-2px); }

    .custom-block-1-layout .modern-small-card { transition: all 0.3s; border: 1px solid rgba(0,0,0,.04) !important; background: #fff; }
    .custom-block-1-layout .modern-small-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.06)!important; }
    
    .custom-block-1-layout .title-link { color: inherit; text-decoration: none; transition: color 0.2s; }
    .custom-block-1-layout .title-link:hover { color: var(--vr-theme-color, #dc3545) !important; }
    
    .custom-block-1-layout .sidebar-title {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 2px solid rgba(0,0,0,0.05);
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Dark Mode Overrides */
    [data-bs-theme="dark"] .custom-block-1-layout .sidebar-col { background: #151515; border-color: rgba(255,255,255,0.05); box-shadow: none; }
    [data-bs-theme="dark"] .custom-block-1-layout .timeline-wrapper { border-left-color: rgba(255,255,255,0.1); }
    [data-bs-theme="dark"] .custom-block-1-layout .timeline-bullet { background-color: #151515; box-shadow: 0 0 0 4px #151515; }
    [data-bs-theme="dark"] .custom-block-1-layout .modern-card, [data-bs-theme="dark"] .custom-block-1-layout .modern-small-card { border-color: rgba(255,255,255,0.05) !important; background-color: #1a1a1a !important; }
    [data-bs-theme="dark"] .custom-block-1-layout .card-footer { border-top-color: rgba(255,255,255,0.05) !important; }
    [data-bs-theme="dark"] .custom-block-1-layout .sidebar-title { border-bottom-color: rgba(255,255,255,0.05); }
    [data-bs-theme="dark"] .custom-block-1-layout .modern-list-item:hover { background: #1a1a1a; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    [data-bs-theme="dark"] .custom-block-1-layout .right-number { -webkit-text-stroke: 1px rgba(255,255,255,0.2); }

/* From category/_block_content_2.php */
.custom-block-2-layout .modern-large-card { transition: transform 0.3s ease, box-shadow 0.3s ease; border-radius: 1.25rem !important; border: 1px solid rgba(0,0,0,0.05); }
    .custom-block-2-layout .modern-large-card:hover { transform: translateY(-5px); box-shadow: 0 1rem 3rem rgba(0,0,0,.15)!important; }
    .custom-block-2-layout .modern-large-card .img-overlay-grad { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%); pointer-events: none; border-bottom-left-radius: 1.25rem; border-bottom-right-radius: 1.25rem; }
    
    .custom-block-2-layout .modern-small-card-v2 { transition: all 0.3s ease; border: 1px solid rgba(0,0,0,.04); border-radius: 1rem !important; }
    .custom-block-2-layout .modern-small-card-v2:hover { transform: translateY(-3px); box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.08)!important; border-color: rgba(0,0,0,.08); }
    .custom-block-2-layout .category-pill { font-size: 0.65rem; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 800; padding: 5px 12px; backdrop-filter: blur(8px); background-color: rgba(255,255,255,0.85) !important; color: #111 !important; }
    .custom-block-2-layout .title-link { color: inherit; text-decoration: none; transition: color 0.2s; }
    .custom-block-2-layout .title-link:hover { color: var(--th-color, #0d6efd); }
    
    /* Dark Mode Overrides */
    .dark-mode .custom-block-2-layout .modern-large-card, .dark-mode .custom-block-2-layout .modern-small-card-v2 { border-color: rgba(255,255,255,0.05) !important; background-color: #1e1e1e !important; }
    .dark-mode .custom-block-2-layout .category-pill { background-color: rgba(0,0,0,0.6) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.1); }

/* From category/_block_content_3.php */
/* --- ULTRA PREMIUM MAGAZINE LAYOUT --- */

/* 1. EDITORIAL SPLIT HERO */
.editorial-hero-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.3; transition: color 0.3s; }
@media (max-width: 768px) { .editorial-hero-title { font-size: 1.6rem; } }
.editorial-hero-img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.hero-img-hover { overflow: hidden; display: block; border-radius: 24px; }
.hero-img-hover:hover .editorial-hero-img { transform: scale(1.05); }

/* Trending Cards */
.trending-list-card { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.04); text-decoration: none; }
.trending-list-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important; border-color: rgba(0,0,0,0.08); }
.trending-number { flex-shrink: 0; font-size: 3.5rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.15); line-height: 0.8; font-family: 'Arial Black', Impact, sans-serif; transition: all 0.3s; }
.trending-list-card:hover .trending-number { -webkit-text-stroke: 1px var(--vr-theme-color, #0d6efd); color: rgba(13,110,253,0.1); }
.trending-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ZERO LAYOUT SHIFT SCROLLER (App Style) */
.modern-scroller { display: flex; overflow-x: auto; gap: 20px; padding-bottom: 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.modern-scroller::-webkit-scrollbar { display: none; }
.scroller-item { flex: 0 0 85vw; scroll-snap-align: center; }
@media (min-width: 768px) {
    .modern-scroller { display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; padding-bottom: 0; gap: 24px; }
    .scroller-item { flex: auto; width: 100%; }
}

/* Premium Tech & Fact Check Cards */
.premium-data-card { 
    display: flex; flex-direction: column; border-radius: 20px; 
    border: 1px solid rgba(0,0,0,0.05); padding: 24px; transition: all 0.3s ease; 
    height: 100%; text-decoration: none; position: relative; overflow: hidden; 
}
.premium-data-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important; }
.icon-circle-tech { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: rgba(13,202,240,0.1); color: #0dcaf0; }

/* Fact Check Colors */
.border-true { border-left: 4px solid #198754 !important; }
.border-false { border-left: 4px solid #dc3545 !important; }
.border-misleading { border-left: 4px solid #fd7e14 !important; }
.border-half_true { border-left: 4px solid #ffc107 !important; }

.badge-true { background: rgba(25,135,84,0.1); color: #198754; }
.badge-false { background: rgba(220,53,69,0.1); color: #dc3545; }
.badge-misleading { background: rgba(253,126,20,0.1); color: #fd7e14; }
.badge-half_true { background: rgba(255,193,7,0.1); color: #d39e00; }

.claim-quote-box { padding: 14px 18px; border-radius: 12px; font-size: 0.9rem; font-style: italic; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; position: relative; border-left: 3px solid rgba(0,0,0,0.1); background: rgba(0,0,0,0.02); }

/* Small Post Cards */
.small-post-card { border-radius: 16px; padding: 14px; text-decoration: none; display: flex; align-items: center; gap: 16px; transition: all 0.3s; border: 1px solid rgba(0,0,0,0.03); }
.small-post-card:hover { border-color: rgba(0,0,0,0.08); box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); }
.small-post-card img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }

/* Section Titles */
.section-heading { font-weight: 800; font-size: 1.4rem; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.section-heading span { padding-bottom: 8px; border-bottom: 3px solid var(--vr-theme-color, #0d6efd); }

/* --- DARK MODE OVERRIDES --- */
[data-bs-theme="dark"] .trending-list-card { border-color: rgba(255,255,255,0.05); }
[data-bs-theme="dark"] .trending-list-card:hover { background: #151515; border-color: rgba(255,255,255,0.1); box-shadow: 0 15px 30px rgba(0,0,0,0.4) !important; }
[data-bs-theme="dark"] .trending-number { -webkit-text-stroke: 1px rgba(255,255,255,0.15); }
[data-bs-theme="dark"] .premium-data-card { border-color: rgba(255,255,255,0.05); }
[data-bs-theme="dark"] .premium-data-card:hover { background: #151515; box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important; border-color: rgba(255,255,255,0.1); }
[data-bs-theme="dark"] .claim-quote-box { background: rgba(255,255,255,0.03); border-left-color: rgba(255,255,255,0.1); color: #ccc !important; }
[data-bs-theme="dark"] .small-post-card { border-color: rgba(255,255,255,0.05); }
[data-bs-theme="dark"] .small-post-card:hover { background: #151515; box-shadow: 0 10px 25px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); }

/* From category/_block_content_3.php */
.fc-compact-card { display: block; border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); padding: 16px; text-decoration: none; transition: all 0.2s; position: relative; overflow: hidden; background: #fff; }
        .fc-compact-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.15); }
        .fc-stamp { position: absolute; top: 12px; right: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; padding: 4px 10px; border-radius: 6px; transform: rotate(-5deg); border: 2px solid currentColor; }
        .fc-claim-box { background: rgba(0,0,0,0.03); border-left: 3px solid rgba(0,0,0,0.2); padding: 10px 12px; margin-top: 12px; font-size: 0.85rem; font-style: italic; color: #444; }
        .fc-claim-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
        .fc-meta { font-size: 0.75rem; color: #6c757d; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
        
        [data-bs-theme="dark"] .fc-compact-card { background: #1a1a1a; border-color: rgba(255,255,255,0.08); }
        [data-bs-theme="dark"] .fc-compact-card:hover { background: #222; border-color: rgba(255,255,255,0.15); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
        [data-bs-theme="dark"] .fc-claim-box { background: rgba(255,255,255,0.03); border-left-color: rgba(255,255,255,0.2); color: #bbb; }
        [data-bs-theme="dark"] .fc-meta { color: #999; }

/* From category/_block_content_4.php */
/* --- CINEMATIC HOVER CARDS --- */
.cinematic-grid-wrapper { margin-top: 20px; }

.cinematic-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5; /* Tall Pinterest/Instagram Style */
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    text-decoration: none !important;
    background: #000;
}

.cinematic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cinematic-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.9;
}

.cinematic-card:hover .cinematic-img {
    transform: scale(1.08);
    opacity: 1;
}

/* Gradient Overlay */
.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    z-index: 2;
}

/* Category Badge Floating Top Left */
.cinematic-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    z-index: 3;
}

/* Text Content with Slide-up Animation */
.cinematic-content {
    transform: translateY(22px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cinematic-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.cinematic-meta {
    opacity: 0;
    visibility: hidden;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.cinematic-card:hover .cinematic-content {
    transform: translateY(0);
}

.cinematic-card:hover .cinematic-meta {
    opacity: 1;
    visibility: visible;
}

/* Live Pulse Animation for Live Videos */
.live-pulse-dot { display: inline-block; width: 6px; height: 6px; background: #fff; border-radius: 50%; margin-right: 4px; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } 70% { box-shadow: 0 0 0 4px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

@media (max-width: 576px) {
    .cinematic-title { font-size: 0.9rem; -webkit-line-clamp: 2; }
    .cinematic-overlay { padding: 12px; }
}

/* From category/_block_slider.php */
/* Custom Minimal Styles for Modern Design */
.custom-hover-card { transition: all 0.2s ease-in-out; border: 1px solid #f0f4f8; }
.custom-hover-card:hover { transform: translateX(4px); box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important; border-color: #e2e8f0; background: #f8fafc !important; }

.glass-overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); backdrop-filter: blur(2px); }
.slider-author-img { width: 36px; height: 36px; border: 2px solid rgba(255,255,255,0.8); }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-truncate-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* New Widget UI */
.widget-header-title { font-size: 1.15rem; color: #1e293b; display: flex; align-items: center; gap: 8px; }
.icon-box-soft { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.bg-soft-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.bg-soft-red { background: rgba(225, 29, 72, 0.1); color: #e11d48; }

/* Baby Name Avatar */
.letter-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #1d4ed8); text-transform: uppercase; }

/* Movie Camera Animation */
.movie-icon-box { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(225, 29, 72, 0.08); color: #e11d48; }
@keyframes cam-pulse { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
.anim-camera { animation: cam-pulse 1.5s infinite ease-in-out; }

/* From category/_block_videos.php */
.cw-vid-block {
    background: #242424;
    border-radius: 20px;
    padding: 25px;
    color: #fff;
    margin-bottom: 40px;
    overflow: hidden;
}

.cw-vid-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.cw-vid-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cw-vid-icon svg {
    color: #fff;
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.cw-vid-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.cw-vid-pills {
    display: flex;
    gap: 10px;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}
.cw-vid-pills::-webkit-scrollbar { display: none; }

.cw-vid-pill {
    background: transparent;
    color: #ccc;
    border: 1px solid #444;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cw-vid-pill:hover, .cw-vid-pill.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* Large Featured Video */
.cw-vid-large {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    background: #1a1a1a;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.cw-vid-large:hover {
    transform: translateY(-4px);
}

.cw-vid-large-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Perfect Video Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.cw-vid-large-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.cw-vid-large:hover .cw-vid-large-thumb img {
    transform: scale(1.04);
}

.cw-vid-large-content {
    background: #1a1a1a;
    padding: 20px 25px;
    border-top: 3px solid #e74c3c;
    z-index: 2;
    position: relative;
}

.cw-vid-large-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.cw-vid-large:hover .cw-vid-large-title {
    color: #e74c3c;
}

.cw-vid-large-content .post-meta,
.cw-vid-large-content .post-meta * {
    color: #aaa !important;
    font-size: 14px;
}

.cw-play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.2s ease;
}
.cw-vid-large:hover .cw-play-btn-large {
    transform: translate(-50%, -50%) scale(1.1);
}
.cw-play-btn-large svg {
    color: #fff;
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

/* Premium Badge Position */
.cw-vid-large .badge-premium, .cw-vid-small .badge-premium {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

/* Small Videos Right Column */
.cw-vid-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cw-vid-small {
    display: flex;
    gap: 15px;
    align-items: center;
    text-decoration: none;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s ease;
    position: relative;
}
.cw-vid-small:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cw-vid-small:hover {
    transform: translateX(4px);
}

.cw-vid-small-thumb {
    position: relative;
    width: 140px;
    height: 85px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cw-vid-small-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.cw-vid-small:hover .cw-vid-small-thumb img {
    transform: scale(1.05);
}

.cw-play-btn-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cw-play-btn-small svg {
    color: #fff;
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.cw-vid-small-content {
    flex: 1;
}

.cw-vid-small-title {
    font-size: 15px;
    font-weight: 600;
    color: #ddd;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.cw-vid-small:hover .cw-vid-small-title {
    color: #fff;
}

.cw-vid-list-container {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}
.cw-vid-list-container::-webkit-scrollbar {
    width: 4px;
}
.cw-vid-list-container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}
.cw-vid-list-container::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .cw-vid-block {
        padding: 20px 15px;
        border-radius: 14px;
    }
    .cw-vid-header {
        margin-bottom: 15px;
    }
    .cw-vid-title {
        font-size: 22px;
    }
    .cw-vid-large {
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .cw-vid-large-title {
        font-size: 18px;
    }
    .cw-vid-large-content {
        padding: 15px;
    }
    
    .cw-vid-list-container {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .cw-vid-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 15px;
        padding-top: 5px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 15px;
    }
    .cw-vid-list::-webkit-scrollbar { display: none; }

    .cw-vid-small {
        flex-direction: column;
        width: 180px;
        flex-shrink: 0;
        border-bottom: none;
        padding-bottom: 0;
        align-items: flex-start;
        scroll-snap-align: start;
        background: #2a2a2a;
        padding: 10px;
        border-radius: 10px;
    }
    .cw-vid-small:hover {
        transform: none;
    }

    .cw-vid-small-thumb {
        width: 100%;
        height: 100px;
    }

    .cw-vid-small-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-top: 5px;
    }
}

/* From partials/widgets/_weather.php */
.weather-premium-card {
        background: linear-gradient(135deg, #f8faff 0%, #eef2f6 100%);
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    [data-bs-theme="dark"] .weather-premium-card {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border: 1px solid rgba(255,255,255,0.05);
    }
    .weather-premium-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    [data-bs-theme="dark"] .weather-premium-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    }
    .weather-city { font-size: 1.25rem; font-weight: 700; margin-bottom: 0; color: var(--vr-text-color); }
    .weather-country { font-size: 0.85rem; color: var(--vr-text-muted); text-transform: uppercase; letter-spacing: 1px; }
    .weather-temp { font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--vr-text-color); margin: 15px 0; }
    .weather-condition { font-size: 1.1rem; font-weight: 500; color: #4facfe; }
    .weather-icon-img { width: 90px; height: 90px; filter: drop-shadow(0px 8px 12px rgba(0,0,0,0.15)); }
    
    .weather-footer {
        background: rgba(0,0,0,0.03);
        border-top: 1px solid rgba(0,0,0,0.05);
        padding: 15px;
        display: flex;
        justify-content: space-between;
    }
    [data-bs-theme="dark"] .weather-footer {
        background: rgba(255,255,255,0.02);
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .weather-footer-item { text-align: center; flex: 1; }
    .weather-footer-item:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.05); }
    [data-bs-theme="dark"] .weather-footer-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.05); }
    .w-ft-val { font-weight: 700; font-size: 0.95rem; color: var(--vr-text-color); margin-top: 5px; }
    .w-ft-lbl { font-size: 0.75rem; color: var(--vr-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
    
    .weather-btn-full {
        display: block;
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        color: white !important;
        text-align: center;
        padding: 10px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
    }
    .weather-btn-full:hover {
        background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
        letter-spacing: 0.5px;
    }

/* From partials/widgets/_prayer.php */
.namaz-widget-card {
    border-radius: 20px;
    padding: 20px;
    font-family: "Outfit", sans-serif;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    background: #fff;
}
.prayer-row-item {
    border-radius: 12px; 
    border: 1px solid #f1f5f9; 
    background: #fff; 
    transition: 0.3s; 
    font-size: 0.9rem;
}
.widget-active-row { border: 2px solid #16a34a !important; background: #f0fdf4 !important; color: #16a34a; transform: scale(1.02); }
.widget-past-row { background: #f8fafc !important; border: 1px dashed #cbd5e1; }
.anim-star { animation: rotate-star 4s linear infinite; }
@keyframes rotate-star {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}
.ls-2 { letter-spacing: 2px; }
.pr-btn-full {
    display: block;
    background: rgba(0,0,0,0.05);
    color: #333 !important;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 12px;
}
.pr-btn-full:hover { background: rgba(0,0,0,0.1); }

/* Dark Mode Support */
[data-bs-theme="dark"] .namaz-widget-card {
    background: #1e293b !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}
[data-bs-theme="dark"] .namaz-widget-card .text-dark {
    color: #f8fafc !important;
}
[data-bs-theme="dark"] .prayer-row-item {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #cbd5e1;
}
[data-bs-theme="dark"] .widget-past-row {
    background: #1e293b !important;
    border-color: #475569 !important;
    opacity: 0.7;
}
[data-bs-theme="dark"] .widget-active-row {
    background: rgba(22, 163, 74, 0.15) !important;
    border-color: #16a34a !important;
    color: #4ade80 !important;
}
[data-bs-theme="dark"] .pr-btn-full {
    background: rgba(255,255,255,0.05);
    color: #f8fafc !important;
}
[data-bs-theme="dark"] .pr-btn-full:hover {
    background: rgba(255,255,255,0.1);
}

/* From post/post.php */
.live-pulse-dot {
        width: 8px;
        height: 8px;
        background: #fff;
        border-radius: 50%;
        display: inline-block;
        animation: pulse-white 2s infinite;
    }

    @keyframes pulse-white {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        }

        70% {
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }
    .premium-label{
    --clr:#0ea5e9;
    position:relative;
    display:inline-flex;
    align-items:center;
    height:24px;
    padding:0 6px 0 8px;
    margin:auto;

    color:#fff;
    font-size:12px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;

    background:linear-gradient(
        180deg,
        color-mix(in srgb, var(--clr) 100%, white 15%),
        var(--clr)
    );

    border-radius:8px;

    transform:skew(-18deg);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 2px 8px rgba(0,0,0,.15);

    overflow:hidden;
}

.premium-label span,
.premium-label{
    text-shadow:0 1px 1px rgba(0,0,0,.15);
}

.premium-label::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:35%;
    height:100%;

    background:linear-gradient(
        90deg,
        rgba(255,255,255,.25),
        transparent
    );
}

.premium-label::after{
    content:"";
    position:absolute;
    right:-8px;
    top:0;
    width:18px;
    height:100%;

    background:rgba(255,255,255,.12);

    transform:skew(18deg);
}

/* Colors */

.b-1{
    --clr:#2563eb;
}

.b-2{
    --clr:#db2777;
}

.b-3{
    --clr:#16a34a;
}

.b-4{
    --clr:#f59e0b;
}
.b-5{
    --clr:#f59e0b;
}
/* LIVE Badge */
.b-live{
    background:linear-gradient(135deg,#ff4d4d,#dc2626);
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 2px 8px rgba(220,38,38,.25);
}

/* Pulsing Dot */
.live-pulse-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    position:relative;
    flex-shrink:0;
}

.live-pulse-dot::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(255,255,255,.7);
    animation:livePulse 1.5s infinite;
}

@keyframes livePulse{
    0%{
        transform:scale(1);
        opacity:.8;
    }
    100%{
        transform:scale(3);
        opacity:0;
    }
}

/* ARCHIVED Badge */
.b-archived{
    background:linear-gradient(135deg,#64748b,#475569);
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 2px 8px rgba(71,85,105,.2);
}
@media (max-width: 768px){
    .premium-label{
        height:20px;
        padding:0 5px 0 7px;
        font-size:10px;
        letter-spacing:.5px;
        border-radius:6px;
        white-space:nowrap;
        flex-shrink:0;
    }

    .live-pulse-dot{
        width:6px;
        height:6px;
    }
}

/* From post/post.php */
.swipe-nav-arrow {
                position: fixed;
                top: 68%;
                transform: translateY(-50%);
                width: 44px;
                height: 60px;
                background: rgba(0, 0, 0, 0.2);
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1040;
                cursor: pointer;
                opacity: 0.6;
                transition: opacity 0.3s, background 0.3s;
                text-decoration: none;
                backdrop-filter: blur(4px);
            }

            .swipe-nav-arrow:hover {
                opacity: 1;
                background: rgba(241, 65, 108, 0.8);
                color: white;
            }

            .swipe-nav-left {
                left: 0;
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
            }

            .swipe-nav-right {
                right: 0;
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
            }

            @media (max-width: 767px) {
                .swipe-nav-arrow {
                    width: 32px;
                    height: 50px;
                    opacity: 0.4;
                }
            }

/* From post/opinion_single.php */
.live-pulse-dot {
        width: 8px;
        height: 8px;
        background: #fff;
        border-radius: 50%;
        display: inline-block;
        animation: pulse-white 2s infinite;
    }

    @keyframes pulse-white {
        0% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
        }

        70% {
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        }
    }
    .premium-label{
    --clr:#0ea5e9;
    position:relative;
    display:inline-flex;
    align-items:center;
    height:24px;
    padding:0 6px 0 8px;
    margin:auto;

    color:#fff;
    font-size:12px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;

    background:linear-gradient(
        180deg,
        color-mix(in srgb, var(--clr) 100%, white 15%),
        var(--clr)
    );

    border-radius:8px;

    transform:skew(-18deg);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 2px 8px rgba(0,0,0,.15);

    overflow:hidden;
}

.premium-label span,
.premium-label{
    text-shadow:0 1px 1px rgba(0,0,0,.15);
}

.premium-label::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:35%;
    height:100%;

    background:linear-gradient(
        90deg,
        rgba(255,255,255,.25),
        transparent
    );
}

.premium-label::after{
    content:"";
    position:absolute;
    right:-8px;
    top:0;
    width:18px;
    height:100%;

    background:rgba(255,255,255,.12);

    transform:skew(18deg);
}

/* Colors */

.b-1{
    --clr:#2563eb;
}

.b-2{
    --clr:#db2777;
}

.b-3{
    --clr:#16a34a;
}

.b-4{
    --clr:#f59e0b;
}
.b-5{
    --clr:#f59e0b;
}
/* LIVE Badge */
.b-live{
    background:linear-gradient(135deg,#ff4d4d,#dc2626);
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 2px 8px rgba(220,38,38,.25);
}

/* Pulsing Dot */
.live-pulse-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    position:relative;
    flex-shrink:0;
}

.live-pulse-dot::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(255,255,255,.7);
    animation:livePulse 1.5s infinite;
}

@keyframes livePulse{
    0%{
        transform:scale(1);
        opacity:.8;
    }
    100%{
        transform:scale(3);
        opacity:0;
    }
}

/* ARCHIVED Badge */
.b-archived{
    background:linear-gradient(135deg,#64748b,#475569);
    color:#fff;
    border:1px solid rgba(255,255,255,.15);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        0 2px 8px rgba(71,85,105,.2);
}
@media (max-width: 768px){
    .premium-label{
        height:20px;
        padding:0 5px 0 7px;
        font-size:10px;
        letter-spacing:.5px;
        border-radius:6px;
        white-space:nowrap;
        flex-shrink:0;
    }

    .live-pulse-dot{
        width:6px;
        height:6px;
    }
}

/* From post/opinion_single.php */
.swipe-nav-arrow {
                position: fixed;
                top: 68%;
                transform: translateY(-50%);
                width: 44px;
                height: 60px;
                background: rgba(0, 0, 0, 0.2);
                color: white;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1040;
                cursor: pointer;
                opacity: 0.6;
                transition: opacity 0.3s, background 0.3s;
                text-decoration: none;
                backdrop-filter: blur(4px);
            }

            .swipe-nav-arrow:hover {
                opacity: 1;
                background: rgba(241, 65, 108, 0.8);
                color: white;
            }

            .swipe-nav-left {
                left: 0;
                border-top-right-radius: 8px;
                border-bottom-right-radius: 8px;
            }

            .swipe-nav-right {
                right: 0;
                border-top-left-radius: 8px;
                border-bottom-left-radius: 8px;
            }

            @media (max-width: 767px) {
                .swipe-nav-arrow {
                    width: 32px;
                    height: 50px;
                    opacity: 0.4;
                }
            }

/* From post/opinions.php */
.op-page-head {
    position:relative;
    padding:14px 0 22px;
    border-bottom:3px solid #1B1B1E;
    margin-bottom:22px;
    overflow:hidden;
  }
  .op-page-head::before {
    content:"\201C";
    position:absolute;
    left:-16px; top:-64px;
    font-family:'Playfair Display',serif;
    font-weight:700;
    font-size:190px;
    color:#B8863A;
    opacity:0.14;
    pointer-events:none;
  }
  .op-page-eyebrow {
    position:relative;
    font-size:12.5px;font-weight:700;letter-spacing:0.14em;
    text-transform:uppercase;color:#7A2A2E;margin-bottom:6px;
  }
  .op-page-title {
    position:relative;
    font-family:'Playfair Display',serif;
    font-style:italic;font-weight:700;
    font-size:34px;line-height:1.15;margin:0 0 8px;
    color:#1B1B1E;
  }
  .op-page-sub {
    position:relative;
    font-size:14px;color:#6E6B64;max-width:52ch;
  }
  .op-post-list {display:flex;flex-direction:column;}
  .op-post {
    display:flex;gap:14px;
    padding:18px 0;
    border-bottom:1px solid #DCD7CB;
  }
  .op-post:first-child {padding-top:0;}
  .op-post-avatar {
    width:50px;height:50px;border-radius:50%;object-fit:cover;
    flex-shrink:0;margin-top:3px;
    box-shadow:0 0 0 1px #DCD7CB;
  }
  .op-post-body {flex:1;min-width:0;}
  .op-post-author-line {
    font-size:12.5px;color:#6E6B64;margin-bottom:5px;
  }
  .op-post-author-line b {color:#1B1B1E;font-weight:600;}
  .op-post-title {
    font-family:'Playfair Display',serif;
    font-style:italic;font-weight:600;
    font-size:20px;line-height:1.35;
    margin:0 0 6px;
    transition:color .15s ease;
  }
  .op-post-title a {color:#1B1B1E;text-decoration:none;}
  .op-post:hover .op-post-title a {color:#7A2A2E;}
  .op-post-excerpt {
    font-size:14px;line-height:1.6;color:#3A3A3D;
    margin:0 0 8px;
  }
  .op-post-meta {
    display:flex;align-items:center;gap:8px;flex-wrap:wrap;
    font-size:12px;color:#6E6B64;
  }
  .op-post-meta .op-cat {
    background:rgba(122,42,46,0.08);color:#7A2A2E;
    font-weight:600;font-size:11px;padding:3px 9px;border-radius:20px;
  }
  .op-post-meta .op-dot {width:3px;height:3px;border-radius:50%;background:#6E6B64;}

/* From post/_latest_posts.php */
/* =========================================
           🚀 1. CSS GRID HACK FOR LOAD MORE SIZING 
        ========================================= */
        #postsLoadMoreContent {
            display: grid !important;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        @media (min-width: 768px) {
            #postsLoadMoreContent { grid-template-columns: repeat(2, 1fr) !important; }
        }
        @media (min-width: 992px) {
            #postsLoadMoreContent { grid-template-columns: repeat(3, 1fr) !important; gap: 24px; }
        }
        /* Bootstrap Columns (col-md-6 etc) ko jabardasti block karna */
        #postsLoadMoreContent > div[class*="col-"] {
            width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; flex: none !important;
        }

        /* =========================================
           📱 2. MOBILE VIP PREMIUM SHADOW CARDS
        ========================================= */
        @media (max-width: 767px) {
            .yt-vip-card {
                background: #ffffff;
                border-radius: 16px;
                padding: 12px;
                box-shadow: 0 8px 24px rgba(0,0,0,0.06);
                border: 1px solid rgba(0,0,0,0.03);
                margin-bottom: 8px;
            }
        }

        /* =========================================
           💻 3. DESKTOP CLEAN LOOK 
        ========================================= */
        @media (min-width: 768px) {
            .yt-vip-card { padding: 0; background: transparent; box-shadow: none; border: none; }
            .yt-title-text { font-size: 1.1rem !important; }
        }

        /* --- HOVER EFFECTS --- */
        .yt-img-zoom { transition: transform 0.4s ease; }
        .yt-vip-card:hover .yt-img-zoom { transform: scale(1.05); }
        .yt-title-text { color: #0f172a; transition: color 0.2s; }
        .yt-vip-card:hover .yt-title-text { color: var(--vr-theme-color, #f8285a); }
        .yt-author { color: #475569; }

        /* =========================================
           🌙 4. DARK MODE SUPPORT
        ========================================= */
        .dark-mode .yt-vip-card { background: #1e293b; border-color: rgba(255,255,255,0.05); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
        .dark-mode .yt-title-text { color: #f8fafc; }
        .dark-mode .yt-author { color: #94a3b8; }
        .dark-mode .yt-date { color: #cbd5e1; }
        .dark-mode .yt-vip-card .image { background: #0f172a; }
        @media (min-width: 768px) {
            .dark-mode .yt-vip-card { background: transparent; box-shadow: none; border: none; }
        }

/* From post/details/_live_blog.php */
:root {
            --live-red: #e02d45;
            --live-blue: #009ef7;
            --live-border: #e9ecef;
        }

        .live-blog-header { background-color: var(--vr-color-white); border-bottom: 2px solid var(--live-red); box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
        [data-bs-theme="dark"] .live-blog-header { background-color: var(--vr-gray-900); border-bottom: 2px solid var(--live-red); box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
        .live-title { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--vr-text-main); }
        .live-blog-timeline { background-color: var(--vr-color-light); }
        [data-bs-theme="dark"] .live-blog-timeline { background-color: var(--vr-gray-900); }
        
        .timeline-item { display: flex; position: relative; scroll-margin-top: 100px; transition: all 0.3s ease; }
        .timeline-marker { flex-shrink: 0; width: 14px; display: flex; flex-direction: column; align-items: center; margin-right: 10px; }
        
        .marker-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--vr-color-white); z-index: 2; margin-top: 6px; }
        .timeline-marker.is-latest .marker-dot { background-color: var(--live-red); box-shadow: 0 0 0 2px var(--live-red); }
        .timeline-marker.is-old .marker-dot { background-color: var(--vr-gray-400); box-shadow: 0 0 0 2px var(--vr-gray-400); }
        [data-bs-theme="dark"] .timeline-marker.is-old .marker-dot { background-color: var(--vr-gray-600); border-color: var(--vr-gray-900); box-shadow: 0 0 0 2px var(--vr-gray-600); }
        
        .marker-line { width: 2px; flex-grow: 1; background-color: var(--vr-card-border-color); margin-top: 5px; margin-bottom: -5px; }
        .timeline-item:last-child .marker-line { display: none; }
        
        .timeline-content { flex-grow: 1; background-color: var(--vr-color-white); border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important; transition: border-color 0.3s; border: 1px solid var(--vr-card-border-color) !important; }
        [data-bs-theme="dark"] .timeline-content { background-color: var(--vr-gray-800); }
        .timeline-item:target .timeline-content { border-color: var(--live-red) !important; background-color: rgba(224, 45, 69, 0.05); }
        
        .update-time { color: var(--vr-gray-500); font-size: 0.8rem; font-weight: 500; padding: 0; background-color: transparent !important; }
        .update-title { font-size: 1.25rem; line-height: 1.4; }
        .update-text { line-height: 1.6; font-size: 1.05rem; }
        
        .btn-share-live { background-color: var(--vr-gray-100); color: var(--vr-text-main); border: 1px solid var(--vr-card-border-color); transition: all 0.2s ease-in-out; }
        .btn-share-live:hover, .btn-share-live:focus, .btn-share-live:active, .btn-share-live[aria-expanded="true"] { 
            background-color: var(--live-red) !important; 
            color: #fff !important; 
            border-color: var(--live-red) !important;
            box-shadow: 0 4px 10px rgba(224, 45, 69, 0.25) !important;
        }
        [data-bs-theme="dark"] .btn-share-live { background-color: var(--vr-gray-800); border-color: var(--vr-gray-700); }

        /* Filter Pills - Bulletproof High Contrast */
        .btn-live-filter { 
            font-weight: 700 !important; 
            font-size: 0.85rem !important; 
            border: 2px solid var(--vr-card-border-color) !important; 
            transition: all 0.2s ease !important; 
            background-color: var(--vr-color-white) !important;
            color: var(--vr-text-main) !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
            cursor: pointer !important;
        }
        [data-bs-theme="dark"] .btn-live-filter {
            background-color: var(--vr-gray-800) !important;
            border-color: var(--vr-gray-700) !important;
            color: #ffffff !important;
        }
        .btn-live-filter:hover { 
            border-color: var(--live-red) !important;
            transform: translateY(-1px);
        }
        .btn-live-filter span {
            color: inherit !important;
        }
        .btn-live-filter .badge {
            background-color: var(--vr-gray-200) !important;
            color: var(--vr-text-main) !important;
            font-weight: 700 !important;
            font-size: 0.75rem !important;
            padding: 4px 8px !important;
        }
        [data-bs-theme="dark"] .btn-live-filter .badge {
            background-color: var(--vr-gray-700) !important;
            color: #ffffff !important;
        }

        /* Active Filter Pill */
        .btn-live-filter.active {
            background-color: var(--live-red) !important;
            color: #ffffff !important;
            border-color: var(--live-red) !important;
            box-shadow: 0 4px 12px rgba(224, 45, 69, 0.3) !important;
        }
        .btn-live-filter.active span {
            color: #ffffff !important;
        }
        .btn-live-filter.active .badge {
            background-color: #ffffff !important;
            color: var(--live-red) !important;
        }

        /* Sound Alert Button - High Contrast */
        #btn-toggle-audio {
            background-color: var(--vr-color-white) !important;
            color: var(--vr-text-main) !important;
            border: 2px solid var(--vr-card-border-color) !important;
            font-weight: 700 !important;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03) !important;
            transition: all 0.2s ease !important;
            cursor: pointer !important;
        }
        [data-bs-theme="dark"] #btn-toggle-audio {
            background-color: var(--vr-gray-800) !important;
            border-color: var(--vr-gray-700) !important;
            color: #ffffff !important;
        }
        #btn-toggle-audio:hover {
            border-color: var(--live-blue) !important;
            transform: translateY(-1px);
        }

        .new-update-flash .timeline-content {
            border-color: var(--live-red) !important;
            box-shadow: 0 0 15px rgba(224, 45, 69, 0.4) !important;
            animation: highlight-pulse 2s ease-in-out 3;
        }
        @keyframes highlight-pulse {
            0% { background-color: rgba(224, 45, 69, 0.1); }
            50% { background-color: var(--vr-color-white); }
            100% { background-color: rgba(224, 45, 69, 0.05); }
        }
        [data-bs-theme="dark"] @keyframes highlight-pulse {
            0% { background-color: rgba(224, 45, 69, 0.2); }
            50% { background-color: var(--vr-gray-800); }
            100% { background-color: rgba(224, 45, 69, 0.1); }
        }

        .live-pulse { width: 10px; height: 10px; background: var(--live-red); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
        .live-pulse-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; display: inline-block; animation: pulse-white 2s infinite; }
        
        @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224, 45, 69, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(224, 45, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 45, 69, 0); } }
        @keyframes pulse-white { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
        
        .live-alert { background-color: var(--live-red); color: #fff; padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; cursor: pointer; box-shadow: 0 4px 15px rgba(224, 45, 69, 0.4); transition: all 0.2s; }
        .live-alert:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(224, 45, 69, 0.5); }
        .text-main { color: var(--vr-text-main) !important; }
        .no-caret::after { display: none; }

