/* 4GT Galeria incorporada/legada: preset de proporção com prioridade sobre dimensões manuais. */
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery {
    --sge-media-width: 100% !important;
    --sge-media-height: auto !important;
    --sge-media-max-height: none !important;
    --sge-marquee-item-height: auto !important;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery .sge-grid-item .sge-item-media > .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery .sge-grid-item .sge-item-media > a,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery .sge-grid-item .sge-item-media > button {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: var(--frontcat-sge-aspect-ratio);
    overflow: hidden;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery .sge-grid-item .sge-item-media img,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery .sge-grid-item .sge-item-media video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured.sge-featured-pending,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured.sge-featured-pending .sge-wrapper.sge-items {
    min-height: 0 !important;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured .sge-featured-main .sge-item-media .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured .sge-featured-thumbs .sge-item-media .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-slide .sge-slide-page .sge-item-media .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-marquee .sge-grid-item .sge-item-media .sge-media-interactive {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: var(--frontcat-sge-aspect-ratio);
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured[data-featured-thumbs-position="left"] .sge-featured-thumbs,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured[data-featured-thumbs-position="right"] .sge-featured-thumbs {
    height: auto !important;
    max-height: none !important;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured[data-featured-thumbs-position="left"] .sge-featured-thumbs .sge-grid-item,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-layout-featured[data-featured-thumbs-position="right"] .sge-featured-thumbs .sge-grid-item {
    flex-basis: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* 20.21.531 — máscara decorativa da FT Galeria, incluindo o 4GT Galeria independente. */
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled {
    --frontcat-sge-decorative-mask-clip: inset(0);
    --frontcat-sge-decorative-mask-radius: 0;
    --frontcat-sge-decorative-mask-visible-area: 100%;
    --frontcat-sge-decorative-mask-progress: 0;
    --frontcat-sge-decorative-mask-edge: 0%;
    --frontcat-sge-decorative-mask-brush-scale: 180%;
}

.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled .sge-gallery .sge-item-media {
    -webkit-clip-path: var(--frontcat-sge-decorative-mask-clip);
    clip-path: var(--frontcat-sge-decorative-mask-clip);
    -webkit-mask-image: var(--frontcat-sge-decorative-mask-image, linear-gradient(#000 0 0));
    mask-image: var(--frontcat-sge-decorative-mask-image, linear-gradient(#000 0 0));
    -webkit-mask-size: var(--frontcat-sge-decorative-mask-brush-scale, 180%) var(--frontcat-sge-decorative-mask-brush-scale, 180%);
    mask-size: var(--frontcat-sge-decorative-mask-brush-scale, 180%) var(--frontcat-sge-decorative-mask-brush-scale, 180%);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    mask-mode: alpha;
    border-radius: var(--frontcat-sge-decorative-mask-radius) !important;
    overflow: hidden;
    isolation: isolate;
}

.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled .sge-gallery .sge-item-media .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled .sge-gallery .sge-item-media img,
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled .sge-gallery .sge-item-media video {
    border-radius: var(--frontcat-sge-decorative-mask-radius) !important;
}

.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled.frontcat-sge-decorative-mask-has-ratio .sge-gallery .sge-item-media .sge-media-interactive {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: var(--frontcat-sge-decorative-mask-aspect-ratio) !important;
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-brush-horizontal {
    --frontcat-sge-decorative-mask-clip: inset(0);
    --frontcat-sge-decorative-mask-image: url('../images/gallery-masks/brush-horizontal.png');
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-brush-diagonal {
    --frontcat-sge-decorative-mask-clip: inset(0);
    --frontcat-sge-decorative-mask-image: url('../images/gallery-masks/brush-diagonal.png');
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-torn-paper {
    --frontcat-sge-decorative-mask-clip: polygon(
        0 calc(5% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(7% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(12% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(7% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(18% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(3% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(24% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(31% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(37% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(6% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(43% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(1% * var(--frontcat-sge-decorative-mask-progress, 0)),
        50% calc(7% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(57% + (43% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(3% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(63% + (37% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(70% + (30% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(77% + (23% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(6% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(83% + (17% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(1% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(90% + (10% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(7% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(96% + (4% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(3% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(6% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(100% - (2% * var(--frontcat-sge-decorative-mask-progress, 0))) calc(18% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(31% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(100% - (2% * var(--frontcat-sge-decorative-mask-progress, 0))) calc(44% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(57% + (43% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(100% - (2% * var(--frontcat-sge-decorative-mask-progress, 0))) calc(70% + (30% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        100% calc(83% + (17% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(97% + (3% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(96% + (4% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(90% + (10% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(84% + (16% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(98% + (2% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(77% + (23% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(93% + (7% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(70% + (30% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(99% + (1% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(63% + (37% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(94% + (6% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(56% + (44% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(98% + (2% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        50% calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(43% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(97% + (3% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(93% + (7% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(29% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(99% + (1% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(23% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(94% + (6% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(16% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(98% + (2% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(10% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(3% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(96% + (4% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        0 calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(78% + (22% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        0 calc(64% + (36% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(51% + (49% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        0 calc(38% + (62% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(2% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(24% * var(--frontcat-sge-decorative-mask-progress, 0))
    );
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-organic-soft {
    --frontcat-sge-decorative-mask-clip: inset(0 round calc(56% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(44% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(61% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(39% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(43% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(58% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(42% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(57% * var(--frontcat-sge-decorative-mask-progress, 0)));
    --frontcat-sge-decorative-mask-radius: calc(56% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(44% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(61% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(39% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(43% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(58% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(42% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(57% * var(--frontcat-sge-decorative-mask-progress, 0));
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-organic-fluid {
    --frontcat-sge-decorative-mask-clip: inset(0 round calc(38% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(62% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(35% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(65% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(61% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(64% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(39% * var(--frontcat-sge-decorative-mask-progress, 0)));
    --frontcat-sge-decorative-mask-radius: calc(38% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(62% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(35% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(65% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(61% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(64% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(39% * var(--frontcat-sge-decorative-mask-progress, 0));
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-arch {
    --frontcat-sge-decorative-mask-clip: inset(0 round calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)));
    --frontcat-sge-decorative-mask-radius: calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) / calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(4% * var(--frontcat-sge-decorative-mask-progress, 0));
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-wave {
    --frontcat-sge-decorative-mask-clip: polygon(
        0 calc(16% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(16% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(5% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(24% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(32% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(16% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(40% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(22% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(48% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(24% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(56% + (44% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(21% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(64% + (36% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(14% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(72% + (28% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(80% + (20% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(5% * var(--frontcat-sge-decorative-mask-progress, 0)),
        calc(88% + (12% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(8% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(18% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(84% + (16% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(84% + (16% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(95% + (5% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(76% + (24% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(68% + (32% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(84% + (16% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(60% + (40% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))) calc(78% + (22% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        52% calc(76% + (24% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(44% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(79% + (21% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(36% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(86% + (14% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(28% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(20% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(95% + (5% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        calc(12% * var(--frontcat-sge-decorative-mask-progress, 0)) calc(92% + (8% * (1 - var(--frontcat-sge-decorative-mask-progress, 0)))),
        0 calc(82% + (18% * (1 - var(--frontcat-sge-decorative-mask-progress, 0))))
    );
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-oval {
    --frontcat-sge-decorative-mask-clip: inset(0 round calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)));
    --frontcat-sge-decorative-mask-radius: calc(50% * var(--frontcat-sge-decorative-mask-progress, 0));
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-diamond {
    --frontcat-sge-decorative-mask-clip: polygon(
        calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) 0,
        calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))) 0,
        100% calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))),
        calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))) 100%,
        calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)) 100%,
        0 calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))),
        0 calc(50% * var(--frontcat-sge-decorative-mask-progress, 0))
    );
}

.elementor-widget-sua_galeria.frontcat-sge-mask-shape-hexagon {
    --frontcat-sge-decorative-mask-clip: polygon(
        calc(25% * var(--frontcat-sge-decorative-mask-progress, 0)) 0,
        calc(100% - (25% * var(--frontcat-sge-decorative-mask-progress, 0))) 0,
        100% calc(50% * var(--frontcat-sge-decorative-mask-progress, 0)),
        100% calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))),
        calc(100% - (25% * var(--frontcat-sge-decorative-mask-progress, 0))) 100%,
        calc(25% * var(--frontcat-sge-decorative-mask-progress, 0)) 100%,
        0 calc(100% - (50% * var(--frontcat-sge-decorative-mask-progress, 0))),
        0 calc(50% * var(--frontcat-sge-decorative-mask-progress, 0))
    );
}

/* 20.21.545 — Imagem visível agora controla a intensidade dinâmica da máscara; 100% remove completamente o efeito. */
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled.frontcat-sge-decorative-mask-full-visible .sge-gallery .sge-item-media {
    -webkit-clip-path: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: var(--sge-media-radius, 0px) !important;
}

.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled.frontcat-sge-decorative-mask-full-visible .sge-gallery .sge-item-media .sge-media-interactive,
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled.frontcat-sge-decorative-mask-full-visible .sge-gallery .sge-item-media img,
.elementor-widget-sua_galeria.frontcat-sge-decorative-mask-enabled.frontcat-sge-decorative-mask-full-visible .sge-gallery .sge-item-media video {
    border-radius: var(--sge-media-radius, 0px) !important;
}

/* 20.20.188 — Grid sempre limitado ao contêiner e com colunas responsivas reais. */
.elementor-widget-sua_galeria .sge-gallery.sge-layout-grid,
.elementor-widget-sua_galeria.sge-layout-grid .sge-gallery {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.elementor-widget-sua_galeria .sge-gallery.sge-layout-grid > .sge-wrapper.sge-items,
.elementor-widget-sua_galeria.sge-layout-grid .sge-gallery > .sge-wrapper.sge-items {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    grid-template-columns: repeat(var(--sge-effective-colunas, var(--sge-colunas, 1)), minmax(0, 1fr)) !important;
}

.elementor-widget-sua_galeria .sge-gallery.sge-layout-grid > .sge-wrapper.sge-items > .sge-grid-item,
.elementor-widget-sua_galeria.sge-layout-grid .sge-gallery > .sge-wrapper.sge-items > .sge-grid-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled .sge-gallery.sge-layout-grid .sge-grid-item .sge-item-media,
.elementor-widget-sua_galeria.frontcat-sge-aspect-ratio-enabled.sge-layout-grid .sge-gallery .sge-grid-item .sge-item-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}


/* FrontCat 20.20.647 — contenção defensiva do modo Slide.
 * O widget também traz estas regras inline para funcionar em previews/AJAX;
 * aqui mantemos uma segunda barreira contra CSS de tema/Elementor. */
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide,
.elementor-widget-sua_galeria.sge-layout-slide .sge-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    overflow: clip;
    box-sizing: border-box;
    contain: layout paint;
}
/* FrontCat 20.20.694 — evita o frame inicial com itens de Slide ainda não agrupados. */
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-wrapper > .sge-grid-item {
    display: none !important;
}

.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-wrapper,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-slide-page,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-grid-item,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-item-media,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-media-interactive {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-wrapper,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-slide-page,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-grid-item,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-item-media,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide .sge-media-interactive {
    overflow: hidden;
    overflow: clip;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide img,
.elementor-widget-sua_galeria .sge-gallery.sge-layout-slide video {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* FrontCat 20.21.100 — contenção dos modos panorâmico/perspectiva.
 * O conteúdo 3D pode ser mais largo que o viewport lógico, mas nunca deve
 * ampliar o widget/contêiner do Elementor nem criar scroll horizontal na página. */
.elementor-widget-sua_galeria .sge-gallery.sge-layout-marquee,
.elementor-widget-sua_galeria.sge-layout-marquee .sge-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    contain: inline-size;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-marquee > .sge-wrapper,
.elementor-widget-sua_galeria.sge-layout-marquee .sge-gallery > .sge-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    contain: inline-size;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-marquee .sge-grid-item {
    min-width: 0 !important;
    max-width: var(--sge-marquee-viewport-width, 100vw);
    box-sizing: border-box !important;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-perspective,
.elementor-widget-sua_galeria.sge-layout-perspective .sge-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    contain: inline-size;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-perspective > .sge-wrapper,
.elementor-widget-sua_galeria.sge-layout-perspective .sge-gallery > .sge-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-perspective,
.elementor-widget-sua_galeria.sge-layout-perspective .sge-gallery {
    --sge-perspective-effective-card-width: min(var(--sge-perspective-card-width, 320px), 100%);
}
.elementor-widget-sua_galeria .sge-gallery.sge-layout-perspective .sge-grid-item,
.elementor-widget-sua_galeria.sge-layout-perspective .sge-gallery .sge-grid-item {
    width: var(--sge-perspective-effective-card-width) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: calc(var(--sge-perspective-effective-card-width) / -2) !important;
    box-sizing: border-box !important;
}
