
        :root {
            --primary-color: #2563eb;
            --primary-hover: #1d4ed8;
            --wiki-dark: #0f172a;
            --wiki-gray: #475569;
            --bg-light: #f8fafc;
            --border-color: #cbd5e1;
            --border-subtle: #f1f5f9;
            
            /* Professional Desaturated Reference Palette */
            --accent-orange: #d97706;
            --accent-yellow: #ca8a04;
            --accent-purple: #64748b;
            --accent-blue: #3b82f6;
            --accent-red: #dc2626;
            --accent-green: #16a34a;
            --accent-pink: #db2777;
            --accent-gray: #475569;
        }

        body {
            background-color: var(--bg-light);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            color: var(--wiki-dark);
            -webkit-font-smoothing: antialiased;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: color 0.15s ease-in-out;
        }
        
        a:hover {
            text-decoration: underline;
            color: var(--primary-hover);
        }

        /* NAVBAR */
        .top-navbar {
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
        }

        .logo {
            font-size: 24px;
            font-weight: 800;
            color: var(--wiki-dark);
            letter-spacing: -0.75px;
        }
        
        .logo span {
            color: var(--primary-color);
        }

        .search-box input {
            border-radius: 6px 0 0 6px;
            border: 1px solid var(--border-color);
            border-right: none;
            padding: 10px 16px;
            font-size: 14px;
            background-color: #f1f5f9;
            transition: all 0.2s ease;
        }
        
        .search-box input:focus {
            box-shadow: none;
            background-color: #ffffff;
            border-color: var(--primary-color);
        }

        .search-box button {
            border-radius: 0 6px 6px 0;
            padding: 0 24px;
            font-size: 14px;
            font-weight: 600;
            background-color: var(--wiki-dark);
            border-color: var(--wiki-dark);
        }
        
        .search-box button:hover {
            background-color: #1e293b;
            border-color: #1e293b;
        }

        .menu-links a {
            margin-left: 24px;
            color: var(--wiki-gray);
            font-size: 14px;
            font-weight: 600;
        }
        .menu-links a:hover {
            color: var(--primary-color);
        }

        /* HERO SECTION */
        .hero-section {
            background: #ffffff;
            padding: 50px 30px;
            text-align: center;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-top: 24px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.02);
        }

        .hero-section h1 {
            font-size: 40px;
            font-weight: 800;
            color: var(--wiki-dark);
            letter-spacing: -0.5px;
        }

        .hero-section span {
            color: var(--primary-color);
        }

        .hero-section p {
            color: var(--wiki-gray);
            font-size: 16px;
            margin-top: 12px;
        }

        .stats {
            color: var(--wiki-dark);
            font-size: 14px;
            font-weight: 700;
            margin-top: 16px;
            background: #f1f5f9;
            display: inline-block;
            padding: 6px 18px;
            border-radius: 30px;
            letter-spacing: 0.2px;
        }

        .hero-section .form-control {
            border-radius: 6px;
            border: 1px solid var(--border-color);
            padding: 11px 16px;
        }
        
        .hero-section .btn-primary {
            border-radius: 6px;
            padding: 11px 24px;
            font-weight: 600;
            background-color: var(--primary-color);
            border: none;
            transition: all 0.2s;
        }
        .hero-section .btn-primary:hover {
            background-color: var(--primary-hover);
        }

        /* PREMIUM CONTENT BOXES */
        .custom-box {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-bottom: 24px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.01);
            overflow: hidden;
        }

        .section-header {
            padding: 12px 20px;
            font-weight: 700;
            font-size: 15px;
            letter-spacing: 0.3px;
        }

        /* Modern Left-Border Accent System */
        .orange { background: #fffbeb; color: var(--accent-orange); border-left: 4px solid var(--accent-orange); }
        .yellow { background: #fefce8; color: var(--accent-yellow); border-left: 4px solid var(--accent-yellow); }
        .purple { background: #f8fafc; color: var(--wiki-dark); border-left: 4px solid var(--accent-purple); }
        .blue { background: #eff6ff; color: var(--accent-blue); border-left: 4px solid var(--accent-blue); }
        .red { background: #fef2f2; color: var(--accent-red); border-left: 4px solid var(--accent-red); }
        .green { background: #f0fdf4; color: var(--accent-green); border-left: 4px solid var(--accent-green); }
        .pink { background: #fdf2f8; color: var(--accent-pink); border-left: 4px solid var(--accent-pink); }
        .gray { background: #f8fafc; color: #1e293b; border-left: 4px solid var(--accent-gray); }

        .box-content {
            padding: 24px;
        }
        
        .box-content ul {
            padding-left: 20px;
            margin-bottom: 0;
        }
        
        .box-content ul li {
            margin-bottom: 12px;
            color: #334155;
        }

        /* EDITORIAL SECTIONS / LIST ENTRIES */
        .bio-item {
            margin-bottom: 20px;
            border-bottom: 1px solid var(--border-subtle);
            padding-bottom: 18px;
        }

        .bio-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .bio-item img {
            width: 64px;
            height: 64px;
            object-fit: cover;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        .bio-item h5 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--wiki-dark);
        }

        .bio-item p {
            font-size: 14px;
            color: var(--wiki-gray);
            margin-bottom: 0;
        }

        /* PREMIUM GRID MEDIA CARDS */
        .book-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            transition: all 0.2s ease-in-out;
            margin-bottom: 24px;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .book-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
            border-color: var(--border-color);
        }

        .book-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
        }

        .book-card-body {
            padding: 16px;
            background: #ffffff;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .book-card-body h5, .book-card-body h6 {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--wiki-dark);
            line-height: 1.4;
        }
        
        .book-card-body p {
            font-size: 13px;
            color: var(--wiki-gray);
            margin-bottom: 12px;
        }

        /* SIDEBAR ADS & IMAGES */
        .sidebar-image {
            width: 100%;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        /* FOOTER BRANDING */
        footer {
            background: #ffffff;
            border-top: 1px solid #e2e8f0;
            margin-top: 40px;
            padding: 40px 0;
            font-size: 14px;
            color: var(--wiki-gray);
        }

        footer p {
            margin-bottom: 8px;
        }

        .footer-bottom {
            background: #f8fafc;
            border-top: 1px solid #e2e8f0;
            font-size: 13px;
            color: var(--wiki-gray);
        }

        .footer-bottom a {
            color: var(--wiki-gray);
            font-weight: 500;
        }
        .footer-bottom a:hover {
            color: var(--primary-color);
        }

        /* GRID RESPONSIVENESS */
        @media(max-width:768px){
            .hero-section h1 {
                font-size: 32px;
            }
            .logo {
                text-align: center;
                margin-bottom: 12px;
            }
            .menu-links {
                text-align: center !important;
                margin-top: 16px;
            }
            .menu-links a {
                margin: 0 12px;
            }
        }




.bio-item img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.book-card img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    background: #f5f5f5;
}

.book-card{
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
}

.book-card:hover{
    transform: translateY(-4px);
}

.book-card-body{
    padding: 15px;
}

.book-card-body h5{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 45px;
}

.book-card-body p{
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.infobox-image{
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 420px;
    border: 1px solid #ddd;
}

.infobox-img-container{
    margin-bottom: 20px;
    overflow: hidden;
}

.featured-img{
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #ddd;
}

