/* Tours Clásicos drafts only. Blocksy retains the DOM, logos, links and panel behavior. */
body.jmct-header-fit #header [data-device="desktop"] [data-column-set="3"] > .ct-container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 1rem;
}
body.jmct-header-fit #header [data-device="desktop"] [data-column="start"] {
    min-width: var(--jmct-logo-reserve, 0px);
}
body.jmct-header-fit #header [data-device="desktop"] [data-column="middle"] { min-width: 0; }
/* Native Blocksy "Más" overflow menu and mobile panel keep their own breakpoints and behavior. */
body.jmct-header-fit :is(#header, #offcanvas) :is(a,button,[tabindex]):focus-visible {
    outline: 3px solid var(--jm-color-focus, #8c452e);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    body.jmct-header-fit :is(#header, #offcanvas),
    body.jmct-header-fit :is(#header, #offcanvas) * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Above the theme's mobile breakpoint, use the same existing panel when content cannot fit. */
body.jmct-header-fit.jmct-header-compact #header > [data-device="desktop"],
body.jmct-header-fit.jmct-header-compact #offcanvas > .ct-panel-inner > [data-device="desktop"] { display:none !important; }
body.jmct-header-fit.jmct-header-compact #header > [data-device="mobile"],
body.jmct-header-fit.jmct-header-compact #offcanvas > .ct-panel-inner > [data-device="mobile"] { display:block !important; }
