/* --- WP Block Header
-------------------------------------------------------- */
header,
.header {
  position: relative;
  z-index: 9;
}

.header:not(.absolute-header) {
  padding-top: clamp(10px, 2vw, 35px);
  padding-bottom: clamp(10px, 2vw, 35px);
}

header .wp-block-buttons .wp-block-button__link {
  margin-top: 0;
}

.wp-site-header {
  padding: 21px 0;
}

.wp-site-header .wp-header-row {
  gap: 0;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 0;
  padding: 0 !important;
  margin: 0 !important;
}

.wp-header-row .wp-block-group.site-section {
  display: block;
  text-align: center;
}

.site-section .wp-block-site-logo {
  margin-bottom: 14px;
}

.wp-header-row .wp-block-social-links {
  display: none;
}

.wp-block-fse-pro-header-social .social-container {
  border-radius: 45px;
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
}

.wp-block-fse-pro-header-search .search-container,
.wp-block-fse-pro-header-social .social-container {
  position: absolute;
  right: 0;
  top: 100%;
}

.wp-block-fse-pro-header-search,
.wp-block-fse-pro-header-social {
  button {
    transition: 0.3s ease-in-out;
  }

  .search-container,
  .social-container {
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: calc(100% + 60px);
  }
}

.wp-block-fse-pro-header-social {
  .social-container {
    border: 1px solid;
    display: block;
    padding: 10px;

    .wp-block-social-links {
      border-radius: 45px;
      padding: 15px;
    }
  }
}

.wp-block-navigation__responsive-container-open:not(.always-shown) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
}

.wp-block-fse-pro-header-search .search-controller {
  height: 42px;
  width: 42px;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
  display: none;
}

html.has-modal-open {
  overflow: auto;
}

.nav-row>.wp-block-group {
  gap: 10px;
}

.wp-block-group.nav-row {
  gap: 5px;
}

.wp-block-group.site-title-section,
.wp-block.site-title-section {
  gap: 0;
  align-items: center;
}

header .wp-block-navigation__container>.wp-block-navigation-item,
header .wp-block-page-list>.wp-block-navigation-item {
  a {
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
  }

  &.current-menu-item a,
  a:hover,
  a:focus {
    &:before {
      opacity: 1;
      transform: translateY(0);
      -webkit-transform: translateY(0);
      -moz-transform: translateY(0);
      visibility: visible;
    }
  }

  a:before {
    content: "";
    bottom: 0;
    height: 1px;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transform: translateY(3px);
    visibility: hidden;
    width: 100%;
  }
}

nav .wp-block-navigation__submenu-container>.wp-block-navigation-item a:before {
  content: none;
}

nav .wp-block-page-list>.wp-block-navigation-item a:before {
  bottom: 0;
  width: 100%;
  margin-left: 0;
}

svg {
  width: 24px;
  height: 24px;
}

.wp-block-social-links.is-style-logos-only .wp-social-link svg {
  width: 24px;
  height: 24px;
}

.wp-block-social-link:hover,
button.search-controller:hover {
  transform: scale(1.1);
  transition: all 0.4s;
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
  min-width: 240px !important;
}