@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
        :root { --emdt-gold-dark: #fbb74b; }
        html body { font-family: 'Hind Siliguri', sans-serif; background-color: #f8fafc; }

        /* Navbar: active link (synced with the scrolled-into-view section) */
        #mainNav a.nav-link {
            display: inline-flex;
            align-items: center;
            padding: 0.35rem 0.75rem;
            border-radius: 0.75rem;
            white-space: nowrap;
            text-decoration: none;
            transition: color 0.2s ease, background-color 0.2s ease;
            font-weight: 500;
        }
        #mainNav a.nav-link:hover,
        #mainNav a.nav-link:focus-visible {
            color: #fbb74b;
            background: rgba(255, 255, 255, 0.08);
        }
        #mainNav a.nav-link.is-active,
        #mainNav a.nav-link.is-active:hover,
        #mainNav a.nav-link.is-active:focus-visible {
            color: #fbb74b;
            font-weight: 700;
            background: rgba(255, 228, 93, 0.12);
            box-shadow: inset 0 0 0 1px rgba(251, 183, 75, 0.25);
        }

        /* Anchors land below sticky header */
        html { scroll-padding-top: 5rem; }
        @media (prefers-reduced-motion: no-preference) {
            html { scroll-behavior: smooth; }
        }

        /* Mobile Menu Nav Links */
        #mobileMenu a.nav-link {
            display: block;
            padding: 0.625rem 0.75rem;
            border-radius: 0.75rem;
            color: #334155;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.2s ease, background-color 0.2s ease;
        }
        #mobileMenu a.nav-link:hover,
        #mobileMenu a.nav-link:focus-visible {
            color: #2563eb;
            background: #eff6ff;
        }
        #mobileMenu a.nav-link.is-active,
        #mobileMenu a.nav-link.is-active:hover,
        #mobileMenu a.nav-link.is-active:focus-visible {
            color: #ffffff;
            font-weight: 700;
            background: #1e3a8a;
        }

        /* Section 1: video + playlist responsive rail */
        body { overflow-x: hidden; }
        #videoPlayer iframe { border: 0; }

        @media (max-width: 1023px) {
            .yt-grid { flex-direction: column !important; }
            #playlistItems { 
                display: flex !important; 
                flex-direction: row !important; 
                gap: 0.625rem !important; 
                overflow-x: auto !important; 
                overflow-y: hidden !important; 
                scroll-snap-type: x mandatory; 
                overscroll-behavior-x: contain; 
                scrollbar-width: none; 
                padding-bottom: 0.25rem;
            }
            #playlistItems::-webkit-scrollbar { display: none; }
            #playlistItems > .yt-item { 
                width: 272px !important; 
                flex: 0 0 272px !important; 
                min-width: 272px !important; 
                scroll-snap-align: start; 
                margin-bottom: 0 !important;
            }
        }
        @media (min-width: 1024px) {
            #playlistItems { 
                display: flex !important; 
                flex-direction: column !important; 
                gap: 10px !important; 
                scrollbar-width: thin; 
                scrollbar-color: #334155 transparent; 
            }
            #playlistItems::-webkit-scrollbar { width: 4px; }
            #playlistItems::-webkit-scrollbar-track { background: #1E293B; border-radius: 999px; }
            #playlistItems::-webkit-scrollbar-thumb { background: #334155; border-radius: 999px; }
        }

        .yt-item[aria-current="true"] .yt-badge { display: none; }
        .yt-item[aria-current="true"] .yt-playing-badge { display: inline-block; }
        .yt-item:not([aria-current="true"]):hover .yt-playing-badge { display: none; }

        @media (max-width: 767px) {
            .emdt-country-pill {
                min-width: 0;
                min-height: 52px;
                padding: 0.75rem 0.8rem;
                flex: 0 1 calc(50% - 0.5rem);
            }
        }

        /* Country Navigation Pills */
        .emdt-country-pill {
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            min-height: 44px;
            padding: 0.5rem 1.15rem;
            border-radius: 14px;
            border: 1.5px solid #cbd5e1;
            background: #ffffff;
            color: #334155;
            font-weight: 600;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .emdt-country-pill:hover {
            border-color: #2563eb;
            background: #eff6ff;
            color: #1e3a8a;
        }
        .emdt-country-pill.is-active {
            border-color: #2563eb;
            background: #2563eb;
            color: #ffffff;
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
        }

        .card-hover-effect {
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .card-hover-effect:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 18px -4px rgba(0, 0, 0, 0.05);
        }

        /* Locked education status selects (progressive unlock) */
        select.emdt-locked {
            background-color: #f1f5f9 !important;
            color: #94a3b8 !important;
            cursor: not-allowed !important;
        }
