/* Portfolio + case pages: burger position when header is hidden (style.css ≤1130px) */
@media (max-width: 1130px) {
    .mobile-menu-btn {
        position: fixed !important;
        top: 6px !important;
        left: 13px !important;
        z-index: 1210 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 10px !important;
        width: 44px !important;
        height: 44px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
    }

    /* Sticky CTA visible: align with pf-sticky-cta-inner left gutter (96px) */
    .mobile-menu-btn.with-sticky-panel {
        top: 8px !important;
        left: 13px !important;
        padding: 8px !important;
        width: 40px !important;
        height: 40px !important;
        z-index: 1202 !important;
    }

    .mobile-menu.active ~ .mobile-menu-btn {
        top: 6px !important;
        left: 13px !important;
    }

    .mobile-menu.active ~ .mobile-menu-btn.with-sticky-panel {
        top: 8px !important;
        left: 13px !important;
    }

    .mobile-menu-close.with-sticky-panel {
        top: -2px !important;
        left: 3px !important;
    }

    .mobile-menu-icon {
        width: 24px !important;
        height: 24px !important;
        position: static !important;
        top: auto !important;
        opacity: 1 !important;
    }

    /* Sticky CTA: темна іконка на світлій плашці (не білий invert з .on-hero) */
    .mobile-menu-btn.with-sticky-panel .mobile-menu-icon,
    .mobile-menu-btn.with-sticky-panel.on-hero .mobile-menu-icon {
        filter: none !important;
    }

    .header-right.with-sticky-panel {
        top: 8px !important;
        height: 40px;
    }

    .header-right.with-sticky-panel .languages {
        height: 40px;
    }

    .header .languages.with-sticky-panel {
        top: auto !important;
    }
}

/* Tablet sticky bar (48px): vertically center burger + langs in plaque */
@media (min-width: 740px) and (max-width: 1130px) {
    .mobile-menu-btn.with-sticky-panel,
    .mobile-menu.active ~ .mobile-menu-btn.with-sticky-panel {
        top: 4px !important;
    }

    .header-right.with-sticky-panel {
        top: 4px !important;
    }

    .mobile-menu-close.with-sticky-panel {
        top: -8px !important;
        left: 3px !important;
    }
}
