.header_v3{
  background: #F4F5FA;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.02);
  z-index: 2;
}
.header_v3_content{
  max-width: 1140px;
  height: 96px;
  margin-left: auto;
  margin-right: auto;

  font-family: 'SF Pro Display', sans-serif!important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img{
  width: 210px;
}
.header-blog-text{
  color: var(--Black, #2D2952);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%; /* 12px */
  width: 105px;
}
.header_logo{
  height: 22px;
}
.header-logo{
  display: flex;
  gap: 25px;
}
.header-logo a{
  display: flex;
}
.header_menu{
  display: flex;
  gap: 25px;
}
.header_menu_item{
  display: flex;
}
.header_menu a{
  color: var(--black, #2D2952);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  text-decoration: none;
  padding-top: 27px;
  padding-bottom: 26px;
  transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
  position: relative;
}
.header_menu a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0px; /* Толщина границы */
  background-color: #0078E7; /* Цвет границы */
  border-radius: 0px 0px 0 0; /* Изменяем радиус только нижних углов */
  transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
}
.header_menu a:hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px; /* Толщина границы */
  background-color: #0078E7; /* Цвет границы */
  border-radius: 3px 3px 0 0; /* Изменяем радиус только нижних углов */
}
.header_menu a:hover{
  color: var(--blue, #0078E7);
  padding-bottom: 23px;
}
.header_psy_block{
  position: relative;
  margin-right: 40px;
  transition: color 0.2s, background 0.2s, border 0.2s, opacity 0.2s, z-index 0.2s;
}
.header_psy_block_title{
  color: var(--black, #2D2952);
  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;

  padding-top: 27px;
  padding-bottom: 26px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_block_title:hover{
  color: #0078E7;

}
.header_psy_block:hover .header_psy_dop_block{
  opacity: 1;
  transition: opacity 0.2s;
  z-index: 1;
}
.header_psy_dop_block{
  opacity: 0;
  z-index: -1;
  border-radius: 6px;
  background: var(--white, #FFF);
  box-shadow: 0px 4px 60px 0px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-flow: column;
  gap: 15px;
  position: absolute;
  top: 60px;
  width: 115px;
}
.header_psy_dop_item{
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_dop_block a, .header_psy_dop_block div {
  cursor: pointer;
  text-decoration: none;
}
.header_psy_dop_block a{
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_psy_dop_block a:hover .header_psy_dop_item{
  color: #0078E7;
}
.header_buttons{
  display: flex;
  align-items: center;
  gap: 22px;
}
.header_buttons a{
  text-decoration: none;
}
.header_button_login{
  padding: 16px 20px 16px 40px;
  background: #F4F5FA url('/wp-content/themes/psypsy/images/header_button_login.svg');
  background-repeat: no-repeat;
  background-position-x: 20px;
  background-position-y: center;
  color: var(--blue, #0078E7);
  border-radius: 6px;

  font-size: 14px;
  font-style: normal;
  font-weight: 590;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_button_login:hover{
  background-color: #fff;
  color: var(--blue, #0078E7);
}
.header_search{
  width: 24px;
  height: 24px;
  background: url('/wp-content/themes/psypsy/images/header_search.svg');
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}
.header_v3_content_mob .header_search{
  background: none;
}
.header_button_rocket{
  background: #0078E7;
  color: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 16.8px */
  letter-spacing: -0.28px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.header_button_rocket:hover{
  background: #fff;
  color: #0078E7;
}
.header_mob_menu_button{
  display: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  background: url('/wp-content/themes/psypsy/images/header_mob_menu_button.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.header_mob_menu_button.active{
  width: 18px;
  height: 18px;
  background: url('/wp-content/themes/psypsy/images/header_mob_menu_button_close.svg');
  background-repeat: no-repeat;
  background-size: contain;
}
.header_v3_content_mob{
  display: none;
}
.header_padding{
  height: 96px;
}
.blog_search_section{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  background: var(--Hover, #F4F5FA);
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);

  position: fixed;
  z-index: 2;
  top: -700px;
  left: 0;
  transition: top 0.5s;
}
.blog_search_section.active{
  top: 0;
}
.blog_search_block{
  max-width: 1140px;
  margin: 20px auto 16px;
}
.blog_search_input_block input{
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #FFF;
  height: 70px;
  width: 100%;

  color: var(--Grey-Text, #4B5B72);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  letter-spacing: -0.42px;
  padding-left: 60px;
  padding-right: 60px;
  outline: unset;
  box-sizing: border-box;
}
.blog_search_input_block{
  position: relative;
}
.blog_search_input_block::before {
    content: url('/wp-content/themes/psypsy/images/header_search_input.svg'); /* Замените 'url-картинки.jpg' на фактический URL вашей картинки */
    position: absolute;
    left: 20px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
}
.blog_search_close{
  width: 18px;
  height: 18px;
  background: url('/wp-content/themes/psypsy/images/blog_search_close.svg');
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  position: absolute;
  top: 30px;
  right: 40px;
}
.blog_search_tegs{
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-flow: wrap;
}
.blog_search_teg{
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: var(--White, #FFF);

  color: var(--Grey-Text, #4B5B72);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.42px;
  cursor: pointer;
  padding: 16px 20px;
  text-align: center;
  transition: color 0.2s;
}
.blog_search_teg:hover{
  color: #0078E7;
}
.blog_search_input_button{
  position: absolute;
  right: 20px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}
.mob-show{
  display: none;
}
.header_button_login{
  display: none!important;
}








@media(max-width:1200px){
  .blog_search_block{
    max-width: calc(100% - 36px);
  }
  .blog_search_input_block input{
    max-width: calc(100% - 36px);
    height: 50px;
    color: var(--Grey-Text, #4B5B72);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.24px;
    padding-left: 45px;
    padding-right: 45px;
  }
  .blog_search_teg{
    color: var(--Grey-Text, #4B5B72);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
    letter-spacing: -0.24px;
    padding: 6px 10px;
  }
  .blog_search_input_block::before{
    left: 12px;
  }
  .blog_search_input_button{
    right: 50px;
  }
  .blog_search_close{
    top: 20px;
    right: 20px;
  }
  .mob-show{
    display: flex;
  }
  .mob-hide{
    display: none;
  }
  .header-blog-text{
    color: var(--Black, #2D2952);
    font-size: 6px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 7.2px */
    letter-spacing: -0.12px;
    text-transform: uppercase;
  }
  .header-logo {
    gap: 5px;
    flex-flow: column;
  }
  .header-logo img{
    width: 120px;
  }
  .header_padding{
    height: 50px;
  }
  .header_menu{
    display: none;
  }
  .header_buttons .header_search{
    display: none;
  }
  .header_v3_content{
    max-width: 100%;
    margin-left: 18px;
    margin-right: 18px;
    height: 60px;
  }
  .header_buttons {
    gap: 10px;
  }
  .header_search{
    width: 16px;
    height: 16px;
  }
  .header_mob_menu_button{
    display: flex;
  }
  .header_button_rocket{
    font-size: 10px;
    letter-spacing: -0.24px;
    padding: 10px 14px;
  }
  .header_v3_content_mob{
    max-width: 100%;
    margin-left: 18px;
    margin-right: 18px;
    height: calc(100vh - 50px);
    flex-flow: column;
    justify-content: space-between;
  }
  .header_v3_content_mob .header_menu{
    display: flex;
    flex-flow: column;
    width: 100%;
    gap: 0;
  }
  .header_v3_content_mob .header_menu a{
    padding-top: 14px;
    padding-bottom: 14px;

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 155%; /* 24.8px */
    letter-spacing: -0.48px;
  }
  .header_menu_item .header_search:hover{
    color: var(--blue, #0078E7);
    padding-bottom: 23px;
  }
  .header_menu_item .header_search{
    color: var(--black, #2D2952);
    position: relative;
    transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
  }
  .header_menu_item .header_search:hover::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0078E7;
    border-radius: 3px 3px 0 0;
  }
  .header_menu_item .header_search::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
    background-color: #0078E7;
    border-radius: 0px 0px 0 0;
    transition: color 0.2s, background 0.2s, border 0.2s, border-radius 0.2s, height 0.2s;
}
  .header_v3_content_mob .header_menu_item .header_search{
    padding-top: 14px;
    padding-bottom: 14px;

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 155%; /* 24.8px */
    letter-spacing: -0.48px;
    width: inherit;
    height: inherit;
  }
  .header_v3_content_mob .header_menu_item{
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

  }
  .header_v3_content_mob .header_menu_item:last-child{
    border-bottom: 0;
  }
  .header_content_mob_bottom{
    margin-bottom: 20px;
  }
  .header_v3_content_mob .footer_social_items{
    margin: 0 0 40px;
  }
  .header_v3_content_mob .header_buttons a{
    display: flex;
    width: 100%;
  }
  .header_v3_content_mob .header_buttons{
    flex-flow: column;
    align-items: flex-start;
  }
  .header_v3_content_mob .header_button_login{
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--blue, #0078E7);
    font-size: 12px;
    letter-spacing: -0.24px;
    padding: 15px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  .header_v3_content_mob .header_button_login:hover{
    color: #fff;
    background: #0078E7;
  }
  .header_button_login_img{
    width: 13px;
    height: 13px;
    background: url('/wp-content/themes/psypsy/images/header_button_login.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  .header_v3_content_mob .header_button_login:hover .header_button_login_img{
    width: 13px;
    height: 13px;
    background: url('/wp-content/themes/psypsy/images/header_button_login_2.svg');
    background-repeat: no-repeat;
    background-size: contain;
  }
  .header_v3_content_mob .header_button_rocket{
    padding: 15px 14px;
    width: 100%;
    text-align: center;
  }
}


@media(max-width:320px){
  .header_button_rocket{
    padding: 10px;
  }
}
