
        /* Custom Post Grid Viewer Pro - Frontend Styles */
        :root {
            --cpgv-primary: #3498db;
            --cpgv-primary-hover: #2980b9;
            --cpgv-title-color: #2c3e50;
            --cpgv-text-color: #34495e;
            --cpgv-card-bg: #ffffff;
            --cpgv-card-border: #ecf0f1;
            --cpgv-separator-color: #ecf0f1;
            --cpgv-border-radius: 12px;
            --cpgv-grid-gap: 30px;
            --cpgv-image-height: 250px;
            --cpgv-transition: 0.3s;
        }
        
        .cpgv-grid-wrapper {
            margin: 40px 0;
            padding: 20px 0;
        }
        
        .cpgv-grid-container {
            display: grid;
            grid-template-columns: repeat(var(--cpgv-columns, 3), 1fr);
            gap: var(--cpgv-grid-gap);
            width: 100%;
        }
        
        .cpgv-grid-item {
            opacity: 0;
            animation-fill-mode: both;
        }
        
        /* Card Styles */
        .cpgv-card {
            background: var(--cpgv-card-bg);
            border: 1px solid var(--cpgv-card-border);
            border-radius: var(--cpgv-border-radius);
            overflow: hidden;
            transition: all var(--cpgv-transition) ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        .cpgv-card { box-shadow: 0 4px 20px rgba(0,0,0,0.08); } .cpgv-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.15); }
        
        .cpgv-card:hover {
            transform: translateY(-8px);
            border-color: var(--cpgv-primary);
        }
        
        /* Image Container with Hover Effects */
        .cpgv-image-container {
            position: relative;
            overflow: hidden;
            height: var(--cpgv-image-height);
            background: #2c3e50;
        }
        
        .cpgv-post-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }
        
        .cpgv-placeholder-image {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: rgba(255,255,255,0.3);
            font-size: 48px;
        }
        
        /* Overlay Effects */
        .cpgv-overlay-primary,
        .cpgv-overlay-secondary {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all var(--cpgv-transition) ease;
            background: rgba(0,0,0,0);
        }
        
        .cpgv-overlay-primary {
            background: linear-gradient(to bottom, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.9));
        }
        
        .cpgv-overlay-secondary {
            background: linear-gradient(to top, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.9));
            transform: translateY(100%);
        }
        
        .cpgv-card:hover .cpgv-post-image {
            transform: scale(1.05);
        }
        
        .cpgv-card:hover .cpgv-overlay-primary {
            opacity: 1;
            transform: translateY(0);
        }
        
        .cpgv-card:hover .cpgv-overlay-secondary {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Dual Overlay Effect */
        .cpgv-card.dual-overlay:hover .cpgv-overlay-primary {
            transform: translateY(-50%);
        }
        
        .cpgv-card.dual-overlay:hover .cpgv-overlay-secondary {
            transform: translateY(50%);
        }
        
        /* Button Styles */
        .cpgv-view-btn {
            color: white;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 30px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            transform: scale(0.9);
        }
        
        .cpgv-btn-primary {
            background: rgba(255,255,255,0.2);
            border: 2px solid rgba(255,255,255,0.3);
        }
        
        .cpgv-btn-secondary {
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.2);
        }
        
        .cpgv-card:hover .cpgv-view-btn {
            transform: scale(1);
        }
        
        .cpgv-view-btn:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05) !important;
        }
        
        /* Card Content */
        .cpgv-card-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .cpgv-post-title {
            margin: 0 0 15px 0;
            font-size: 1.3em;
            line-height: 1.4;
            font-weight: 700;
        }
        
        .cpgv-post-title a {
            color: var(--cpgv-title-color);
            text-decoration: none;
            transition: color var(--cpgv-transition) ease;
        }
        
        .cpgv-post-title a:hover {
            color: var(--cpgv-primary);
        }
        
        /* Meta Information */
        .cpgv-post-meta {
            display: flex;
            gap: 20px;
            margin-bottom: 15px;
            font-size: 0.9em;
            color: var(--cpgv-text-color);
            opacity: 0.8;
        }
        
        .cpgv-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .cpgv-meta-item i {
            font-size: 0.9em;
        }
        
        /* Excerpt */
        .cpgv-post-excerpt {
            color: var(--cpgv-text-color);
            line-height: 1.7;
            margin-bottom: 20px;
            flex-grow: 1;
            opacity: 0.9;
        }
        
        /* Separator */
        .cpgv-separator {
            height: 1px;
            margin: 20px 0;
            width: 100%;
        }
        
        .cpgv-separator.solid {
            border-bottom: 1px solid var(--cpgv-separator-color);
        }
        
        .cpgv-separator.dashed {
            border-bottom: 1px dashed var(--cpgv-separator-color);
        }
        
        .cpgv-separator.dotted {
            border-bottom: 1px dotted var(--cpgv-separator-color);
        }
        
        .cpgv-separator.double {
            border-bottom: 3px double var(--cpgv-separator-color);
        }
        
        .cpgv-separator.gradient {
            background: linear-gradient(90deg, transparent, var(--cpgv-separator-color), transparent);
            height: 1px;
        }
        
        /* Action Buttons */
        .cpgv-card-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: auto;
        }
        
        .cpgv-action-btn {
            padding: 10px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9em;
            transition: all var(--cpgv-transition) ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        
        .cpgv-btn-solid {
            background: var(--cpgv-primary);
            color: white;
            border: 2px solid var(--cpgv-primary);
        }
        
        .cpgv-btn-solid:hover {
            background: var(--cpgv-primary-hover);
            border-color: var(--cpgv-primary-hover);
            color: white;
            transform: translateY(-2px);
        }
        
        .cpgv-btn-outline {
            background: transparent;
            color: var(--cpgv-primary);
            border: 2px solid var(--cpgv-primary);
        }
        
        .cpgv-btn-outline:hover {
            background: var(--cpgv-primary);
            color: white;
            transform: translateY(-2px);
        }
        
        /* No Posts Message */
        .cpgv-no-posts {
            text-align: center;
            padding: 60px 20px;
            background: #f8f9fa;
            border-radius: 10px;
            border: 2px dashed #dee2e6;
        }
        
        .cpgv-no-posts h3 {
            color: #6c757d;
            margin: 15px 0 10px 0;
        }
        
        .cpgv-no-posts p {
            color: #adb5bd;
        }
        
        /* Animation Classes */
        .animate__animated {
            opacity: 1 !important;
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .cpgv-grid-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .cpgv-grid-container {
                grid-template-columns: repeat(1, 1fr);
            }
            
            .cpgv-card-actions {
                flex-direction: column;
            }
            
            .cpgv-action-btn {
                width: 100%;
                justify-content: center;
            }
            
            .cpgv-post-meta {
                flex-direction: column;
                gap: 8px;
            }
        }
        