.dels-afm-cabecalho,
.dels-afm-cabecalho * {
    box-sizing: border-box;
}

html,
body,
body > .wp-site-blocks {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.wp-site-blocks > header:has(.dels-afm-cabecalho),
.wp-site-blocks > .wp-block-template-part:has(.dels-afm-cabecalho),
.wp-block-template-part:has(.dels-afm-cabecalho),
header:not(.dels-afm-cabecalho):has(.dels-afm-cabecalho),
.elementor-location-header:has(.dels-afm-cabecalho),
[data-elementor-type="header"]:has(.dels-afm-cabecalho),
.wp-block-shortcode:has(> .dels-afm-cabecalho),
.wp-block-paragraph:has(> .dels-afm-cabecalho),
.dels-afm-cabecalho-shell,
.dels-afm-cabecalho-wrap {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

/* O componente é movido para fora da casca de cabeçalho do tema. Depois da
 * movimentação, esta classe fica somente na casca antiga e elimina a reserva
 * de altura sem afetar o cabeçalho DELS. */
.dels-afm-cabecalho-shell-vazia {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/*
 * Nas páginas comuns, o tema envolve o shortcode do cabeçalho em blocos com
 * espaçamento próprio. O template dos verbetes imprime o mesmo componente
 * diretamente e, por isso, já tem a altura correta. Estas classes são
 * aplicadas somente à cadeia de invólucros que contém o cabeçalho; o tamanho
 * interno aprovado do componente não é alterado.
 */
.dels-afm-cabecalho-shell > *,
.dels-afm-cabecalho-wrap > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none !important;
}

/*
 * Ao processar o shortcode em páginas comuns, o WordPress pode inserir <br>
 * e parágrafos vazios diretamente nas grades do componente. Eles não aparecem
 * visualmente, mas criam fileiras anônimas e aumentam a faixa do cabeçalho no
 * computador. O template dos verbetes não passa por essa autoformatação.
 * A regra vale em todas as larguras e alcança somente nós comprovadamente
 * vazios; links, textos, menus e controles permanecem intactos.
 */
html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > br,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > p:empty,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > p:has(> br:only-child),
html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > br,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > p:empty,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > p:has(> br:only-child),
html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > br,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > p:empty,
html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > p:has(> br:only-child),
html body header#dels-afm-cabecalho [data-dels-afm-autoformat-artifact] {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.dels-afm-cabecalho {
    --dels-header-blue: #38b6ff;
    --dels-header-blue-dark: #247bb3;
    --dels-header-ink: #0e1a33;
    --dels-header-line: #cfe2f3;
    position: relative;
    z-index: 900;
    width: 100%;
    max-width: none;
    margin: 0;
    background: linear-gradient(180deg, #f8fcff 0%, #eef8ff 100%);
    border-bottom: 1px solid #d5e7f6;
    box-shadow: 0 8px 24px rgba(15, 43, 77, 0.055);
    color: var(--dels-header-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    overflow: visible;
}

/*
 * O tema aplica uma altura mínima genérica ao elemento <header> nas páginas
 * comuns. O template próprio dos verbetes não recebe essa regra, por isso o
 * mesmo componente ficava mais alto na página inicial. O ID limita a correção
 * ao cabeçalho DELS e garante em todo o desktop a altura natural já usada nos
 * verbetes, sem fixar ou cortar o conteúdo responsivo.
 */
html body header#dels-afm-cabecalho {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dels-afm-cabecalho a,
.dels-afm-cabecalho a:hover,
.dels-afm-cabecalho a:focus {
    text-decoration: none;
}

.dels-afm-cabecalho__interno {
    width: min(100% - 32px, 1360px);
    min-height: 92px;
    margin: 0 auto;
    padding: 9px 0;
    display: grid;
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    grid-template-areas: "marca painel";
    align-items: center;
    gap: 18px;
    overflow: visible;
}

@media (min-width: 1121px) {
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno {
        min-height: 92px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 9px 0 !important;
    }
}

.dels-afm-cabecalho__marca {
    grid-area: marca;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    line-height: 0;
}

.dels-afm-cabecalho__marca picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.dels-afm-cabecalho__marca img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}

.dels-afm-cabecalho__painel {
    grid-area: painel;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    overflow: visible;
}

.dels-afm-cabecalho__nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.dels-afm-cabecalho__nav > a {
    min-height: 44px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--dels-header-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease;
}

.dels-afm-cabecalho__nav > a:hover,
.dels-afm-cabecalho__nav > a:focus-visible,
.dels-afm-cabecalho__nav > a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.82);
    color: var(--dels-header-blue-dark);
    outline: 0;
}

.dels-afm-cabecalho__dia {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.dels-afm-cabecalho__dia .dels-palavra-dia-header,
.dels-afm-cabecalho__dia > a,
.dels-afm-cabecalho__dia > button {
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--dels-header-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--dels-header-ink) !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: 0 5px 14px rgba(31, 125, 182, 0.05) !important;
}

.dels-afm-cabecalho__dia .dels-palavra-dia-header::before,
.dels-afm-cabecalho__dia > a::before,
.dels-afm-cabecalho__dia > button::before {
    content: "☀";
    margin-right: 7px;
    font-size: 13px;
}

.dels-afm-cabecalho__conta {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.dels-afm-cabecalho__conta .dels-login-header,
.dels-afm-cabecalho__conta .dels-menu-usuario,
.dels-afm-cabecalho__conta .dels-login-botao-google,
.dels-afm-cabecalho__conta .dels-login-google-custom-wrap {
    margin: 0 !important;
    overflow: visible !important;
}

.dels-afm-cabecalho__conta .dels-menu-usuario-botao,
.dels-afm-cabecalho__conta .dels-login-google-custom,
.dels-afm-cabecalho-login-fallback {
    min-height: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    font-size: 13.5px !important;
}

.dels-afm-cabecalho__conta .dels-login-google-custom {
    width: auto !important;
    min-width: 126px !important;
    max-width: 176px !important;
}

.dels-afm-cabecalho__conta .dels-menu-usuario-dropdown {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    z-index: 10020 !important;
}

.dels-afm-cabecalho-login-fallback {
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--dels-header-blue);
    color: #fff;
    font-weight: 850;
}

.dels-afm-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 1280px) {
    .dels-afm-cabecalho__interno {
        width: min(100% - 24px, 1220px);
        grid-template-columns: 190px minmax(0, 1fr);
        gap: 12px;
    }

    .dels-afm-cabecalho__marca img {
        width: 185px;
    }

    .dels-afm-cabecalho__painel {
        gap: 8px;
    }

    .dels-afm-cabecalho__nav > a {
        padding-inline: 7px;
        font-size: 12px;
    }

    .dels-afm-cabecalho__dia .dels-palavra-dia-header,
    .dels-afm-cabecalho__dia > a,
    .dels-afm-cabecalho__dia > button {
        padding-inline: 10px !important;
        font-size: 11.8px !important;
    }
}

@media (max-width: 1120px) {
    .dels-afm-cabecalho__interno {
        width: min(100% - 28px, 760px);
        min-height: 0;
        padding: 12px 0 14px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "marca"
            "painel";
        gap: 8px;
    }

    .dels-afm-cabecalho__marca img {
        width: 190px;
        max-height: 68px;
    }

    .dels-afm-cabecalho__painel {
        display: flex;
        width: 100%;
        padding-top: 2px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .dels-afm-cabecalho__nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .dels-afm-cabecalho__nav > a {
        width: 100%;
        min-height: 44px;
        padding: 9px 12px;
        border: 1px solid var(--dels-header-line);
        border-radius: 12px;
        background: #fff;
        font-size: 14px;
    }

    .dels-afm-cabecalho__dia {
        grid-column: 1 / -1;
        width: 100%;
    }

    .dels-afm-cabecalho__dia > *,
    .dels-afm-cabecalho__dia .dels-palavra-dia-header,
    .dels-afm-cabecalho__dia > a,
    .dels-afm-cabecalho__dia > button {
        width: 100% !important;
        min-height: 44px !important;
        height: 44px !important;
        font-size: 14px !important;
    }

    .dels-afm-cabecalho__conta {
        width: 100%;
        justify-content: center;
        padding-top: 2px;
    }

    .dels-afm-cabecalho__conta .dels-login-header,
    .dels-afm-cabecalho__conta .dels-menu-usuario,
    .dels-afm-cabecalho__conta .dels-login-botao-google,
    .dels-afm-cabecalho__conta .dels-login-google-custom-wrap {
        max-width: 100% !important;
        justify-content: center !important;
    }

    .dels-afm-cabecalho__conta .dels-menu-usuario-botao,
    .dels-afm-cabecalho__conta .dels-login-google-custom,
    .dels-afm-cabecalho-login-fallback {
        min-width: 180px !important;
        max-width: min(100%, 320px) !important;
    }

    .dels-afm-cabecalho__conta .dels-menu-usuario.dels-menu-aberto .dels-menu-usuario-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: auto !important;
        left: 50% !important;
        width: min(320px, calc(100vw - 28px)) !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: min(520px, calc(100vh - 150px)) !important;
        transform: translateX(-50%) !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 767px) {
    /*
     * O ID aumenta a especificidade somente no telefone. Isso impede que
     * regras móveis antigas dos snippets voltem a transformar a grade em
     * linhas alternadas ou imponham uma altura mínima ao cabeçalho.
     */
    html body header#dels-afm-cabecalho {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        align-self: start !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho::before,
    html body header#dels-afm-cabecalho::after {
        content: none !important;
        display: none !important;
    }

    /*
     * Alguns blocos do WordPress aplicam wpautop ao resultado do shortcode e
     * inserem <br> e <p> vazios entre os elementos estruturais. No desktop
     * eles quase não aparecem; no grid móvel, porém, viram linhas anônimas e
     * aumentam muito a altura do cabeçalho. Estes seletores alcançam somente
     * os artefatos diretos gerados automaticamente, sem esconder conteúdo.
     */
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > br,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > p:empty,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno > p:has(> br:only-child),
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > br,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > p:empty,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel > p:has(> br:only-child),
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > br,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > p:empty,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > p:has(> br:only-child),
    html body header#dels-afm-cabecalho [data-dels-afm-autoformat-artifact] {
        display: none !important;
        position: absolute !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno {
        width: calc(100% - 16px) !important;
        min-width: 0 !important;
        max-width: 410px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto !important;
        padding: 8px 0 9px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "marca"
            "painel" !important;
        grid-template-rows: max-content max-content !important;
        grid-auto-rows: 0 !important;
        align-items: center !important;
        align-content: start !important;
        gap: 6px !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__marca {
        grid-area: marca !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__marca picture {
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__marca img {
        width: min(44vw, 154px) !important;
        max-width: 100% !important;
        max-height: 56px !important;
        margin: 0 auto !important;
        object-position: center center !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__painel {
        grid-area: painel !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: max-content max-content !important;
        grid-auto-rows: 0 !important;
        align-items: start !important;
        justify-items: center !important;
        align-content: start !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav {
        grid-row: 1 !important;
        width: min(100%, 350px) !important;
        min-width: 0 !important;
        max-width: 350px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: repeat(2, 36px) !important;
        grid-auto-flow: row !important;
        grid-auto-rows: 0 !important;
        column-gap: 5px !important;
        row-gap: 5px !important;
        align-items: stretch !important;
        justify-items: stretch !important;
        justify-content: center !important;
        align-content: start !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > .dels-afm-cabecalho__dia {
        position: relative !important;
        inset: auto !important;
        float: none !important;
        order: initial !important;
        transform: none !important;
        justify-self: stretch !important;
        align-self: stretch !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a:nth-of-type(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a:nth-of-type(2) {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a:nth-of-type(3) {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a:nth-of-type(4) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a:nth-of-type(5) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > .dels-afm-cabecalho__dia {
        grid-column: 3 !important;
        grid-row: 2 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 4px 3px !important;
        border-radius: 9px !important;
        font-size: 10.7px !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        text-align: center !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > *,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia .dels-palavra-dia-header,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > a,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 36px !important;
        height: 36px !important;
        margin: 0 !important;
        padding: 4px 3px !important;
        border-radius: 9px !important;
        font-size: 10.7px !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        text-align: center !important;
        overflow: hidden !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia .dels-palavra-dia-header::before,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > a::before,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > button::before {
        margin-right: 3px !important;
        font-size: 11px !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta {
        grid-row: 2 !important;
        width: min(100%, 190px) !important;
        min-width: 0 !important;
        max-width: 190px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: center !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-login-header,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-menu-usuario,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-login-botao-google,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-login-google-custom-wrap {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-menu-usuario-botao,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-login-google-custom,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho-login-fallback {
        width: min(100%, 180px) !important;
        min-width: 0 !important;
        max-width: 180px !important;
        min-height: 36px !important;
        height: 36px !important;
        margin: 0 auto !important;
        padding: 0 11px !important;
        font-size: 11px !important;
        line-height: 1 !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__conta .dels-menu-usuario.dels-menu-aberto .dels-menu-usuario-dropdown {
        top: calc(100% + 8px) !important;
        left: 50% !important;
        right: auto !important;
        width: min(320px, calc(100vw - 20px)) !important;
        min-width: 0 !important;
        max-width: none !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 360px) {
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__interno {
        width: calc(100% - 12px) !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav {
        width: min(100%, 338px) !important;
        max-width: 338px !important;
        column-gap: 4px !important;
        row-gap: 4px !important;
    }

    html body header#dels-afm-cabecalho .dels-afm-cabecalho__nav > a,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > *,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia .dels-palavra-dia-header,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > a,
    html body header#dels-afm-cabecalho .dels-afm-cabecalho__dia > button {
        padding-inline: 2px !important;
        font-size: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dels-afm-cabecalho *,
    .dels-afm-cabecalho *::before,
    .dels-afm-cabecalho *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
