/* An unenhanced header remains the original layout if either asset cannot load. */
#gato-local-header { --gch-layout-ready:1; }

@media (min-width:1025px) {
    #gato-local-header.gch-centered #gato_header {
        --gch-edge:max(24px, calc((100% - 1440px) / 2));
        display:grid;
        grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
        align-items:center;
        column-gap:24px;
        padding-inline:var(--gch-edge);
    }
    #gato-local-header.gch-centered #gato_header > .elementor-element-c2a6e84 {
        display:contents;
    }
    #gato-local-header.gch-centered .elementor-element-e609b26 {
        grid-column:1;
        justify-self:start;
        width:auto;
        margin:0;
    }
    #gato-local-header.gch-centered .gato-local-logo {
        transition:none;
    }
    #gato-local-header.gch-centered .elementor-element-c429125 {
        grid-column:2;
        justify-self:center;
        width:auto;
        max-width:none;
        margin:0;
    }
    #gato-local-header.gch-centered .wpr-nav-menu-container > .wpr-nav-menu {
        display:flex;
        align-items:center;
        justify-content:center;
        gap:32px;
        margin:0;
        padding:0;
        white-space:nowrap;
    }
    #gato-local-header.gch-centered .wpr-nav-menu-container > .wpr-nav-menu > .menu-item {
        flex:0 0 auto;
        margin:0;
    }
    #gato-local-header.gch-centered .wpr-nav-menu > .menu-item,
    #gato-local-header.gch-centered .wpr-nav-menu > .menu-item > .wpr-menu-item {
        transition:color .2s ease;
    }
    #gato-local-header.gch-centered #gato_header > .elementor-element-5c32fe4 {
        grid-column:3;
        justify-self:end;
        width:max-content;
        min-width:0;
        max-width:none;
        flex-wrap:nowrap;
        gap:20px;
        margin:0;
    }
    #gato-local-header.gch-centered .gch-language {
        display:flex;
        flex:0 0 auto;
        align-items:center;
        margin:0;
        padding:0;
        list-style:none;
    }
    #gato-local-header.gch-centered .gch-language > .gato-local-site-language-switcher {
        margin:0;
        padding:0;
        list-style:none;
    }
    #gato-local-header.gch-centered .gch-language .gato-local-site-language-switcher__toggle {
        white-space:nowrap;
    }
}

/* Compact desktops use the available middle track while preserving every label. */
@media (min-width:1025px) and (max-width:1439px) {
    #gato-local-header.gch-centered #gato_header {
        column-gap:20px;
    }
    #gato-local-header.gch-centered .wpr-nav-menu-container > .wpr-nav-menu {
        gap:24px;
    }
    #gato-local-header.gch-centered .wpr-nav-menu .wpr-menu-item,
    #gato-local-header.gch-centered .gch-language .gato-local-site-language-switcher__toggle {
        font-size:14px;
    }
    #gato-local-header.gch-centered #gato_header > .elementor-element-5c32fe4 {
        gap:14px;
    }
}
@media (min-width:1025px) and (max-width:1279px) {
    #gato-local-header.gch-centered #gato_header {
        grid-template-columns:auto minmax(0,1fr) auto;
    }
}
@media (min-width:1025px) and (max-width:1199px) {
    #gato-local-header.gch-centered #gato_header {
        --gch-edge:20px;
        column-gap:14px;
    }
    #gato-local-header.gch-centered .gato-local-logo { width:112px; }
    #gato-local-header.gch-centered .wpr-nav-menu-container > .wpr-nav-menu { gap:18px; }
    #gato-local-header.gch-centered #gato_header > .elementor-element-5c32fe4 { gap:10px; }
    #gato-local-header.gch-centered .elementor-element-02bbee1 .elementor-button {
        padding-inline:16px;
    }
}
