.horoh-galeria-acf {
            width: 100%;
            margin: 0;
        }

        .horoh-galeria-acf .gallery {
            display: grid !important;
            grid-template-columns: repeat(var(--horoh-galeria-colunas, 4), minmax(0, 1fr));
            gap: 18px;
            margin: 0 !important;
        }

        .horoh-galeria-acf .gallery-item {
            width: auto !important;
            max-width: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .horoh-galeria-acf .gallery-icon {
            width: 100%;
            height: 100%;
        }

        .horoh-galeria-acf .gallery-icon a {
            display: block;
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: #f4f4f4;
        }

        .horoh-galeria-acf .gallery img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: 0 !important;
            transition: transform .45s ease, filter .45s ease;
        }

        .horoh-galeria-acf .gallery-icon a:hover img {
            transform: scale(1.06);
            filter: brightness(.92);
        }

        .horoh-galeria-acf .gallery-caption {
            margin-top: 8px;
            font-size: 0.75rem;
            line-height: 1.4;
            color: #002816;
            text-align: left;
        }

        @media (max-width: 1024px) {
            .horoh-galeria-acf .gallery {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 640px) {
            .horoh-galeria-acf .gallery {
                grid-template-columns: 1fr;
                gap: 14px;
            }
        }
