.entry-content {
  transition: filter 0.3s ease; /* Adjust the duration and easing as needed */
}
.custom-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}
.site-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 2rem;
}
.custom-header .custom-navigation .custom-menu {
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  list-style-type: none;
  min-width: max-content;
  width: 100%;
}
.mobile-navigation-control {
  display: none;
}
.mobile-navigation-control button {
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  color: #000;
}
.mobile-navigation-control .closed .close-menu-icon,
.mobile-navigation-control .opened .open-menu-icon {
  display: none;
}

.custom-menu .submenu {
  display: none;
  list-style: none;
  min-width: 15rem;
  padding: 1rem;
  background: #d3d3d3;
  border-radius: 0.25rem;
  gap: 1rem;
  border: 1px solid #d3d3d3;
  position: absolute;
}
.custom-menu li.has-children:hover .submenu {
  display: grid;
}
@media screen and (max-width: 1280px) {
  .custom-header {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .custom-menu .submenu {
    position: static;
  }
  .mobile-navigation-control {
    display: block;
  }
  .custom-header .custom-navigation .menu-item a {
    width: 100%;
    text-decoration: none;
  }
  .custom-header .custom-navigation .menu-item a:hover {
    text-decoration: underline;
  }
  .custom-header .custom-navigation {
    display: flex;
    position: absolute;
    left: -150%;
    top: 100%;
    width: 100%;
    background-color: #fff;
    transition: left 0.3s ease-in-out;
    padding: var(--wp--style--root--padding-right);
    height: 100vh;
    overflow: auto;
  }
  .custom-header .custom-navigation .custom-menu {
    flex-direction: column;
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
    justify-content: start;
  }

  .custom-navigation.opened {
    left: 0;
  }

  .open-close-navigation {
    cursor: pointer;
  }

  .open-menu-iocn,
  .close-menu-iocn {
    display: none;
  }

  .open-close-navigation.opened .close-menu-iocn {
    display: inline-block;
  }

  .open-close-navigation.closed .open-menu-iocn {
    display: inline-block;
  }
}
