        body { font-family: 'Onest', sans-serif; }
        .page-hero {
            background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
            color: #fff; padding: 120px 0 60px; text-align: center;
            margin-top: 70px;
        }
        .page-hero h1 { color: #fff !important; font-size: 2.8rem; font-weight: 700; margin-bottom: 10px; }
        .page-hero p { color: rgba(255, 255, 255, .86) !important; max-width: 720px; margin: 8px auto 0; }

        .filter-bar {
            background: #fff; padding: 24px 0 22px;
            box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
            position: sticky; top: 70px; z-index: 5;
        }
        .filter-bar .container { padding-left: 28px; padding-right: 28px; }
        .filter-scroll {
            display: flex;
            flex-wrap: nowrap;
            gap: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 4px;
            scrollbar-width: thin;
        }
        .filter-scroll::-webkit-scrollbar { height: 6px; }
        .filter-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
        .filter-chip {
            display: inline-flex; align-items: center; gap: 8px;
            flex: 0 0 auto;
            padding: 10px 22px; border-radius: 999px;
            background: #f1f5f9; color: #334155;
            text-decoration: none; font-size: 16px; font-weight: 500;
            transition: background .15s, color .15s;
            white-space: nowrap;
        }
        .filter-chip:hover { background: #e2e8f0; color: #1e293b; }
        .filter-chip.active {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            color: #fff;
        }

        .grid-wrap { padding: 40px 0 80px; }
        .masonry {
            column-count: 4;
            column-gap: 14px;
        }
        @media (max-width: 992px) { .masonry { column-count: 3; } }
        @media (max-width: 768px) { .masonry { column-count: 2; } }
        @media (max-width: 480px) { .masonry { column-count: 1; } }
        .masonry-item {
            break-inside: avoid;
            margin-bottom: 14px;
            border-radius: 12px;
            overflow: hidden;
            cursor: zoom-in;
            transition: transform .2s, box-shadow .2s;
            position: relative;
        }
        .masonry-item:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 23, 42, .15); }
        .masonry-item img { width: 100%; display: block; }
        .masonry-item .caption {
            position: absolute; inset: auto 0 0 0;
            background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
            color: #fff; padding: 16px 14px 10px; font-size: 13px;
            opacity: 0; transition: opacity .2s;
        }
        .masonry-item:hover .caption { opacity: 1; }

        .img-modal {
            display: none; position: fixed; inset: 0;
            background: rgba(0,0,0,.92); z-index: 1050;
            align-items: center; justify-content: center; padding: 20px;
        }
        .img-modal img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
        .img-modal .close-btn {
            position: absolute; top: 20px; right: 30px; color: #fff;
            font-size: 36px; cursor: pointer; background: none; border: none;
        }

        .empty-state { text-align: center; padding: 80px 20px; color: #6b7280; }
        .empty-state i { font-size: 64px; opacity: .2; }

        /* Pagination in "All" gallery view */
        .gallery-pagination {
            margin-top: 40px;
            display: flex; justify-content: center; align-items: center;
            flex-wrap: wrap; gap: 12px;
        }
        .gallery-pagination .pagination {
            display: inline-flex; list-style: none; padding: 0; margin: 0;
            border-radius: 999px; overflow: hidden;
            box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
            background: #fff; border: 1px solid #e5e7eb;
        }
        .gallery-pagination .page-item .page-link {
            padding: 10px 16px; color: #334155;
            background: #fff; border: none;
            font-weight: 500; font-size: 14px;
            display: inline-flex; align-items: center;
            text-decoration: none;
        }
        .gallery-pagination .page-item.active .page-link {
            background: linear-gradient(135deg, #4f46e5, #6366f1);
            color: #fff;
        }
        .gallery-pagination .page-item.disabled .page-link { color: #cbd5e1; cursor: not-allowed; }
        .gallery-pagination .page-item .page-link:hover:not(.disabled) { background: #f1f5f9; color: #1e293b; }
        .gallery-count { color: #6b7280; font-size: 14px; }

        footer.site-footer {
            background: #0f172a; color: #cbd5e1;
            padding: 50px 0 28px; text-align: center;
        }
        footer.site-footer a { color: #cbd5e1; text-decoration: none; margin: 0 10px; }
        footer.site-footer .social-icons a { display: inline-flex; align-items: center; gap: 4px; }
