/**
 * MOVIXIT Theme v3.0.3 — Mobile Navigation & CSS Integrity Fix
 * Loaded last so the production built-in mega menu remains the single
 * source of truth and legacy theme rules cannot override its drawer.
 */
.mvm-shell,
.mvm-wrap,
.mvm-inner { box-sizing: border-box; }

.mvm-shell *,
.mvm-shell *::before,
.mvm-shell *::after { box-sizing: border-box; }

.mvm-mobile-trigger {
    display: none;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10002;
}

.mvm-mobile-trigger span {
    width: 24px;
    height: 2px;
    display: block;
    margin: 4px 0;
    background: #0B1F3A;
    border-radius: 2px;
}

.mvm-floating-burger {
    display: none !important;
}

.mvm-mobile-drawer {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.mvm-mobile-panel {
    width: min(92vw, 390px);
    max-width: min(390px, 100vw);
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

.mvm-mobile-menu,
.mvm-mobile-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mvm-mobile-menu li { margin: 0; padding: 0; }

.mvm-mobile-menu > li > a {
    min-height: 48px;
    width: 100%;
}

.mvm-mobile-menu .menu-item-has-children > a {
    position: relative;
    padding-right: 44px;
}

.mvm-mobile-menu .menu-item-has-children > a::after {
    content: '›';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 1;
    color: #40B5AD;
}

.mvm-mobile-menu .menu-item-has-children.is-expanded > a::after {
    transform: translateY(-50%) rotate(90deg);
}

.mvm-mobile-menu .menu-item-has-children > ul {
    display: none;
    width: 100%;
    padding-left: 14px !important;
    background: #f8fbfb;
}

.mvm-mobile-menu .menu-item-has-children.is-expanded > ul {
    display: block;
}

.mvm-mobile-auth-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 12px 18px;
}

.mvm-mobile-auth-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid #dfe7e7;
    border-radius: 9px;
    color: #0B1F3A !important;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.mvm-mobile-auth-link:hover,
.mvm-mobile-auth-link:focus-visible {
    border-color: #40B5AD;
    background: #f4fbfa;
}

.mvm-mobile-search {
    padding: 12px 18px 4px;
}

.mvm-mobile-search input {
    width: 100%;
    min-height: 44px;
    font-size: 16px !important;
    border: 1px solid #d8e0e6;
    border-radius: 9px;
    padding: 0 12px;
}

.mvm-mobile-close:focus-visible,
.mvm-mobile-trigger:focus-visible,
.mvm-search-toggle:focus-visible {
    outline: 3px solid #40B5AD !important;
    outline-offset: 2px;
}

body.mvm-mobile-open { overflow: hidden !important; }

@media (max-width: 992px) {
    .mvm-mobile-trigger {
        display: inline-flex !important;
    }

    .mvm-desktop-menu,
    .mvm-actions {
        display: none !important;
    }

    .mvm-inner {
        min-height: 68px;
        padding: 9px 14px;
        gap: 12px;
    }

    .mvm-brand {
        min-width: 0;
        max-width: calc(100% - 56px);
    }

    .mvm-custom-logo {
        max-width: min(230px, 68vw);
        max-height: 42px;
        object-fit: contain;
    }

    .mvm-brand-copy { min-width: 0; }
    .mvm-brand-copy strong,
    .mvm-brand-copy small {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mvm-mobile-panel {
        width: min(92vw, 390px);
    }
}

@media (max-width: 480px) {
    .mvm-mobile-panel { width: 94vw; }
    .mvm-mobile-auth-links { grid-template-columns: 1fr; }
    .mvm-mobile-head { padding: 14px; }
    .mvm-mobile-menu { padding: 8px 14px !important; }
}

@media (min-width: 993px) {
    .mvm-mobile-trigger,
    .mvm-mobile-drawer,
    .mvm-floating-burger {
        display: none !important;
    }
}


/* MOVIXIT v4.4.2 Mobile Stability Layer */
html{box-sizing:border-box;overflow-x:hidden;}
*,*::before,*::after{box-sizing:inherit;}
body{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
img,svg,video,canvas,iframe{max-width:100%;height:auto;}
iframe{width:100%;}
input,select,textarea,button{max-width:100%;font:inherit;}
pre,code{max-width:100%;overflow-x:auto;}
table{width:100%;max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
.wp-block-table{overflow-x:auto;}
.wp-block-columns,.wp-block-group,.wp-block-cover,.wp-block-media-text,.site,.site-content,main,header,footer,section,article,.container,.movixit-container{max-width:100%;min-width:0;}
@media (max-width:768px){
  h1{font-size:clamp(1.75rem,7vw,2.5rem);line-height:1.12;overflow-wrap:anywhere;}
  h2{font-size:clamp(1.45rem,5.8vw,2rem);line-height:1.2;}
  h3{font-size:clamp(1.2rem,5vw,1.55rem);}
  p,li{overflow-wrap:anywhere;}
  .wp-block-buttons,.wp-block-button,.wp-block-button__link{max-width:100%;}
  .wp-block-buttons{flex-wrap:wrap;}
  .wp-block-button__link{white-space:normal;text-align:center;}
  .mvm-mobile-drawer{overscroll-behavior:none;}
}
@media (max-width:480px){
  .container,.movixit-container{padding-left:14px!important;padding-right:14px!important;}
  .mvm-inner{padding-left:12px!important;padding-right:12px!important;}
}
