       
       
        .gal-view-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1rem;
        }
        .gal-card {
            position: relative;
            aspect-ratio: 4 / 3;
            border-radius: 18px;
            overflow: hidden;
            background: #f0f2f5;
            box-shadow: 0 8px 22px rgba(30, 42, 58, 0.10);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            display: block;
            text-decoration: none;
        }
        .gal-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 32px rgba(30, 42, 58, 0.18);
        }
        .gal-card img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.3s;
        }
        .gal-card:hover img { transform: scale(1.04); }

        .gal-card-caption {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            background: linear-gradient(to top, rgba(30, 42, 58, 0.85), transparent);
            color: #fff;
            padding: 1.2rem 1rem 0.7rem;
            font-size: 0.88rem;
            font-weight: 500;
            pointer-events: none;
        }

        .gal-card::after {
            content: "\F52A";
            font-family: "bootstrap-icons";
            position: absolute;
            top: 10px; right: 10px;
            width: 32px; height: 32px;
            border-radius: 50%;
            background: rgba(30, 42, 58, 0.75);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            opacity: 0;
            transform: scale(0.85);
            transition: opacity 0.2s, transform 0.2s;
            pointer-events: none;
        }
        .gal-card:hover::after {
            opacity: 1;
            transform: scale(1);
        }

        .gal-cat-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 0.5rem 1rem;
            background: #fff;
            border: 1.5px solid #e5e8ee;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 500;
            color: #2b3a67;
            text-decoration: none;
            transition: all 0.15s;
            margin: 0.25rem;
        }
        .gal-cat-pill:hover {
            border-color: #d4a11e;
            background: rgba(212, 161, 30, 0.08);
            color: #1e2a3a;
        }
        .gal-cat-pill.active {
            background: #1e2a3a;
            color: #fff;
            border-color: #1e2a3a;
        }
        .gal-cat-pill .badge {
            background: #d4a11e;
            color: #1e2a3a;
            font-size: 0.7rem;
        }
        .gal-breadcrumb {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px;
            font-size: 0.86rem;
            color: #8890a0;
            margin-bottom: 1rem;
            justify-content: center;
        }
        .gal-breadcrumb a {
            color: #2b3a67;
            text-decoration: none;
            font-weight: 500;
        }
        .gal-breadcrumb a:hover { color: #d4a11e; }
        .gal-breadcrumb .sep { color: #cbd0d8; }
