/* Blocksy keeps navigation, sticky and panel behaviour. Its installed controls
   cannot express the source's proportional space-evenly menu, 1200px header
   breakpoint, or panel starting below the header. This adapter changes only
   geometry of the native components; no duplicate menu or fixed link offsets. */
#header [data-row="middle"] > div { width: 86%; max-width: none; }
#header [data-device="desktop"] [data-row="middle"] > div { display: flex; }
#header [data-device="desktop"] [data-column="start"] { flex: 0 1 154px; min-width: 0; }
#header [data-device="desktop"] [data-id="logo"], #header [data-device="desktop"] .site-logo-container { width: 100%; }
#header [data-device="desktop"] .site-logo-container img { width: 100%; height: auto; }
#header [data-device="desktop"] [data-column="end"] { flex: 0 1 100%; min-width: 0; display: flex; justify-content: center; }
#header [data-device="desktop"] [data-column="end"] > [data-items] { width: 100%; flex: 1; justify-content: center; }
#header [data-device="desktop"] [data-id="menu"] { width: 80%; margin: 0; }
#header [data-id="menu"] > ul { width: 100%; justify-content: space-evenly; }
#header [data-id="menu"] > ul > li { flex: 0 1 auto; }
@media (max-width: 1199.98px) {
    #header [data-device="desktop"] [data-column="start"] { flex: 0 0 154px; }
    #header [data-device="desktop"] [data-column="end"] { flex: 1; }
    #header [data-device="desktop"] [data-id="menu"] { display: none; height: 0; min-height: 0; }
    #header [data-device="desktop"] [data-column="end"] > [data-items] { justify-content: flex-end; }
    #header [data-row="middle"] > div { width: 90%; }
    #header [data-device="mobile"] { --header-height: 60px; --header-sticky-height: 60px; }
    #header [data-device="mobile"] [data-row="middle"] { --height: 60px; }
    #offcanvas [data-device="desktop"] { display: none; }
    #offcanvas [data-device="mobile"] { display: flex; }
    #offcanvas { top: 60px; --panel-padding: 0px; }
    #offcanvas .ct-panel-actions { min-height: 0; padding: 0; }
    #offcanvas .ct-panel-content, #offcanvas .ct-panel-content-inner { padding: 0; }
    #offcanvas .menu-item > .ct-menu-link { padding-inline: 40px 10px; }
}
@media (min-width: 1100px) and (max-width: 1199.98px) {
    #header [data-device="mobile"] [data-row="middle"] { --height: 74px; }
    #header [data-row="middle"] > div { width: 86%; }
    #offcanvas { top: 74px; }
}

@media (min-width: 1200px) {
    #header [data-device="desktop"] [data-id="trigger"] { display: none; }
}
@media (min-width: 1000px) and (max-width: 1099.98px) {
    #header [data-device="desktop"] [data-column="start"] { flex-basis: 112px; }
    #header [data-device="desktop"] { --header-height: 60px; --header-sticky-height: 60px; }
    #header [data-device="desktop"] [data-row="middle"] { --height: 60px; }
    #header [data-device="desktop"] [data-id="logo"] { --logo-max-height: 25.84615px; }
}
