.cdp-gallery-block{
    --cdp-gallery-accent:#1E5EE1;
    --cdp-gallery-bg:#fff;
    --cdp-gallery-text:#111317;
    --cdp-gallery-muted:#666d78;
    --cdp-gallery-line:#e3e6ea;
    --cdp-gallery-stage:#0b0c0f;
    --cdp-gallery-caption:#fff;
    --cdp-gallery-caption-text:#15171b;
    --cdp-gallery-button:rgba(0,0,0,.52);
    clear:both!important;
    float:none!important;
    width:100%!important;
    max-width:none!important;
    display:block!important;
    box-sizing:border-box;
    margin:30px 0;
    position:relative;
    isolation:isolate;
    font-family:Arial,Helvetica,sans-serif;
}
.cdp-gallery-block *{box-sizing:border-box}
.cdp-gallery-editorial{
    width:100%;
    max-width:var(--cdp-gallery-max,1200px);
    margin:0 auto;
    padding:14px;
    color:var(--cdp-gallery-text);
    background:var(--cdp-gallery-bg);
    border:1px solid var(--cdp-gallery-line);
    border-radius:12px;
}
.cdp-gallery-title{
    margin:0 0 14px;
    color:var(--cdp-gallery-text);
    font-size:28px;
    line-height:1.12;
    font-weight:800;
    letter-spacing:-.025em;
}
.cdp-gallery-stage-wrap{position:relative;background:var(--cdp-gallery-stage);border-radius:9px;overflow:hidden}
.cdp-gallery-stage{margin:0;background:var(--cdp-gallery-stage)}
.cdp-gallery-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;position:relative}
.cdp-gallery-main-image{display:block;width:100%;height:auto;max-height:72vh;aspect-ratio:16/9;object-fit:contain;background:var(--cdp-gallery-stage)}
.cdp-gallery-zoom{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.58);color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;backdrop-filter:blur(5px)}
.cdp-gallery-caption{min-height:64px;padding:12px 14px;background:var(--cdp-gallery-caption);color:var(--cdp-gallery-caption-text);display:block;border-top:1px solid var(--cdp-gallery-line)}
.cdp-gallery-caption-main{display:flex;align-items:flex-start;gap:14px;min-width:0;flex:1}
.cdp-gallery-caption-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.cdp-gallery-caption-text{font-size:14px;line-height:1.45;color:var(--cdp-gallery-caption-text)}
.cdp-gallery-item-title{font-size:18px;line-height:1.2;font-weight:800;color:var(--cdp-gallery-caption-text)}
.cdp-gallery-item-title.is-empty{display:none}
.cdp-gallery-source{display:block;width:100%;max-width:100%;margin-top:8px;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--cdp-gallery-line) 70%,transparent);font-size:12px;line-height:1.4;color:var(--cdp-gallery-muted);white-space:normal;text-align:left;overflow-wrap:anywhere;word-break:normal}
.cdp-gallery-list-number{display:none}
.cdp-gallery-layout-list .cdp-gallery-list-number{display:flex;flex:0 0 58px;width:58px;height:58px;border-radius:7px;background:var(--cdp-gallery-accent);color:#fff;align-items:center;justify-content:center;font-size:29px;line-height:1;font-weight:900;letter-spacing:-.04em}
.cdp-gallery-layout-list .cdp-gallery-caption{padding:14px 16px}
.cdp-gallery-layout-list .cdp-gallery-caption-text{font-size:14px;max-width:760px}
.cdp-gallery-layout-simple .cdp-gallery-item-title{display:none}
.cdp-gallery-nav{position:absolute;z-index:4;top:50%;transform:translateY(-62%);width:44px;height:58px;border:0;border-radius:8px;background:var(--cdp-gallery-button);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(6px);transition:background .18s,transform .18s}
.cdp-gallery-nav:hover{background:rgba(0,0,0,.78)}
.cdp-gallery-nav:focus-visible,.cdp-gallery-fullscreen-toggle:focus-visible,.cdp-gallery-thumb:focus-visible{outline:3px solid var(--cdp-gallery-accent);outline-offset:2px}
.cdp-gallery-nav span{font-size:42px;line-height:1;margin-top:-4px}
.cdp-gallery-prev{left:12px}.cdp-gallery-next{right:12px}
.cdp-gallery-counter{position:absolute;z-index:5;right:12px;bottom:78px;background:rgba(0,0,0,.7);color:#fff;border-radius:999px;padding:6px 9px;font-size:11px;line-height:1;display:flex;gap:4px;backdrop-filter:blur(5px)}
.cdp-gallery-counter strong{font-weight:800}
.cdp-gallery-fullscreen-toggle{position:absolute;z-index:7;right:12px;top:12px;width:38px;height:38px;border:0;border-radius:7px;background:rgba(0,0,0,.62);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:22px;line-height:1;backdrop-filter:blur(6px)}
.cdp-gallery-fullscreen-toggle:hover{background:rgba(0,0,0,.82)}
.cdp-gallery-fullscreen-toggle.is-active{background:var(--cdp-gallery-accent)}
.cdp-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px 2px 2px;scrollbar-width:thin;scroll-snap-type:x proximity}
.cdp-gallery-thumb{flex:0 0 92px;aspect-ratio:16/10;padding:0;border:2px solid transparent;border-radius:7px;overflow:hidden;background:#ddd;cursor:pointer;opacity:.62;scroll-snap-align:center;transition:.16s}
.cdp-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cdp-gallery-thumb.is-active{opacity:1;border-color:var(--cdp-gallery-accent);box-shadow:0 0 0 1px var(--cdp-gallery-accent)}

/* Templates editoriais */
.cdp-gallery-theme-dark{--cdp-gallery-bg:#111318;--cdp-gallery-text:#f5f6f8;--cdp-gallery-muted:#a9afb8;--cdp-gallery-line:#2b2f36;--cdp-gallery-stage:#050607;--cdp-gallery-caption:#171a1f;--cdp-gallery-caption-text:#f3f4f6;--cdp-gallery-button:rgba(255,255,255,.13)}
.cdp-gallery-theme-paper{--cdp-gallery-bg:#f3efe6;--cdp-gallery-text:#191815;--cdp-gallery-muted:#69645b;--cdp-gallery-line:#d8d0c2;--cdp-gallery-stage:#161514;--cdp-gallery-caption:#f3efe6;--cdp-gallery-caption-text:#1b1a17;--cdp-gallery-button:rgba(20,18,15,.58)}
.cdp-gallery-theme-paper .cdp-gallery-title{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.02em}
.cdp-gallery-theme-photo{--cdp-gallery-bg:#070809;--cdp-gallery-text:#fff;--cdp-gallery-muted:#aeb2b9;--cdp-gallery-line:#24262b;--cdp-gallery-stage:#000;--cdp-gallery-caption:#090a0c;--cdp-gallery-caption-text:#fff;--cdp-gallery-button:rgba(255,255,255,.12)}
.cdp-gallery-theme-photo .cdp-gallery-editorial{padding:8px;border-radius:4px}
.cdp-gallery-theme-photo .cdp-gallery-stage-wrap{border-radius:2px}
.cdp-gallery-theme-photo .cdp-gallery-title{font-size:24px;text-transform:uppercase;letter-spacing:.015em}

/* Tela cheia da galeria completa */
.cdp-gallery-block:fullscreen,
.cdp-gallery-block.is-gallery-fullscreen{
    position:fixed!important;
    inset:0!important;
    z-index:2147483647!important;
    width:100vw!important;
    height:100dvh!important;
    margin:0!important;
    padding:16px!important;
    overflow:auto!important;
    background:var(--cdp-gallery-bg)!important;
    isolation:isolate!important;
    transform:none!important;
    filter:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
}

.cdp-gallery-block:fullscreen .cdp-gallery-editorial,
.cdp-gallery-block.is-gallery-fullscreen .cdp-gallery-editorial{
    max-width:1600px;
    min-height:calc(100dvh - 32px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    border:0;
    box-shadow:none;
}
.cdp-gallery-block:fullscreen .cdp-gallery-main-image,
.cdp-gallery-block.is-gallery-fullscreen .cdp-gallery-main-image{max-height:calc(100dvh - 245px);aspect-ratio:auto;min-height:48vh}
.cdp-gallery-block:fullscreen .cdp-gallery-thumbs,
.cdp-gallery-block.is-gallery-fullscreen .cdp-gallery-thumbs{flex:0 0 auto}
html.cdp-gallery-lock,body.cdp-gallery-lock{overflow:hidden!important;overscroll-behavior:none!important}
body>.cdp-gallery-block.is-gallery-fullscreen{z-index:2147483647!important}

/* Lightbox */
.cdp-gallery-lightbox[hidden]{display:none!important}
.cdp-gallery-lightbox{position:fixed;z-index:999999;inset:0;background:rgba(5,5,6,.97);display:flex;align-items:center;justify-content:center;padding:58px 70px 70px}
.cdp-gallery-lightbox-content{max-width:min(92vw,1600px);max-height:calc(100vh - 128px);display:flex;flex-direction:column;align-items:center}
.cdp-gallery-lightbox-content img{max-width:100%;max-height:calc(100vh - 205px);object-fit:contain;display:block}
.cdp-gallery-lightbox-meta{width:100%;max-width:1100px;color:#fff;padding:12px 0 0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;font-size:13px}
.cdp-gallery-lightbox-meta .cdp-gallery-lightbox-number{display:none;flex:0 0 auto;width:36px;height:36px;border-radius:5px;background:var(--cdp-gallery-accent);align-items:center;justify-content:center;font-weight:900}
.cdp-gallery-layout-list .cdp-gallery-lightbox-meta .cdp-gallery-lightbox-number:not(:empty){display:flex}
.cdp-gallery-lightbox-meta .headline{font-weight:800;font-size:15px;line-height:1.25}
.cdp-gallery-lightbox-meta .caption{line-height:1.4;min-width:0}
.cdp-gallery-lightbox-meta .source{grid-column:1/-1;color:#b9bcc3;white-space:normal;font-size:12px;line-height:1.4;margin:0;padding-top:7px;border-top:1px solid rgba(255,255,255,.12);overflow-wrap:anywhere}
.cdp-gallery-lightbox-close{position:absolute;right:22px;top:18px;border:0;background:transparent;color:#fff;font-size:42px;line-height:1;cursor:pointer}
.cdp-gallery-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:72px;border:0;border-radius:10px;background:rgba(255,255,255,.11);color:#fff;font-size:48px;cursor:pointer}
.cdp-gallery-lightbox-prev{left:16px}.cdp-gallery-lightbox-next{right:16px}
.cdp-gallery-lightbox-counter{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);color:#fff;font-size:12px;background:rgba(255,255,255,.1);padding:6px 11px;border-radius:99px}
.cdp-gallery-missing{clear:both;width:100%;padding:14px;background:#fff5f5;border:1px solid #efcaca;color:#8d2525}

@media(max-width:700px){
    .cdp-gallery-block{margin:22px 0}
    .cdp-gallery-editorial{max-width:100%;padding:8px;border-radius:8px}
    .cdp-gallery-title{font-size:22px;margin:2px 2px 10px}
    .cdp-gallery-stage-wrap{border-radius:6px}
    .cdp-gallery-main-image{height:auto;min-height:0;aspect-ratio:16/10;object-fit:contain;max-height:68vh}
    .cdp-gallery-caption{display:block;padding:10px 11px 12px;min-height:0}
    .cdp-gallery-caption-main{gap:10px}
    .cdp-gallery-layout-list .cdp-gallery-list-number{width:46px;height:46px;flex-basis:46px;font-size:23px}
    .cdp-gallery-item-title{font-size:16px}
    .cdp-gallery-caption-text,.cdp-gallery-source{display:block;white-space:normal}
    .cdp-gallery-caption-text{font-size:13px}
    .cdp-gallery-source{margin-top:7px;text-align:left}
    .cdp-gallery-counter{bottom:92px;right:8px}
    .cdp-gallery-nav{width:36px;height:48px;top:42%}
    .cdp-gallery-prev{left:5px}.cdp-gallery-next{right:5px}
    .cdp-gallery-fullscreen-toggle{right:8px;top:8px;width:36px;height:36px}
    .cdp-gallery-thumbs{gap:6px}.cdp-gallery-thumb{flex-basis:76px}
    .cdp-gallery-block:fullscreen,.cdp-gallery-block.is-gallery-fullscreen{padding:0!important}
    .cdp-gallery-block:fullscreen .cdp-gallery-editorial,.cdp-gallery-block.is-gallery-fullscreen .cdp-gallery-editorial{min-height:100dvh;border-radius:0;padding:6px;justify-content:center}
    .cdp-gallery-block:fullscreen .cdp-gallery-main-image,.cdp-gallery-block.is-gallery-fullscreen .cdp-gallery-main-image{max-height:calc(100dvh - 205px);min-height:0}
    .cdp-gallery-lightbox{padding:52px 10px 68px}
    .cdp-gallery-lightbox-content img{max-height:calc(100vh - 190px)}
    .cdp-gallery-lightbox-meta{display:grid;grid-template-columns:auto 1fr;padding:10px 4px 0}
    .cdp-gallery-lightbox-meta .source{grid-column:1/-1;white-space:normal;margin-left:0}
    .cdp-gallery-lightbox-nav{width:40px;height:54px;font-size:38px;background:rgba(0,0,0,.35)}
    .cdp-gallery-lightbox-prev{left:4px}.cdp-gallery-lightbox-next{right:4px}
    .cdp-gallery-lightbox-close{right:12px;top:10px}
}

/* 2.1.21: fullscreen em top layer, acima de headers, anúncios e overlays do tema */
.cdp-gallery-fullscreen-host{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:#050607!important;
    color:#fff!important;
    overflow:hidden!important;
    z-index:2147483647!important;
    isolation:isolate!important;
    box-sizing:border-box!important;
}
.cdp-gallery-fullscreen-host::backdrop{background:#050607!important;opacity:1!important}
div.cdp-gallery-fullscreen-host{display:none!important}
div.cdp-gallery-fullscreen-host.is-open{display:block!important}
.cdp-gallery-fullscreen-host>.cdp-gallery-block.is-gallery-fullscreen{
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    overflow:auto!important;
    background:var(--cdp-gallery-bg,#111318)!important;
    box-sizing:border-box!important;
}
html.cdp-gallery-lock,body.cdp-gallery-lock{overflow:hidden!important;height:100%!important;overscroll-behavior:none!important}


/* 2.1.22: preservar capitalização editorial original */
.cdp-gallery-caption,
.cdp-gallery-caption-main,
.cdp-gallery-caption-copy,
.cdp-gallery-caption-text,
.cdp-gallery-item-title,
.cdp-gallery-source,
.cdp-gallery-lightbox-meta,
.cdp-gallery-lightbox-meta .headline,
.cdp-gallery-lightbox-meta .caption,
.cdp-gallery-lightbox-meta .source {
    text-transform: none !important;
    font-variant: normal !important;
}


/* 2.1.30: botão fixo para sair da tela cheia e host mais forte */
.cdp-gallery-fullscreen-host{display:block!important;opacity:1!important;visibility:visible!important}
.cdp-gallery-fullscreen-host>.cdp-gallery-block.is-gallery-fullscreen{padding-top:72px!important}
.cdp-gallery-fullscreen-host-close{position:fixed!important;top:14px!important;right:14px!important;z-index:2147483647!important;width:46px!important;height:46px!important;border:0!important;border-radius:999px!important;background:rgba(0,0,0,.74)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font-size:34px!important;line-height:1!important;box-shadow:0 10px 28px rgba(0,0,0,.35)!important;backdrop-filter:blur(6px)!important}
.cdp-gallery-fullscreen-host-close:hover{background:rgba(0,0,0,.9)!important}
.cdp-gallery-fullscreen-host-close:focus-visible{outline:3px solid var(--cdp-gallery-accent)!important;outline-offset:2px!important}
@media(max-width:700px){.cdp-gallery-fullscreen-host>.cdp-gallery-block.is-gallery-fullscreen{padding-top:62px!important}.cdp-gallery-fullscreen-host-close{top:10px!important;right:10px!important;width:42px!important;height:42px!important;font-size:30px!important}}
