      /* Self-contained gallery styles with unique class prefixes
        .pg-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
         */
        .pg-title {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 25px;
            font-size: 1.8rem;
        }
        
        .pg-thumbnail-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
          /*  flex-wrap: wrap; */
        }
        
        .pg-thumbnail {
            width: 162px;
            height: 122px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border: 3px solid transparent;
        }
        
        .pg-thumbnail:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
            border-color: #4b6cb7;
        }
        
        .pg-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .pg-thumbnail:hover img {
            transform: scale(1.05);
        }
        
        .pg-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.92);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .pg-lightbox.active {
            opacity: 1;
            pointer-events: all;
        }
        
        .pg-lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            text-align: center;
        }
        
        .pg-lightbox-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 5px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
        }
        
        .pg-close-btn {
            position: absolute;
            top: 25px;
            right: 30px;
            color: white;
            font-size: 2.2rem;
            cursor: pointer;
            transition: transform 0.3s ease;
            z-index: 10001;
        }
        
        .pg-close-btn:hover {
            transform: scale(1.2);
            color: #ff6b6b;
        }
        
        .pg-prev-btn, .pg-next-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 2.5rem;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            z-index: 10001;
        }
        
        .pg-prev-btn:hover, .pg-next-btn:hover {
            background: rgba(255, 255, 255, 0.25);
        }
        
        .pg-prev-btn {
            left: 30px;
        }
        
        .pg-next-btn {
            right: 30px;
        }
        
        .pg-image-counter {
			direction: ltr;
            position: absolute;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 1.1rem;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 20px;
            border-radius: 20px;
        }
        
        .pg-instructions {
            text-align: center;
            margin-top: 10px;
            color: #7f8c8d;
            font-size: 0.95rem;
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .pg-thumbnail-container {
                gap: 15px;
            }
            
            .pg-prev-btn, .pg-next-btn {
                width: 45px;
                height: 45px;
                font-size: 2rem;
            }
            
            .pg-close-btn {
                top: 15px;
                right: 20px;
                font-size: 2rem;
            }
        }
        
        @media (max-width: 480px) {
            .pg-thumbnail {
                width: 140px;
                height: 105px;
            }
            
            .pg-prev-btn {
                left: 15px;
            }
            
            .pg-next-btn {
                right: 15px;
            }
        }