.wp-block-parslows-mobile-menu svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-modal {
    display: none;
    visibility: hidden;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-menu-modal {
    display: flex;
    visibility: visible;
}

.mobile-menu-modal:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: var(--wp--preset--color--secondary);
    opacity: 1;
}


.mobile-menu-modal .mobile-menu-modal__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.mobile-menu-modal .search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.mobile-menu-modal .search-form label {
    width: 100%;
}

.mobile-menu-modal .search-form input:focus {
    outline: none !important;
}

.mobile-menu-modal .search-form input::placeholder {
    color: white;
    opacity: 0.6; /* Firefox applies an opacity by default */
}

/* For older Firefox */
.mobile-menu-modal .search-form input::-moz-placeholder {
    color: white;
    opacity: 0.6;
}

/* For older WebKit browsers */
.mobile-menu-modal .search-form input::-webkit-input-placeholder {
    color: white;
    opacity: 0.6;
}

/* For Microsoft Edge */
.mobile-menu-modal .search-form input:-ms-input-placeholder {
    color: white;
    opacity: 0.6;
}

.mobile-menu-modal .search-submit svg {
    width: 30px;
    height: 30px;
}

.mobile-menu-modal__close {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 5;
}

.mobile-menu-modal__close,
.wp-block-parslows-mobile-menu svg {
    cursor: pointer;
}

.mobile-menu-modal .wp-block-quanta-mega-menu__menu-container {
    position: unset !important;
}

.mobile-menu-modal__inner {
    overflow-y: auto;
    overflow-x: clip;
    max-height: 100%;
}

.mobile-menu-modal__inner .wp-block-navigation .wp-block-navigation__container > li,
.mobile-menu-modal__inner .wp-block-navigation .wp-block-navigation__responsive-container-content > li {
    flex-direction: column;
}

.mobile-menu-modal__inner .wp-block-navigation * {
    background-color: transparent !important;
    color: white !important;
    width: 100%;
}

.mobile-menu-modal__inner .wp-block-quanta-mega-menu .wp-block-quanta-mega-menu__toggle .wp-block-quanta-mega-menu__toggle-icon {
    float: right;
    width: 1em;
    height: 1em;
}

.mobile-menu-modal__inner .wp-block-quanta-mega-menu__menu-container.menu-width-full:not(.open) {
    max-height: 0 !important;
}

.wp-block-quanta-mega-menu__menu-container .services__taxonomy {
    width: 100%;
}

.wp-block-quanta-mega-menu__menu-container.menu-width-full {
    box-shadow: none !important;
}

.mobile-menu-modal .wp-block-navigation .wp-block-navigation__container > li:hover:after,
.mobile-menu-modal .wp-block-navigation .wp-block-navigation__responsive-container-content > li:hover:after {
    display: none !important;
}

.mobile-menu-modal .is-style-basic .services__taxonomy > div {
    width: 100%;
}

.mobile-menu-modal .stk-block-column__content > .stk-block-content > *:not(.services) {
    display: none !important;
}

.mobile-menu-modal .stk-block {
    padding: 0 !important;
}

.mobile-menu-modal .services__group-title {
    font-size: 1.25rem !important;
}

.mobile-menu-modal .is-style-basic .services__post-header a {
    font-size: 1.25rem !important;
}

.mobile-menu-modal .is-style-basic .services__taxonomy {
    gap: 0;
}

.mobile-menu-modal .services__group .services__group-header:last-child {
    margin-bottom: 0 !important;
}

.mobile-menu-modal .wp-block-navigation__container {
    width: 100%;
    gap: 0;
}

.mobile-menu-modal .wp-block-navigation__container > li {
    font-size: 1.25rem;
    align-items: flex-start !important;
    border-top: 1px solid rgba( 255, 255, 255, 0.2 );
    padding: 0 !important;
}

.mobile-menu-modal .services__panel {
    border-top: 1px solid rgba( 255, 255, 255, 0.2 );
}

.mobile-menu-modal .services__group-header {
    border-top: 1px solid rgba( 255, 255, 255, 0.2 );
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.mobile-menu-modal .wp-block-navigation__container > li > button,
.mobile-menu-modal .wp-block-navigation__container > li > a {
    padding: 15px 20px 20px 20px !important;
}

.mobile-menu-modal .services__group-header {
    padding: 15px 10px 20px 30px !important;
}

.mobile-menu-modal .wp-block-navigation__container > li > button[aria-expanded="true"] {
    background-color: var(--wp--preset--color--primary) !important;
}

.mobile-menu-modal .services__post-header > a {
    flex-grow: 1;
    flex-shrink: 0;
    width: calc( 100% - 40px );
}

.mobile-menu-modal .services__item {
    padding: 10px 0;
}

.mobile-menu-modal .services__post-header {
    padding-bottom: 15px;
}

.mobile-menu-modal .services__post-header > button {
    flex-grow: 0;
    flex-shrink: 1;
    width: 40px;
    display: flex;
    justify-content: center;
}

.mobile-menu-modal .services__post-header > button .services__toggle-icon:before {
    font-size: 1.75rem;
}

.mobile-menu-modal .is-style-basic .services__panel ul {
    padding: 20px 10px 20px 30px;
}

.mobile-menu-modal .wp-block-navigation__container > li:first-child {
   border-top: 0;
}