        body {
            background-color: #e9ecef;
            font-family: 'Poppins', sans-serif;
        }

        .header-section {
            background: linear-gradient(90deg, #2c3e50, #3498db);
            color: white;
            padding: 40px 0;
            text-align: center;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .sidebar {
            position: sticky;
            top: 100px;
            z-index: 2;
            background-color: #ffffff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

            .sidebar .nav-link {
                color: #2c3e50;
                padding: 12px 15px;
                border-radius: 5px;
                transition: all 0.3s ease;
            }

                .sidebar .nav-link:hover, .sidebar .nav-link.active {
                    background-color: #3498db;
                    color: white;
                    transform: translateX(5px);
                }

        .content-card {
            border: none;
            border-radius: 15px;
            background-color: #ffffff;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 30px;
        }

            .content-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            }

            .content-card .card-header {
                background-color: #2c3e50;
                color: white;
                border-radius: 15px 15px 0 0;
                padding: 15px 20px;
            }

        .table th {
            background-color: #f8f9fa;
            color: #2c3e50;
            font-weight: 600;
        }

        .table-hover tbody tr:hover {
            background-color: #e9ecef;
        }

        .img-gallery img {
            border-radius: 10px;
            transition: transform 0.3s ease;
        }

            .img-gallery img:hover {
                transform: scale(1.1);
            }

        .breadcrumb {
            background-color: transparent;
            padding: 15px 0;
        }

        hr {
            border-top: 2px dashed #3498db;
        }

        @media (max-width: 991px) {
            .sidebar {
                position: static;
                top: auto;
                margin-top: 20px;
            }
        }

        .staff-gallery-col {
            padding-bottom: 32px;
            padding-left: 10px;
            padding-right: 10px;
        }

        .staff-overlay-card {
            position: relative;
            width: 100%;
            min-width: 180px;
            max-width: 210px;
            min-height: 250px;
            max-height: 270px;
            margin-left: auto;
            margin-right: auto;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 6px 20px rgba(44,62,80,0.12);
            background: #f8f9fa;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: stretch;
        }

            .staff-overlay-card:hover {
                transform: translateY(-6px) scale(1.03);
                box-shadow: 0 12px 32px rgba(44,62,80,0.18);
            }

        .staff-overlay-img {
            width: 100%;
            height: 270px;
            object-fit: cover;
            display: block;
            border-radius: 16px;
            filter: brightness(0.92);
            transition: filter 0.3s;
        }

        .staff-overlay-card:hover .staff-overlay-img {
            filter: brightness(0.7) blur(1px);
        }

        .staff-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(44,62,80,0.78);
            color: #fff;
            opacity: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px 12px 12px 12px;
            transition: opacity 0.3s;
            border-radius: 18px;
            text-align: center;
        }

        .staff-overlay-card:hover .staff-overlay {
            opacity: 1;
        }

        .staff-overlay h6 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: #fff;
        }

        .staff-overlay p {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: #e0e6ed;
        }

        .staff-overlay .btn {
            font-size: 0.95rem;
            padding: 0.4rem 1.2rem;
            border-radius: 20px;
            background: #fff;
            color: #3498db;
            border: none;
            font-weight: 600;
            transition: background 0.2s, color 0.2s;
        }

            .staff-overlay .btn:hover {
                background: #3498db;
                color: #fff;
            }

        /* New: centered staff name & designation shown under the card */
        .staff-info {
            text-align: center;
            padding-top: 12px;
        }

        .staff-info .staff-name {
            font-size: 1rem;
            font-weight: 700;
            margin: 0;
            color: #2c3e50;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .staff-info .staff-designation {
            font-size: 0.9rem;
            margin: 0;
            color: #6c757d; /* muted */
        }

        @media (max-width: 991px) {
            .staff-overlay-card {
                min-width: 100%;
                max-width: 100%;
            }

            .staff-overlay-img {
                height: 160px;
            }
        }
         /* Enforce consistent font, size, and justified alignment for all asp:Literal content */
        .card-body {
            font-family: Arial, Helvetica, sans-serif !important;
            font-size: 16px !important;
            text-align: justify !important;
        }
        /* If CKEditor content uses inline font-family, font-size, or text-align, override it */
        .card-body * {
            font-family: inherit !important;
            font-size: inherit !important;
            text-align: inherit !important;
        }