a {
  cursor: pointer !important;
}

.site-header {
  padding-left: 50px;
  padding-right: 50px;
}
.header_wr {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  gap: 20px;
  align-items: center;
  max-width: 1640px;
  margin: auto;
  padding-top: 20px;

  margin-bottom: 0 !important;
}
.site-branding img {
  min-width: 118px;
}
.headere_lang li {
  list-style: none;
}
.headere_lang li a {
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid #000;
  width: 50px;
  height: 50px;
  display: inline-block;
  text-align: center;
  line-height: 50px;
  font-weight: 500;
}
.current-lang {
  display: none;
}
.headere_lang li a:hover {
  border: 1px solid #286df0;
  background-color: #286df0;
  color: #fff;
}
.menu a {
  font-family: "Nunito Sans";
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
header .menu {
  display: flex;
  gap: 5%;
}
.headere_btns_wrap {
  display: flex;
  align-items: center;
}

.site-header {
  padding-left: 50px;
  padding-right: 50px;
  position: fixed;
  width: 100%;
  background-color: #f9f9f9 !important;
  top: 0;
  margin: 0 !important;
  z-index: 99;
  padding-bottom: 20px;
}

.phone_numb {
  min-width: min-content;
  margin-right: 80px;
}
.phone_numb a {
  font-family: "Nunito Sans";
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}
.header_btn {
  min-width: min-content;
  margin-right: 17px;
}
.header_btn a {
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #286df0;
  border-radius: 50px;
  text-decoration: none;
  height: 46px;
  line-height: 46px;
  min-width: 238px;
}

.sub_menu {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 9999;
  padding: 0 50px;
}
.menu_item_has_children {
  cursor: pointer;
}
.menu_item_has_children:hover .sub_menu {
  display: block;
}
.menu_item_has_children svg {
  transition: all 0.3s;
}
.menu_item_has_children:hover a > span > svg {
  transform: rotate(180deg);
}
.menu_item a:not(.sub_menu a) {
  display: flex;
  flex-direction: column;
}
.menu_item a:not(.sub_menu a):after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: #000;
  transition: all 0.3s;
}
@media screen and (min-width: 1024.5px) {
  .menu_item a:not(.sub_menu a):hover:after {
    width: 100%;
  }
}

.sub_item_inner_title svg {
  margin-right: 10px;
}

.sub_menu_wrap {
  max-width: 1640px;
  margin: 0 auto;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding: 70px;
  /* border-top: 1px solid #deebef; */
  background: #fff;
  padding-bottom: 72px;
}
.menu_item_has_children:hover svg {
  transition: all 0.3s;
}
.menu_item_has_children:hover svg {
  /* transform: rotate(180deg); */
}
.sub_menu_col_1 {
  grid-column: 1 / span 2;
}
.sub_menu_col_2 {
  grid-column: 4 / span 2;
}

.sub_menu_col_3 {
  grid-column: 7 / span 2;
}

.img_col {
  grid-column: 10 / span 3;
}
.sub_title a,
.rent a {
  color: #000;
  margin-bottom: 10px;

  font-family: "Nunito Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 130% */
}
.sub_title a:hover,
.rent a:hover {
  text-decoration: underline;
}
.sub_item {
  display: flex;
  align-items: center;
}
.sub_item a {
  color: #000;
  font-family: "Nunito Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s;
}
.sub_item a:not(.sub_item_inner_title a):hover {
  color: #286df0;
  font-family: "Nunito Sans";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}
.sub_item a:after {
  content: "";
  display: block;
  background-image: url(/wp-content/uploads/2024/07/Arrow-3.svg);
  width: 20px;
  height: 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  visibility: hidden;
  transition: all 0.3s;
  position: relative;
  right: 10px;
  opacity: 0;
}
.sub_item a:not(.last_item a, .sub_item_inner_title a):hover:after {
  visibility: visible;
  opacity: 1;
  right: 0;
}
.last_item {
  margin-top: 20px;
  gap: 15px;
}
.last_item a:after {
  display: none;
}
.last_item svg {
  transform: rotate(0deg);
}
.last_item:hover svg path {
  stroke: #286df0;
}
.last_item:hover a {
  color: #286df0;
}
.mob_menu_contacts {
  display: none;
}

@media screen and (max-width: 1370px) {
  .phone_numb {
    min-width: min-content;
    margin-right: 40px;
  }
}
@media screen and (max-width: 1150px) {
  .phone_numb {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .main-navigation.toggled {
    top: 90px;
    max-height: 85vh;
    overflow: scroll;
  }

  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .phone_numb {
    display: block;
  }
  .main-navigation {
    display: none;
  }
  .headere_btns_wrap {
    justify-content: flex-end;
  }
  .headere_lang {
    display: none;
  }
  .header_wr {
    grid-template-columns: 1fr 3fr;
  }
  .sub_wr_b {
    display: none;
  }
  .menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    display: block;
    background-color: #000; /* Цвет бургер-линий */
    height: 2px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 50%;
    transition: all 0.3s ease; /* Плавный переход для анимации */
  }

  .menu-toggle span::before,
  .menu-toggle span::after {
    content: "";
    top: -6px;
  }

  .menu-toggle span::after {
    top: 6px;
  }

  /* Анимация для открытия бургер меню */
  .menu-toggle[aria-expanded="true"] span {
    background-color: transparent;
  }

  .menu-toggle[aria-expanded="true"] span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-toggle[aria-expanded="true"] span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  .main-navigation.toggled {
    position: absolute;
    width: 100%;
    background: #fff;
    display: block;
    top: 120px;
    left: 0;
    padding: 30px;
    padding-bottom: 80px;
    z-index: 99;
    width: 390px;
    left: auto;
    right: 0;
  }
  .main-navigation.toggled .menu {
    justify-content: space-between;
    padding: 0 0px;
    flex-direction: column;
    gap: 10px;
  }
  .main-navigation.toggled .menu .menu_item a:not(.sub_menu a) {
    color: #000;
    font-family: "Nunito Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  .main-navigation.toggled .menu_item_has_children .sub_menu {
    display: none;
    padding: 0;
    padding-left: 30px;
  }
  .sub_menu {
    position: relative;
  }
  .sub_menu_wrap {
    margin-top: 0;
    grid-template-columns: repeat(1, 1fr);
    padding: 20px 20px;
  }
  .sub_menu_col_3,
  .sub_menu_col_2,
  .sub_menu_col_1,
  .img_col {
    grid-column: auto;
  }
  /* .img_col {
    display: none;
  } */

  .mob_menu_contacts {
    display: block;
  }
  .mob_menu_contacts .phone_numb,
  .mob_menu_contacts .header_btn,
  .mob_menu_contacts .headere_lang {
    display: block;
  }
  .mob_menu_contacts {
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: auto;
    /* padding: 20px; */
    margin-top: 70px;
    margin-bottom: 20px;
  }
  .mob_menu_contacts .header_btn {
    grid-row: 1;
    grid-column: 1 / span 1;
  }
  .mob_menu_contacts .headere_lang {
    grid-row: 1;
    grid-column: 2 / span 2;
  }
  .mob_menu_contacts .phone_numb {
    grid-row: 2;
    grid-column: 1 / span 2;
  }
  .mob_menu_contacts .phone_numb a {
    font-size: 24px;
  }
}
@media screen and (max-width: 880px) {
  .main-navigation.toggled .menu .menu_item a:not(.sub_menu a) {
    /* font-size: 24px; */
  }
}
@media screen and (max-width: 768px) {
  .phone_numb,
  .header_btn {
    display: none;
  }
  .main-navigation.toggled .menu {
    flex-direction: column;
  }
  .sub_menu_wrap {
    margin-top: 0;
    grid-template-columns: repeat(1, 1fr);
    padding: 30px 0px;
  }
  .sub_menu {
    position: relative;
  }
  header .menu {
    gap: 40px;
  }
  .header_wr {
    margin-bottom: 50px;
  }
  /* .main-navigation.toggled .menu_item_has_children .sub_menu {
    display: none;
    padding: 0;
  }
  .main-navigation.toggled .menu_item_has_children:hover .sub_menu {
    display: block;
  } */
}

@media screen and (max-width: 530px) {
  .main-navigation.toggled {
    width: 100%;
    padding-bottom: 20px;
  }
  .main-navigation.toggled {
    padding: 20px;
  }
  .main-navigation.toggled {
    top: 90px;
    height: 85vh;
    overflow: scroll;
  }
  .menu_item_has_children svg {
    width: 30px;
    height: 20px;
  }
}
