/* SCF News Gallery 1.0 — miniálbum público, isolado do tema do portal. */
.scf-news-gallery,.scf-news-gallery *,.scf-news-gallery *::before,.scf-news-gallery *::after,.scf-news-gallery-lightbox,.scf-news-gallery-lightbox *,.scf-news-gallery-lightbox *::before,.scf-news-gallery-lightbox *::after{box-sizing:border-box}
.scf-news-gallery{--scf-gallery-text:#20262e;--scf-gallery-muted:#687381;--scf-gallery-border:#e3e7eb;--scf-gallery-surface:#f7f8f9;--scf-gallery-radius:12px;--scf-gallery-gap:.8rem;--scf-gallery-per-view:3;width:100%;margin:2.25rem 0 .5rem;padding-top:1.35rem;border-top:1px solid var(--scf-gallery-border);color:var(--scf-gallery-text);font-family:inherit;font-size:16px;font-weight:400;line-height:1.45;letter-spacing:normal;text-align:left}
.scf-news-gallery__header{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 .85rem}.scf-news-gallery__title{margin:0;padding:0;border:0;color:var(--scf-gallery-text);background:none;font:inherit;font-size:1.25rem;font-weight:700;line-height:1.25;text-transform:none;letter-spacing:normal}.scf-news-gallery__count{flex:0 0 auto;color:var(--scf-gallery-muted);font-size:.82rem;font-weight:600;white-space:nowrap}
.scf-news-gallery__carousel{position:relative;width:100%;padding:0 2.65rem}.scf-news-gallery__viewport{width:100%;overflow:hidden}.scf-news-gallery__track{display:flex;gap:var(--scf-gallery-gap);width:100%;transform:translateX(0);transition:transform .38s cubic-bezier(.22,.61,.36,1);will-change:transform}.scf-news-gallery__item{flex:0 0 calc((100% - (var(--scf-gallery-per-view) - 1)*var(--scf-gallery-gap))/var(--scf-gallery-per-view));min-width:0;margin:0;padding:0;border:1px solid var(--scf-gallery-border);border-radius:var(--scf-gallery-radius);overflow:hidden;background:#fff;transition:box-shadow .24s ease,border-color .24s ease}.scf-news-gallery__item:has(.scf-news-gallery__open:hover),.scf-news-gallery__item:has(.scf-news-gallery__open:focus-visible){border-color:#d5dbe1;box-shadow:0 8px 20px rgba(21,29,38,.08)}
.scf-news-gallery__carousel-nav{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:999px;background:#4b5561;color:#fff;font:inherit;font-size:1.7rem;line-height:1;cursor:pointer;appearance:none;transform:translateY(-50%);transition:background .18s ease,opacity .18s ease}.scf-news-gallery__carousel-prev{left:0}.scf-news-gallery__carousel-next{right:0}.scf-news-gallery__carousel-nav:hover,.scf-news-gallery__carousel-nav:focus-visible{background:#303841;outline:2px solid currentColor;outline-offset:2px}.scf-news-gallery__carousel-nav:disabled{opacity:.25;cursor:default}.scf-news-gallery__carousel-nav[hidden]{display:none!important}
.scf-news-gallery__open{position:relative;display:block;width:100%;aspect-ratio:4/3;margin:0;padding:0;border:0;border-radius:0;background:var(--scf-gallery-surface);color:inherit;cursor:zoom-in;overflow:hidden;appearance:none}.scf-news-gallery--count-1 .scf-news-gallery__open{aspect-ratio:16/9}.scf-news-gallery__image{display:block;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;object-fit:cover;transition:transform .24s ease,filter .24s ease}.scf-news-gallery__open:hover .scf-news-gallery__image,.scf-news-gallery__open:focus-visible .scf-news-gallery__image{transform:scale(1.025);filter:brightness(.98)}.scf-news-gallery__open:focus-visible{outline:3px solid currentColor;outline-offset:-3px}.scf-news-gallery__zoom{position:absolute;right:.6rem;bottom:.6rem;display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgba(18,23,29,.78);color:#fff;opacity:0;transform:translateY(3px);transition:opacity .18s ease,transform .18s ease;pointer-events:none}.scf-news-gallery__open:hover .scf-news-gallery__zoom,.scf-news-gallery__open:focus-visible .scf-news-gallery__zoom{opacity:1;transform:translateY(0)}.scf-news-gallery__caption{margin:0;padding:.6rem .7rem .68rem;color:var(--scf-gallery-muted);background:#fff;font:inherit;font-size:.82rem;font-weight:400;line-height:1.35;text-transform:none}
.scf-news-gallery-lightbox[hidden]{display:none!important}.scf-news-gallery-lightbox{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-columns:minmax(44px,1fr) minmax(0,1180px) minmax(44px,1fr);grid-template-rows:minmax(48px,1fr) auto;align-items:center;padding:1.25rem;background:rgba(7,10,14,.94);color:#fff;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.4}.scf-news-gallery-lightbox__figure{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;margin:0}.scf-news-gallery-lightbox__image{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100vh - 9rem);object-fit:contain;border-radius:6px;background:#111}.scf-news-gallery-lightbox__footer{grid-column:2;grid-row:2;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;width:100%;padding-top:.75rem}.scf-news-gallery-lightbox__caption{min-width:0;color:rgba(255,255,255,.88);font-size:.92rem}.scf-news-gallery-lightbox__counter{flex:0 0 auto;color:rgba(255,255,255,.66);font-size:.82rem;white-space:nowrap}.scf-news-gallery-lightbox__close,.scf-news-gallery-lightbox__nav{position:absolute;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer;appearance:none;transition:background .18s ease,opacity .18s ease}.scf-news-gallery-lightbox__close:hover,.scf-news-gallery-lightbox__nav:hover,.scf-news-gallery-lightbox__close:focus-visible,.scf-news-gallery-lightbox__nav:focus-visible{background:rgba(255,255,255,.22);outline:2px solid rgba(255,255,255,.8);outline-offset:2px}.scf-news-gallery-lightbox__close{top:1rem;right:1rem;font-size:1.8rem;line-height:1}.scf-news-gallery-lightbox__nav{top:50%;transform:translateY(-50%);font-size:2rem;line-height:1}.scf-news-gallery-lightbox__prev{left:1rem}.scf-news-gallery-lightbox__next{right:1rem}.scf-news-gallery-lightbox__nav[hidden]{display:none!important}body.scf-news-gallery-lightbox-open{overflow:hidden!important}
@media(max-width:991.98px){.scf-news-gallery{--scf-gallery-per-view:2}}
@media(max-width:575.98px){.scf-news-gallery{--scf-gallery-per-view:1;margin-top:1.8rem;--scf-gallery-gap:.6rem}.scf-news-gallery__carousel{padding:0 2.25rem}.scf-news-gallery__carousel-nav{width:32px;height:32px}.scf-news-gallery__open,.scf-news-gallery--count-1 .scf-news-gallery__open{aspect-ratio:4/3}.scf-news-gallery__caption{padding:.52rem .58rem;font-size:.77rem}.scf-news-gallery__zoom{opacity:1;transform:none;width:1.8rem;height:1.8rem}.scf-news-gallery-lightbox{grid-template-columns:1fr;padding:3.8rem .75rem 1rem}.scf-news-gallery-lightbox__figure,.scf-news-gallery-lightbox__footer{grid-column:1}.scf-news-gallery-lightbox__image{max-height:calc(100vh - 10rem)}.scf-news-gallery-lightbox__nav{top:auto;bottom:1rem;transform:none;background:rgba(255,255,255,.17)}.scf-news-gallery-lightbox__prev{left:.75rem}.scf-news-gallery-lightbox__next{right:.75rem}.scf-news-gallery-lightbox__footer{padding:.8rem 3.4rem 0}}

/* --------------------------------------------------------------------------
   SCF News Gallery 1.0 — isolamento de <figure>/<figcaption>
   Protege o componente contra regras globais legadas do portal, como
   figure { display: table } e figcaption { display: table-caption }.
   Necessário especialmente para Safari/WebKit no iOS.
   -------------------------------------------------------------------------- */
.scf-news-gallery figure.scf-news-gallery__item {
    display: block !important;
    float: none !important;
    position: relative;
    width: auto;
    max-width: none;
    height: auto !important;
    min-height: 0 !important;
    caption-side: initial;
}

.scf-news-gallery figure.scf-news-gallery__item > figcaption.scf-news-gallery__caption {
    display: block !important;
    float: none !important;
    position: static !important;
    width: auto;
    max-width: none;
    height: auto !important;
    min-height: 0 !important;
    caption-side: initial !important;
}

.scf-news-gallery-lightbox figure.scf-news-gallery-lightbox__figure {
    display: flex !important;
    float: none !important;
    height: auto !important;
    caption-side: initial;
}

.scf-news-gallery-lightbox figure.scf-news-gallery-lightbox__figure > figcaption {
    display: block !important;
    float: none !important;
    position: static !important;
    caption-side: initial !important;
}

@media(prefers-reduced-motion:reduce){.scf-news-gallery__track,.scf-news-gallery__item,.scf-news-gallery__image,.scf-news-gallery__zoom,.scf-news-gallery-lightbox__close,.scf-news-gallery-lightbox__nav{transition:none!important}}
