/* =============================================================================
   ACC — Content Page Layouts  v2
   Corrigido: largura total, imagem wide borda-a-borda, scroll horizontal, responsivo
   ============================================================================= */

:root {
    --acc-page-max:   1200px;
    --acc-sidebar-w:  300px;
    --acc-gap:        48px;
    --acc-pink:       #e91e63;
    --acc-text:       #1a1a1a;
    --acc-text-soft:  #555;
    --acc-border:     #e8e8e8;
    --acc-radius:     10px;
    --acc-transition: 480ms cubic-bezier(0.4, 0, 0.2, 1);
    --acc-header-h: 150px; /* ajuste para a altura real do seu header */
}

/* Garante que a imagem wide consegue escapar pela lateral */
.acc-page,
.acc-page-inner,
.acc-main-col {
    overflow: visible !important;
    .acc-main-col { position: relative; z-index: 1; }
    .acc-sidebar  { position: sticky; z-index: 3; background: #fff; }

}


/* ── Base ──────────────────────────────────────────────────────────────────── */
.acc-page *, .acc-page *::before, .acc-page *::after { box-sizing: border-box; }

.acc-page {
    width: 100%;
    /* Remove qualquer padding lateral herdado do tema */
    padding-left: 0  !important;
    padding-right: 0 !important;
}

/* Grid principal: conteúdo + sidebar */
.acc-page-inner {
    display: grid;
    grid-template-columns: 1fr var(--acc-sidebar-w);
    gap: var(--acc-gap);
    max-width: var(--acc-page-max);
    width: 100%;
    margin: 0 auto;
     padding: calc(var(--acc-header-h) + 32px) 32px 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Coluna principal ocupa o espaço disponível */
.acc-main-col {
    min-width: 0; /* impede overflow no grid */
}

/* ── Tipografia do post ────────────────────────────────────────────────────── */
.acc-post-header        { margin-bottom: 24px; }

.acc-post-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--acc-text);
    margin: 0 0 8px;
    line-height: 1.15;
}

.acc-post-meta-bar,
.acc-page .acc-post-meta-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    font-size: 13px;
}

.acc-meta-author { color: var(--acc-pink); font-weight: 600; margin: 0; }
.acc-meta-sep    { color: #ccc; margin: 0; }
.acc-meta-date   { color: var(--acc-text-soft); margin: 0; }

/* Conteúdo de texto — sempre justificado */
.acc-post-content,
.acc-page .wp-block-group.acc-layout-1 p,
.acc-page .wp-block-group.acc-layout-2 p,
.acc-page .entry-content p,
.acc-main-col .wp-block-paragraph {
    text-align: justify;
    hyphens: auto;
}

.acc-post-content,
.acc-page .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--acc-text);
}

.acc-post-content p,
.acc-page .entry-content p { margin: 0 0 1.2em; }

.acc-post-content h2,
.acc-page .entry-content h2 { font-size: 1.45rem; font-weight: 700; margin: 1.8em 0 .6em; text-align: left; }

.acc-post-content h3,
.acc-page .entry-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .5em; text-align: left; }

.acc-post-content a,
.acc-page .entry-content a  { color: var(--acc-pink); }

.acc-post-content img,
.acc-page .entry-content img { max-width: 100%; border-radius: 6px; }

.acc-post-content blockquote,
.acc-page .entry-content blockquote {
    border-left: 4px solid var(--acc-pink);
    margin: 1.5em 0;
    padding: 12px 20px;
    background: #fce4ec20;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--acc-text-soft);
    text-align: left;
}


/* ══════════════════════════════════════════════════════════════════════════════
   LAYOUT 1 — imagem flutuada à esquerda dentro do texto
   ══════════════════════════════════════════════════════════════════════════════ */

/* A imagem flutua quando o Gutenberg a renderiza com a classe acc-float-left */
.acc-page .acc-layout-1 .acc-float-left,
.acc-page .acc-layout-1 figure.acc-float-left {
    float: left;
    width: clamp(200px, 38%, 280px);
    margin: 4px 28px 16px 0;
    clear: left;
}

.acc-page .acc-layout-1 .acc-float-left img,
.acc-page .acc-layout-1 figure.acc-float-left img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.acc-page .acc-layout-1 .acc-float-left figcaption,
.acc-page .acc-layout-1 figure.acc-float-left figcaption {
    font-size: 12px;
    color: var(--acc-text-soft);
    text-align: center;
    padding: 5px 4px 0;
    font-style: italic;
}

/* Clearfix para o grupo que contém a imagem flutuante */
.acc-page .acc-layout-1 .acc-body-with-float { display: flow-root; }


/* ══════════════════════════════════════════════════════════════════════════════
   LAYOUT 2 — imagem wide que sai da borda esquerda da tela
   ══════════════════════════════════════════════════════════════════════════════ */

.acc-intro-text {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
    text-align: justify;
}

/*
 * O bloco .acc-wide-image-block precisa "escapar" do container da main col
 * e chegar até a borda esquerda do viewport.
 
 */
.acc-page .acc-layout-2 .acc-wide-image-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 0;
    margin-bottom: 36px;
    --acc-escape: max(32px, calc((100vw - var(--acc-page-max)) / 2 + 32px));
    margin-left: calc(var(--acc-escape) * -1);
    width: auto;              /* ← troca aqui (linha ~159) */
    max-width: none;
    margin-right: 0;          /* mantém alinhado ao fim do texto */
}







.acc-page .acc-layout-2 .acc-wide-image {
    width: 100%;
    /*overflow: hidden;*/
    border-radius: 0 var(--acc-radius) var(--acc-radius) 0;
}

.acc-page .acc-layout-2 .acc-wide-image img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.acc-wide-caption {
    padding: 8px 0 16px;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.acc-caption-title  { font-size: 14px; font-weight: 700; color: var(--acc-pink); margin: 0; }
.acc-caption-desc   { font-size: 13px; color: var(--acc-text-soft); font-style: italic; margin: 0; line-height: 1.5; }
.acc-caption-credit { font-size: 11px; color: #aaa; }


/* ══════════════════════════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════════════════════════ */

.acc-sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
    position: sticky;
    z-index: 2;          /* ← NOVO, garante que fica NA FRENTE */
    background: #fff;    /* ← NOVO, evita transparência quando a imagem passa */

}

.acc-sidebar-photo {
    border-radius: var(--acc-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.acc-sidebar-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.acc-sidebar-credit {
    display: block;
    font-size: 11px;
    color: #aaa;
    padding: 5px 8px;
    background: #f9f9f9;
    font-style: italic;
}

.acc-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acc-sidebar-link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: opacity .2s;
}
.acc-sidebar-link:hover { opacity: .72; }

.acc-sidebar-thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.acc-sidebar-meta { display: flex; flex-direction: column; gap: 3px; }

.acc-sidebar-meta time {
    font-size: 11px;
    color: var(--acc-text-soft);
}

.acc-sidebar-meta time::before { content: '📅 '; }

.acc-sidebar-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--acc-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ══════════════════════════════════════════════════════════════════════════════
   SHARE BAR
   ══════════════════════════════════════════════════════════════════════════════ */

.acc-share-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 28px 0;
    border-top: 1px solid var(--acc-border);
    border-bottom: 1px solid var(--acc-border);
    margin: 36px 0;
}

.acc-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #555;
    text-decoration: none;
    transition: background .18s, color .18s, transform .12s;
}
.acc-share-btn:hover     { transform: translateY(-2px); }
.acc-share-fb:hover      { background: #1877f2; color: #fff; }
.acc-share-x:hover       { background: #000;    color: #fff; }
.acc-share-wa:hover      { background: #25d366; color: #fff; }
.acc-share-ig:hover      { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }


/* ══════════════════════════════════════════════════════════════════════════════
   NAVEGAÇÃO ANTERIOR / PRÓXIMO
   ══════════════════════════════════════════════════════════════════════════════ */

.acc-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 48px;
}

.acc-post-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--acc-border);
    border-radius: var(--acc-radius);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
    min-height: 74px;
}
.acc-post-nav-item:hover {
    border-color: var(--acc-pink);
    box-shadow: 0 4px 14px rgba(233,30,99,.08);
}

.acc-post-nav-next { justify-content: flex-end; text-align: right; }

.acc-post-nav-item img {
    width: 54px; height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.acc-post-nav-text { display: flex; flex-direction: column; gap: 3px; }
.acc-post-nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--acc-text-soft); }
.acc-post-nav-title {
    font-size: 13px; font-weight: 600; color: var(--acc-text); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}


/* ══════════════════════════════════════════════════════════════════════════════
   RELACIONADOS
   ══════════════════════════════════════════════════════════════════════════════ */

.acc-related-section {
    width: 100%;
    background: #f9f9f9;
    padding: 48px 0;
    margin-top: 0;
}

.acc-related-inner {
    max-width: var(--acc-page-max);
    margin: 0 auto;
    padding: 0 32px;
}

.acc-related-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--acc-text);
    margin: 0 0 24px;
}

.acc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}


/* ==========================================================================
   LAYOUT 3 — Página Horizontal (fundo branco, estilo galeria editorial)
   Modo imersivo + rolagem horizontal fluida via scroll do mouse
   ========================================================================== */

/* Root blindado contra interferência do tema */
#acc-layout3-root,
.acc-page-layout3 #acc-layout3-root {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    z-index: 99999 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Quando layout 3 ativo, trava o scroll da página */
body.acc-layout3-active {
    overflow: hidden !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

html.acc-layout3-active-html {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Garante que o root fique acessível e visível */
.acc-page-layout3 {
    display: block !important;
    visibility: visible !important;
}

.acc-page-layout3 #acc-layout3-root {
    display: block !important;
    visibility: visible !important;
}


/* Viewport */
.acc-l3-viewport {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Track horizontal — largura definida pelo conteúdo */
.acc-l3-track {
    height: 100vh !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    will-change: transform;
    padding: 0;
    margin: 0;
}

/* Container do conteúdo Gutenberg */
.acc-l3-content {
    height: 100vh;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding: 80px 100px;
    white-space: normal;
    box-sizing: border-box;
    color: #1a1a1a;
}

/* Cada bloco do Gutenberg = uma "coluna" horizontal */
.acc-l3-content > * {
    flex: 0 0 auto;
    max-width: 800px;
    white-space: normal;
    height: auto;
    margin: 0;
}

/* Tipografia editorial */
.acc-l3-content h1,
.acc-l3-content h2,
.acc-l3-content h3,
.acc-l3-content h4 {
    color: #1a1a1a;
    margin: 0 0 24px;
    line-height: 1.1;
    font-weight: 800;
}
.acc-l3-content h1 { font-size: clamp(40px, 5vw, 72px); }
.acc-l3-content h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; }
.acc-l3-content h3 { font-size: clamp(24px, 3vw, 40px); font-weight: 600; }

.acc-l3-content p {
    color: #333;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 0 18px;
}

.acc-l3-content a {
    color: var(--acc-pink, #e91e63);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.2s;
}
.acc-l3-content a:hover { opacity: 0.7; }

/* Barra de meta (autor/data) */
.acc-l3-content .acc-post-meta-bar {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: #666;
}
.acc-l3-content .acc-post-meta-bar p { margin: 0; font-size: 14px; }

/* Imagens — destaque visual sutil */
.acc-l3-content img,
.acc-l3-content .wp-block-image img {
    max-height: calc(100vh - 200px);
    width: auto;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.acc-l3-content figure {
    margin: 0;
}

.acc-l3-content figcaption,
.acc-l3-content .wp-element-caption {
    color: #888;
    font-size: 13px;
    margin-top: 12px;
    text-align: left;
    font-style: italic;
}

/* Citações */
.acc-l3-content blockquote {
    border-left: 3px solid var(--acc-pink, #e91e63);
    padding: 8px 0 8px 24px;
    margin: 0;
    max-width: 600px;
}
.acc-l3-content blockquote p {
    font-size: clamp(20px, 2vw, 26px);
    font-style: italic;
    line-height: 1.5;
    color: #1a1a1a;
}

/* Listas */
.acc-l3-content ul,
.acc-l3-content ol {
    max-width: 580px;
    color: #333;
    line-height: 1.7;
}

/* Bloco final (share + nav + relacionados) */
.acc-l3-footer-block {
    flex: 0 0 auto;
    min-width: 600px;
    max-width: 900px;
    height: 100vh;
    padding: 100px 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: #fafafa;
    border-left: 1px solid #eee;
    margin-left: 40px;
    white-space: normal;
}

/* Barra de progresso */
.acc-l3-progress {
    position: fixed !important;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: min(400px, 70vw);
    height: 2px;
    background: rgba(0,0,0,0.08);
    border-radius: 2px;
    z-index: 100000;
    pointer-events: none;
}
.acc-l3-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--acc-pink, #e91e63);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Dica "role para explorar" */
.acc-l3-hint {
    position: fixed !important;
    bottom: 56px;
    right: 32px;
    color: #888;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 100000;
    pointer-events: none;
    transition: opacity 0.4s;
    font-weight: 500;
}
.acc-l3-hint-hidden { opacity: 0; }

/* Botão voltar */
.acc-l3-close {
    position: fixed !important;
    top: 24px;
    left: 24px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    color: #333;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    z-index: 100001;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
    font-family: inherit;
    letter-spacing: 0.02em;
    font-weight: 500;
}
.acc-l3-close:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.2);
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Mobile */
@media (max-width: 768px) {
    .acc-l3-content {
        gap: 50px;
        padding: 60px 30px;
    }
    .acc-l3-content > * { max-width: 85vw; }
    .acc-l3-footer-block {
        min-width: 90vw;
        padding: 60px 30px;
        margin-left: 20px;
    }
    .acc-l3-close {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acc-l3-progress-fill { transition: none; }
}

.acc-l3-content > .wp-block-group.acc-horizontal-scroll,
.acc-l3-content > .acc-layout-3,
.acc-l3-content .wp-block-group.acc-horizontal-scroll {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(32px, 5vw, 72px) !important;
    width: auto !important;
    max-width: none !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 clamp(60px, 8vw, 120px) !important;
    box-sizing: border-box !important;
}

/* Cada filho direto desse wrapper = uma "coluna" */
.acc-l3-content > .wp-block-group.acc-horizontal-scroll > *,
.acc-l3-content > .acc-layout-3 > *,
.acc-l3-content .wp-block-group.acc-horizontal-scroll > * {
    flex: 0 0 auto !important;
    max-width: 800px !important;
    width: auto !important;
    white-space: normal !important;
    height: auto !important;
    margin: 0 !important;
}

/* Imagens dentro do wrapper precisam respeitar o tamanho */
.acc-l3-content > .wp-block-group.acc-horizontal-scroll img,
.acc-l3-content .wp-block-group.acc-horizontal-scroll img {
    max-height: calc(100vh - 200px) !important;
    width: auto !important;
    height: auto !important;
}

/* Anula o is-layout-flow do Gutenberg dentro do nosso layout */
.acc-l3-content .is-layout-flow.acc-horizontal-scroll {
    display: inline-flex !important;
}



/* ============================================================
   FOOTER BLOCK — fica no FINAL do scroll horizontal
   Ocupa uma "tela inteira" (100vw) como última coluna
   ============================================================ */

/* --- Footer: coluna final --- */
.acc-l3-track > .acc-l3-footer-block {
    flex: 0 0 var(--acc-vw, 100vw) !important;
    width: var(--acc-vw, 100vw) !important;
    min-width: var(--acc-vw, 100vw) !important;
    max-width: var(--acc-vw, 100vw) !important;
    height: 100vh !important;
    order: 999 !important;
    margin-left: 0 !important;
/* Centraliza o conteúdo do footer */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 48px !important;
    padding: 80px 120px !important;
    box-sizing: border-box !important;

    background: #fafafa !important;
    border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
}



/* Bloco interno do footer (share + nav) — centralizado e legível */
.acc-l3-footer-block > * {
    max-width: 600px !important;
    width: 100% !important;
}

/* Share buttons centralizados */
.acc-l3-footer-block .acc-share,
.acc-l3-footer-block .share-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 24px 0 !important;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Navegação anterior/próximo lado a lado */
.acc-l3-footer-block .post-navigation,
.acc-l3-footer-block .acc-post-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
}
/* Estiliza os links de navegação para parecerem botões grandes e clicáveis */
.acc-l3-footer-block .post-navigation a,
.acc-l3-footer-block .acc-post-nav a {
    display: block !important;
    padding: 24px !important;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: white;
}
/* Hover nos links de navegação */
.acc-l3-footer-block .post-navigation a:hover,
.acc-l3-footer-block .acc-post-nav a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e91e63;
}

/* Título "Posts relacionados" se existir */
.acc-l3-footer-block h2,
.acc-l3-footer-block h3 {
    text-align: center !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    margin-bottom: 32px !important;
}


/* ============================================================
   ANIMAÇÕES DE ENTRADA nas colunas conforme entram na viewport
   ============================================================ */

.acc-l3-content > .wp-block-group.acc-horizontal-scroll > * {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.acc-l3-content > .wp-block-group.acc-horizontal-scroll > .is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Variação: imagens entram com leve zoom-out */
.acc-l3-content > .wp-block-group.acc-horizontal-scroll > .wp-block-image {
    transform: translateY(40px) scale(1.04);
}
.acc-l3-content > .wp-block-group.acc-horizontal-scroll > .wp-block-image.is-visible {
    transform: translateY(0) scale(1);
}







/* ============================================================
   IMAGENS EM ALTURA CHEIA — marca a imagem com a classe
   "is-fullheight" no painel do Gutenberg (Avançado → Classes CSS)
   ============================================================ */

.acc-l3-content .wp-block-image.is-fullheight {
    align-self: stretch !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.acc-l3-content .wp-block-image.is-fullheight img {
    height: 100vh !important;
    max-height: 100vh !important;
    width: auto !important;
    max-width: none !important;
    object-fit: cover;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Cria respiro maior ao redor de imagens fullheight */
.acc-l3-content .wp-block-image.is-fullheight + *,
.acc-l3-content * + .wp-block-image.is-fullheight {
    margin-left: 40px !important;
}
/* ============================================================
   LAYOUT 3 — FOOTER BLOCK (coluna final)
   Share + Anterior/Próximo como última tela do scroll
   ============================================================ */

/* --- Coluna final: ocupa uma tela inteira --- */
.acc-l3-footer-block {
    flex: 0 0 100vw !important;
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    order: 999 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 48px !important;
    padding: 80px 120px !important;
    box-sizing: border-box !important;

    background: #fafafa;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Barra de compartilhamento --- */
.acc-l3-footer-block .acc-share-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 32px 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 560px;
}

.acc-l3-footer-block .acc-share-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.acc-l3-footer-block .acc-share-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-color: #e91e63 !important;
    color: #e91e63 !important;
}

/* --- Navegação anterior / próximo --- */
.acc-l3-footer-block .acc-post-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 560px !important;
}

.acc-l3-footer-block .acc-post-nav-item {
    display: flex !important;
    flex-direction: column !important;
    padding: 28px 32px !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    color: #111 !important;
    transition: all 0.3s ease !important;
}

.acc-l3-footer-block .acc-post-nav-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: #e91e63 !important;
}

.acc-l3-footer-block .acc-post-nav-label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #e91e63 !important;
    margin-bottom: 8px !important;/* Espaço entre o label e o título do post */
    display: block !important;/* Garante que o label ocupe toda a largura disponível, criando uma hierarquia visual clara com o título do post */
}

.acc-l3-footer-block .acc-post-nav-title {
    font-size: 1rem !important;/* Tamanho um pouco menor para o título do post, para criar hierarquia visual com o label "Anterior/Próximo" */
    font-weight: 500 !important;/* Peso um pouco menor para o título do post, para criar hierarquia visual com o label "Anterior/Próximo" */
    line-height: 1.4 !important;/* Permite que o título ocupe mais de uma linha se necessário */
    color: #111 !important;/* Cor mais escura para o título do post, garantindo boa legibilidade */
    display: block !important;/* Garante que o título ocupe toda a largura disponível */
}

/* --- Post anterior alinha à esquerda,
       próximo alinha à direita --- */
.acc-l3-footer-block .acc-post-nav-prev {
    text-align: left !important;
}

.acc-l3-footer-block .acc-post-nav-next {
    text-align: right !important;/* Alinha o texto à direita para o próximo post */
}


/* O content precisa ter a largura REAL do conteúdo interno */
.acc-l3-content {
    width: max-content !important;/* Permite que o conteúdo interno defina a largura real */
    max-width: none !important;
    flex-shrink: 0;/* Impede que o container encolha e force quebra de linha */
}

/* Garante que o inner não force largura limitada */
.acc-l3-content .wp-block-group.acc-horizontal-scroll {
    width: max-content;/* Permite que o conteúdo interno defina a largura real */
    max-width: none;/* Remove qualquer restrição de largura */
}

/* Layout 3 — Content precisa ter largura real do conteúdo interno */
.acc-l3-content {
    width: max-content !important;/* Permite que o conteúdo interno defina a largura real */
    max-width: none !important;/* Remove qualquer restrição de largura */
    flex-shrink: 0;/* Impede que o container encolha e force quebra de linha */
}



/* ==========================================================
   SPONSORS - Controle dinâmico de colunas (parceiros por fileira)
   ========================================================== */
.acc-sponsors-grid {
    grid-template-columns: repeat(var(--acc-sponsors-cols, 5), 1fr) !important;
}

/* Responsivo: em telas menores, reduz automaticamente */
@media (max-width: 768px) {
    .acc-sponsors-grid {
        grid-template-columns: repeat(calc(var(--acc-sponsors-cols, 5) / 2), 1fr) !important;
    }
}

@media (max-width: 480px) {
    .acc-sponsors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ==========================================================
   ODS ONU (SVGs Oficiais)
   ========================================================== */
.acc-ods-section {
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--acc-border);
}

.acc-ods-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--acc-text-soft) !important;
    margin-bottom: 16px !important;
}

.acc-ods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    grid-template-columns: repeat(6, 1fr) !important; /* Força exatas 6 colunas */
}

.acc-ods-item {
    width: 100px; /* Tamanho do ícone. Aumente se quiser maior */
    height: 100px;
    transition: transform 0.2s ease;
}

.acc-ods-item:hover {
    transform: translateY(-4px); /* Animação suave ao passar o mouse */
}

.acc-ods-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}











/* ==========================================================
   1. ESPAÇAMENTO DO TOPO (Para o cabeçalho flutuante)
   ========================================================== */
.acc-page-layout1, 
.acc-page-layout2 {
    /* Esse espaço garante que o menu do seu site não tampe o conteúdo */
    /* Ele funciona tanto no computador quanto no celular */
    
}

/* ==========================================================
   1. BANNER SLIDE GLOBAL (BLINDADO E LIMPO)
   ========================================================== */
.acc-top-banner-wrap {
    grid-column: 1 / -1;
    width: 100% !important;
    height: 180px !important; /* Faixa fina e elegante */
    margin: 0 auto 30px auto !important;
    border-radius: var(--acc-radius) !important;
    overflow: hidden !important;
    background: #000;
    position: relative;
}

.acc-top-banner-track {
    display: flex !important;
    width: 100% !important; 
    height: 100% !important;
    /* 80s garante que cada uma das 20 fotos tenha tempo de ser lida */
    animation: accGlobalSlide 80s infinite ease-in-out;
    transition: transform 0.8s ease-in-out !important;
}

.acc-top-banner-track img {
    flex: 0 0 100% !important; 
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* ==========================================================
   3. RESPONSIVIDADE: CELULAR PARA LAYOUTS 1 E 2
   ========================================================== */
@media (max-width: 1024px) {
    .acc-page-inner {
        display: flex !important;
        margin-top: 140px !important; /* Dá um respiro maior no topo para o menu flutuante */
        flex-direction: column !important; /* Coloca a sidebar debaixo do texto */
        padding: 0 20px !important;
    }
    
    .acc-sidebar {
        width: 100% !important;
        margin-top: 20px !important;
        margin-bottom: 40px !important;
    }

    /* O banner fica um pouco mais fino no celular para não roubar a tela toda */
    .acc-top-banner-wrap {
        height: 120px !important; 
    }
}

/* ==========================================================
   4. RESPONSIVIDADE: CELULAR PARA LAYOUT 3 (MANTENDO HORIZONTAL)
   ========================================================== */
@media (max-width: 768px) {
    
    /* Mantém o trilho flexível para continuar rolando para o lado */
    #acc-l3-track {
        display: flex !important; 
    }
    
    /* Ajusta CADA "TELA" para ter a largura exata do celular */
    .acc-l3-panel {
        min-width: 100vw !important; /* 100% da largura da tela */
        width: 100vw !important;
        padding: 100px 20px 40px 20px !important; /* Espaço no topo para o menu */
        box-sizing: border-box !important;
    }

    /* Força os textos a quebrarem linha para não sumirem da tela */
    .acc-l3-panel h1, 
    .acc-l3-panel h2, 
    .acc-l3-panel p {
        white-space: normal !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* Força as imagens a não vazarem da tela do celular */
    .acc-l3-panel img {
        max-width: 100% !important;
        height: auto !important;
    }
}










/* ============================================================
   LAYOUT 3 — Refinamento visual desktop + progresso
   ============================================================ */

body.acc-layout3-active {
    overflow: hidden !important;
}

/* Área principal do layout horizontal */
#acc-layout3-root,
.acc-layout3-root {
    background:
        radial-gradient(circle at 15% 20%, rgba(233, 30, 99, 0.08), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(66, 10, 54, 0.08), transparent 34%),
        #fafafa !important;
}

/* Viewport horizontal */
#acc-l3-viewport,
.acc-l3-viewport {
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Trilha */
#acc-l3-track,
.acc-l3-track {
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    will-change: transform !important;
}

/* Wrapper principal do conteúdo */
.acc-l3-content > .wp-block-group.acc-horizontal-scroll,
.acc-l3-content > .acc-layout-3,
.acc-l3-content .wp-block-group.acc-horizontal-scroll {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(32px, 5vw, 72px) !important;
    width: auto !important;
    max-width: none !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 clamp(80px, 10vw, 160px) !important;
    box-sizing: border-box !important;
}

/* Cada bloco direto vira um painel/coluna mais elegante */
.acc-l3-content > .wp-block-group.acc-horizontal-scroll > *,
.acc-l3-content > .acc-layout-3 > *,
.acc-l3-content .wp-block-group.acc-horizontal-scroll > * {
    flex: 0 0 auto !important;
    width: clamp(360px, 38vw, 720px) !important;
    max-width: 720px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
}

/* Títulos grandes no layout horizontal */
.acc-l3-content h1,
.acc-l3-content h2 {
    font-weight: 850 !important;
    letter-spacing: -0.055em !important;
    line-height: 0.95 !important;
    color: #111827 !important;
    margin: 0 0 24px !important;
}

.acc-l3-content h1 {
    font-size: clamp(4rem, 8vw, 8.5rem) !important;
    max-width: 760px !important;
}

.acc-l3-content h2 {
    font-size: clamp(2.8rem, 5vw, 5.6rem) !important;
}

/* Parágrafos mais editoriais */
.acc-l3-content p {
    font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
    line-height: 1.75 !important;
    color: #4b5563 !important;
    max-width: 620px !important;
}

/* Meta bar */
.acc-l3-content .acc-post-meta-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 24px !important;
    font-size: 14px !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

/* Imagens como painéis visuais */
.acc-l3-content .wp-block-image {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.acc-l3-content .wp-block-image img {
    max-height: min(72vh, 720px) !important;
    width: auto !important;
    max-width: 78vw !important;
    border-radius: 28px !important;
    box-shadow: 0 28px 80px rgba(0,0,0,0.16) !important;
    object-fit: cover !important;
}

.acc-l3-content .wp-block-image figcaption {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    text-align: left !important;
}

/* Citações/destaques */
.acc-l3-content blockquote {
    width: clamp(360px, 42vw, 760px) !important;
    padding: 36px 42px !important;
    border-left: 6px solid #e91e63 !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(0,0,0,0.08) !important;
}

.acc-l3-content blockquote p {
    font-size: clamp(1.5rem, 2.6vw, 3rem) !important;
    line-height: 1.18 !important;
    color: #111827 !important;
    font-weight: 780 !important;
}

/* Barra de progresso mais bonita */
.acc-l3-progress {
    position: fixed !important;
    left: 50% !important;
    bottom: 26px !important;
    transform: translateX(-50%) !important;
    width: min(420px, 50vw) !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(17, 24, 39, 0.10) !important;
    overflow: hidden !important;
    z-index: 100000 !important;
    backdrop-filter: blur(8px) !important;
}

.acc-l3-progress-fill {
    height: 100% !important;
    width: 0;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #e91e63, #f48fb1) !important;
    transition: width 0.18s ease-out !important;
}

/* Dica de rolagem */
.acc-l3-hint {
    position: fixed !important;
    right: 28px !important;
    bottom: 24px !important;
    z-index: 100000 !important;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.86) !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 34px rgba(0,0,0,0.10) !important;
    backdrop-filter: blur(10px) !important;
}

.acc-l3-hint::after {
    content: " →";
    color: #e91e63;
}

.acc-l3-hint-hidden {
    opacity: 0 !important;
    transform: translateY(10px) !important;
    pointer-events: none !important;
}

/* Botão voltar mais discreto */
.acc-l3-close {
    position: fixed !important;
    top: 24px !important;
    left: 24px !important;
    z-index: 100001 !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    background: rgba(255,255,255,0.86) !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 34px rgba(0,0,0,0.08) !important;
    backdrop-filter: blur(10px) !important;
}







/* ============================================================
   LAYOUT 3 — Aviso mobile para virar o celular
   ============================================================ */

.acc-l3-rotate-notice {
    display: none !important;
}

@media (max-width: 768px) and (orientation: portrait) {
    body.acc-layout3-active.acc-l3-needs-rotate #acc-layout3-root,
    body.acc-layout3-active.acc-l3-needs-rotate .acc-layout3-root {
        opacity: 0.22 !important;
        pointer-events: none !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-notice {
        display: flex !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 28px !important;
        background: rgba(15, 23, 42, 0.72) !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    .acc-l3-rotate-card {
        width: min(100%, 340px) !important;
        padding: 30px 26px !important;
        border-radius: 28px !important;
        background: #ffffff !important;
        box-shadow: 0 26px 80px rgba(0,0,0,0.28) !important;
        text-align: center !important;
    }

    .acc-l3-rotate-icon {
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto 16px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f6c343 !important;
        color: #123c69 !important;
        font-size: 32px !important;
        font-weight: 900 !important;
        box-shadow: 0 14px 34px rgba(18, 60, 105, 0.22) !important;
    }

    .acc-l3-rotate-card strong {
        display: block !important;
        margin-bottom: 10px !important;
        color: #123c69 !important;
        font-size: 2rem !important;
        line-height: 1 !important;
        font-weight: 850 !important;
        letter-spacing: -0.04em !important;
    }

    .acc-l3-rotate-card span {
        display: block !important;
        color: #475569 !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
}







/* ============================================================
   LAYOUT 3 — Classes manuais para posicionamento dos blocos
   ============================================================ */

.acc-l3-content .acc-l3-top {
    align-self: flex-start !important;
    margin-top: 12vh !important;
}

.acc-l3-content .acc-l3-bottom {
    align-self: flex-end !important;
    margin-bottom: 12vh !important;
}

.acc-l3-content .acc-l3-wide {
    width: clamp(520px, 58vw, 980px) !important;
    max-width: 980px !important;
}

.acc-l3-content .acc-l3-small {
    width: clamp(260px, 28vw, 420px) !important;
    max-width: 420px !important;
}

.acc-l3-content .acc-l3-wide img {
    max-height: 82vh !important;
    max-width: 90vw !important;
}

.acc-l3-content .acc-l3-small img {
    max-height: 52vh !important;
}





/* ============================================================
   LAYOUT 3 — Correções finais: mobile, fundo, imagens e lightbox
   Cole este bloco no FINAL do arquivo
   ============================================================ */

/* Fundo azul/amarelo substituindo o rosa antigo */
#acc-layout3-root,
.acc-layout3-root,
.acc-page-layout3 #acc-layout3-root {
    background:
        radial-gradient(circle at 12% 20%, rgba(246, 195, 67, 0.18), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(18, 60, 105, 0.16), transparent 34%),
        #f8fbff !important;
}

/* Barra de progresso em azul/amarelo */
.acc-l3-progress-fill {
    background: linear-gradient(90deg, #f6c343, #123c69) !important;
}

/* Links e detalhes ainda podem usar azul */
.acc-l3-content a,
.acc-l3-hint::after {
    color: #123c69 !important;
}

/* ============================================================
   Aviso para virar o celular
   ============================================================ */

.acc-l3-rotate-notice {
    display: none !important;
}

@media (max-width: 768px) and (orientation: portrait) {
    body.acc-layout3-active.acc-l3-needs-rotate #acc-layout3-root,
    body.acc-layout3-active.acc-l3-needs-rotate .acc-layout3-root {
        opacity: 0.18 !important;
        pointer-events: none !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-notice {
        display: flex !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 28px !important;
        background: rgba(15, 23, 42, 0.72) !important;
        filter: none !important;
        backdrop-filter: none !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-card {
        width: min(100%, 340px) !important;
        padding: 30px 26px !important;
        border-radius: 28px !important;
        background: #ffffff !important;
        box-shadow: 0 26px 80px rgba(0,0,0,0.28) !important;
        text-align: center !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-icon {
        width: 58px !important;
        height: 58px !important;
        margin: 0 auto 16px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f6c343 !important;
        color: #123c69 !important;
        font-size: 32px !important;
        font-weight: 900 !important;
        box-shadow: 0 14px 34px rgba(18, 60, 105, 0.22) !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-card strong {
        display: block !important;
        margin-bottom: 10px !important;
        color: #123c69 !important;
        font-size: 2rem !important;
        line-height: 1 !important;
        font-weight: 850 !important;
        letter-spacing: -0.04em !important;
    }

    body.acc-layout3-active.acc-l3-needs-rotate .acc-l3-rotate-card span {
        display: block !important;
        color: #475569 !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }
}

/* ============================================================
   Celular deitado: imagens maiores e menos espaço entre blocos
   ============================================================ */

@media (max-width: 900px) and (orientation: landscape) {
    .acc-l3-content > .wp-block-group.acc-horizontal-scroll,
    .acc-l3-content > .acc-layout-3,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll {
        gap: 24px !important;
        padding: 0 28px !important;
        align-items: center !important;
    }

    .acc-l3-content > .wp-block-group.acc-horizontal-scroll > *,
    .acc-l3-content > .acc-layout-3 > *,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll > * {
        width: clamp(340px, 58vw, 720px) !important;
        max-width: 720px !important;
    }

    .acc-l3-content .wp-block-image img,
    .acc-l3-content > .wp-block-group.acc-horizontal-scroll img,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll img {
        max-height: 88vh !important;
        max-width: 92vw !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .acc-l3-content h1 {
        font-size: clamp(3.4rem, 8vw, 6rem) !important;
    }

    .acc-l3-content h2 {
        font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
    }

    .acc-l3-content p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .acc-l3-hint {
        display: none !important;
    }

    .acc-l3-progress {
        width: min(360px, 48vw) !important;
        bottom: 18px !important;
    }
}

/* ============================================================
   Imagens clicáveis / Lightbox do WordPress
   ============================================================ */

.acc-l3-content .wp-block-image a {
    display: inline-block !important;
    cursor: zoom-in !important;
}

.acc-l3-content .wp-block-image a img {
    transition: transform .25s ease, box-shadow .25s ease !important;
}

.acc-l3-content .wp-block-image a:hover img {
    transform: scale(1.015) !important;
    box-shadow: 0 34px 90px rgba(0,0,0,0.22) !important;
}

/* Quando o lightbox abre, não deixa a imagem cortar */
.wp-lightbox-overlay img,
.wp-lightbox-overlay .wp-block-image img {
    width: auto !important;
    height: auto !important;
    max-width: 92vw !important;
    max-height: 88vh !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}



/* ============================================================
   LAYOUT 3 — Ajuste visual final: imagens + fundo animado
   ============================================================ */

/* Fundo base mais claro */
#acc-layout3-root,
.acc-layout3-root,
.acc-page-layout3 #acc-layout3-root {
    background: #fbfdff !important;
    position: fixed !important;
    overflow: hidden !important;
}

/* Blushes animados do fundo */
#acc-layout3-root::before,
#acc-layout3-root::after {
    content: "" !important;
    position: absolute !important;
    width: 46vw !important;
    height: 46vw !important;
    border-radius: 999px !important;
    filter: blur(76px) !important;
    opacity: 0.28 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    will-change: transform !important;
}

/* Blush 1 */
#acc-layout3-root::before {
    left: -12vw !important;
    top: -12vh !important;
    background: var(--acc-l3-blush-1, #f6c343) !important;
    animation: accL3BlushOne 16s ease-in-out infinite alternate !important;
}

/* Blush 2 */
#acc-layout3-root::after {
    right: -14vw !important;
    bottom: -18vh !important;
    background: var(--acc-l3-blush-2, #9ecbff) !important;
    animation: accL3BlushTwo 19s ease-in-out infinite alternate !important;
}

/* Garante que o conteúdo fique acima dos blushes */
#acc-l3-viewport,
.acc-l3-viewport,
.acc-l3-progress,
.acc-l3-hint,
.acc-l3-close,
.acc-l3-rotate-notice {
    position: relative !important;
    z-index: 2 !important;
}

@keyframes accL3BlushOne {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    45% {
        transform: translate3d(14vw, 10vh, 0) scale(1.12);
    }
    100% {
        transform: translate3d(6vw, 18vh, 0) scale(0.96);
    }
}

@keyframes accL3BlushTwo {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-12vw, -8vh, 0) scale(1.16);
    }
    100% {
        transform: translate3d(-5vw, -18vh, 0) scale(0.98);
    }
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    #acc-layout3-root::before,
    #acc-layout3-root::after {
        animation: none !important;
    }
}

/* Imagens menos arredondadas */
.acc-l3-content .wp-block-image img,
.acc-l3-content > .wp-block-group.acc-horizontal-scroll img,
.acc-l3-content .wp-block-group.acc-horizontal-scroll img {
    border-radius: 14px !important;
}

/* Se quiser ainda mais reto, depois troque 14px por 10px */








 /* ============================================================
   LAYOUT 3 — Ajuste real da altura do conteúdo
   Move o grupo horizontal inteiro um pouco para cima
   ============================================================ */

.acc-l3-content > .wp-block-group.acc-horizontal-scroll,
.acc-l3-content > .acc-layout-3,
.acc-l3-content .wp-block-group.acc-horizontal-scroll {
    transform: translateY(-6vh) !important;
}

/* Celular deitado: sobe menos para não cortar */
@media (max-width: 900px) and (orientation: landscape) {
    .acc-l3-content > .wp-block-group.acc-horizontal-scroll,
    .acc-l3-content > .acc-layout-3,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll {
        transform: translateY(-4vh) !important;
    }
}





/* ============================================================
   LAYOUT 3 — Correção do botão voltar
   ============================================================ */

.acc-l3-close,
#acc-l3-close {
    position: fixed !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    left: max(18px, env(safe-area-inset-left)) !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}







/* ============================================================
   LAYOUT 3 — Botão voltar realmente clicável
   ============================================================ */

#acc-l3-close,
.acc-l3-close {
    position: fixed !important;
    top: max(18px, env(safe-area-inset-top)) !important;
    left: max(18px, env(safe-area-inset-left)) !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    text-decoration: none !important;
}










/* ============================================================
   LAYOUT 3 — Correção de sobreposição no desktop
   Cada bloco ocupa uma coluna real no scroll horizontal
   ============================================================ */

@media (min-width: 769px) {
    .acc-l3-content {
        gap: 0 !important;
        padding-left: clamp(70px, 8vw, 130px) !important;
        padding-right: clamp(70px, 8vw, 130px) !important;
    }

    .acc-l3-inner,
    .acc-l3-content > .wp-block-group.acc-horizontal-scroll,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: clamp(64px, 7vw, 130px) !important;
        width: auto !important;
        max-width: none !important;
        height: 100vh !important;
        white-space: nowrap !important;
    }

    .acc-l3-inner > *,
    .acc-l3-content > .wp-block-group.acc-horizontal-scroll > *,
    .acc-l3-content .wp-block-group.acc-horizontal-scroll > * {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: min(760px, 72vw) !important;
        min-width: 0 !important;
        margin: 0 !important;
        white-space: normal !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Imagens como colunas independentes */
    .acc-l3-inner .wp-block-image,
    .acc-l3-content .wp-block-image,
    .acc-l3-inner figure,
    .acc-l3-content figure {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: min(820px, 74vw) !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .acc-l3-inner img,
    .acc-l3-content img,
    .acc-l3-content .wp-block-image img {
        display: block !important;
        width: auto !important;
        max-width: min(820px, 74vw) !important;
        max-height: calc(100vh - 170px) !important;
        height: auto !important;
        object-fit: contain !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Textos também ganham uma coluna mais controlada */
    .acc-l3-inner p,
    .acc-l3-content p {
        max-width: 560px !important;
    }

    .acc-l3-inner h1,
    .acc-l3-inner h2,
    .acc-l3-inner h3,
    .acc-l3-content h1,
    .acc-l3-content h2,
    .acc-l3-content h3 {
        max-width: 680px !important;
    }
}