/* Home Calendar, Dashboard & Full-Color Vibrant System */


/* ==========================================================================
           PREMIUM FULL-COLOR SIDE-BY-SIDE CALENDAR & DASHBOARD DESIGN SYSTEM
           ========================================================================== */
        /* Hero Floating Badge ("Muhammad Rafi Qsan") - Bulletproof Absolute Stacking & Contrast */
        .hero-floating-badge {
            position: absolute !important;
            bottom: 16px !important;
            left: 16px !important;
            right: 16px !important;
            background: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
            border-radius: 1.15rem !important;
            box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.28), 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
            z-index: 30 !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
            align-items: center !important;
            gap: 0.75rem !important;
            padding: 0.65rem 0.95rem !important;
            box-sizing: border-box !important;
            transition: transform 0.25s ease, box-shadow 0.25s ease !important;
        }
        @media (max-width: 640px) {
            .hero-floating-badge {
                bottom: 12px !important;
                left: 12px !important;
                right: 12px !important;
                padding: 8px 10px !important;
                gap: 10px !important;
                border-radius: 1rem !important;
            }
        }
        html.dark .hero-floating-badge {
            background: rgba(15, 23, 42, 0.96) !important;
            border: 1.5px solid rgba(51, 65, 85, 0.85) !important;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.65), 0 4px 12px -2px rgba(0, 0, 0, 0.3) !important;
        }
        .hero-badge-icon {
            width: 42px !important;
            height: 42px !important;
            border-radius: 12px !important;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
            border: 1.5px solid #cbd5e1 !important;
            box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
            font-size: 22px !important;
            line-height: 1 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-icon {
                width: 36px !important;
                height: 36px !important;
                border-radius: 10px !important;
                font-size: 19px !important;
            }
        }
        html.dark .hero-badge-icon {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
            border-color: #334155 !important;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        }
        .hero-badge-title {
            color: #0f172a !important;
            font-weight: 900 !important;
            font-size: 0.95rem !important;
            line-height: 1.2 !important;
            letter-spacing: -0.02em !important;
            white-space: nowrap !important;
            margin: 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-title {
                font-size: 0.8rem !important;
                letter-spacing: -0.025em !important;
            }
        }
        html.dark .hero-badge-title {
            color: #ffffff !important;
        }
        .hero-badge-sub {
            color: #475569 !important;
            font-weight: 700 !important;
            font-size: 0.76rem !important;
            line-height: 1.2 !important;
            letter-spacing: -0.01em !important;
            white-space: nowrap !important;
            margin: 0.15rem 0 0 0 !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        @media (max-width: 640px) {
            .hero-badge-sub {
                font-size: 0.7rem !important;
                margin-top: 0.1rem !important;
            }
        }
        html.dark .hero-badge-sub {
            color: #cbd5e1 !important;
        }
        .hero-badge-pill-dot {
            width: 6px !important;
            height: 6px !important;
            border-radius: 9999px !important;
            background-color: #10b981 !important;
            display: inline-block !important;
            box-shadow: 0 0 6px rgba(16, 185, 129, 0.7) !important;
            flex-shrink: 0 !important;
        }
        .hero-pill-desktop {
            display: inline !important;
        }
        .hero-pill-mobile {
            display: none !important;
        }
        @media (max-width: 640px) {
            .hero-pill-desktop {
                display: none !important;
            }
            .hero-pill-mobile {
                display: inline !important;
            }
        }
        .hero-sub-desktop {
            display: inline !important;
        }
        .hero-sub-mobile {
            display: none !important;
        }
        @media (max-width: 640px) {
            .hero-sub-desktop {
                display: none !important;
            }
            .hero-sub-mobile {
                display: inline !important;
            }
        }

        /* Calendar Header Card ("Kalender Kegiatan & Event Mendatang") */
        .cal-header-card { background-color: #ffffff !important; border: 1.5px solid #e2e8f0 !important; box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08) !important; }
        html.dark .cal-header-card { background-color: #131d38 !important; border-color: #273549 !important; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important; }
        .cal-header-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .cal-header-title { color: #ffffff !important; }
        .cal-header-subtitle { color: #475569 !important; font-weight: 500 !important; }
        html.dark .cal-header-subtitle { color: #94a3b8 !important; }

        /* Article & Blog Header Card ("Daftar Artikel & Berita Edukasi") */
        .article-header-card { background-color: #ffffff !important; border: 1.5px solid #e2e8f0 !important; box-shadow: 0 10px 25px -5px rgba(0, 46, 71, 0.08) !important; }
        html.dark .article-header-card { background-color: #131d38 !important; border-color: #273549 !important; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important; }
        .article-header-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .article-header-title { color: #ffffff !important; }
        .article-header-subtitle { color: #475569 !important; font-weight: 600 !important; }
        html.dark .article-header-subtitle { color: #94a3b8 !important; }

        /* News & Article Cards - Bulletproof Uniform Proportions & Typography */
        article, .article-card {
            background-color: #ffffff !important;
            border: 1.5px solid #e2e8f0 !important;
            border-radius: 1.5rem !important;
            display: flex !important;
            flex-direction: column !important;
            height: 100% !important;
            overflow: hidden !important;
            box-shadow: 0 10px 25px -5px rgba(0, 46, 71, 0.06) !important;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }
        .article-card:hover {
            transform: translateY(-5px) !important;
            border-color: #38bdf8 !important;
            box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.2) !important;
        }
        html.dark article, html.dark .article-card {
            background-color: #131d38 !important;
            border-color: #263654 !important;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
        }
        html.dark .article-card:hover {
            border-color: #0284c7 !important;
            box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7) !important;
        }

        /* Enforce identical 195px banner image container across ALL cards */
        .article-card-image-wrap {
            position: relative !important;
            width: 100% !important;
            height: 195px !important;
            min-height: 195px !important;
            max-height: 195px !important;
            overflow: hidden !important;
            display: block !important;
            background: #f1f5f9 !important;
            cursor: pointer !important;
        }
        html.dark .article-card-image-wrap {
            background: #0b132b !important;
        }
        .article-card-image-wrap img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        }
        .article-card:hover .article-card-image-wrap img {
            transform: scale(1.06) !important;
        }

        /* Flex card body with consistent padding */
        .article-card-body {
            padding: 1.25rem !important;
            display: flex !important;
            flex-direction: column !important;
            flex: 1 1 0% !important;
            justify-content: space-between !important;
        }

        /* Title with fixed 2-line clamp & consistent min-height */
        article h2, article h3, .article-card h2, .article-card h3, .article-card-title, .article-title {
            color: #0f172a !important;
            font-weight: 800 !important;
        }
        .article-card-title {
            font-size: 0.95rem !important;
            line-height: 1.35 !important;
            font-weight: 900 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            min-height: 2.6rem !important;
            margin: 0 !important;
        }
        article h2:hover, article h3:hover, .article-card-title:hover { color: #0284c7 !important; }
        html.dark article h2, html.dark article h3, html.dark .article-card h2, html.dark .article-card h3, html.dark .article-card-title, html.dark .article-title {
            color: #f8fafc !important;
        }
        html.dark article h2:hover, html.dark article h3:hover, html.dark .article-card-title:hover { color: #38bdf8 !important; }

        /* Excerpt with fixed 2-line clamp & consistent min-height */
        article p, .article-card p, .article-card-excerpt { color: #475569 !important; }
        .article-card-excerpt {
            font-size: 0.78rem !important;
            line-height: 1.45 !important;
            font-weight: 500 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            min-height: 2.3rem !important;
            margin: 0 !important;
        }
        html.dark article p, html.dark .article-card p, html.dark .article-card-excerpt { color: #94a3b8 !important; }

        /* Card footer with pinned bottom alignment */
        .article-card-footer {
            margin-top: auto !important;
            padding-top: 0.75rem !important;
            border-top: 1px solid #f1f5f9 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
        html.dark .article-card-footer {
            border-top-color: #1e293b !important;
        }

        article .text-slate-700, article .text-slate-600, article .text-slate-500, article .text-slate-400 { color: #475569 !important; }
        html.dark article .text-slate-700, html.dark article .text-slate-600 { color: #94a3b8 !important; }
        .article-cat-dropdown-text { color: #0f172a !important; font-weight: 800 !important; }
        html.dark .article-cat-dropdown-text { color: #f8fafc !important; }
        .article-modal-title { color: #0f172a !important; font-weight: 900 !important; }
        html.dark .article-modal-title { color: #f8fafc !important; }

        /* Neutralize Tailwind v4 media-query dark mode leak when html does NOT have class 'dark' */
        @media (prefers-color-scheme: dark) {
            html:not(.dark) .dark\:text-white, html:not(.dark) [class*="dark:text-white"] { color: #0f172a !important; }
            html:not(.dark) .dark\:text-slate-100, html:not(.dark) .dark\:text-slate-200, html:not(.dark) .dark\:text-slate-300 { color: #334155 !important; }
            html:not(.dark) article h2, html:not(.dark) article h3, html:not(.dark) .article-card-title { color: #0f172a !important; }
            html:not(.dark) article p, html:not(.dark) .article-card-excerpt { color: #334155 !important; }
        }

        /* 3D Calendar Header Icon Box */
        .cal-header-icon-box { width: 3.25rem; height: 3.25rem; border-radius: 1.15rem; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.3); border: 2px solid #bae6fd; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important; }
        @media (min-width: 640px) { .cal-header-icon-box { width: 3.85rem; height: 3.85rem; border-radius: 1.25rem; } }
        html.dark .cal-header-icon-box { background: linear-gradient(135deg, #0c2d48 0%, #1e293b 100%) !important; border-color: #0284c7 !important; }
        .cal-header-icon-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.3s ease; display: block; }
        .cal-header-icon-box:hover .cal-header-icon-img { transform: scale(1.08); }

        /* Category Tab Navigation Container - Fully Responsive & Scroll-Proof on Mobile */
        .tab-cat-nav-wrap { display: flex !important; align-items: center !important; padding: 0.25rem !important; border-radius: 1.15rem !important; background: rgba(241, 245, 249, 0.95) !important; border: 1px solid #cbd5e1 !important; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important; gap: 0.25rem !important; width: 100% !important; max-width: 100% !important; overflow-x: auto !important; scrollbar-width: none !important; -webkit-overflow-scrolling: touch !important; box-sizing: border-box !important; }
        @media (min-width: 640px) { .tab-cat-nav-wrap { width: auto !important; padding: 0.375rem !important; gap: 0.375rem !important; border-radius: 1.25rem !important; } }
        html.dark .tab-cat-nav-wrap { background: rgba(30, 41, 59, 0.95) !important; border-color: #334155 !important; }
        .tab-cat-nav-wrap::-webkit-scrollbar { display: none !important; }

        /* Category Tab Buttons - Mobile Fits All 4 (Semua, OSN, SNBT, TKA) Side-by-Side */
        .tab-cat-btn { flex: 1 1 0% !important; min-width: 0 !important; padding: 0.45rem 0.45rem !important; border-radius: 0.75rem !important; font-size: 0.76rem !important; font-weight: 800 !important; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important; cursor: pointer !important; text-align: center !important; border: 1.5px solid transparent !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.25rem !important; white-space: nowrap !important; user-select: none !important; box-sizing: border-box !important; }
        @media (min-width: 380px) { .tab-cat-btn { padding: 0.45rem 0.6rem !important; font-size: 0.78rem !important; gap: 0.3rem !important; } }
        @media (min-width: 640px) { .tab-cat-btn { flex: 0 0 auto !important; padding: 0.6rem 1.35rem !important; font-size: 0.875rem !important; gap: 0.45rem !important; } }
        .tab-cat-btn.inactive { color: #475569 !important; background: transparent !important; }
        html.dark .tab-cat-btn.inactive { color: #94a3b8 !important; }
        .tab-cat-btn.inactive:hover { color: #0f172a !important; background: rgba(255, 255, 255, 0.7) !important; }
        html.dark .tab-cat-btn.inactive:hover { color: #ffffff !important; background: rgba(255, 255, 255, 0.1) !important; }
        .tab-cat-btn.active-all { background: linear-gradient(135deg, #002E47 0%, #08436b 100%) !important; color: #ffffff !important; border-color: #002E47 !important; box-shadow: 0 4px 14px rgba(0, 46, 71, 0.35) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-osn { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; color: #ffffff !important; border-color: #38bdf8 !important; box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-osn span { color: #ffffff !important; }
        .tab-cat-btn.active-snbt { background: linear-gradient(135deg, #059669 0%, #047857 100%) !important; color: #ffffff !important; border-color: #34d399 !important; box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-snbt span { color: #ffffff !important; }
        .tab-cat-btn.active-tka { background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important; color: #ffffff !important; border-color: #fbbf24 !important; box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4) !important; font-weight: 800 !important; }
        .tab-cat-btn.active-tka span { color: #ffffff !important; }
        .badge-cat-osn { background: #e0f2fe !important; color: #0369a1 !important; border: 1.5px solid #7dd3fc !important; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2) !important; }
        html.dark .badge-cat-osn { background: #0c2d48 !important; color: #7dd3fc !important; border: 1.5px solid #0284c7 !important; }
        .badge-cat-all { background: #f0f9ff !important; color: #002E47 !important; border: 1.5px solid #bae6fd !important; }
        html.dark .badge-cat-all { background: #0f172a !important; color: #93c5fd !important; border: 1.5px solid #1e3a8a !important; }
        .badge-cat-snbt { background: #dcfce7 !important; color: #065f46 !important; border: 1.5px solid #86efac !important; }
        html.dark .badge-cat-snbt { background: #064e3b !important; color: #6ee7b7 !important; border: 1.5px solid #059669 !important; }
        .badge-cat-tka { background: #fef3c7 !important; color: #92400e !important; border: 1.5px solid #fde68a !important; }
        html.dark .badge-cat-tka { background: #451a03 !important; color: #fcd34d !important; border: 1.5px solid #b45309 !important; }
        .cal-container-wide { width: 100%; max-width: 1440px; margin: 0 auto; }
        .cal-side-dashboard { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; }
        @media (min-width: 1024px) {
            .cal-side-dashboard { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.75rem; align-items: stretch; }
        }
        @media (min-width: 1280px) {
            .cal-side-dashboard { grid-template-columns: 1.45fr 1fr; gap: 2rem; }
        }
        .cal-col-left { width: 100%; min-width: 0; display: flex; flex-direction: column; }
        .cal-col-right { width: 100%; min-width: 0; display: flex; flex-direction: column; height: 100%; }
        .calendar-main-card { width: 100%; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 1.75rem; box-shadow: 0 20px 45px -15px rgba(0, 46, 71, 0.08); overflow: hidden; display: flex; flex-direction: column; }
        html.dark .calendar-main-card { background: #131d38; border-color: #273549; box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6); }
        .calendar-detail-card { width: 100%; height: 100%; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 1.75rem; box-shadow: 0 20px 45px -15px rgba(0, 46, 71, 0.08); display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; }
        html.dark .calendar-detail-card { background: #131d38; border-color: #273549; box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.6); }
        .cal-detail-body { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding-right: 0.35rem; }
        @media (max-width: 1023px) { .cal-detail-body { max-height: 520px; } }
        .custom-scrollbar::-webkit-scrollbar { width: 6px; }
        .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
        .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 9999px; }
        html.dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #334155; }
        .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.35rem; width: 100%; }
        @media (min-width: 640px) { .cal-grid { gap: 0.5rem; } }
        @media (min-width: 1024px) { .cal-grid { gap: 0.55rem; } }
        .cal-day-header { padding: 0.65rem 0.2rem; text-align: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 0.75rem; }
        .cal-day-header.senin { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
        .cal-day-header.selasa { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
        .cal-day-header.rabu { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
        .cal-day-header.kamis { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
        .cal-day-header.jumat { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
        .cal-day-header.saturday { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
        .cal-day-header.sunday { color: #be123c !important; background: #ffe4e6 !important; border: 1.5px solid #fecdd3 !important; font-weight: 900 !important; }
        html.dark .cal-day-header.senin { background: #172554; color: #93c5fd; border-color: #1e3a8a; }
        html.dark .cal-day-header.selasa { background: #134e4a; color: #5eead4; border-color: #115e59; }
        html.dark .cal-day-header.rabu { background: #1e1b4b; color: #a5b4fc; border-color: #312e81; }
        html.dark .cal-day-header.kamis { background: #3b0764; color: #d8b4fe; border-color: #581c87; }
        html.dark .cal-day-header.jumat { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
        html.dark .cal-day-header.saturday { background: #451a03; color: #fcd34d; border-color: #78350f; }
        html.dark .cal-day-header.sunday { background: #4c0519; color: #fda4af; border-color: #881337; }
        .cal-cell { min-height: 72px; border-radius: 1rem; padding: 0.45rem; display: flex; flex-direction: column; position: relative; border: 1.5px solid #e2e8f0; background: #ffffff; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; user-select: none; }
        @media (min-width: 640px) { .cal-cell { min-height: 88px; padding: 0.55rem; } }
        @media (min-width: 1024px) { .cal-cell { min-height: 102px; padding: 0.65rem; } }
        html.dark .cal-cell { background: #16223e; border-color: #263654; }
        .cal-cell:hover:not(.empty) { transform: translateY(-2px); border-color: #0284c7; box-shadow: 0 10px 22px -5px rgba(2, 132, 199, 0.2); z-index: 10; }
        html.dark .cal-cell:hover:not(.empty) { border-color: #38bdf8; box-shadow: 0 10px 22px -5px rgba(0, 0, 0, 0.6); }
        .cal-cell.saturday { background: #fffdfa; border-color: #fef08a; }
        html.dark .cal-cell.saturday { background: #17151f; border-color: #3b281c; }
        .cal-cell.sunday { background: #fff5f5 !important; border-color: #fecdd3 !important; }
        html.dark .cal-cell.sunday { background: #1e1117 !important; border-color: #4a1523 !important; }
        .cal-cell.today { background: linear-gradient(145deg, #e0f2fe 0%, #dbeafe 100%) !important; border: 2.5px solid #0284c7 !important; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.28), 0 10px 22px -5px rgba(2, 132, 199, 0.25) !important; transform: scale(1.015); z-index: 15; }
        html.dark .cal-cell.today { background: linear-gradient(145deg, #0b2545 0%, #11335e 100%) !important; border: 2.5px solid #38bdf8 !important; box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.35) !important; }
        .cal-cell.has-events { border-color: #93c5fd; box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08); }
        html.dark .cal-cell.has-events { border-color: #2563eb; }
        .cal-cell.selected { border-color: #0284c7 !important; background: #e0f2fe !important; box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.35), 0 12px 24px -6px rgba(2, 132, 199, 0.3) !important; transform: scale(1.02); z-index: 20; }
        html.dark .cal-cell.selected { background: #172d57 !important; border-color: #38bdf8 !important; box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.4) !important; }
        .cal-pill { display: flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.4rem; border-radius: 0.45rem; font-size: 0.68rem; font-weight: 800; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.2rem; border: 1px solid transparent; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
        .pill-osn { background: #e0f2fe; color: #0f172a !important; font-weight: 800; border-color: #bae6fd; }
        .pill-tka { background: #fef3c7; color: #0f172a !important; font-weight: 800; border-color: #fde68a; }
        .pill-snbt { background: #d1fae5; color: #0f172a !important; font-weight: 800; border-color: #a7f3d0; }
        .pill-mitra { background: #f3e8ff; color: #0f172a !important; font-weight: 800; border-color: #e9d5ff; }
        .pill-dinas { background: #ffe4e6; color: #0f172a !important; font-weight: 800; border-color: #fecdd3; }
        html.dark .pill-osn { background: #082f49; color: #7dd3fc; border-color: #0369a1; }
        html.dark .pill-tka { background: #451a03; color: #fde68a; border-color: #92400e; }
        html.dark .pill-snbt { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
        html.dark .pill-mitra { background: #3b0764; color: #d8b4fe; border-color: #7e22ce; }
        html.dark .pill-dinas { background: #4c0519; color: #fda4af; border-color: #9f1239; }
        .month-chip-bar { display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
        .month-chip-btn { flex-shrink: 0; padding: 0.4rem 0.85rem; border-radius: 9999px; font-size: 0.78rem; font-weight: 700; border: 1.5px solid #e2e8f0; background: #ffffff; color: #475569; cursor: pointer; transition: all 0.2s ease; }
        html.dark .month-chip-btn { background: #1a2542; border-color: #334155; color: #94a3b8; }
        .month-chip-btn:hover { border-color: #0284c7; color: #0284c7; transform: translateY(-1px); }
        .month-chip-btn.active { background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%) !important; border: 2px solid #0284c7 !important; color: #082f49 !important; font-weight: 900; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35); }
    
/* =========================================================================
   FULL-COLOR VIBRANT THEMED EVENT CARDS (SYNCED WITH NLS ADMIN)
   ========================================================================= */

.card-accent-nexgen { border-top: 4px solid #06b6d4 !important; }
        .card-accent-osn { border-top: 4px solid #0284c7 !important; }
        .card-accent-snbt { border-top: 4px solid #059669 !important; }
        .card-accent-tka { border-top: 4px solid #d97706 !important; }
        .card-accent-tips { border-top: 4px solid #9333ea !important; }
        .card-accent-school { border-top: 4px solid #e11d48 !important; }
        .card-accent-info { border-top: 4px solid #4f46e5 !important; }
        .blog-prose h2, .blog-prose h3 { font-weight: 800; color: #0f172a; margin-top: 1.25rem; margin-bottom: 0.5rem; }
        .blog-prose p { color: #334155; line-height: 1.7; margin-bottom: 0.9rem; }
        .blog-prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        .blog-prose ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
        .blog-prose blockquote { border-left: 4px solid #0284c7; padding-left: 1rem; font-style: italic; color: #475569; background: #f8fafc; padding-top: 0.5rem; padding-bottom: 0.5rem; margin: 1rem 0; border-radius: 0 0.5rem 0.5rem 0; }

/* =========================================================================
   TRYOUT COUNTDOWN BANNER, TICKER STRIP & OMNISEARCH MODAL STYLES
   ========================================================================= */

/* 1. Live Countdown Strip */
.nls-countdown-strip {
    background: linear-gradient(135deg, #090d1a 0%, #1e1b4b 50%, #0f172a 100%) !important;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.4) !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 30 !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4) !important;
}

.nls-countdown-box {
    background: rgba(30, 27, 75, 0.9) !important;
    border: 1px solid rgba(129, 140, 248, 0.45) !important;
    border-radius: 0.5rem !important;
    text-align: center !important;
    color: #ffffff !important;
}

.nls-countdown-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #090d1a !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
    border-radius: 0.75rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.nls-countdown-btn:hover {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5) !important;
    color: #000000 !important;
}

/* 2. Hardware-Accelerated Dynamic Ticker (Soft Blue Aesthetic) */
.nls-ticker-strip {
    background: #f0f7ff !important;
    background: linear-gradient(90deg, #f0f7ff 0%, #e0f2fe 50%, #f0f7ff 100%) !important;
    border-top: 1px solid #bae6fd !important;
    border-bottom: 1px solid #bae6fd !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 0.65rem 0 !important;
    min-height: 2.75rem !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    color: #0369a1 !important;
}
html.dark .nls-ticker-strip {
    background: #0d1b2e !important;
    background: linear-gradient(90deg, #0a1626 0%, #0d2138 50%, #0a1626 100%) !important;
    border-top: 1px solid #1e3a5f !important;
    border-bottom: 1px solid #1e3a5f !important;
    color: #bae6fd !important;
}
@keyframes nlsMarquee {
    0% {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}
@-webkit-keyframes nlsMarquee {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}
.nls-ticker-track {
    display: flex !important;
    width: max-content !important;
    min-width: 200% !important;
    animation: nlsMarquee 32s linear infinite !important;
    -webkit-animation: nlsMarquee 32s linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    will-change: transform;
}
.nls-ticker-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #0c4a6e !important;
}
html.dark .nls-ticker-item {
    color: #e0f2fe !important;
}
.nls-ticker-item strong {
    color: #0284c7 !important;
    font-weight: 800 !important;
}
html.dark .nls-ticker-item strong {
    color: #38bdf8 !important;
}
.nls-ticker-bullet {
    color: #7dd3fc !important;
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
}
html.dark .nls-ticker-bullet {
    color: #0284c7 !important;
}

/* 3. Global Omnisearch Spotlight Modal */
.nls-omni-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 29, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    padding-top: 4.5rem;
    box-sizing: border-box;
    cursor: pointer;
}
.nls-omni-backdrop.is-hidden,
.nls-omni-backdrop[style*="display: none"],
.nls-omni-backdrop[style*="display:none"],
[x-cloak].nls-omni-backdrop,
.nls-omni-backdrop[aria-hidden="true"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.nls-omni-card {
    width: 100%;
    max-width: 42rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 82vh;
    position: relative;
    z-index: 100000;
    color: #0f172a;
    cursor: default;
}
.nls-omni-card.is-hidden,
.nls-omni-card[style*="display: none"],
.nls-omni-card[style*="display:none"] {
    display: none !important;
}
html.dark .nls-omni-card {
    background: #0f172a;
    border-color: #334155;
    color: #ffffff;
}
.nls-omni-input {
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    outline: none !important;
    width: 100% !important;
}
html.dark .nls-omni-input {
    color: #ffffff !important;
}
.nls-omni-cat-bar {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
html.dark .nls-omni-cat-bar {
    background: #1e293b !important;
    border-color: #334155 !important;
}
.nls-omni-result-item {
    padding: 0.75rem !important;
    border-radius: 1rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.15s ease !important;
    border: 1px solid transparent !important;
}
.nls-omni-result-item:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
html.dark .nls-omni-result-item:hover {
    background: #1e293b !important;
    border-color: #334155 !important;
}

/* 4. Hero Floating Badge Optimization */
.hero-badge-pill {
    background: rgba(2, 132, 199, 0.12) !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}
html.dark .hero-badge-pill {
    background: rgba(56, 189, 248, 0.15) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    color: #38bdf8 !important;
}
@media (max-width: 640px) {
    .hero-badge-pill {
        padding: 2px 7px !important;
        font-size: 9.5px !important;
        gap: 4px !important;
    }
}

