.entry-content {
  transition: filter 0.3s ease; /* Adjust the duration and easing as needed */
}

/* Header */
:where(header, header a) {
  transition: all ease 0.3s;
}

header {
  width: 100%;
  max-width: 100%;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 100; /* Adjust as needed to ensure the navbar is above other content */
  margin-block-start: 0;
  margin-block-end: 0;
  position: fixed;
  top: 0;
  left: 0;
  color: #fff;
}
.page-id-3546 header {
  position: static;
  color: #000;
}
.page-id-3546 header.sticking,
.single.single-post header.sticking {
  color: #fff;
}
.page-id-3546 header .language-controls select,
.single.single-post header .language-controls select {
  color: #000;
}
.page-id-3546 header.sticking .language-controls select,
.single.single-post header.sticking .language-controls select {
  color: #fff;
}
.home header svg path {
  fill: #fff;
}
.page-id-3546 header svg path,
.single.single-post header svg path {
  fill: currentColor;
}
.page-id-3546 header.sticking svg path,
.page-id-3546 header.sticking svg,
.single.single-post header.sticking svg path,
.single.single-post header.sticking svg {
  fill: #fff;
}
body.header-text-dark header svg,
body.header-text-dark header svg path {
  fill: var(--wp--preset--color--primary);
}

body.header-text-dark header.sticking svg,
body.header-text-dark header.sticking svg path {
  fill: #fff;
}
header.is-style-transparent-overlay {
  --_bg: transparent;
  position: fixed;
}

header.sticking {
  background-color: var(--wp--preset--color--primary);
}

.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;
  align-items: center;
  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;
}
.header-text-white .mobile-navigation-control button {
  color: #fff;
}
.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;
}
.custom-header .custom-navigation .menu-item a {
  text-decoration: none;
}
.page-id-3546 .custom-header .custom-navigation .menu-item a,
.single.single-post .custom-header .custom-navigation .menu-item a {
  color: #000;
}
.page-id-3546 header.sticking .custom-header .custom-navigation .menu-item a,
.single.single-post
  header.sticking
  .custom-header
  .custom-navigation
  .menu-item
  a,
.home .custom-header .custom-navigation .menu-item a,
.custom-header .custom-navigation .menu-item a,
body.header-text-dark
  header.sticking
  .custom-header
  .custom-navigation
  .menu-item
  a,
.custom-header .custom-navigation .menu-item.btn a,
.single.single-post .custom-header .custom-navigation .menu-item.btn a,
body.header-text-dark .custom-header .custom-navigation .menu-item.btn a {
  color: #fff;
}
body.header-text-dark .custom-header .custom-navigation .menu-item a,
body.header-text-dark .language-controls select {
  color: var(--wp--preset--color--primary);
}
body.header-text-dark header.sticking .language-controls select {
  color: #fff;
}

.custom-header .custom-navigation .menu-item a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1120px) {
  .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: var(--wp--preset--color--primary);
    transition: left 0.3s ease-in-out;
    padding: var(--wp--style--root--padding-right);
    height: 100vh;
    overflow: auto;
    z-index: 1;
  }
  .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;
  }
}
