/*
Theme Name: Carsexpert
Author: Stas Bondar
Author email: staslfogl@gmail.com
Description: New theme for carsexpert 2025
Text Domain: carsexpert2

BlankSlate WordPress Theme 2011-2025
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}



body {
    line-height: 120%;
    color: #28365c;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
} 
a {
    font-family: "Montserrat", sans-serif;
    transition: .3s ease-in-out;
}
#wpadminbar ~ #wrapper #header {
    top: 32px;
}
input.btn,
.btn > a,
.page_toggler .btn {
    cursor: pointer;
    text-decoration: none;
    background: 0 0;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-transition: .2s ease;
    transition: .2s ease;
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    border-radius: 6px;
    min-height: 50px;
    min-width: 220px;
    padding: 7px 47px;
    color: #fff;
}

.btn--primary a {
   background-color: #a02629;
}
.btn--primary a:hover,
.btn--blue a:hover {
    background-color: #28365c;
}
.is-content-justification-center {
    justify-content: center;
    display: flex;
}
.wp-block-buttons-is-layout-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn--blue a {
    background-color: #0071bc;
}

#header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid #a02629;
    background: #28365c;
    color: #fff;
}
.nav__container {
    width: 1172px;
    max-width: 100%;
    padding: 12px 16px 11px;
    margin-left: auto;
    margin-right: auto;
}
.nav__container > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.nav__contact {
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    color: #fff;
    position: relative;
    z-index: 2;
}
.nav_work_time {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav_work_time .nav__icon {
    width: 16px;
    height: 16px;
    color: #a02629;
}
.nav__contact-text a {
    color: #fff;
}

.phones_toggler {
    position: relative;
}

#phone_toggle_first {
    display: flex;
    align-items: center;
    gap: 8px;
}
#phone_toggle_first svg {
    width: 10px;
    height: auto;
    color: #a02629;
    cursor: pointer;
    transition: .3s ease-in-out;
}
#phone_toggle_first.active svg {
    transform: rotate(180deg);
}
.phones_toggler a {
    display: block;
    padding-left: 16px;
    background: url(assets/images/phone.svg) 0 50% no-repeat;
    background-size: auto 12px;
    font-size: 12px;
    font-weight: 700;
}

.phone_menu {
    display: none;
    position: absolute;
    top: 30px;
    left: -10px;
    right: -5px;
    padding: 10px 20px 20px 10px;
    border-radius: 0 0 8px 8px;
    height: auto;
    overflow: inherit;
    flex-direction: column;
    gap: 10px;
    padding-right: 0;
    background-color: #28365c;
}
.phone_menu.active {
    display: flex;
}

.page_toggler {
    display: flex;
}


.page_toggler .btn {
    width: 134px;
    min-width: 134px;
    text-align: center;
    height: 40px;
    min-height: 40px;
    margin: 0 0 0 12px;
    background-color: #0071bc;
    padding: 7px 5px;
}
.page_toggler .btn:hover {
    opacity: .8;
}
.page_toggler .btn.btn_red {
    background-color: #c90d31;
}


.nav__wrap {
    display: flex;
}

.social {
    color: #fff;
    font-size: 24px;
    line-height: 28px;
    padding: 5px 0;
    display: flex;
    gap: 2px;
}
.social__link {
    width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social__link:hover svg {
    color: #a02629;
}
.social svg {
    width: .875em;
    color: #fff;
    height: 1em;
}


#menu-header {
        position: absolute;
        top: 71px;
        width: calc(50% - 14px);
        left: auto;
        right: 0;
        border: none;
        background: rgba(40, 54, 92, .9);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: transform .3s ease;
        transition: transform .3s ease;
        padding: 28px calc((100vw - 768px) / 2) 28px 0;
        max-height: calc(100vh - 71px);
        overflow-y: auto;
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
}
#menu-header.active {
        -webkit-transform: translateX(0);
        transform: translateX(0);
}

#menu-header {
    padding-right: calc((100vw - 1200px) / 2);
    padding-top: 24px;
    width: calc(45% - 16px);
    top: 72px;
    bottom: 0;
    z-index: 99;
    height: 100vh;
}
#menu-header a {
    font-family: Montserrat, sans-serif;
    color: #fff;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 48px;
    text-decoration: none;
    display: block;
    padding: 0 15px;
    text-transform: uppercase;
    text-align: right;
}

.nav__navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.nav__burger {
    display: block;
    cursor: pointer;
    height: fit-content;
}
.nav__burger .bar {
    position: relative;
    display: block;
    width: 22px;
    height: 3px;
    margin: 4px auto;
    background-color: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    cursor: pointer;
}
.active .bar:nth-of-type(1) {
    -webkit-transform: translateY(5px) rotate(-45deg);
    -ms-transform: translateY(5px) rotate(-45deg);
    transform: translateY(5px) rotate(-45deg);
}
.active .bar:nth-of-type(2) {
    opacity: 0;
}
.active .bar:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    -ms-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.active .bar {
    background-color: #a02629;
}




/* pages */

#container {
    padding-top: 72px;
}
#container section {
    margin-bottom: 100px;
}
#container section > .wp-block-group__inner-container {
    width: 1172px;
    max-width: 100%;
    padding: 16px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    position: relative;
}


.contact_form_top {
    padding-top: 100px;
    margin-top: -100px;
}
#container section.hero_section {
    margin-bottom: 0;
}
.hero_section {
    height: 600px;
    display: flex;
    align-items: center;
    padding-bottom: 100px;
    background-position: center;
    position: relative;
}
.hero_section:before {
    min-height: 410px;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#28365c), to(rgba(40, 54, 92, .001)));
    background: linear-gradient(180deg, #28365c, rgba(40, 54, 92, .001));
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.hero_section h1 {
    font-size: 36px;
    line-height: 120%;
    margin-bottom: 20px;
    margin-top: -12px;
}
h2 {
    font-size: 36px;
    line-height: 120%;
    margin-bottom: 20px;
    font-weight: 700; 
}
h3 {
    font-size: 26px;
    line-height: 120%;
    font-weight: 700; 
}
.header__txt {
    margin-bottom: 10px;
    line-height: 17px;
    color: #fff;
    letter-spacing: .005em;
    line-height: 140%;
}

.form__panel {
    background: rgba(245, 250, 255, .7);
    border-radius: 10px;
    color: #28365c;
    padding: 9px 8px 8px;
    margin: 5px -7px 0;
    max-width: 380px;
    margin-left: auto;
}
.form__control {
    padding-bottom: 16px;
}
.form .wpcf7-list-item-label, .form__label {
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 11px;
    display: inline-block;
    cursor: pointer;
    color: currentColor;
}
.form__input {
    border: none;
    background: #fff;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    color: #28365c;
    border-radius: 6px;
    outline: 0;
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    height: 50px;
    padding: 10px 13px;
}
.form__submit {
    position: relative;
}
.form__submit .btn--primary {
    width: 100%;
    background-color: #a02629;
    border-radius: 6px;
}
.form__submit .btn--primary:hover {
    background-color: #28365c;
}
.wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 25%;
}



.social_section {
    position: relative;
    padding-top: 26px;
    padding-bottom: 29px;
}
.social_section:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(40, 54, 92, .7);
    position: absolute;
    top: 0;
    left: 0;
}


/* slider */
.cars_slider_section {
    padding-top: 30px;
    padding-bottom: 30px;
}
.swiper_cars .swiper-slide {
    width: 260px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(40, 54, 92, .1);
    border-radius: 4px;
    display: block;
    color: inherit;
}
.cars__wrapper {
    max-width: 260px;
    width: 100%;
}
.swiper_cars {
    margin-top: 0;
}
.swiper_cars .swiper-wrapper {
    padding: 25px 0;
}
.slider_img {
    height: 210px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.slider_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 210px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
}

.cars__paddings {
    padding: 11px 15px 15px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cars__paddings h2 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    font-style: normal;
    margin-bottom: 0;
}
.cars__paddings .justify-content-between {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    line-height: 24px;
    font-style: normal;
}
.cars__paddings h3 {
    font-weight: 700;    
    font-size: 14px;
    line-height: 120%;
}
.cars__usa-wrapper {
    background-color: #f4f9ff;
    padding: 6px;
    border-radius: 5px;
    text-align: center;
}
.cars__price-usa {
    color: #a02629;
    font-size: 14px;
}
.cars__price-ua,
.cars__price {
    text-align: center;
}
.btn {
    width: fit-content;
}



/* why section */
#container section.why > .wp-block-group__inner-container { 
    width: 100%;
    padding: 0;
}
.why_left > div,
.why_left > h2 {
    width: 490px;
    margin-left: calc((100vw - 1140px) / 2);
    position: relative;
}
.why_left > h2 {
    z-index: 5;
}
.why_left > div {
    padding-top: 35px;
    padding-bottom: 35px;
}
.why_left > div:before {
    content: "";
    position: absolute;
    left: calc((-100vw - 1140px) / 2);
    right: -20vw;
    top: 0;
    bottom: 0;
    background: #f7fbff;
    z-index: 0;
}
.why_left > div > .wp-block-group__inner-container {
    position: relative;
}
.why__panels > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.why__panels.why__panels_korea {
    flex-direction: column;
}
.why__panel {
    flex: 0 0 48%;
    max-width: 48%;
    margin: 0;
    position: relative;
}
.why__panels.why__panels_korea .why__panel {
    flex: 0 0 100%;
    max-width: 100%;
}
.why__panels.why__panels_korea .why__panel > div {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
    justify-content: flex-start;
    padding: 16px;
    height: auto;
}
.why__panels.why__panels_korea .why__panel img {
    width: 20px;
    height: auto;
}
.why__panel > div {
    border: 1px solid #c6d2e0;
    border-radius: 6px;
    height: 100px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    text-align: center;
    padding: 14px 5px 8px;

}
.why__panel p {
    font-size: 14px;
    font-weight: 700;
    line-height: 120%;
    padding-top: 4px;
}
.why .btn {
    width: 100%;
}
.why_right {
    position: relative;
    z-index: 2;
}
.why_right img {
    margin-left: -98px;
} 

/* social section */
.btn_insta a {
    gap: 8px;
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}
.btn_insta a:hover {
    opacity: .9;
}
.btn_insta a:before {
    content: "";
    width: 27px;
    height: 27px;
    background: url(assets/images/instagram_white.svg) 0 0 no-repeat;
    background-size: 24px auto;
}
.justify-center > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
}


/* how */
#container .how > .wp-block-group__inner-container {
    background: url(assets/dist/img/how__bg-lg.webp) 50% 0 no-repeat; 
    background-size: auto 100%;
    padding: 40px 15px;
}

.how_item h3 {
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
}
.how_item p {
    font-weight: 500;
    font-size: 14px;
    line-height: 180%;
}
.how_items > .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}
.how_item {
    flex: 1 0 50%;
    max-width: 50%;
    padding-bottom: 20px;
    position: relative;
}
.how_items .how_item:nth-child(2n + 1) > .wp-block-group__inner-container {
    padding-right: 130px;
}
.how_items .how_item:nth-child(2n + 1) .wp-block-columns {
    flex-direction: row-reverse;
    text-align: right;
} 
.how_items .how_item:nth-child(2n) > .wp-block-group__inner-container {
    padding-left: 130px;
}

.how_item .wp-block-columns {
    gap: 30px;
}
.how_item figure {
    margin-top: 24px;
    width: 50px;
    height: 50px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(40, 54, 92, .1);
    border-radius: 10px;
    flex-shrink: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.how_items .how_item:after {
    content: "";
    position: absolute;
    display: block;
    top: 24px;
    right: 147px;
    width: 16px;
    bottom: -24px;
    background: url(assets/dist/img/road-line.gif) 0 0 repeat-y;
    z-index: -1;
}
.how_items .how_item:nth-child(2n)::after {
    right: auto;
    left: 147px;
}

.how_car_image {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.how_items .how_item:nth-child(7)::after {
    top: 40px;
    right: -133px;
    width: 266px;
    height: 100px;
    background: url(assets/images/road_circle.svg) 50% 50% no-repeat;
    background-size: 266px auto;
}
.how_items .how_item:nth-child(8)::after {
    display: none;
}






.social_big {
    width: 1172px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 31px;
    padding-bottom: 31px;
    position: relative;
    border-radius: 20px;
}
.social_big:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #28365cb3;
    border-radius: 20px;
}

.bottom_big_text p {
    line-height: 140%;
    margin-bottom: 10px;
}
.bottom_big_text ol {
    list-style: numeric;
    display: flex;
    flex-direction: column;
    gap: 20px;
    line-height: 140%;
    margin-left: 15px;
}
.bottom_big_text strong {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}


/* youtube reveiws */
#container section.review > .wp-block-group__inner-container {
    width: 100%;
    padding: 0;
}
.review h2 {
    margin-bottom: 5px;
}
.swiper_review .swiper-slide {
    width: 558px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(40, 54, 92, .1);
    border-radius: 4px;
    padding: 10px;
    opacity: .65;
    margin-top: 15px;
}

.content_block {
    font-size: 18px;
    line-height: 29px;
    font-weight: 700;
    padding: 10px 0;
}

.swiper_review .swiper-slide.swiper-slide-active {
    opacity: 1;
}
.swiper-buttons_block {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 40px;
}
.swiper-buttons_block .swiper-button-next, .swiper-buttons_block .swiper-button-prev {
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e4f0fe;
    border-radius: 20px;
    margin: 0;
    top: inherit;
    left: inherit;
    right: inherit;
    bottom: inherit;
    transition: .3s ease-in-out;
}
.swiper-buttons_block .swiper-button-next:hover, 
.swiper-buttons_block .swiper-button-prev:hover {
    border: 1px solid #aeb7c2;
    color: #0d111d;
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 14px !important;
    color: #28365c;
    font-weight: 700;
    /* height: 20px !important; */
}

.footer_top {
    background: url(assets/images/footer__bg-lg.webp) 50% 0 no-repeat;
    position: relative;
    background-size: cover;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 200%;
    padding-top: 45px;
    padding-bottom: 39px;
    margin-bottom: 0 !important;
}
.footer_top:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #28365cb3;
}

.footer_top .form__panel {
    background: none;
    color: #fff;
}

#footer {
    background-color: #28365c;
    padding: 8px 16px;
}
.footer_bot {
    width: 1172px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    line-height: 150%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}
.footer_bot .social li:not(.social__item) {
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}


.swiper_workers .slider_img {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}
.swiper_workers .slider_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: auto;
    transform: translate(-50%, -50%);
}
.swiper_workers .content_block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}
.swiper_workers .content_block a {
    text-decoration: none;
    color: #28365c;
}

.wp-block-image .alignleft {
    margin: 0;
}

@media (max-width: 1199px) {
    .why_left > div, 
    .why_left > h2 {
        width: auto;
        margin-left: inherit;
    }
    .why_right img {
        margin-left: 0;
    }
    .why .wp-block-columns {
        flex-direction: column;
        margin: 0 16px;
    }
    .why__panel {
        flex: 1 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
    .why_right {
        display: none;
    }
    .why_left > div:before {
        left: -16px;
        right: -16px;
    }

}
@media (max-width: 980px) {
    .nav_work_time {
        display: none;
    }
    h2 {
        font-size: 28px;
    }
    .content_block {
        font-size: 16px;
        line-height: 20px;
        gap: 5px;
    }
}
@media (max-width: 899px) {
    .how_items .how_item:nth-child(2n) > .wp-block-group__inner-container {
        padding-left: 20px;
    }
    .how_items .how_item:nth-child(2n + 1) > .wp-block-group__inner-container {
        padding-right: 20px;
    }
    .how_items .how_item:nth-child(2n)::after {
        left: 37px;
    }
    .how_items .how_item:after {
        right: 37px;
    }
    .how_items .how_item:nth-child(7)::after {
        top: -27px;
        right: -23px;
        width: 46px;
        height: 100px;
    }
    .how_car_image {
        display: none;
    }

}
@media (max-width: 800px) {
    .nav__container > div {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .phones_toggler {
        display: none;
    }

    .nav__navbar {
        flex-grow: inherit;
    }
    .swiper_review .swiper-slide {
        width: 320px;
        max-width: 100%;
    }
}

@media (max-width: 781px) {
    .hero_section {
        height: auto;
    }
    .hero_first {
        height: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .contact_form_top {
        display: flex;
        justify-content: center;
    }
    .wp-block-buttons-is-layout-flex {
        flex-wrap: wrap;
    }
    .footer_top .form__panel {
        margin-left: 0;
    }
}

@media (max-width: 650px) {
    #menu-header {
        width: 100%;
    }
    .page_toggler {
        order: 5;
        flex: 1 0 100%;
        max-width: 100%;
        justify-content: center;
    }
    .how_items > .wp-block-group__inner-container {
        flex-direction: column;
    }
    .how_item {
        flex: 1 0 100%;
        max-width: 100%;
    }
    .how_items .how_item:nth-child(2n + 1) .wp-block-columns {
        flex-direction: row;
        text-align: left;
        padding-left: 20px;
    }
    .how_items .how_item:after {
        right: auto;
        left: 37px;
    }
    .how_items .how_item:nth-child(7)::after {
        top: 24px;
        right: 37px;
        width: 16px;
        height: auto;
        bottom: -24px;
        background: url(assets/dist/img/road-line.gif) 0 0 repeat-y;
    }
    .how_items .how_item:nth-child(2) {
        order: 8;
    }
    .how_items .how_item:nth-child(3) {
        order: 2;
    }
    .how_items .how_item:nth-child(4) {
        order: 7;
    }
    .how_items .how_item:nth-child(5) {
        order: 3;
    }
    .how_items .how_item:nth-child(6) {
        order: 6;
    }
    .how_items .how_item:nth-child(7) {
        order: 4;
    }
    .how_items .how_item:nth-child(8) {
        order: 5;
    }
    .how_items .how_item:nth-child(8):after {
        display: block;
    }
    .how_items .how_item:nth-child(2):after {
        display: none;
    }
}