/* стили для кнопки аккордеона в меню*/
.nav-search .wp-block-search__inside-wrapper {
    width: 150px !important;
	min-width: 150px !important;
}

.nav-search input:-webkit-autofill {
    background-color: #fbeeff !important;
    box-shadow: 0 0 0px 1000px #fbeeff inset !important;
    -webkit-text-fill-color: #111 !important;
}

.nav-search, .accordion-button .wp-block-navigation__responsive-container-open.always-shown {
    position: relative;
}

.wp-block-navigation__responsive-container-close {
    top: 20px;
}

.nav-search, .accordion-button button {
    z-index: 0;
    line-height: 1.5;
    filter: drop-shadow(-1px 1px 0 rgba(63, 13, 81, 0.46));
}

.accordion-button button::before, .accordion-button button::after, .nav-search::before, .nav-search::after {
    content: "";
    position: absolute;
    background-color: #fbeeff;
	filter: drop-shadow(-1px -1px 0px rgba(63, 13, 81, 0.11));
    border-radius: 60%;
    z-index: -1;
}

.accordion-button button::before {
    top: -12px;
	left: 10px;
	width: 55px;
	height: 45px;
}

.accordion-button button::after {
    top: -15px;
	right: 10px;
	width: 55px;
	height: 50px;
}

.nav-search::before {
    top: -16px;
	left: 13px;
	width: 62px;
	height: 48px;
}

.nav-search::after {
    top: -20px;
	right: 15px;
	width: 80px;
	height: 50px;
}

.accordion-button .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding-top: 8rem;
    column-gap: 2rem;
    column-rule: 2px solid #ff00ff;
    grid-template-areas: "menu aside";
}

.accordion-button .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container:first-child{
    display: grid;
    grid-template-columns: repeat(2, minmax(auto, 1fr));
    grid-area: menu;
    grid-row-gap: 2rem;
    border-right: 3px solid #fff;
    padding-right: 1rem;
}

.accordion-button .wp-block-navigation-item__content:first-letter {
    font-weight: bold;
}

.menu-search{
	grid-area: aside;
    padding-top: 5rem;
}
.accordion-button .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container:nth-child(3) {
    grid-area: aside;
}

@media (max-width: 782px) {
    .accordion-button .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
        grid-template-areas:
            "menu"
            "aside";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-top: 4rem;
    }

    .accordion-button .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container:first-child {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 1rem;
        border-right: none;
        padding-right: 0;
    }
    
    .menu-search {
        padding-top: 4rem;
    }
}