header.sticking .custom-logo-link {
  display: none;
}
header .sticky-logo {
  display: none;
}
header.sticking .sticky-logo {
  display: block;
}
@media screen and (max-width: 767px) {
  header.sticking .sticky-logo img {
    max-width: 10rem;
  }
}
.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%;
}
.custom-header .custom-navigation .custom-menu .menu-item a {
  text-decoration: none;
  color: var(--wp--preset--color--black);
  font-weight: 500;
}
.custom-header .custom-navigation .custom-menu .menu-item a:hover {
  text-decoration: underline;
}
.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 li.has-children {
  position: relative;
}

.custom-menu .submenu {
  display: none;
  list-style: none;
  min-width: 15rem;
  padding: 0;
  background: var(--wp--preset--color--background);
  border-radius: 0.25rem;
  overflow: hidden;
  /* gap: 1rem; */
  /* border: 1px solid var(--wp--preset--color--background); */
  position: absolute;
  right: 0;
}
/* .custom-menu .submenu li {
  border-bottom: 1px solid var(--wp--preset--color--accent);
} */
.custom-menu .submenu li a {
  padding: 1rem;
}
.custom-menu .submenu li a:hover {
  background-color: var(--wp--preset--color--gray-50);
  text-decoration: none !important;
}
.custom-menu li.has-children a {
  display: flex;
  align-items: center;
}
.custom-menu li.has-children > a::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg stroke='currentColor' fill='currentColor' stroke-width='0' viewBox='0 0 24 24' height='1em' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'%3E%3C/path%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'%3E%3C/path%3E%3C/svg%3E");
  height: 1.5rem;
  width: 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin-left: 0.5rem;
}
.custom-menu li.has-children:hover .submenu {
  display: grid;
}
@media screen and (max-width: 767px) {
  .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%;
  }
  .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;
  }
}

footer a {
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
